1 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
4 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
5 (atomic_add, atomic_increment_and_test)
6 (atomic_decrement_and_test): Fix 64-bit arithmetic.
8 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
10 * stdlib/setenv.c (__add_to_environ):
11 Dump core quickly if setenv (..., NULL, ...) is called.
13 2015-03-13 Roland McGrath <roland@hack.frob.com>
15 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
16 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17 all the necessary asm magic in one place.
18 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21 2015-03-13 Carlos O'Donell <carlos@redhat.com>
24 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25 traced file mtime. Use consistent log message.
26 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
27 (register_traced_file): Call install_watches. Always set mtime.
28 (invalidate_cache): Iterate over all trace files. Call install_watches.
29 (inotify_check_files): Don't inline. Handle watching parent
30 directories and configuration file movement in and out.
31 (handle_inotify_events): New function.
32 (main_loop_poll): Call handle_inotify_events.
33 (main_loop_epoll): Likewise.
34 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35 (struct traced_file): Use array of inotify fds. Add parent directory,
37 (struct database_dyn): Remove unused file_mtime.
38 (init_traced_file): New inline function.
39 (define_traced_file): New macro.
40 * nss/nss_db/db-init.c: Use define_traced_file.
41 (_nss_db_init): Use init_traced_file.
42 * nss/nss_files/files-init.c: Use define_traced_file.
43 (_nss_files_init): Use init_traced_file.
45 2015-03-12 Joseph Myers <joseph@codesourcery.com>
47 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
48 [_LIBC]: Do not include <stdlib.h>.
49 [!_LIBC] (abort): Remove declaration.
50 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
51 _FP_STATIC_ASSERT instead of conditionally calling abort.
52 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
53 (_FP_EXTEND_CNAN): Likewise.
56 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
58 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
60 * manual/string.texi (XPG basename): Fix prototype.
62 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
65 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
66 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
67 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
68 (__setcontext): Likewise.
69 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
70 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
71 Call rt_sigprocmask syscall one time to set new signal mask
72 and retrieve the current signal mask instead of two calls.
73 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
74 (__swapcontext): Likewise.
75 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
76 * stdlib/tst-setcontext2.c: New file.
78 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
80 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
82 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
85 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
88 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
91 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
93 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
95 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
96 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
98 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
99 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
100 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
101 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
102 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
103 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
105 * nptl_db/td_symbol_list.c (td_lookup): Remove
106 HAVE_ASM_GLOBAL_DOT_NAME code.
107 * sysdeps/powerpc/powerpc64/configure.ac: Remove
108 HAVE_ASM_GLOBAL_DOT_NAME check.
109 * sysdeps/powerpc/powerpc64/configure: Regenerate.
110 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
111 (DOT_LABEL): Remove define.
112 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
113 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
114 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
115 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
116 (__TLS_GET_ADDR): Likewise.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
118 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
120 2015-03-11 Carlos O'Donell <carlos@redhat.com>
123 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
124 (_FPU_SETCW): Initialize cw from fpsr before storing.
125 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
126 (fesetexceptflag): Rewrite using fpu_control.h.
127 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
129 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
132 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
134 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
136 2015-03-11 Joseph Myers <joseph@codesourcery.com>
138 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
139 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
144 2015-03-10 Roland McGrath <roland@hack.frob.com>
146 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
148 * Makefile (summarize-tests): New canned sequence, factored out of
149 commands for targets tests and xtests. Display summary lines that
150 don't start with PASS: or XFAIL: rather than ones that do start with
151 ERROR: or FAIL:. Make the commands fail if any summary lines fail
152 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
153 do start with ERROR: or FAIL:.
154 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
155 (except for [$(build-shared) = yes]).
156 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
157 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
158 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
159 * nptl/Makefile: Revert 2015-03-04 changes.
160 [$(CXX) empty] (tests-unsupported): New variable.
161 * debug/Makefile: Likewise.
163 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
164 gnulib file. Replace __attribute with __attribute__ throughout.
166 2015-03-10 Carlos O'Donell <carlos@redhat.com>
168 * sysdeps/hppa/fpu/libm-test-ulps: Update.
170 2015-03-10 Joseph Myers <joseph@codesourcery.com>
173 * math/auto-libm-test-in: Add another test of pow.
174 * math/auto-libm-test-out: Regenerated.
176 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
179 $(config-cflags-nofma).
181 2015-03-10 Joseph Myers <joseph@codesourcery.com>
183 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
184 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
185 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
186 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
187 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
188 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
189 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
190 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
191 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
192 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
193 Add comment on closing #endif.
195 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
197 * posix/wordexp.c (CHAR_IN_SET): New macro.
198 (parse_param): Use it.
200 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
202 * sysdeps/powerpc/fpu/libm-test-ulps: update.
204 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
207 * posix/wordexp.c (parse_param): Fix buffer overflow.
208 * posix/wordexp-test.c (test_case): Add test case.
210 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
213 * posix/wordexp.c (parse_backtick): Fix off-by-one.
214 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
216 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
219 * posix/wordexp-test.c (test_case): Add test for BZ #18043
220 (do_bz18043): Delete.
222 (testit): Refactor to have words at the edge of unreadable page.
224 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
227 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
228 Cleanup read-only streams as well.
229 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
231 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
233 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
236 2015-03-07 Joseph Myers <joseph@codesourcery.com>
238 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
240 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
241 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
242 * soft-fp/op-common.h (_FP_DECL): Likewise.
244 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
246 * elf/ifuncdep2.c (global): Replace
247 __attribute__((visibility("protected"))) with
248 asm (".protected global").
249 * elf/ifuncmod1.c (global): Likewise.
250 * elf/ifuncmod5.c (global): Likewise.
252 2015-03-06 Joseph Myers <joseph@codesourcery.com>
254 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
255 <asm/sfp-machine.h> instead of <sfp-machine.h>.
257 2015-03-06 Roland McGrath <roland@hack.frob.com>
259 * manual/install.texi (Configuring and compiling):
260 Document test-wrapper-env-only.
261 * INSTALL: Regenerated.
263 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
266 * posix/wordexp.c (parse_param): Fix buffer overflow.
267 * posix/wordexp-test.c (do_bz18043): Add test case.
269 2015-03-06 Vincent Bernat <vincent@bernat.im>
271 * time/tst-strptime2.c (do_test): Ensure failing tests are
273 * time/tst-strptime3.c (do_test): Likewise.
275 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
277 Fix aio_error thread-safety.
278 * sysdeps/pthread/aio_error.c: New file
279 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
282 2015-03-06 Florian Weimer <fweimer@redhat.com>
284 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
285 (group_number, vfprintf): Use it.
286 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
288 (WORK_BUFFER_SIZE): New enum constant.
289 (process_arg, vfprintf): Use it.
291 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
293 * manual/errno.texi (Error Messages): Complete example function
294 by adding missing #define.
295 (program_invocation_name): Add statement indicating GNU
296 extension and reference which header file declares the variable.
297 (program_invocation_short_name): Likewise.
299 2015-03-06 Mike Frysinger <vapier@gentoo.org>
301 * manual/errno.texi (Error Messages): Delete strerror ISO C89
304 2015-03-05 Roland McGrath <roland@hack.frob.com>
306 * Makeconfig (test-wrapper-env-only): New variable.
307 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
308 then use that with $(test-wrapper-env-only) rather than using
309 $(test-wrapper-env) $(run-program-env) $($*-ENV).
311 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
314 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
315 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
316 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
317 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
318 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
319 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
320 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
321 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
323 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
324 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
326 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
328 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
330 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
332 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
333 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
335 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
337 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
338 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
340 2015-03-04 Roland McGrath <roland@hack.frob.com>
342 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
343 (ETH_ALEN): New macro.
344 (struct ether_addr): Use it for length of ether_addr_octet.
346 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
347 (setdb): Don't call __nss_configure_lookup for "rpc".
348 (do_test): Don't call test_rpc.
349 (output_rpcent, test_rpc): Functions moved ...
350 * sunrpc/test-rpcent.c: ... to this new file.
351 * sunrpc/Makefile (tests): Add it.
353 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
355 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
356 * nptl/tst-signal6.c: Likewise.
357 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
358 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
360 * configure.ac (libc_cv_cxx_link_ok): New check.
361 Reset CXX to empty if it fails to link.
362 * configure: Regenerated.
363 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
364 bug-atexit3-lib only if $(CXX) is nonempty.
365 * nptl/Makefile (tests): Likewise for tst-cancel24.
366 (tests, tests-static): Likewise for tst-cancel24-static.
367 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
368 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
369 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
370 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
372 2015-03-04 Andreas Schwab <schwab@suse.de>
375 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
376 for non-GCC compilers.
377 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
380 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
383 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
384 integer before bitwise and assembly operations.
385 (feclearexcept): Likewise.
386 * math/test-fenvinline.c: New file.
387 * math/Makefile: Add test-fenvinline test.
389 2015-03-03 Alan Modra <amodra@gmail.com>
392 * scripts/localplt.awk: Strip off symbol version.
393 * NEWS: Mention bug fix.
395 2015-03-02 Roland McGrath <roland@hack.frob.com>
397 * sysdeps/pthread/timer_routines.c
398 (timer_free_list, thread_free_list, thread_active_list): Make static.
400 2015-03-02 Joseph Myers <joseph@codesourcery.com>
403 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
404 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
406 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
407 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
409 * sysdeps/unix/sysv/linux/sh/kernel-features.h
410 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
413 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
416 * posix/fnmatch_loop.c (END): Detect invalid pattern.
417 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
419 2015-03-02 Andreas Schwab <schwab@suse.de>
421 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
424 2015-03-02 Florian Weimer <fweimer@redhat.com>
426 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
429 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
432 * locale/findlocale.c (_nl_find_locale): Introduce const
433 version of loc_name and drop unsafe type casts.
435 2015-02-27 Roland McGrath <roland@hack.frob.com>
437 * dlfcn/tststatic2.c (main): Converted to ...
439 (TEST_FUNCTION): New macro.
440 Include test-skeleton.c.
442 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
445 * elf/Makefile (tests): Add vismain only if PIE is enabled.
446 (tests-pie): Add vismain.
447 (CFLAGS-vismain.c): New.
448 * elf/vismain.c: Add comments for PIE requirement.
450 2015-02-27 Joseph Myers <joseph@codesourcery.com>
454 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
455 0x1p-56L as threshold for just returning the argument.
456 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
457 0x1p-32L as threshold for just returning the argument.
458 * math/auto-libm-test-in: Add more tests of atanh.
459 * math/auto-libm-test-out: Regenerated.
460 * sysdeps/i386/fpu/libm-test-ulps: Update.
461 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
463 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
465 * string/bcopy.c (bcopy): Call memmove for performance.
467 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
469 * string/bzero.c (__bzero): Call memset for performance.
471 2015-02-27 John David Anglin <dave.anglin@bell.net>
474 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
477 2015-02-27 Joseph Myers <joseph@codesourcery.com>
479 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
481 2015-02-26 Joseph Myers <joseph@codesourcery.com>
483 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
484 (__kernel_standard): Use CSTR macro when setting exc.name.
485 * sysdeps/ieee754/Makefile [$(subdir) = math]
486 (CFLAGS-k_standard.c): Remove variable.
488 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
489 setting p and q from "else if" to "else".
491 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
493 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
495 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
497 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
499 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
504 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
505 return pi/2 for arguments below 0x1p-113L.
506 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
507 return pi/2 for arguments below 0x1p-106L.
508 * math/auto-libm-test-in: Add more tests of acos.
509 * math/auto-libm-test-out: Regenerated.
512 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
514 (__ieee754_asin): Force underflow exception for results with small
516 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
518 (__ieee754_asinf): Force underflow exception for results with
519 small absolute value.
520 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
521 (__ieee754_asin): Force underflow exception for results with small
523 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
524 (__ieee754_asinf): Force underflow exception for results with
525 small absolute value.
526 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
527 (__ieee754_asinl): Force underflow exception for results with
528 small absolute value.
529 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
530 (__ieee754_asinl): Force underflow exception for results with
531 small absolute value.
532 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
533 (__ieee754_asinl): Force underflow exception for results with
534 small absolute value.
535 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
537 * math/auto-libm-test-in: Do not mark underflow exceptions as
538 possibly missing for bug 16351.
539 * math/auto-libm-test-out: Regenerated.
542 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
543 of power of 2 down when low part has opposite sign.
544 * math/libm-test.inc (logb_test_data): Add more tests.
546 2015-02-26 Andreas Schwab <schwab@suse.de>
549 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
550 over collating symbol inside a bracket expression. Minor cleanup.
551 * posix/tst-fnmatch3.c (do_test): Add test case.
553 2015-02-26 Joseph Myers <joseph@codesourcery.com>
556 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
557 Adjust exponent of power of 2 down when low part has opposite
559 * math/libm-test.inc (ilogb_test_data): Add more tests.
561 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
564 * locale/findlocale.c (_nl_find_locale): Fix constness error in
568 * locale/findlocale.c (_nl_find_locale): Retry archive search
569 after alias expansion.
571 2015-02-25 Roland McGrath <roland@hack.frob.com>
573 * iconv/tst-iconv3.c (main): Converted to ...
575 (TEST_FUNCTION): New macro.
576 Include test-skeleton.c.
578 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
579 (convert): Make function static.
580 (test_unalign): Likewise. Add const to argument pointee types.
581 (main): Replace with static function do_test.
582 Print "Succeeded." only if RET is zero.
583 (TEST_FUNCTION): New macro.
584 Include test-skeleton.c.
586 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
587 returns a null pointer.
589 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
591 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
592 to __memcpy_ppc only for static builds.
594 2015-02-25 Joseph Myers <joseph@codesourcery.com>
597 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
598 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
599 * math/auto-libm-test-in: Add more tests of asinh.
600 * math/auto-libm-test-out: Regenerated.
601 * sysdeps/i386/fpu/libm-test-ulps: Update.
602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
604 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
607 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
608 and ip6_mtuinfo definitions here.
609 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
610 in this define too. Update comment.
612 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
614 * elf/sprof.c (load_shobj): Tweak error message to match others.
616 2015-02-24 Kevin Easton <kevin@guarana.org>
618 [BZ #16145] (partial fix)
619 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
620 to reduce lock contention.
622 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
624 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
625 (struct timex): Update time comment.
626 (ADJ_SETOFFSET): Define.
628 2015-02-24 Joseph Myers <joseph@codesourcery.com>
631 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
632 2**56 not 2**28 as threshold for log (2x) formula.
633 * math/auto-libm-test-in: Add more tests of acosh.
634 * math/auto-libm-test-out: Regenerated.
635 * sysdeps/i386/fpu/libm-test-ulps: Update.
636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
638 2015-02-24 Mike Frysinger <vapier@gentoo.org>
640 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
641 parenthesis around the buf assignment.
642 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
644 2015-02-24 Joseph Myers <joseph@codesourcery.com>
647 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
648 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
649 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
650 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
651 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
652 * math/libm-test.inc (scalb_test_data): Add more tests.
654 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
657 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
658 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
660 2015-02-24 Eric Rannaud <e@nanocritical.com>
663 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
664 * io/bits/fcntl2.h (open): Use it.
666 * io/open.c (__libc_open): Likewise.
667 * io/open64.c (__libc_open64): Likewise.
668 * io/open64_2.c (__open64_2): Likewise.
669 * io/open_2.c (__open_2): Likewise.
670 * io/openat.c (__openat): Likewise.
671 * io/openat64.c (__openat64): Likewise.
672 * io/openat64_2.c (__openat64_2): Likewise.
673 * io/openat_2.c (__openat_2): Likewise.
674 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
675 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
676 * sysdeps/posix/open64.c (__libc_open64): Likewise.
677 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
678 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
679 (__open_nocancel): Likewise.
680 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
681 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
682 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
684 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
687 * resolv/gethnamaddr.c (getanswer): Skip logging if
688 RES_USE_DNSSEC is set.
689 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
691 2015-02-24 Mike Frysinger <vapier@gentoo.org>
693 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
695 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
697 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
698 201304L, for Unicode 7.
700 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
703 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
704 shared library. Add gmon-start.os otherwise.
705 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
706 $(objpfx)gmon-start.os if builing shared library.
707 ($(objpfx)g$(static-start-installed-name)): Likewise.
709 2015-02-23 Andreas Schwab <schwab@suse.de>
711 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
713 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
716 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
717 (enlarge_userbuf): Likewise.
719 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
721 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
722 * math/atest-exp.c (TIMEOUT): Adjust to 200.
723 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
724 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
726 2015-02-20 Joseph Myers <joseph@codesourcery.com>
728 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
729 expression inside statement expression.
731 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
733 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
734 <sysdeps/nptl/lowlevellock.h> and remove macros and
735 functions that are now defined there.
737 (lll_compare_and_swap): Remove.
738 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
740 2015-02-19 Joseph Myers <joseph@codesourcery.com>
743 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
744 instead of scandirat.
745 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
746 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
747 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
749 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
750 (__scandirat): Declare. Use libc_hidden_proto.
751 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
753 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
755 2015-02-18 Joseph Myers <joseph@codesourcery.com>
758 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
760 (__ieee754_atan2): For results with small absolute value, force
761 underflow exception and remove excess range and precision from
763 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
765 (__ieee754_atan2f): For results with small absolute value, force
766 underflow exception and remove excess range and precision from
768 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
770 (__atan): For results with small absolute value, force underflow
771 exception and remove excess range and precision from return value.
772 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
774 (__atanf): For results with small absolute value, force underflow
775 exception and remove excess range and precision from return value.
776 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
778 (__ieee754_atan2): Force underflow exception for results with
779 small absolute value.
780 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
782 (atan): Force underflow exception for results with small absolute
784 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
785 (__atanf): Force underflow exception for results with small
787 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
789 (__atanl): Force underflow exception for results with small
791 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
792 (__atanl): Force underflow exception for results with small
794 * sysdeps/x86/fpu/bits/mathinline.h
795 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
796 (__ieee754_atan2): Only define inline for long double.
797 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
798 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
799 * math/auto-libm-test-in: Do not mark underflow exceptions as
800 possibly missing for bug 15319. Add more tests of atan2.
801 * math/auto-libm-test-out: Regenerated.
802 * math/libm-test.inc (casin_test_data): Do not mark underflow
803 exceptions as possibly missing for bug 15319.
804 (casinh_test_data): Likewise.
805 * sysdeps/i386/fpu/libm-test-ulps: Update.
807 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
809 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
810 * sysdeps/mips/bits/endian.h: Fix comments.
812 2015-02-18 Joseph Myers <joseph@codesourcery.com>
815 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
816 (hdestroy_r): Likewise.
817 (hsearch_r): Likewise.
818 (__hcreate_r): Declare and use libc_hidden_proto.
819 (__hdestroy_r): Likewise.
820 (__hsearch_r): Likewise.
821 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
822 (hcreate): Call __hcreate_r instead of hcreate_r.
823 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
824 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
825 as weak alias of __hcreate_r.
826 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
828 (hsearch_r): Rename to __hsearch_r and define as weak alias of
830 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
832 (test-xfail-XPG4/search.h/linknamespace): Likewise.
833 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
834 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
835 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
837 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
839 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
840 arena_lock into a single arena_get.
842 2015-02-17 Carlos O'Donell <carlos@redhat.com>
844 * dl-reloc.c: Inlucde libc-internal.h.
845 (_dl_try_allocate_static_tls): Call ALIGN_UP.
846 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
847 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
848 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
849 (grow_heap): Likewise.
850 * malloc/malloc.c: Include libc-internal.h.
851 (do_check_malloc): Call powerof2.
852 (sysmalloc): Use pagesize. Call ALIGN_UP.
853 (systrim): Use pagesize.
854 (mremap_chunk): Use pagesize. Call ALIGN_UP.
855 (__libc_valloc): Use pagesize.
856 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
858 2015-02-17 Joseph Myers <joseph@codesourcery.com>
861 * include/sys/resource.h (__getrlimit64): Declare. Use
863 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
864 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
865 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
867 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
869 [!getrlimit64] (getrlimit64): Define as weak alias of
870 __getrlimit64. Use libc_hidden_weak.
871 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
872 using __getrlimit64 not __new_getrlimit64.
873 (__GI_getrlimit64): Likewise.
874 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
876 (__GI_getrlimit64): Likewise.
877 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
879 (getrlimit): Add __getrlimit64 alias.
880 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
882 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
884 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
885 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
887 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
889 * libio/fileops.c: Add missing sys/mman.h
890 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
892 2015-02-17 Joseph Myers <joseph@codesourcery.com>
894 * manual/math.texi (Errors in Math Functions): Clarify goals
895 regarding inexact and underflow exceptions.
897 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
899 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
900 * sysdeps/mips/memset.S: Ditto.
902 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
904 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
906 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
908 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
909 (__v1longjmp): Remove versioned symbol.
910 (__v1siglongjmp): Remove alias and versioned symbol.
911 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
912 (__v2siglongjmp): Likewise.
914 2015-02-16 Torvald Riegel <triegel@redhat.com>
916 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
918 2015-02-16 Mike Frysinger <vapier@gentoo.org>
920 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
922 2015-02-16 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
926 zero result does not depend on the sign resulting from
928 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
930 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
931 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
932 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
933 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
934 * math/libm-test.inc (remquo_test_data): Add more tests.
936 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
938 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
939 Problem reported by J William Piggott.
941 2015-02-16 Joseph Myers <joseph@codesourcery.com>
944 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
945 products 4 * y and 2 * y where those would overflow.
946 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
948 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
949 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
950 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
951 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
952 * math/libm-test.inc (remquo_test_data): Add more tests.
954 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
956 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
957 [defined _COMPILING_NEWLIB].
958 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
959 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
961 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
962 [!defined __mips_isa_rev || __mips_isa_rev < 6].
964 2015-02-16 Torvald Riegel <triegel@redhat.com>
966 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
969 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
972 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
973 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
974 HOST_STACK_END_ADDR): Likewise.
976 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
978 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
979 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
980 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
982 2015-02-13 Roland McGrath <roland@hack.frob.com>
984 * sysdeps/generic/c++-types.data: New file.
985 * sysdeps/generic/ld.abilist: New file.
986 * sysdeps/generic/libBrokenLocale.abilist: New file.
987 * sysdeps/generic/libanl.abilist: New file.
988 * sysdeps/generic/libc.abilist: New file.
989 * sysdeps/generic/libcrypt.abilist: New file.
990 * sysdeps/generic/libdl.abilist: New file.
991 * sysdeps/generic/libm.abilist: New file.
992 * sysdeps/generic/libpthread.abilist: New file.
993 * sysdeps/generic/libresolv.abilist: New file.
994 * sysdeps/generic/librt.abilist: New file.
996 2015-02-13 Joseph Myers <joseph@codesourcery.com>
999 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1000 Compute absolute value of x as modified by fmod, not original
1002 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1003 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1004 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1005 RUN_TEST_ffI_f1_mod8.
1006 (remquo_test_data): Add more tests.
1008 2015-02-13 Roland McGrath <roland@hack.frob.com>
1010 * sysdeps/init_array/pt-crti.S: New file.
1012 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1015 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1016 __builtin_fmaf instead of relying on contraction of a * b + c.
1018 2015-02-12 J William Piggott <elseifthen@gmx.com>
1021 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1024 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1027 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1028 __builtin_fma instead of relying on contraction of a * b + c.
1030 2015-02-12 Roland McGrath <roland@hack.frob.com>
1032 * Makeconfig (ASFLAGS): Add -Werror=undef.
1033 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1034 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1035 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1037 * Makeconfig (after-link): New variable.
1038 (+link-pie, +link-pie-tests): Use it.
1039 (+link-static, +link-static-tests): Likewise.
1040 (+link, +link-tests): Likewise.
1041 * Makerules (build-module, build-module-asneeded): Likewise.
1042 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1044 * elf/Makefile ($(objpfx)ld.so): Likewise.
1046 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1049 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1050 both struct timeval and struct timespec.
1052 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1055 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1057 (__ieee754_exp2l): Do not multiply small fractional parts by
1059 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1061 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1062 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1063 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1064 * math/auto-libm-test-in: Add more tests of exp2.
1065 * math/auto-libm-test-out: Regenerated.
1067 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1069 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1072 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1074 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1077 2015-02-12 Andreas Schwab <schwab@suse.de>
1080 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1081 Filter out elision flags from value returned in kind.
1082 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1083 * nptl/tst-pthread-mutexattr.c: New file.
1085 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1087 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1088 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1089 into gnu-gnu, and update comment to refer to abi-tags.
1091 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1094 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1095 (__sincos): Set errno to EDOM for infinite argument.
1096 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1097 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1098 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1099 (__sincosl): Set errno to EDOM for infinite argument.
1100 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1101 (__sincosl): Set errno to EDOM for infinite argument.
1102 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1103 (__sincosl): Set errno to EDOM for infinite argument.
1104 * math/libm-test.inc (sincos_test_data): Test errno setting.
1106 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1108 * string/strxfrm_l.c: Remove #define STRCMP.
1109 * string/strcoll_l.c: Remove #define STRLEN.
1110 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1111 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1113 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1115 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1116 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1117 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1118 * sysdeps/mips/mips64/Makefile: ... here.
1119 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1120 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1121 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1122 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1123 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1124 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1125 * sysdeps/mips/mips64/n64/Implies: Likewise.
1127 2015-02-10 Roland McGrath <roland@hack.frob.com>
1129 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1130 <sys/time.h>, <string.h>, and <errno.h>.
1131 (dest_offset, dest_address, value, zero): Remove unused variables.
1132 (ldouble): Remove typedef.
1133 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1134 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1136 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1137 (check): Function removed.
1139 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1140 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1141 Don't call set_sigaction_FP and remove_sigaction_FP here.
1142 (ldouble_test): Just use 'long double' as macro argument, no need for
1143 the 'ldouble' typedef.
1144 (do_test): Set up SIGFPE handler at start, using plain signal rather
1145 than sigaction. Fix code style.
1147 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1150 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1153 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1155 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1156 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1158 * sysdeps/powerpc/configure.ac: Remove file.
1159 * sysdeps/powerpc/configure: Likewise.
1161 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1162 [sysdep_routines]: Remove wordcopy-power6 object.
1163 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1164 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1165 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1166 (__memmove_ppc32): Likewise.
1167 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1169 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1170 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1171 Remove preprocessor.
1173 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1174 [sysdep_routines]: Remove wide chars objects.
1175 [wcsmbs]: New rule for wide char objects.
1177 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1178 Remove wordcopy-power6 obejct.
1179 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1180 Use local call for wordcopy and memcpy symbols.
1181 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1182 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1183 implementation for loader.
1184 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1186 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1187 Remove wordcopy-power7 object.
1188 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1189 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1190 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1191 (_wordcopy_fwd_dest_aligned): Likewise.
1192 (_wordcopy_bwd_aligned): Likewise.
1193 (_wordcopy_bwd_dest_aligned): Likewise.
1195 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1196 Rewrite to call __memmove_ppc instead of include default
1199 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1200 Remove wide chars objects.
1201 [wcsmbs]: New rule for wide char objects.
1203 2015-02-09 Andreas Schwab <schwab@suse.de>
1206 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1207 in terms of __O_DIRECTORY.
1209 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1211 * time/getdate.c: Include <stdbool.h>.
1212 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1214 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1217 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1219 Add ersatz _Static_assert on older C hosts
1220 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1221 pre-C11 C platform that is not known to support _Static_assert.
1223 2015-02-07 Richard Braun <rbraun@sceen.net>
1225 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1227 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1229 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1231 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1232 priority against unexistent AIO_PRIO_DELTA_MAX.
1233 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1235 * misc/fchflags.c (fchflags): Likewise.
1236 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1237 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1238 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1239 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1240 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1242 [__USE_MISC] (chflags, fchflags): Declare functions.
1243 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1244 EINVAL when nfds is greater than FD_SETSIZE.
1245 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1246 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1248 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1249 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1250 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1252 * hurd/hurd/signal.h (_hurd_self_sigstate,
1253 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1254 Explicit casts from void *.
1255 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1256 * abi-tags: Rename gnu-gnu os into gnu.
1259 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1260 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1261 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1262 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1263 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1264 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1267 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1268 duplicates ADDR->sun_path with sockaddr LEN limitation.
1269 * sysdeps/mach/hurd/connect.c: Include <string.h>
1270 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1271 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1272 * sysdeps/mach/hurd/sendto.c: Likewise.
1273 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1274 implementing it by hand.
1276 2015-02-06 Roland McGrath <roland@hack.frob.com>
1278 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1279 Use sfi_breg on ldr.
1280 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1283 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1285 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1286 Test SIGSETXID only if it's defined.
1288 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1290 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1291 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1293 * nptl/tst-align2.c: Moved ...
1294 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1295 * nptl/Makefile (tests): Remove tst-align2.
1296 * sysdeps/unix/sysv/linux/Makefile
1297 [$(subdir) = nptl] (tests): Add tst-align-clone.
1298 * nptl/tst-getpid1.c: Moved ...
1299 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1300 * nptl/tst-getpid2.c: Moved ...
1301 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1302 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1303 * sysdeps/unix/sysv/linux/Makefile
1304 [$(subdir) = nptl] (tests): ... here.
1305 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1306 * sysdeps/unix/sysv/linux/Makefile
1307 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1309 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1310 Drop trailing \n from perror argument. Use return rather than exit.
1312 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1314 * nptl/tst-cancel21.c (do_test): Likewise.
1315 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1316 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1317 [!SA_SIGINFO]: Make it a stub test.
1319 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1320 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1322 * posix/tst-getlogin.c: Move to ...
1323 * login/tst-getlogin.c: ... here.
1324 * posix/Makefile (tests): Move tst-getlogin to ...
1325 * login/Makefile (tests): ... here.
1327 * libio/tst-atime.c (do_test): Move local variables SV and E
1328 inside [ST_NOATIME] conditional.
1330 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1332 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1334 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1335 (wait_code): New function replaces macro.
1336 Call nanosleep rather than syscall.
1338 * nptl/pt-system.c: Rewritten. Put everything under
1339 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1340 Use IFUNC to redirect when possible.
1342 * nptl/pt-longjmp.c: Rewritten. Put everything under
1343 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1344 Use IFUNC to redirect when possible.
1346 * nptl/pt-fork.c: Rewritten. Put everything under
1347 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1348 Use IFUNC to redirect when possible.
1349 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1351 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1352 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1353 unconditionally nowadays. This included the only reference to
1354 __vdso_clock_gettime that appears outside libc proper.
1355 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1356 Remove version set (containing only __vdso_clock_gettime).
1357 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1358 Add attribute_hidden.
1359 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1360 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1361 libc_hidden_data_def.
1362 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1363 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1365 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1366 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1367 setrpcent, and getrpcport to ...
1368 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1369 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1370 getrpcbynumber_r, and getrpcent_r to ...
1371 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1372 * inet/getrpcbyname.c: Moved ...
1373 * sunrpc/getrpcbyname.c: ... here.
1374 * inet/getrpcbyname_r.c: Moved ...
1375 * sunrpc/getrpcbyname_r.c: ... here.
1376 * inet/getrpcbynumber.c: Moved ...
1377 * sunrpc/getrpcbynumber.c: ... here.
1378 * inet/getrpcbynumber_r.c: Moved ...
1379 * sunrpc/getrpcbynumber_r.c: ... here.
1380 * inet/getrpcent.c: Moved ...
1381 * sunrpc/getrpcent.c: ... here.
1382 * inet/getrpcent_r.c: Moved ...
1383 * sunrpc/getrpcent_r.c: ... here.
1384 * inet/Makefile (routines): Move those to ...
1385 * sunrpc/Makefile (routines): ... here.
1386 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1387 the $(subdirs) list.
1388 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1389 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1390 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1391 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1393 * elf/Makefile (routines): Include $(all-dl-routines), not just
1395 (rtld-routines): Likewise. Use = rather than :=.
1396 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1397 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1398 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1399 * sysdeps/arm/Makefile: Likewise.
1400 * sysdeps/i386/Makefile: Likewise.
1401 * sysdeps/x86_64/Makefile: Likewise.
1402 * sysdeps/hppa/Makefile [$(subdir) = elf]
1403 (sysdep_routines, sysdep-rtld-routines): Don't add
1404 $(sysdep-dl-routines) to these.
1405 * sysdeps/ia64/Makefile: Likewise.
1406 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1407 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1408 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1409 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1410 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1411 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1412 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1413 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1414 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1415 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1416 these; sysdep-dl-routines alone is enough.
1418 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1421 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1422 where multiplication results in zero and third argument is finite
1424 * math/auto-libm-test-in: Add more tests of fma.
1425 * math/auto-libm-test-out: Regenerated.
1427 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1428 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1429 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1430 (_FP_CMP_EQ): Likewise.
1431 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1433 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1434 extra argument CHECK_NAN. Redefine as wrapper around
1437 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1439 * version.h (RELEASE): Set to "stable".
1440 (VERSION): Set to "2.21"
1441 * include/features.h (__GLIBC_MINOR__): Set to 21.
1443 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1445 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1446 Paul Eggert <eggert@cs.ucla.edu>
1449 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1450 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1451 size in bytes. Store needed elements in wpmax. Use needed size
1452 in bytes for extend_alloca.
1454 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1456 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1457 binutls 2.25, and texinfo 5.2.
1458 * INSTALL: Regenerate.
1459 * sysdeps/nios2/configure: Regenerate.
1460 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1461 * manual/contrib.texi: Update.
1485 * po/pt_BR.po: Update.
1494 * po/zh_CN.po: Update.
1495 * po/zh_TW.po: Update.
1497 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1498 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1499 * sysdeps/hppa/dl-irel.h: Remove #warning.
1500 * sysdeps/hppa/entry.h: Provide prototype for
1501 __canonicalize_funcptr_for_compare and cast argument.
1502 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1503 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1504 * sysdeps/hppa/sotruss-lib.c: New file.
1505 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1506 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1507 (atomic_compare_and_exchange_bool_acq): Likewise.
1508 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1509 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1511 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1512 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1513 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1515 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1517 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1518 called function in non-PIC case.
1520 2015-01-31 David S. Miller <davem@davemloft.net>
1522 * sysdeps/sparc/sparc32/bits/atomic.h
1523 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1524 unlock not after it.
1525 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1526 volatile register usage warnings from the compiler.
1528 * sysdeps/sparc/nptl/sem_init.c: Delete.
1529 * sysdeps/sparc/nptl/sem_post.c: Delete.
1530 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1531 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1532 * sysdeps/sparc/sparc32/sem_init.c: New file.
1533 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1534 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1535 padding explicitly initialized.
1536 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1537 padding for in-semaphore spinlock.
1538 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1539 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1540 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1541 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1542 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1543 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1544 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1545 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1547 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1548 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1550 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1554 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1555 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1557 (index_AVX_Fast_Unaligned_Load): Likewise.
1558 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1559 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1560 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1561 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1562 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1563 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1564 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1565 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1566 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1568 2015-01-29 Andreas Schwab <schwab@suse.de>
1570 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1572 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1575 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1577 2015-01-28 Martin Sebor <msebor@redhat.com>
1579 * math/README.libm-test: Clarify. Add "How to read the test output."
1581 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1583 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1586 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1588 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1589 (__HAVE_64B_ATOMICS): Define to 0.
1591 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1594 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1595 value to set as new flag.
1598 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1599 and use _ARCH_PPCSQ instead.
1600 (__ieee754_sqrt): Likewise.
1601 (__ieee754_sqrtf): Likewise.
1602 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1603 _ARCH_PPCSQ is defined.
1604 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1606 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1607 _ARCH_PPCSQ is defined.
1608 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1610 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1612 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1614 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1615 bug (GCC BZ #64739).
1617 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1619 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1620 Mark _retval as used.
1621 (lll_futex_wake_unlock): Likewise.
1622 (lll_futex_timed_wait_requeue_pi): Likewise.
1624 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1625 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1628 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1631 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1632 (__bswap_64): Mark as __always_inline.
1634 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1637 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1638 when none of the search directories exist.
1640 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1643 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1644 power8 in .machine directive.
1647 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1648 set dependency from opd value.
1650 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1653 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1656 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1659 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1661 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1663 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1664 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1665 Replace 1UL with (uint64_t) 1.
1666 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1669 2015-01-23 Roland McGrath <roland@hack.frob.com>
1671 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1672 (if_freenameindex): Likewise.
1674 * resource/getrlimit64.c: Add missing libc_hidden_def.
1676 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1678 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1680 (_FP_FMA): Likewise.
1681 (_FP_TO_INT_ROUND): Likewise.
1682 (_FP_FROM_INT): Likewise.
1684 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1687 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1688 Make code racy and cancel safe.
1690 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1692 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1693 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1696 * pwd/tst-getpw.c: Rewrite.
1699 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1700 (modules-names): Add moddummy1 and moddummy2.
1701 ($(objpfx)tst-rec-dlopen): Define.
1702 * dlfcn/moddummy1.c: New file.
1703 * dlfcn/moddummy2.c: New file.
1704 * dlfcn/tst-rec-dlopen.c: New file.
1705 * elf/dl-cache.c (_dl_load_cache_lookup):
1706 Return char*. Copy result with alloca/strcpy/strdup.
1707 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1708 returns char*. Free cached. If not saving realname
1710 * elf/dl-open.c (dl_open_worker): Do not assert that
1711 _r_debug->r_state is RT_CONSISTENT.
1712 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1715 2015-01-21 Torvald Riegel <triegel@redhat.com>
1716 Carlos O'Donell <carlos@redhat.com>
1719 * nptl/sem_waitcommon.c: New file.
1720 * nptl/sem_wait.c: Include sem_waitcommon.c.
1721 (__sem_wait_cleanup, do_futex_wait): Remove.
1722 (__new_sem_wait): Adapt.
1723 (__new_sem_trywait): New function.
1724 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1725 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1726 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1727 (sem_timedwait): Adapt.
1728 * nptl/sem_post.c (__new_sem_post): Adapt.
1729 (futex_wake): New function.
1730 (__old_sem_post): Add release MO fence.
1731 * nptl/sem_open.c (sem_open): Adapt.
1732 * nptl/sem_init.c (__new_sem_init): Adapt.
1733 (futex_private_if_supported): New function.
1734 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1735 (__old_sem_getvalue): Add using previous code.
1736 * sysdeps/nptl/internaltypes.h: Adapt.
1737 * nptl/tst-sem13.c (do_test): Adapt.
1738 * nptl/tst-sem11.c (main): Adapt.
1739 * nptl/sem_trywait.c: Remove.
1740 * nptl/DESIGN-sem.txt: Remove.
1741 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1742 (gen-as-const-headers): Remove structsem.sym.
1743 * nptl/structsem.sym: Remove.
1744 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1745 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1746 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1747 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1748 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1749 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1750 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1751 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1752 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1753 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1754 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1755 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1756 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1757 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1758 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1759 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1760 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1761 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1762 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1763 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1764 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1765 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1767 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1769 * INSTALL: Regenerated.
1771 * po/libc.pot: Regenerated.
1773 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1774 Sandra Loosemore <sandra@codesourcery.com>
1775 Andrew Jenner <andrew@codesourcery.com>
1776 Joseph Myers <joseph@codesourcery.com>
1777 Nathan Sidwell <nathan@codesourcery.com>
1779 * NEWS: Mention new Nios II port.
1780 * sysdeps/nios2/Implies: New file.
1781 * sysdeps/nios2/Makefile: New file.
1782 * sysdeps/nios2/Subdirs: New file.
1783 * sysdeps/nios2/Versions: New file.
1784 * sysdeps/nios2/__longjmp.S: New file.
1785 * sysdeps/nios2/abort-instr.h: New file.
1786 * sysdeps/nios2/backtrace.c: New file.
1787 * sysdeps/nios2/bits/endian.h: New file.
1788 * sysdeps/nios2/bits/fenv.h: New file.
1789 * sysdeps/nios2/bits/link.h: New file.
1790 * sysdeps/nios2/bits/setjmp.h: New file.
1791 * sysdeps/nios2/bsd-_setjmp.S: New file.
1792 * sysdeps/nios2/bsd-setjmp.S: New file.
1793 * sysdeps/nios2/configure: New generated file.
1794 * sysdeps/nios2/configure.ac: New file.
1795 * sysdeps/nios2/crti.S: New file.
1796 * sysdeps/nios2/crtn.S: New file.
1797 * sysdeps/nios2/dl-init.c: New file.
1798 * sysdeps/nios2/dl-machine.h: New file.
1799 * sysdeps/nios2/dl-sysdep.h: New file.
1800 * sysdeps/nios2/dl-tls.h: New file.
1801 * sysdeps/nios2/dl-trampoline.S: New file.
1802 * sysdeps/nios2/gccframe.h: New file.
1803 * sysdeps/nios2/gmp-mparam.h: New file.
1804 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1805 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1806 * sysdeps/nios2/ldsodefs.h: New file.
1807 * sysdeps/nios2/libc-tls.c: New file.
1808 * sysdeps/nios2/libm-test-ulps: New file.
1809 * sysdeps/nios2/machine-gmon.h: New file.
1810 * sysdeps/nios2/math-tests.h: New file.
1811 * sysdeps/nios2/math_private.h: New file.
1812 * sysdeps/nios2/memusage.h: New file.
1813 * sysdeps/nios2/nptl/Makefile: New file.
1814 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1815 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1816 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1817 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1818 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1819 * sysdeps/nios2/nptl/tls.h: New file.
1820 * sysdeps/nios2/preconfigure: New file.
1821 * sysdeps/nios2/s_fma.c: New file.
1822 * sysdeps/nios2/s_fmaf.c: New file.
1823 * sysdeps/nios2/setjmp.S: New file.
1824 * sysdeps/nios2/sfp-machine.h: New file.
1825 * sysdeps/nios2/sotruss-lib.c: New file.
1826 * sysdeps/nios2/stackguard-macros.h: New file.
1827 * sysdeps/nios2/stackinfo.h: New file.
1828 * sysdeps/nios2/start.S: New file.
1829 * sysdeps/nios2/sysdep.h: New file.
1830 * sysdeps/nios2/tls-macros.h: New file.
1831 * sysdeps/nios2/tst-audit.h: New file.
1832 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1833 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1834 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1835 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1836 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1837 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1838 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1839 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1840 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1841 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1842 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1843 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1844 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1845 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1846 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1847 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1848 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1849 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1850 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1851 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1852 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1853 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1854 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1855 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1856 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1857 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1858 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1859 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1860 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1861 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1862 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1863 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1864 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1865 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1866 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1867 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1868 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1869 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1870 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1871 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1872 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1873 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1874 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1875 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1877 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1880 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1881 (getutent): Use weak_alias in non SHARED case
1882 and default_symbol_version in SHARED case.
1883 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1884 (getutent_r, pututline): Likewise.
1885 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1886 (getutid): Likewise.
1887 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1888 (getutid_r): Likewise.
1889 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1890 (getutline): Likewise.
1891 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1892 (getutline_r): Likewise.
1893 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1894 (updwtmp): Likewise.
1896 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1899 * sysdeps/s390/s390-32/memcmp.S
1900 (memcmp_g5): Rename to __memcmp_g5.
1901 * sysdeps/s390/s390-32/memcpy.S
1902 (memcpy_g5): Rename to __memcpy_g5.
1903 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1904 (memcpy_mvcle) Rename to __memcpy_mvcle.
1905 * sysdeps/s390/s390-32/memset.S
1906 (memset_g5): Rename to __memset_g5.
1907 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1908 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1909 and use prefixed functions.
1910 * sysdeps/s390/s390-32/multiarch/memcmp.S
1911 (memcmp_z196): Rename to __memcmp_z196.
1912 (memcmp_z10): Rename to __memcmp_z10.
1913 (memcmp): Set alias to __memcmp_g5.
1914 (bcmp): Set alias to __memcmp_g5.
1915 * sysdeps/s390/s390-32/multiarch/memcpy.S
1916 (memcpy_z196): Rename to __memcpy_z196.
1917 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1918 (memcpy_z10): Rename to __memcpy_z10.
1919 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1920 (memcpy): Set alias to __memcpy_g5.
1921 * sysdeps/s390/s390-32/multiarch/memset.S
1922 (memset_z196): Rename to __memset_z196.
1923 Jump to __memset_mvcle instead of memset_mvcle.
1924 (memset_z10): Rename to __memset_z10.
1925 Jump to __memset_mvcle instead of memset_mvcle.
1926 (memset_mvcle) Rename to __memset_mvcle.
1927 (memset): Set alias to __memset_g5.
1928 * sysdeps/s390/s390-64/memcmp.S
1929 (memcmp_z900): Rename to __memcmp_z900.
1930 * sysdeps/s390/s390-64/memcpy.S
1931 (memcpy_z900): Rename to __memcpy_z900.
1932 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1933 (memcpy_mvcle) Rename to __memcpy_mvcle.
1934 * sysdeps/s390/s390-64/memset.S
1935 (memset_z900): Rename to __memset_z900.
1936 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1937 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1938 and use prefixed functions.
1939 * sysdeps/s390/s390-64/multiarch/memcmp.S
1940 (memcmp_z196): Rename to __memcmp_z196.
1941 (memcmp_z10): Rename to __memcmp_z10.
1942 (memcmp): Set alias to __memcmp_z900.
1943 (bcmp): Set alias to __memcmp_z900.
1944 * sysdeps/s390/s390-64/multiarch/memcpy.S
1945 (memcpy_z196): Rename to __memcpy_z196.
1946 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1947 (memcpy_z10): Rename to __memcpy_z10.
1948 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1949 (memcpy): Set alias to __memcpy_z900.
1950 * sysdeps/s390/s390-64/multiarch/memset.S
1951 (memset_z196): Rename to __memset_z196.
1952 Jump to __memset_mvcle instead of memset_mvcle.
1953 (memset_z10): Rename to __memset_z10.
1954 Jump to __memset_mvcle instead of memset_mvcle.
1955 (memset_mvcle) Rename to __memset_mvcle.
1956 (memset): Set alias to __memset_z900.
1958 2015-01-14 Joseph Myers <joseph@codesourcery.com>
1961 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1962 __fesetenv instead of fesetenv.
1964 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
1966 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1969 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1971 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1974 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1975 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1976 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1977 strncmp-power8 object.
1978 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1979 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1980 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1983 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1984 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1986 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1987 trailing byte check.
1989 2015-01-13 David S. Miller <davem@davemloft.net>
1991 * include/signal.h (__sigreturn): Guard with __USE_MISC.
1993 2015-01-13 Roland McGrath <roland@hack.frob.com>
1995 * login/logout.c (logout): Use memset rather than bzero.
1996 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1997 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1998 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1999 (_gethtbyaddr): Likewise.
2000 * locale/programs/simple-hash.c (bcopy): Macro removed.
2002 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2004 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2005 Add strcmp-power8 object.
2006 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2007 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2008 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2009 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2010 __strcmp_power8 implementation.
2011 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2014 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2015 Add strncpy-power8 and stpncpy-power8 objects.
2016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2017 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2019 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2020 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2021 __stpncpy_power8 implementation.
2022 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2023 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2024 __strncpy_power8 implementation.
2025 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2026 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2029 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2030 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2031 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2033 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2034 strncat-power8 object.
2035 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2036 __strcat_power8 implementation.
2037 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2038 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2039 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2040 optimized strcat for power8.
2042 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2043 strcpy-power8 and stpcpy-power8 objects.
2044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2045 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2047 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2048 multiarch stpcpy implementation for POWER8.
2049 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2050 multiarch strcpy implementation for POWER8.
2051 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2052 __strcpy_power8 function.
2053 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2055 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2059 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2062 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2063 weights and rules. Use do_xfrm_cached if data fits in cache,
2064 do_xfrm otherwise. Moved former main loop to...
2065 * (do_xfrm_cached): New function.
2066 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2067 find_idx, find_position and stack_push.
2068 * (find_idx): New function.
2069 * (find_position): Likewise.
2070 * localedata/sort-test.sh: Added test run for do_xfrm.
2071 * localedata/xfrm-test.c (main): Added command line option
2072 -nocache to run the test with strings that are too large for
2075 2015-01-13 Torvald Riegel <triegel@redhat.com>
2077 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2078 variable to lll_futex_wake call, not the value itself.
2080 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2083 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2084 twom64. Adjust value to 0x1p-64L.
2085 (__scalblnl): Only return standard underflowing result for K <=
2086 -64 not K <= -63; adjust exponent for underflowing result by 64
2088 * math/libm-test.inc (scalbn_test_data): Add more tests.
2089 (scalbln_test_data): Likewise.
2092 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2094 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2096 * math/libm-test.inc (scalbn_test_data): Add more tests.
2097 (scalbln_test_data): Likewise.
2099 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2100 Stefani Seibold <stefani@seibold.net>
2102 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2103 (sysdep_routines): Add dl-vdso here, ...
2104 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2105 (sysdep_routines): ... not here.
2106 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2107 fallback when vDSO is not presented.
2108 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2109 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2110 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2111 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2112 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2113 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2114 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2115 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2116 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2117 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2118 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2119 fallback configurable symbol when vDSO is not available.
2120 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2121 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2122 be able to redefine fallback symbol when vDSO is not available.
2123 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2124 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2126 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2128 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2129 (TLS_INIT_TP): Add tm_capable initialization.
2130 (TLS_DEFINE_INIT_TP): Likewise.
2131 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2133 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2134 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2136 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2137 transactoion is lock elision is built and TCB tm_capable is set.
2138 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2140 (INTERNAL_SYSCALL_NCS): Likewise.
2141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2142 (INTERNAL_SYSCALL_NCS): Likewise.
2143 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2145 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2147 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2148 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2149 and remove it for 32 bits case.
2150 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2153 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2154 Disable lock elision with rdlocks if elision is not available.
2156 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2157 (sysdep_routines): Add lock elision objects.
2158 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2159 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2160 [pthread_mutex_t] (__elision): Add field.
2161 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2162 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2163 elision definitions for powerpc.
2164 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2165 implementation of lock elision for powerpc.
2166 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2167 implementation of timed lock elision for powerpc.
2168 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2169 implementation of trylock with lock elision for powerpc.
2170 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2171 implementaion of unlock for lock elision for powerpc.
2172 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2173 automatic enable lock elision for mutexes.
2174 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2175 transaction execution definitions for powerpc.
2176 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2178 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2179 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2180 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2181 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2184 2015-01-09 Roland McGrath <roland@hack.frob.com>
2186 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2187 for #include of <shm-directory.h>.
2189 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2191 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2192 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2194 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2197 * NEWS: Mention bug fix.
2198 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2199 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2200 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2202 2015-01-09 Torvald Riegel <triegel@redhat.com>
2204 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2206 2015-01-09 Torvald Riegel <triegel@redhat.com>
2208 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2210 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2212 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2213 pointer and cast to uintptr_t.
2215 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2217 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2219 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2221 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2223 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2226 2015-01-08 Roland McGrath <roland@hack.frob.com>
2228 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2229 <nptl/pthreadP.h> instead.
2230 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2232 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2234 [__SIGRTMIN] (init): Function removed.
2235 [__SIGRTMIN] (initialized): Variable removed.
2236 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2237 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2238 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2239 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2240 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2241 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2242 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2243 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2244 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2245 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2246 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2247 * sysdeps/nptl/allocrtsig.c: New file.
2248 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2249 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2250 * sysdeps/generic/testrtsig.h: File removed.
2252 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2253 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2255 * nptl/nptl-init.c (pthread_functions): Conditionalize
2256 .ptr__nptl_setxid initialization on [SIGSETXID].
2258 * sysdeps/nptl/sys/procfs.h: New file.
2259 * nptl_db/Makefile (headers): Add it.
2260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2262 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2263 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2264 * nptl/pthread_attr_setaffinity.c: Include it.
2265 * nptl/pthread_setattr_default_np.c: Likewise.
2266 * nptl/check-cpuset.h: New file.
2268 2015-01-08 Richard Henderson <rth@redhat.com>
2270 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2271 (CFLAGS-tst-execstack-prog.c): Likewise.
2272 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2274 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2275 Sandra Loosemore <sandra@codesourcery.com>
2276 Andrew Jenner <andrew@codesourcery.com>
2277 Joseph Myers <joseph@codesourcery.com>
2278 Nathan Sidwell <nathan@codesourcery.com>
2280 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2281 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2282 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2283 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2284 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2285 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2286 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2287 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2288 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2289 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2290 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2291 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2292 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2293 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2294 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2295 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2296 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2298 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2300 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2301 timespec struct member in syscall macro.
2302 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2303 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2304 first timeval struct member in syscall macro.
2305 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2307 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2310 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2311 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2312 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2313 __feupdateenv and define as weak alias of __feupdateenv. Use
2315 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2317 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2318 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2319 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2320 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2322 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2323 __feupdateenv and define as weak alias of __feupdateenv. Use
2325 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2327 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2328 __feupdateenv and define as weak alias of __feupdateenv. Use
2330 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2332 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2333 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2334 (__feupdateenv): Likewise.
2335 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2336 __feupdateenv and define as weak alias of __feupdateenv. Use
2338 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2339 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2341 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2343 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2345 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2346 __feupdateenv instead of feupdateenv.
2347 (default_libc_feupdateenv_test): Likewise.
2348 (libc_feresetround_ctx): Likewise.
2350 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2352 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2355 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2357 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2358 COLL_SYM in a couple of places to avoid uninitialized variable
2359 wanings on tilegx gcc 4.8.2.
2361 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2363 * sysdeps/aarch64/strcpy.S: New file.
2364 * sysdeps/aarch64/stpcpy.S: New file.
2367 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2369 * sysdeps/aarch64/strrchr.S: New file.
2372 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2375 * stdlib/setenv.c: Fix memory leak when setting large,
2378 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2381 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2382 and tabs from buffer before parsing fstab entry.
2383 * misc/tst-mntent.c (main): Add test for mount entry with
2384 trailing spaces and tabs.
2386 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2389 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2390 * math/fesetround.c (fesetround): Rename to __fesetround and
2391 define as weak alias of __fesetround. Use libm_hidden_weak.
2392 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2393 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2394 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2395 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2396 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2397 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2398 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2399 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2400 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2401 __fesetround_inline.
2402 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2403 __fesetround_inline instead of __fesetround.
2404 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2405 __fesetround and define as weak alias of __fesetround. Use
2406 libm_hidden_weak. Call __fesetround_inline instead of
2408 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2409 __fesetround and define as weak alias of __fesetround. Use
2411 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2413 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2414 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2415 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2416 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2417 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2418 __fesetround and define as weak alias of __fesetround. Use
2420 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2421 __fesetround instead of fesetround.
2422 (default_libc_feholdexcept_setround): Likewise.
2423 (libc_feholdsetround_ctx): Likewise.
2424 (libc_feholdsetround_noex_ctx): Likewise.
2427 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2428 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2429 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2430 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2431 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2432 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2433 define as weak alias of __fesetenv. Use libm_hidden_weak.
2434 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2435 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2436 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2437 define as weak alias of __fesetenv. Use libm_hidden_weak.
2438 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2439 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2440 define as weak alias of __fesetenv. Use libm_hidden_weak.
2441 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2443 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2444 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2446 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2447 define as weak alias of __fesetenv. Use libm_hidden_weak.
2448 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2449 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2450 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2451 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2452 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2453 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2454 __fesetenv instead of fesetenv.
2455 (libc_feresetround_noex_ctx): Likewise.
2456 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2457 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2458 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2459 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2460 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2461 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2462 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2463 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2464 (__feupdateenv): Likewise.
2465 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2466 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2467 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2468 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2470 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2473 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2474 addresses have been freed.
2476 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2478 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2481 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2483 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2484 Clean up check_pf allocation pattern. addresses
2486 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2488 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2489 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2490 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2491 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2492 * nptl/pthread_join.c (pthread_join): Likewise.
2493 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2494 * sysdeps/posix/waitid.c (__waitid): Likewise.
2495 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2496 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2497 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2498 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2499 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2501 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2502 (__libc_pread64): Likewise.
2503 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2504 (__libc_pwrite): Likewise.
2505 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2506 (__libc_pwrite64): Likewsie.
2507 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2508 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2509 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2510 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2511 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2512 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2513 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2517 (__libc_pread64): Likewise.
2518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2521 (__libc_pwrite64): Likewise.
2522 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2523 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2524 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2525 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2526 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2527 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2528 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2529 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2530 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2531 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2532 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2533 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2534 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2535 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2536 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2537 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2540 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2542 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2543 (CFLAGS-test-double.c): Likewise.
2544 (CFLAGS-test-ldouble.c): Likewise.
2545 (CPPFLAGS-test-ifloat.c): Likewise.
2546 (CPPFLAGS-test-idouble.c): Likewise.
2547 (CPPFLAGS-test-ildoubl.c): Likewise.
2548 (CFLAGS-test-test-fenv.c): Remove variable.
2549 (CFLAGS-test-misc.c): Likewise.
2551 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2554 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2555 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2556 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2557 CLOCKS_PER_SEC == 1000000.
2558 * time/clocktest.c (main): Replace %ld with %jd and cast to
2561 2015-01-05 Roland McGrath <roland@hack.frob.com>
2563 * sysdeps/generic/unwind-resume.h: New file.
2564 * sysdeps/gnu/unwind-resume.c: Include it.
2565 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2566 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2568 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2569 global rather than static.
2570 (_Unwind_Resume): Update user.
2571 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2572 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2573 rather than static. Add __attribute__ ((cold)).
2574 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2575 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2576 * sysdeps/arm/arm-unwind-resume.S: New file.
2577 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2578 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2579 * sysdeps/arm/Makefile [$(subdir) = csu]
2580 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2581 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2582 Add rt-arm-unwind-resume.
2584 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2585 Add pt-arm-unwind-resume.
2586 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2587 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2589 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2592 * include/fenv.h (__feholdexcept): Declare. Use
2594 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2595 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2596 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2597 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2598 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2599 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2600 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2601 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2602 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2603 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2604 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2605 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2606 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2607 (feholdexcept): Likewise.
2608 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2609 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2610 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2611 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2612 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2613 __feholdexcept instead of feholdexcept.
2614 (default_libc_feholdexcept_setround): Likewise.
2616 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2618 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2619 to avoid using stl/str to align destination.
2621 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2623 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2625 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2628 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2629 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2630 Define as weak alias not strong alias.
2632 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2634 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2635 bltzal with addiupc.
2636 (RTLD_START): Ditto.
2638 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2640 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2641 for __vdso_* functions in declarations.
2642 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2644 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2645 INTERNAL_VSYSCALL): Use struct return types to check for error.
2647 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2648 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2649 function with cast from llround().
2650 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2651 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2654 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2657 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2658 Define as weak alias not strong alias.
2661 * ctype/ctype-c99.c: New file. isblank implementation moved from
2663 * ctype/ctype-extn.c: ... here.
2664 (__isblank_l): Move to ...
2665 * ctype/ctype-c99_l.c: ... here. New file.
2666 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2667 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2669 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2670 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2671 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2672 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2673 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2676 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2677 (posix_fadvise64): Define as weak alias not strong alias.
2678 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2679 (posix_fallocate64): Likewise.
2680 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2682 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2683 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2684 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2685 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2686 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2688 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2691 * NEWS: Mention bug fix.
2692 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2693 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2694 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2695 (HOST_STACK_END_ADDR): Likewise.
2697 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2700 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2701 * math/fegetround.c (fegetround): Rename to __fegetround and
2702 define as weak alias of __fegetround. Use libm_hidden_weak.
2703 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2704 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2705 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2706 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2707 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2708 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2709 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2710 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2711 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2712 Undefine after rather than before function definition; use
2713 parentheses around function name in definition.
2714 (__fegetround): Also undefine macro after function definition.
2715 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2716 __fegetround and define as weak alias of __fegetround. Use
2717 libm_hidden_weak. Do not undefine as macro.
2718 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2720 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2721 __fegetround and define as weak alias of __fegetround. Use
2723 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2724 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2725 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2726 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2727 __fegetround and define as weak alias of __fegetround. Use
2729 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2730 __fegetround instead of fegetround.
2733 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2734 Condition macro definition on [__USE_MISC].
2737 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2738 (struct sigaction): Change type of sa_flags field to int.
2741 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2742 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2745 * nptl/version.c (banner): Use single year in copyright notice.
2747 * NEWS: Update copyright dates.
2748 * catgets/gencat.c (print_version): Likewise.
2749 * csu/version.c (banner): Likewise.
2750 * debug/catchsegv.sh: Likewise.
2751 * debug/pcprofiledump.c (print_version): Likewise.
2752 * debug/xtrace.sh (do_version): Likewise.
2753 * elf/ldconfig.c (print_version): Likewise.
2754 * elf/ldd.bash.in: Likewise.
2755 * elf/pldd.c (print_version): Likewise.
2756 * elf/sotruss.sh: Likewise.
2757 * elf/sprof.c (print_version): Likewise.
2758 * iconv/iconv_prog.c (print_version): Likewise.
2759 * iconv/iconvconfig.c (print_version): Likewise.
2760 * locale/programs/locale.c (print_version): Likewise.
2761 * locale/programs/localedef.c (print_version): Likewise.
2762 * login/programs/pt_chown.c (print_version): Likewise.
2763 * malloc/memusage.sh (do_version): Likewise.
2764 * malloc/memusagestat.c (print_version): Likewise.
2765 * malloc/mtrace.pl: Likewise.
2766 * manual/libc.texinfo: Likewise.
2767 * nptl/version.c (banner): Likewise.
2768 * nscd/nscd.c (print_version): Likewise.
2769 * nss/getent.c (print_version): Likewise.
2770 * nss/makedb.c (print_version): Likewise.
2771 * posix/getconf.c (main): Likewise.
2772 * scripts/test-installation.pl: Likewise.
2773 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2775 2015-01-02 Will Newton <will.newton@linaro.org>
2777 * sysdeps/arm/armv7/configure: Removed.
2778 * sysdeps/arm/armv7/configure.ac: Likewise.
2780 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2782 * All files with FSF copyright notices: Update copyright dates
2783 using scripts/update-copyrights.
2784 * intl/plural.c: Regenerated.
2785 * locale/programs/charmap-kw.h: Likewise.
2786 * locale/programs/locfile-kw.h: Likewise.
2788 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2790 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2792 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2795 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2796 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2797 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2798 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2799 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2800 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2801 define as weak alias of __fegetenv. Use libm_hidden_weak.
2802 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2803 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2804 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2805 define as weak alias of __fegetenv. Use libm_hidden_weak.
2806 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2807 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2808 define as weak alias of __fegetenv. Use libm_hidden_weak.
2809 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2811 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2812 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2814 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2815 define as weak alias of __fegetenv. Use libm_hidden_weak.
2816 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2817 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2818 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2819 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2820 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2821 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2822 __fegetenv instead of fegetenv.
2823 (libc_feholdsetround_noex_ctx): Likewise.
2825 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2827 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2828 (Elf_MIPS_ABIFlags_v0): New structure.
2829 (EF_MIPS_FP64): Define.
2830 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2831 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2832 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2833 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2834 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2835 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2836 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2837 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2838 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2839 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2840 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2841 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2842 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2843 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2844 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2845 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2846 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2847 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2848 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2849 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2850 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2851 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2853 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2855 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2856 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2857 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2858 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2859 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2860 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2861 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2862 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2863 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2864 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2865 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2866 record the current FP ABI extension.
2867 (mips-mode-switch): Define to show if kernel headers support mode
2869 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2870 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2871 supported SYSV ABI version to 3.
2872 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2875 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2876 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2878 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2880 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2882 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2884 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2885 __fegetround and redefine to call __fegetround. Remove condition
2886 on [!__NO_MATH_INLINES].
2887 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2889 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2890 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2892 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2893 instead of <fenv_libc.h>.
2894 (__llrintl): Call fegetround instead of __fegetround.
2895 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2896 instead of <fenv_libc.h>.
2897 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2898 (__lrintl): Call fegetround instead of __fegetround.
2899 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2900 instead of <fenv_libc.h>.
2901 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2902 (__rintl): Call fegetround instead of __fegetround.
2904 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2906 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2909 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2912 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2913 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2914 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2916 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2918 * sysdeps/i386/tls-macros.h: Include <features.h>.
2919 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2923 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2924 define for GCC >= 5.0.
2926 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2928 * math/test-fenv.c (test_single_exception, set_single_exc,
2929 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2930 feexcp_mask_test, feenable_test, fe_single_test): Add
2931 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2932 case where they are not used.
2933 * math/libm-test.inc: Likewise.
2934 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2935 unused in the absence of FP rounding/exception support.
2936 * stdio-common/tst-printf-round.c: Likewise.
2937 * stdlib/tst-strtod-round.c: Likewise.
2938 * stdlib/tst-strtod-underflow.c: Likewise.
2940 2014-12-30 Joseph Myers <joseph@codesourcery.com>
2943 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2944 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2945 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2946 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2948 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2949 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2950 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2952 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2953 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2955 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2957 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2958 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2959 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2961 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2963 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2964 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2965 (__feraiseexcept): Likewise.
2966 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2967 __feraiseexcept and define as weak alias of __feraiseexcept. Use
2969 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2970 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2972 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2973 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2974 Use libm_hidden_def.
2975 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2977 (feraiseexcept): Define as weak not strong alias. Use
2979 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2980 New inline function. Factored out of ...
2981 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
2982 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2983 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2985 * math/w_acos.c (__acos): Likewise.
2986 * math/w_asin.c (__asin): Likewise.
2987 * math/w_ilogb.c (__ilogb): Likewise.
2988 * math/w_j0.c (y0): Likewise.
2989 * math/w_j1.c (y1): Likewise.
2990 * math/w_jn.c (yn): Likewise.
2991 * math/w_log.c (__log): Likewise.
2992 * math/w_log10.c (__log10): Likewise.
2993 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2994 * sysdeps/aarch64/fpu/math_private.h
2995 (libc_feupdateenv_test_aarch64): Likewise.
2996 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2997 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2998 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2999 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3000 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3001 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3002 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3003 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3004 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3005 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3007 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3010 * io/test-utime.c (main): Replace %ld with %jd and cast to
3012 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3013 * nptl/tst-mutex5.c: Include <stdint.h>.
3014 (do_test): Replace %ld with %jd and cast to intmax_t.
3015 * posix/tst-regex.c (run_test): Likewise.
3016 (run_test_backwards): Likewise.
3017 * rt/tst-clock.c: Include <stdint.h>.
3018 (clock_test): Replace %ld with %jd and cast to intmax_t.
3019 * rt/tst-cpuclock1.c: Include <stdint.h>.
3020 (do_test): Replace %lu with %ju and cast to uintmax_t.
3021 * rt/tst-cpuclock2.c: Include <stdint.h>.
3022 (do_test): Replace %lu with %ju and cast to uintmax_t.
3023 * rt/tst-mqueue1.c: Include <stdint.h>.
3024 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3025 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3027 * rt/tst-mqueue4.c (do_test): Likewise.
3028 * rt/tst-timer4.c: Include <stdint.h>.
3029 (check_ts): Replace %ld with %jd and cast to intmax_t.
3030 (do_test): Likewise.
3031 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3032 and cast to intmax_t.
3033 * sysdeps/pthread/tst-timer.c (main): Likewise.
3034 * time/clocktest.c (main): Likewise.
3035 * time/tst-posixtz.c (do_test): Likewise.
3036 * timezone/tst-timezone.c (main): Likewise.
3038 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3039 H.J. Lu <hongjiu.lu@intel.com>
3041 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3042 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3043 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3044 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3045 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3046 version if bit_Fast_Unaligned_Load is set.
3047 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3048 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3049 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3050 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3051 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3052 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3053 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3054 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3055 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3056 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3058 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3059 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3060 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3061 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3063 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3065 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3066 instead of #if to avoid a Wundef warning.
3067 * stdlib/tst-limits.c (do_test): Likewise.
3069 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3070 parallel other exception macros.
3071 (fegetenv): Convert from macro to extern inline so that it applies
3072 retroactively to inline functions already seen by the compiler.
3073 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3075 * posix/Makefile (before-compile): Use $(objpfx) for
3076 posix-conf-vars-def.h.
3078 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3080 * posix/getconf.c (main): Use size_t for type of I.
3081 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3084 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3085 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3086 * posix/posix-envs.def: Likewise.
3087 * sysdeps/posix/sysconf.c: Likewise.
3088 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3089 (specs): Remove array.
3090 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3093 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3094 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3095 (__sysconf): Use CONF_IS_* macros.
3097 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3098 ($(objpfx)posix-conf-vars-def.h): New target.
3099 * posix/posix-conf-vars.list: New file.
3100 * posix/posix-conf-vars.h: New file.
3101 * posix/confstr.c: Include posix-conf-vars.h.
3102 (confstr): Use CONF_IS_* macros.
3103 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3105 * scripts/gen-posix-conf-vars.awk: New file.
3107 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3109 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3110 fegetround): Add no-op macros to avoid linknamespace issues.
3112 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3113 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3115 * sysdeps/unix/sysv/linux/tile/sysdep.h
3116 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3117 assembly-specific section to avoid a redefinition warning.
3119 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3120 long before casting to pointer to avoid a cast warning.
3122 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3124 * sysdeps/tile/tilegx/Implies: New file.
3126 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3128 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3130 2014-12-23 Florian Weimer <fweimer@redhat.com>
3132 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3134 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3136 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3138 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3139 <kernel-features.h>.
3140 (__utimes) [__NR_utimes]: Make code unconditional.
3141 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3142 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3143 (__ASSUME_UTIMES): Do not undefine.
3144 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3145 (__ASSUME_UTIMES): Likewise.
3146 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3147 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3148 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3149 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3151 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3153 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3155 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3158 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3159 alias to weak alias for j0l, y0l.
3160 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3161 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3164 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3167 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3169 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3170 to zero if not already defined.
3172 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3175 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3176 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3177 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3178 (char *) casts added.
3179 * sysdeps/ieee754/k_standardf.c: New file.
3180 * sysdeps/ieee754/k_standardl.c: Likewise.
3181 * math/Makefile (libm-support): Remove k_standard.
3182 (libm-calls): Add k_standard.
3184 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3186 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3187 Optimize to avoid an unnecessary FPCR read.
3189 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3191 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3192 Optimize to reduce FPCR/FPSR accesses.
3194 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3196 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3197 Call libc_fetestexcept_aarch64.
3199 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3201 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3202 Call libc_fesetround_aarch64.
3204 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3207 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3208 (__bind): Do not define as weak alias.
3209 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3211 (__getsockname): Do not define as weak alias.
3213 2014-12-22 Will Newton <will.newton@linaro.org>
3215 * manual/install.texi: Document that we require bison 2.7
3217 * INSTALL: Regenerate.
3218 * configure.ac: Use AC_CHECK_PROG_VER instead of
3219 AC_PATH_PROG when checking for bison and check for
3220 version 2.7 or above.
3221 * configure: Regenerate.
3223 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3226 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3227 * sysdeps/tile/ffsll.c (ffsll): To here.
3229 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3231 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3233 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3235 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3237 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3238 hidden ___tls_get_addr.
3239 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3240 hidden __tls_get_addr.
3241 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3242 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3245 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3247 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3250 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3252 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3253 from "call _dl_init@PLT".
3254 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3256 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3258 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3261 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3263 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3265 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3268 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3271 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3273 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3275 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3276 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3277 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3278 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3279 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3281 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3283 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3284 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3285 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3286 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3287 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3289 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3291 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3293 * string/strncat.c (STRNCAT): Simplify implementation.
3295 2014-12-19 David S. Miller <davem@davemloft.net>
3297 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3298 access the quad as both a long double and as a series of 4 words.
3300 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3301 link_map->l_info array access.
3303 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3305 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3307 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3308 * math/atest-exp2.c (TIMEOUT): Likewise.
3309 * math/atest-sincos.c (TIMEOUT): Likewise.
3311 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3313 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3314 -Wno-error with -fno-builtin-lround.
3316 2014-12-19 Torvald Riegel <triegel@redhat.com>
3318 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3319 Contains futex constants and functions moved over from ...
3320 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3321 <lowlevellock-futex.h>.
3322 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3323 (lll_timedwait_tid): Add comments and parentheses around macro
3326 2014-12-19 Torvald Riegel <triegel@redhat.com>
3328 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3329 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3330 (__lll_private_flag): Remove.
3331 (lll_futex_wait): Likewise.
3332 (lll_futex_timed_wait): Likewise.
3333 (lll_futex_wake): Likewise.
3334 (lll_futex_requeue): Likewise.
3335 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3336 (__lll_timedwait_tid): Spell out argument names.
3337 (lll_timedwait_tid): Add comments and parentheses around macro
3339 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3340 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3342 2014-12-19 Torvald Riegel <triegel@redhat.com>
3344 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3345 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3346 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3347 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3348 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3349 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3350 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3351 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3352 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3353 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3354 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3355 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3356 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3357 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3358 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3359 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3360 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3361 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3362 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3364 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3366 * sysdeps/x86_64/x32/Makefile: New file.
3368 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3370 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3371 1L with (mp_limb_t) 1.
3373 2014-12-17 Roland McGrath <roland@hack.frob.com>
3375 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3376 * nptl/libc_pthread_init.c: ... here.
3377 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3378 * nptl/register-atfork.c: ... here.
3380 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3381 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3382 Use assert_perror to check its return value.
3383 (__gai_create_helper_thread): Likewise.
3385 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3387 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3389 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3392 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3394 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3396 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3398 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3400 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3401 (profil_counter): Likewise.
3402 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3403 (profil_counter): Likewise.
3404 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3406 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3408 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3409 (profil_counter): Likewise.
3410 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3412 [!__profil_counter] (profil_counter): Define as weak alias of
3414 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3415 (profil_counter): Rename to __profil_counter.
3416 [!__profil_counter] (profil_counter): Define as weak alias of
3418 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3419 (profil_counter): Rename to __profil_counter.
3420 [!__profil_counter] (profil_counter): Define as weak alias of
3422 * sysdeps/posix/profil.c: Update comment referring to
3424 (__profil): Use __profil_counter instead of profil_counter.
3425 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3426 __profil_counter. Use __profil_counter_ushort and
3427 __profil_counter_uint in definitions.
3428 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3429 instead of profil_counter_uint and profil_counter_ushort.
3432 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3433 define as weak alias of __inet_makeaddr.
3434 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3435 as weak alias of __inet_addr.
3436 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3437 as weak alias of __inet_pton. Use libc_hidden_weak.
3438 * include/arpa/inet.h (__inet_pton): Declare. Use
3440 (inet_makeaddr): Don't use libc_hidden_proto.
3441 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3442 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3443 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3444 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3446 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3447 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3449 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3451 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3453 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3455 * stdio-common/bug-vfprintf-nargs.c (do_test):
3456 Cast value to intptr_t to avoid format warning
3457 for usage with PRIdPTR printing macro.
3459 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3461 * libio/tst-widetext.c (do_test):
3462 Use format type %td instead of %Zd for ptrdiff_t
3463 in order to avoid format warning.
3465 2014-12-17 Andreas Schwab <schwab@suse.de>
3467 * nscd/mem.c (gc): Add size_t cast to match printf format.
3469 2014-12-16 Roland McGrath <roland@hack.frob.com>
3471 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3472 (init): Apply PTR_MANGLE to pointers before storing them.
3473 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3476 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3479 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3480 define as weak alias of __memrchr.
3481 (__memrchr): Do not define as strong alias of memrchr.
3482 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3484 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3485 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3486 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3489 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3490 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3491 (if_indextoname): Rename to __if_indextoname and define as weak
3492 alias of __if_indextoname. Use libc_hidden_weak.
3493 (if_freenameindex): Rename to __if_freenameindex and define as
3494 weak alias of __if_freenameindex.
3495 (if_nameindex): Rename to __if_nameindex and define as weak alias
3497 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3498 __if_nametoindex and define as weak alias of __if_nametoindex.
3499 Use libc_hidden_weak.
3500 (if_freenameindex): Rename to __if_freenameindex and define as
3501 weak alias of __if_freenameindex.
3502 (if_nameindex): Rename to __if_nameindex and define as weak alias
3504 (if_indextoname): Rename to __if_indextoname and define as weak
3505 alias of __if_indextoname. Use libc_hidden_weak.
3506 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3507 __if_nametoindex and define as weak alias of __if_nametoindex.
3508 Use libc_hidden_weak.
3509 (if_freenameindex): Rename to __if_freenameindex and define as
3510 weak alias of __if_freenameindex. Use libc_hidden_weak.
3511 (if_nameindex_netlink): Use __if_freenameindex instead of
3513 (if_nameindex): Rename to __if_nameindex and define as weak alias
3514 of __if_nameindex. Use libc_hidden_weak.
3515 (if_indextoname): Rename to __if_indextoname and define as weak
3516 alias of __if_indextoname. Use libc_hidden_weak.
3517 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3519 [!_ISOMAC] (__if_freenameindex): Likewise.
3520 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3522 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3524 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3525 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3526 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3527 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3528 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3529 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3530 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3532 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3534 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3535 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3537 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3539 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3540 subscript above bounds'
3542 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3545 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3547 * libio/tst-fopenloc.c: Use test-skeleton.c.
3549 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3550 (entry): Rename to ITEM.
3551 (do_test, comp): Adjust.
3553 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3555 2014-12-16 Torvald Riegel <triegel@redhat.com>
3557 * string/tester.c: Include <libc-internal.h>.
3558 (test_memset): Ignore -Wmemset-transposed-args.
3560 2014-12-16 Torvald Riegel <triegel@redhat.com>
3562 * misc/tst-mntent2.c (do_test): Fix warning.
3564 2014-12-16 Torvald Riegel <triegel@redhat.com>
3566 * elf/tst-unique4lib.cc(a): Mark as used.
3568 2014-12-16 Florian Weimer <fweimer@redhat.com>
3571 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3574 2014-12-16 Allan McRae <allan@archlinux.org>
3576 * stdio-common/Makefile (tests): Re-add bug26.
3578 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3581 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3584 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3586 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3587 (__lll_lock_wait): Likewise.
3588 (__lll_timedlock_wait): Likewise.
3589 (__lll_timedwait_tid): Likewise.
3590 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3591 (__lll_robust_timedlock_wait): Likewise.
3592 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3593 (lll_cond_trylock): Likewise.
3594 (__lll_lock): Likewise.
3595 (__lll_robust_lock): Likewise.
3596 (__lll_cond_lock): Likewise.
3597 (lll_robust_cond_lock): Likewise.
3598 (__lll_timedlock): Likewise.
3599 (__lll_robust_timedlock): Likewise.
3600 (__lll_unlock): Likewise.
3601 (__lll_robust_unlock): Likewise.
3602 (lll_wait_tid): Likewise.
3603 (lll_timedwait_tid): Likewise.
3605 2014-12-15 Torvald Riegel <triegel@redhat.com>
3607 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3609 2014-12-15 Torvald Riegel <triegel@redhat.com>
3611 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3613 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3615 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3616 * stdio-common/tst-sprintf.c: Likewise.
3618 2014-12-15 Torvald Riegel <triegel@redhat.com>
3620 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3622 2014-12-15 Jeff Law <law@redhat.com>
3625 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3626 on the heap. (CVE-2012-3406)
3627 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3628 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3629 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3631 2014-12-15 Will Newton <will.newton@linaro.org>
3633 * manual/install.texi: Bump required version of texinfo
3635 * INSTALL: Regenerated.
3636 * configure.ac: Check for makeinfo version 4.7 and above.
3637 * configure: Regenerated.
3639 2014-12-12 Roland McGrath <roland@hack.frob.com>
3641 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3642 PREFIX, string constant to insert between directory and name.
3643 * sysdeps/posix/shm_open.c: Update caller.
3644 * sysdeps/posix/shm_unlink.c: Likewise.
3645 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3646 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3647 (SEM_SHM_PREFIX): New macro.
3648 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3649 [$(have-thread-library) = no].
3650 * nptl/Makefile (libpthread-routines): Add shm-directory.
3651 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3652 * sysdeps/nptl/shm-directory.h: New file.
3653 * sysdeps/posix/shm-directory.c
3654 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3655 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3656 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3658 (__where_is_shmfs): Function removed.
3659 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3661 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3663 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3665 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3666 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3667 unconditional for use inside libpthread.
3668 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3670 2014-12-12 Roland McGrath <roland@hack.frob.com>
3672 * nptl/pthread_getaffinity.c: New file.
3673 * nptl/pthread_setaffinity.c: New file.
3674 * nptl/pthread_getname.c: New file.
3675 * nptl/pthread_setname.c: New file.
3677 * nptl/pthread_create.c (START_THREAD_DEFN)
3678 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3680 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3681 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3683 * resolv/res_send.c (send_vc): Disable warning resplen may
3684 be used uninitialized.
3686 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3689 (ATTR_NULL): New define checks ATTR against NULL.
3690 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3691 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3693 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3697 (mem2mem_check): Revert my previous change.
3698 (malloc_check_get_size): Revert my previous change.
3699 (mem2chunk_check): Revert my previous change.
3701 2014-12-11 Roland McGrath <roland@hack.frob.com>
3703 * sysdeps/posix/shm-directory.c: New file.
3704 * sysdeps/posix/shm-directory.h: New file.
3705 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3706 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3707 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3708 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3709 Transmute EPERM to EACCES.
3710 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3712 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3713 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3715 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3717 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3718 pointer and cast to uintptr_t.
3719 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3720 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3721 Add cast to avoid warning.
3722 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3724 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3726 * nptl/semaphore.h: Move to ...
3727 * sysdeps/pthread/semaphore.h: ... here.
3728 * Makefile (installed-headers): Change nptl/semaphore.h to
3729 sysdeps/pthread/semaphore.h.
3731 2014-12-11 Roland McGrath <roland@hack.frob.com>
3733 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3734 generated error format strings.
3736 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3737 -Wformat-extra-args warnings for scanf formats.
3738 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3739 test of zero-length format (duh).
3740 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3741 corner-case scanf format test.
3742 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3743 generated fprintf format string.
3744 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3745 corner-case sprintf format tests.
3746 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3747 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3748 -Wformat-extra-args warnings throughout.
3749 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3750 (CFLAGS-scanf4.c): Likewise.
3751 (CFLAGS-scanf7.c): Likewise.
3752 (CFLAGS-tst-sprintf.c): Likewise.
3753 (CFLAGS-tst-printf.c): Likewise.
3754 (CFLAGS-tst-printfsz.c): Likewise.
3756 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3758 * include/cpio.h: New file.
3759 * include/fmtmsg.h: Likewise.
3761 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3762 corresponding format argument to size_t.
3763 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3765 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3766 corresponding format argument to size_t.
3767 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3769 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3770 corresponding format argument to size_t.
3771 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3772 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3773 (CFLAGS-tst-mbswcs2.c): Likewise.
3774 (CFLAGS-tst-mbswcs3.c): Likewise.
3775 (CFLAGS-tst-mbswcs4.c): Likewise.
3776 (CFLAGS-tst-mbswcs5.c): Likewise.
3777 (CFLAGS-tst-trans.c): Likewise
3779 2014-12-11 Roland McGrath <roland@hack.frob.com>
3781 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3782 rather than assuming they won't contain any '%'s.
3784 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3786 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3787 inhibit_loop_to_libcall to avoid recursive calls.
3788 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3789 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3791 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3793 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3796 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3798 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3799 integer value instead of boolean.
3801 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3803 * malloc/malloc.c: Fix powerof2 check.
3805 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3807 * locale/programs/locfile.h (maybe_swap_uint32):
3808 Remove inline and add unused attribute.
3810 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3812 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3813 Truncating assembler expression to a .long expression.
3815 2014-12-11 Andreas Schwab <schwab@suse.de>
3817 * elf/rtld.c (struct map_args): Constify str member.
3818 (do_preload): Constify fname argument.
3820 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3822 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3823 constants definition.
3825 2014-12-11 Andreas Schwab <schwab@suse.de>
3828 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3829 FORCE_ELISION instead of DO_ELISION.
3830 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3832 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3835 * iconvdata/gconv-modules: Remove duplicate entry.
3837 2014-12-11 Will Newton <will.newton@linaro.org>
3839 Merge gettext 0.19.3 into intl/.
3841 This involves a number of cosmetic changes to comments
3842 and ANSI function definitions and prototypes throughout
3843 all the files. The gettext copyright header is used but
3844 with the date ranges taken from the glibc copy.
3846 * NEWS: Add gettext merge to 2.21.
3847 * intl/bindtextdom.c: Switch to gettext copyright.
3848 Use ANSI definitions and prototypes.
3849 Use gl_* locking primitives rather than __libc_* ones.
3850 Use __builtin_expect rather than __glibc_likely/unlikely.
3851 * intl/dcgettext.c: Switch to gettext copyright.
3852 Use ANSI definitions and prototypes.
3853 * intl/dcigettext.c: Switch to gettext copyright.
3854 Use ANSI definitions and prototypes.
3855 (INTDIV0_RAISES_SIGFPE): New define.
3856 Use gl_* locking primitives rather than __libc_* ones.
3857 Include eval-plural.h instead of plural-eval.c.
3858 Use __builtin_expect rather than __glibc_likely/unlikely.
3859 * intl/dcngettext.c: Switch to gettext copyright.
3860 Use ANSI definitions and prototypes.
3861 * intl/dgettext.c: Likewise.
3862 * intl/dngettext.c: Likewise.
3863 * intl/plural-eval.c: Renamed to...
3864 * intl/eval-plural.h: ...this.
3865 * intl/explodename.c: Switch to gettext copyright.
3866 Use ANSI definitions and prototypes.
3867 (_nl_explode_name): Use strchr instead of __rawmemchr.
3868 * intl/finddomain.c: Switch to gettext copyright.
3869 Use ANSI definitions and prototypes.
3870 Use gl_* locking primitives rather than __libc_* ones.
3871 (_nl_find_domain): Use malloc rather than alloca for
3872 allocation of temporary locale name.
3873 * intl/gettext.c: Switch to gettext copyright.
3874 Use ANSI definitions and prototypes.
3875 * intl/gettextP.h: Switch to gettext copyright.
3876 Use ANSI definitions and prototypes.
3877 Use gl_* locking primitives rather than __libc_* ones.
3878 * intl/gmo.h: Switch to gettext copyright.
3879 (struct sysdep_string): Move struct segment_pair outside of
3881 * intl/hash-string.c: Use ANSI definitions and prototypes.
3882 * intl/hash-string.h: Switch to gettext copyright.
3883 Use ANSI definitions and prototypes.
3884 * intl/l10nflist.c: Switch to gettext copyright.
3885 Use ANSI definitions and prototypes.
3886 (_nl_normalize_codeset): Avoid integer overflow.
3887 * intl/loadinfo.h: Switch to gettext copyright.
3888 Use ANSI definitions and prototypes.
3889 (LIBINTL_DLL_EXPORTED): New define.
3890 (PATH_SEPARATOR): New define.
3891 * intl/loadmsgcat.c: Switch to gettext copyright.
3892 * intl/localealias.c: Switch to gettext copyright.
3893 Use ANSI definitions and prototypes.
3894 (_nl_expand_alias): Use PATH_SEPARATOR.
3895 * intl/ngettext.c: Switch to gettext copyright.
3896 Use ANSI definitions and prototypes.
3897 * intl/plural-exp.c: Likewise.
3898 * intl/plural-exp.h: Switch to gettext copyright.
3899 Use ANSI definitions and prototypes.
3900 (struct expression): Move definition of enum operator outside
3901 of struct definition.
3902 * intl/plural.c: Regenerate.
3903 * intl/plural.y: Switch to gettext copyright.
3904 Use ANSI definitions and prototypes.
3906 * intl/textdomain.c: Switch to gettext copyright.
3907 Use ANSI definitions and prototypes.
3908 Use gl_* locking primitives rather than __libc_* ones.
3910 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3912 * debug/warning-nop.c: Add used atrribute.
3914 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3916 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3918 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3919 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3920 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3922 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3923 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3926 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3927 Undefine after defining function. Define as weak alias of
3928 __wcschr. Use libc_hidden_weak.
3929 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3930 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3931 (libc_hidden_def): Also define __GI___wcschr alias.
3932 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3933 __wcschr and define as weak alias of __wcschr.
3934 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3936 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3937 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3938 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
3939 libc_hidden_weak. Do not use libc_hidden_def.
3940 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3941 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3942 __GI___wcschr alias.
3943 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3944 [IS_IN (libc)] (wcschr): Define as macro expanding to
3946 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3947 [IS_IN (libc)] (__wcschr_power6): Likewise.
3948 [IS_IN (libc)] (__wcschr_power7): Likewise.
3949 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
3951 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3953 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3954 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3955 __wcschr and define as weak alias of __wcschr. Use
3956 libc_hidden_builtin_def.
3957 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3958 as weak alias of __wcschr. Use libc_hidden_weak.
3959 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3961 * time/era.c (_nl_init_era_entries): Likewise.
3962 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3964 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3965 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3967 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3969 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3970 format for long int variable.
3972 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
3975 * manual/search.texi: (Array Sort Function): Remove claim how to make
3978 2014-12-10 Andreas Schwab <schwab@suse.de>
3981 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3982 user-controlled locks.
3984 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
3986 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3989 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3991 * configure.ac (--disable-werror): New configure option.
3992 (enable_werror): New AC_SUBST.
3993 * configure: Regenerated.
3994 * config.make.in (enable-werror): New variable.
3995 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3997 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3998 * manual/install.texi (Configuring and compiling): Document
4000 * INSTALL: Regenerated.
4001 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4002 (CFLAGS-tst-chk2.c): Likewise.
4003 (CFLAGS-tst-chk3.c): Likewise.
4004 (CFLAGS-tst-chk4.cc): Likewise.
4005 (CFLAGS-tst-chk5.cc): Likewise.
4006 (CFLAGS-tst-chk6.cc): Likewise.
4007 (CFLAGS-tst-lfschk1.c): Likewise.
4008 (CFLAGS-tst-lfschk2.c): Likewise.
4009 (CFLAGS-tst-lfschk3.c): Likewise.
4010 (CFLAGS-tst-lfschk4.cc): Likewise.
4011 (CFLAGS-tst-lfschk5.cc): Likewise.
4012 (CFLAGS-tst-lfschk6.cc): Likewise.
4014 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4015 (main): Disable -Wdeprecated-declarations around calls to
4016 register_printf_function.
4018 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4019 (do_test): Disable -Wdiv-by-zero around some calls to
4020 fwrite_unlocked and fread_unlocked.
4022 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4023 (DIAG_POP_NEEDS_COMMENT): Likewise.
4024 (_DIAG_STR1): Likewise.
4025 (_DIAG_STR): Likewise.
4026 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4027 * stdio-common/bug21.c: Include <libc-internal.h>.
4028 (do_test): Disable -Wformat around call to sscanf.
4029 * stdio-common/scanf14.c: Include <libc-internal.h>.
4030 (main): Disable -Wformat around some calls to scanf functions.
4032 2014-12-09 Torvald Riegel <triegel@redhat.com>
4034 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4036 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4038 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4039 stack variable alignment.
4041 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4044 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4045 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4046 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4047 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4048 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4049 __getrlimit instead of getrlimit.
4050 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4051 __gettimeofday instead of gettimeofday.
4052 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4054 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4056 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4057 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4059 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4060 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4062 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4064 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4065 for wide-character tests.
4067 2014-12-04 Roland McGrath <roland@hack.frob.com>
4069 * io/openat64.c: #include <libc-internal.h>
4070 (__openat64): Prototypify. Use ignore_value on MODE.
4071 * io/openat.c: Likewise.
4072 * misc/reboot.c: #include <libc-internal.h>
4073 (reboot): Prototypify. Use ignore_value on HOWTO.
4074 * misc/ptrace.c: #include <libc-internal.h>
4075 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4077 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4079 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4080 XPG4, UNIX98 and XOPEN2K.
4081 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4083 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4085 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4087 * libio/fileops.c: Use ISO C style for function definitions.
4088 * libio/iofopen.c: Likewise.
4089 * libio/wfileops.c: Likewise.
4092 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4094 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4095 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4096 (fgets_func): Function pointer to fgets and fgetws.
4097 (do_ftell_test): Add test to verify ftell value after read
4099 (do_test): Set fgets_func.
4101 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4102 O_TRUNC flag for w and w+ modes.
4103 (do_rewind_test): Likewise.
4104 (do_ftell_test): Likewise.
4105 (do_write_test): Likewise.
4108 * libio/fileops.c (do_ftell): Seek only when there are
4110 * libio/wfileops.c (do_ftell_wide): Likewise.
4111 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4113 (do_one_test): Call it.
4115 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4117 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4118 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4119 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4121 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4122 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4123 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4125 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4127 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4129 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4132 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4133 as weak alias of __getifaddrs. Use libc_hidden_weak.
4134 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4135 __freeifaddrs. Use libc_hidden_weak.
4136 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4137 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4138 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4139 __freeifaddrs. Use libc_hidden_weak.
4140 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4141 __getifaddrs and define as weak alias of __getifaddrs. Use
4143 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4144 __freeifaddrs. Use libc_hidden_weak.
4145 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4147 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4148 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4150 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4153 * sysdeps/mips/start.S (__start): Use indirect jump to call
4156 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4158 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4160 * nptl/tst-mutex1.c: Include <stdbool.h>.
4161 [!ATTR] (ATTR_NULL): New macro.
4162 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4163 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4164 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4166 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4170 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4171 Change conditional to [__USE_MISC].
4174 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4176 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4178 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4180 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4182 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4183 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4184 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4185 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4186 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4187 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4188 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4189 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4190 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4192 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4194 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4196 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4197 Remove strpbrk objects.
4198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4199 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4200 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4201 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4202 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4203 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4205 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4206 Remove strcspn objects.
4207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4208 (__libc_ifunc_impl_list): Remove strcspn implementation.
4209 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4210 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4211 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4212 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4214 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4215 Remove strspn objetcs.
4216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4217 (__libc_ifunc_impl_list): Remove strspn implementation.
4218 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4219 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4220 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4221 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4223 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4227 (mem2mem_check): Add a terminator to the chain of checking blocks.
4228 (malloc_check_get_size): Use it here.
4229 (mem2chunk_check): Ditto.
4231 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4233 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4234 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4236 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4238 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4240 * nptl/nptl-init.c: Include libc-internal.h.
4241 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4243 * elf/ldconfig.c (search_dir): Expand comment.
4245 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4247 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4249 (linknamespace-symlist-stdlibs-tests): Likewise.
4250 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4251 instead of $(objpfx)symlist-stdlibs.
4252 (linknamespace-libs-isoc): New variable.
4253 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4254 (linknamespace-libs-ISO): New variable.
4255 (linknamespace-libs-ISO99): Likewise.
4256 (linknamespace-libs-ISO11): Likewise.
4257 (linknamespace-libs-XPG3): Likewise.
4258 (linknamespace-libs-XPG4): Likewise.
4259 (linknamespace-libs-POSIX): Likewise.
4260 (linknamespace-libs-UNIX98): Likewise.
4261 (linknamespace-libs-XOPEN2K): Likewise.
4262 (linknamespace-libs-POSIX2008): Likewise.
4263 (linknamespace-libs-XOPEN2K8): Likewise.
4264 ($(objpfx)symlist-stdlibs): Replace by
4265 $(linknamespace-symlist-stdlibs-tests). Use
4266 $(linknamespace-libs-$*) as set of libraries.
4267 ($(linknamespace-header-tests)): Update dependencies. Use
4268 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4269 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4270 * conform/linknamespace.pl: Remove comment about considering
4271 definitions of symbols from irrelevant libraries.
4273 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4276 * elf/dl-tls.c: Include <atomic.h>.
4277 (oom): Remove #ifdef SHARED/#endif.
4278 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4279 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4280 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4282 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4283 * nptl/Makefile (tests): Add tst-stack4.
4284 (modules-names): Add tst-stack4mod.
4285 ($(objpfx)tst-stack4): New.
4286 (tst-stack4mod.sos): Likewise.
4287 ($(objpfx)tst-stack4.out): Likewise.
4288 ($(tst-stack4mod.sos)): Likewise.
4290 * nptl/tst-stack4.c: New file.
4291 * nptl/tst-stack4mod.c: Likewise.
4293 2014-11-27 J. Brown <jb999@gmx.de>
4295 * sysdeps/x86/bits/string.h: Add recent CPUs.
4297 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4299 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4302 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4305 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4308 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4310 * nscd/connections.c: Include libc-internal.h because of macro
4313 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4315 * string/bits/string3.h (__warn_memset_zero_len): Don't
4316 declare for gcc newer than 5.0.
4317 (memset): Don't test for zero-length __LEN for gcc newer than
4320 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4322 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4323 size_t for %zu format.
4325 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4326 difference, not %ju.
4328 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4330 * include/libc-internal.h (ignore_value): New macro.
4331 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4334 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4337 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4338 pthread_cleanup_push to void *.
4340 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4345 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4346 instead of 1L << 52.
4348 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4349 * libio/bug-rewind2.c (do_test): Likewise.
4351 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4352 * debug/test-strcpy_chk-ifunc.c: Likewise.
4353 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4354 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4355 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4356 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4357 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4358 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4359 * Rules [$(multi-arch) = no] (tests): Do not filter out
4361 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4362 * debug/Makefile (tests-ifunc): Remove variable.
4363 (tests): Do not add $(tests-ifunc).
4364 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4365 (tests): Do not add $(tests-ifunc).
4366 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4367 [TEST_IFUNC]: Remove conditionals.
4368 * string/test-string.h (TEST_IFUNC): Remove macro.
4369 [TEST_IFUNC]: Remove conditionals.
4371 * string/test-strchr.c [!WIDE] (L): New macro.
4372 [WIDE] (L): Likewise.
4373 (check1): Use CHAR instead of char. Use L on string and character
4376 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4378 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4380 * sysdeps/powerpc/bits/atomic.h
4381 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4382 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4383 (atomic_exchange_and_add_acq): Likewise.
4384 (atomic_exchange_and_add_rel): Likewise.
4385 * sysdeps/powerpc/powerpc32/bits/atomic.h
4386 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4387 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4388 * sysdeps/powerpc/powerpc64/bits/atomic.h
4389 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4390 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4392 2014-11-26 Torvald Riegel <triegel@redhat.com>
4394 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4395 Change synchronization of __sched_fifo_min_prio and
4396 __sched_fifo_max_prio.
4397 * nptl/pthread_mutexattr_getprioceiling.c
4398 (pthread_mutexattr_getprioceiling): Likewise.
4399 * nptl/pthread_mutexattr_setprioceiling.c
4400 (pthread_mutexattr_setprioceiling): Likewise.
4401 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4402 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4405 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4407 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4410 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4412 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4413 third argument const.
4415 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4417 fnmatch: work around GCC compiler warning bug with uninit var
4418 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4419 This works around a bug with x86-64 GCC 4.9.2 and earlier
4420 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4421 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4422 used uninitialized in this function [-Wmaybe-uninitialized]".
4424 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4426 * posix/bug-regex31.c (main): Return RES not 0.
4428 2014-11-25 Anton Blanchard <anton@samba.org>
4430 * sysdeps/powerpc/bits/atomic.h
4431 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4433 2014-11-24 Sterling Augustine <saugustine@google.com>
4435 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4437 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4440 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4442 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4445 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4446 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4448 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4449 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4451 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4453 * string/strncpy.c (strncpy): Improve performance by using memset.
4455 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4457 * string/strcpy.c (strcpy):
4458 Improve performance by using strlen and memcpy.
4460 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4462 * string/strcoll_l.c (get_next_seq): __always_inline.
4463 * string/strcoll_l.c (do_compare): __always_inline.
4465 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4467 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4469 * include/mqueue.h: Likewise.
4470 * include/stdlib.h: Likewise.
4472 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4473 (get_null_defines): Adjust.
4474 * sunrpc/Makefile: Adjust comment.
4475 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4476 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4477 (CFLAGS-interp.c): Likewise.
4478 (CFLAGS-ldconfig.c): Likewise.
4479 (CPPFLAGS-.os): Likewise.
4480 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4481 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4482 * extra-modules.mk (extra-modules.mk): Likewise.
4483 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4484 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4485 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4486 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4487 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4488 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4489 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4490 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4491 * iconvdata/Makefile (CPPFLAGS): Likewise.
4492 (cpp-srcs-left): Add libof for all iconvdata routines.
4493 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4494 * include/assert.h: Likewise.
4495 * include/ctype.h: Likewise.
4496 * include/errno.h: Likewise.
4497 * include/libc-symbols.h: Likewise.
4498 * include/math.h: Likewise.
4499 * include/netdb.h: Likewise.
4500 * include/resolv.h: Likewise.
4501 * include/stdio.h: Likewise.
4502 * include/stdlib.h: Likewise.
4503 * include/string.h: Likewise.
4504 * include/sys/stat.h: Likewise.
4505 * include/wctype.h: Likewise.
4506 * intl/l10nflist.c: Likewise.
4507 * libidn/idn-stub.c: Likewise.
4508 * libio/libioP.h: Likewise.
4509 * nptl/libc_multiple_threads.c: Likewise.
4510 * nptl/pthreadP.h: Likewise.
4511 * posix/regex_internal.h: Likewise.
4512 * resolv/res_hconf.c: Likewise.
4513 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4514 * sysdeps/arm/memmove.S: Likewise.
4515 * sysdeps/arm/sysdep.h: Likewise.
4516 * sysdeps/generic/_itoa.h: Likewise.
4517 * sysdeps/generic/symbol-hacks.h: Likewise.
4518 * sysdeps/gnu/errlist.awk: Likewise.
4519 * sysdeps/gnu/errlist.c: Likewise.
4520 * sysdeps/i386/i586/memcpy.S: Likewise.
4521 * sysdeps/i386/i586/memset.S: Likewise.
4522 * sysdeps/i386/i686/memcpy.S: Likewise.
4523 * sysdeps/i386/i686/memmove.S: Likewise.
4524 * sysdeps/i386/i686/mempcpy.S: Likewise.
4525 * sysdeps/i386/i686/memset.S: Likewise.
4526 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4527 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4528 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4529 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4530 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4531 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4532 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4533 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4534 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4535 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4536 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4537 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4538 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4539 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4540 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4541 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4542 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4543 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4544 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4545 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4546 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4547 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4548 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4549 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4550 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4551 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4552 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4553 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4554 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4555 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4556 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4557 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4558 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4559 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4560 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4562 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4563 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4564 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4566 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4567 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4568 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4569 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4570 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4571 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4572 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4573 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4574 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4575 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4576 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4577 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4578 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4579 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4580 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4581 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4582 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4583 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4584 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4585 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4586 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4587 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4588 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4589 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4590 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4591 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4592 * sysdeps/posix/closedir.c: Likewise.
4593 * sysdeps/posix/opendir.c: Likewise.
4594 * sysdeps/posix/readdir.c: Likewise.
4595 * sysdeps/posix/rewinddir.c: Likewise.
4596 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4597 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4598 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4599 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4600 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4601 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4602 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4603 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4604 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4605 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4606 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4607 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4608 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4609 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4610 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4611 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4612 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4613 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4614 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4615 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4616 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4617 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4618 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4619 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4620 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4621 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4622 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4623 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4624 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4625 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4626 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4629 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4631 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4632 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4633 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4635 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4636 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4637 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4638 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4639 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4640 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4641 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4642 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4643 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4644 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4645 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4646 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4647 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4648 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4649 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4650 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4651 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4652 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4653 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4654 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4655 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4656 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4657 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4658 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4659 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4660 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4661 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4662 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4663 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4664 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4665 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4666 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4667 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4668 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4669 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4670 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4671 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4672 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4673 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4674 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4675 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4676 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4677 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4678 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4679 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4680 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4681 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4682 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4683 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4684 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4685 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4686 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4687 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4688 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4689 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4690 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4691 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4692 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4694 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4695 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4697 * sysdeps/unix/alpha/sysdep.S: Likewise.
4698 * sysdeps/unix/alpha/sysdep.h: Likewise.
4699 * sysdeps/unix/make-syscalls.sh: Likewise.
4700 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4702 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4703 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4704 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4705 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4706 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4707 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4708 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4709 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4710 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4711 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4712 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4713 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4714 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4715 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4716 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4717 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4718 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4719 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4720 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4721 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4722 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4723 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4724 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4725 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4726 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4729 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4730 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4731 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4732 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4733 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4734 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4737 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4738 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4739 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4740 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4741 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4742 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4743 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4744 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4746 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4747 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4750 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4751 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4752 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4753 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4754 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4755 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4756 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4757 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4758 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4759 * sysdeps/x86_64/memcpy.S: Likewise.
4760 * sysdeps/x86_64/memmove.c: Likewise.
4761 * sysdeps/x86_64/memset.S: Likewise.
4762 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4763 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4764 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4765 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4766 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4767 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4768 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4769 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4770 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4771 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4772 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4773 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4774 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4775 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4776 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4777 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4778 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4779 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4780 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4781 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4782 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4783 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4784 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4785 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4786 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4787 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4788 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4789 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4790 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4791 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4792 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4793 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4794 * sysdeps/x86_64/strcmp.S: Likewise.
4796 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4798 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4799 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4800 * elf/rtld-Rules: Likewise.
4801 * elf/setup-vdso.h: Likewise.
4802 * include/assert.h: Likewise.
4803 * include/bits/stdlib-float.h: Likewise.
4804 * include/errno.h: Likewise.
4805 * include/sys/stat.h: Likewise.
4806 * include/unistd.h: Likewise.
4807 * sysdeps/aarch64/setjmp.S: Likewise.
4808 * sysdeps/alpha/setjmp.S: Likewise.
4809 * sysdeps/arm/__longjmp.S: Likewise.
4810 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4811 * sysdeps/arm/setjmp.S: Likewise.
4812 * sysdeps/arm/sysdep.h: Likewise.
4813 * sysdeps/generic/_itoa.h: Likewise.
4814 * sysdeps/generic/dl-sysdep.h: Likewise.
4815 * sysdeps/generic/ldsodefs.h: Likewise.
4816 * sysdeps/i386/dl-tls.h: Likewise.
4817 * sysdeps/i386/setjmp.S: Likewise.
4818 * sysdeps/m68k/setjmp.c: Likewise.
4819 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4820 * sysdeps/mach/hurd/opendir.c: Likewise.
4821 * sysdeps/posix/getcwd.c: Likewise.
4822 * sysdeps/posix/opendir.c: Likewise.
4823 * sysdeps/posix/profil.c: Likewise.
4824 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4825 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4826 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4827 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4828 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4829 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4830 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4831 * sysdeps/s390/dl-tls.h: Likewise.
4832 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4833 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4834 * sysdeps/sh/sh3/setjmp.S: Likewise.
4835 * sysdeps/sh/sh4/setjmp.S: Likewise.
4836 * sysdeps/unix/alpha/sysdep.h: Likewise.
4837 * sysdeps/unix/arm/sysdep.S: Likewise.
4838 * sysdeps/unix/i386/sysdep.S: Likewise.
4839 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4840 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4841 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4842 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4843 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4844 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4845 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4846 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4847 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4848 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4849 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4850 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4851 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4854 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4855 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4856 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4857 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4858 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4859 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4862 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4863 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4864 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4866 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4867 * sysdeps/x86_64/setjmp.S: Likewise.
4869 * include/math.h: Use IS_IN instead of IS_IN_libm.
4870 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4880 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4882 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4884 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4885 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4886 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4890 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4891 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4892 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4893 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4894 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4895 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4896 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4897 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4898 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4899 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4900 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4901 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4902 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4903 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4905 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4913 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4914 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4915 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4916 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4917 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4918 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4921 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4924 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4925 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4926 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4927 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4928 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4929 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4930 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4931 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4932 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4933 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4934 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4935 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4936 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4937 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4938 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4939 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4941 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4942 * nptl/pthreadP.h: Likewise.
4943 * nptl_db/structs.def: Likewise.
4944 * sysdeps/arm/sysdep.h: Likewise.
4945 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4946 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4947 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4948 * sysdeps/unix/alpha/sysdep.h: Likewise.
4949 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4951 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4952 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4953 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4954 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4955 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4956 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4957 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4958 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4959 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4960 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4961 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4962 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4965 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4966 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4967 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4968 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4970 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4971 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4972 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4973 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4974 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4976 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4977 * nptl/pthreadP.h: Likewise.
4978 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4979 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4980 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4981 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4982 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4983 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4984 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4985 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4986 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4987 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4988 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4989 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4994 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4995 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4996 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4997 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4999 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5000 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5001 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5003 * dlfcn/dladdr.c: Use IS_IN.
5004 * dlfcn/dladdr1.c: Likewise.
5005 * dlfcn/dlclose.c: Likewise.
5006 * dlfcn/dlerror.c: Likewise.
5007 * dlfcn/dlinfo.c: Likewise.
5008 * dlfcn/dlmopen.c: Likewise.
5009 * dlfcn/dlopen.c: Likewise.
5010 * dlfcn/dlsym.c: Likewise.
5011 * dlfcn/dlvsym.c: Likewise.
5013 * include/ifaddrs.h: Use IS_IN.
5014 * inet/check_pf.c: Likewise.
5015 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5016 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5018 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5020 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5021 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5023 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5024 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5027 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5029 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5030 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5031 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5032 * include/libc-symbols.h (IS_IN_LIB): New macro.
5033 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5034 * include/netdb.h: Likewise.
5035 * include/stap-probe.h: Remove all uses of IN_LIB.
5037 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5038 instead of IN_MODULE.
5039 * include/libc-symbols.h (IN_MODULE): Define using
5041 (PASTE_NAME, PASTE_NAME1): New macros.
5042 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5044 (STAP_PROBE_ASM): Likewise.
5046 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5048 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5049 __mach_init in dlopened libc.
5051 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5053 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5054 * sysdeps/arm/preconfigure: Regenerate.
5056 2014-11-21 Roland McGrath <roland@hack.frob.com>
5058 * nptl/pthread_create.c (__pthread_create_2_1): Set
5059 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5060 when copying values from IATTR into PD.
5062 2014-11-21 Will Newton <will.newton@linaro.org>
5063 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5065 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5066 Refactor inline-asm. Also add comment.
5068 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5069 ElfW macro instead of hardcoded Elf64 types.
5070 (la_aarch64_gnu_pltenter): Likewise.
5071 * sysdeps/aarch64/dl-machine.h
5072 (elf_machine_runtime_setup): Use ElfW(Addr).
5074 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5075 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5076 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5077 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5078 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5079 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5080 (R_AARCH64_TLS_DTPMOD): This.
5081 (R_AARCH64_TLS_DTPREL64): Rename to ...
5082 (R_AARCH64_TLS_DTPREL): This.
5083 (R_AARCH64_TLS_TPREL64): Rename to ...
5084 (R_AARCH64_TLS_TPREL): This.
5085 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5086 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5087 R_AARCH64_TLS_TPREL64.
5088 (elf_machine_rela): Likewise.
5090 2014-11-21 Torvald Riegel <triegel@redhat.com>
5092 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5093 by setting it to 0. 64b atomics are not supported currently.
5095 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5098 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5099 search domain names.
5101 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5105 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5107 * posix/tst-getaddrinfo5.c: New.
5108 * posix/Makefile (tests): Add it.
5110 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5114 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5115 after parsing line but before break_if_match.
5116 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5117 if there is a protocol mismatch.
5119 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5121 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5122 because the potential race is on the user-supplied stream.
5124 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5126 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5127 string literal if not passed a buffer.
5128 * manual/job.texi (ctermid): Update reasoning, note deviation
5129 from posix, suggest mtasurace when not passed a buffer, for
5130 future non-preliminary safety notes.
5132 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5134 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5135 of not passing it a buffer.
5136 Reported by Peng Haitao.
5138 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5140 * manual/Makefile ($(objpfx)stamp-summary): Require
5141 check-safety.sh to pass.
5142 * manual/check-safety.sh: Wish for verification that every
5143 @deftypefn and @deftypefun is followed by a @safety remark.
5145 2014-11-20 Roland McGrath <roland@hack.frob.com>
5147 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5149 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5150 PTHREAD_CANCEL_ASYNCHRONOUS.
5151 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5154 * nptl/default-sched.h: New file.
5155 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5156 * nptl/pthread_create.c: Include it.
5157 (__pthread_create_2_1): Use collect_default_sched instead of making
5158 Linux syscalls here directly.
5160 2014-11-20 Torvald Riegel <triegel@redhat.com>
5162 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5163 __pthread_once): Use C11 atomics.
5165 2014-11-20 Torvald Riegel <triegel@redhat.com>
5167 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5169 2014-11-20 Torvald Riegel <triegel@redhat.com>
5171 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5172 atomic_thread_fence_acquire, atomic_thread_fence_release,
5173 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5174 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5175 atomic_compare_exchange_weak_relaxed,
5176 atomic_compare_exchange_weak_acquire,
5177 atomic_compare_exchange_weak_release,
5178 atomic_exchange_acquire, atomic_exchange_release,
5179 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5180 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5181 atomic_fetch_and_acquire,
5182 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5184 2014-11-20 Torvald Riegel <triegel@redhat.com>
5186 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5187 USE_ATOMIC_COMPILER_BUILTINS): Define.
5188 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5189 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5190 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5191 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5192 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5193 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5194 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5195 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5196 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5197 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5198 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5199 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5200 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5201 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5202 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5203 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5204 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5205 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5206 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5207 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5208 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5209 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5210 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5211 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5212 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5213 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5214 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5215 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5216 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5217 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5218 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5219 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5220 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5221 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5222 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5223 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5224 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5225 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5226 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5227 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5229 2014-11-19 Roland McGrath <roland@hack.frob.com>
5231 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5232 the sched_priority value here. It was already checked when the user
5233 called pthread_attr_setschedparam.
5235 * nptl/tst-bad-schedattr.c: New file.
5236 * nptl/Makefile (tests): Add it.
5238 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5239 Florian Weimer <fweimer@redhat.com>
5240 Joseph Myers <joseph@codesourcery.com>
5241 Adam Conrad <adconrad@0c3.net>
5242 Andreas Schwab <schwab@suse.de>
5243 Brooks <bmoses@google.com>
5246 * wordexp-test.c (__dso_handle): Add prototype.
5247 (__register_atfork): Likewise.
5248 (__app_register_atfork): New function.
5249 (registered_forks): New global.
5250 (register_fork): New function.
5251 (test_case): Add 3 new tests for WRDE_CMDSUB.
5252 (main): Call __app_register_atfork.
5253 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5254 fork count is non-zero fail the test.
5255 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5257 (parse_dollars): Remove check for WRDE_NOCMD.
5258 (parse_dquote): Likewise.
5260 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5262 * Makeconfig (built-modules): List non-library modules to be
5264 (module-cppflags): Include libc-modules.h for
5265 everything except shlib-versions.v.i.
5267 (before-compile): Add libc-modules.h.
5268 ($(common-objpfx)libc-modules.h,
5269 $(common-objpfx)libc-modules.stmp): New targets.
5270 (common-generated): Add libc-modules.h and libc-modules.stmp.
5271 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5272 * include/libc-symbols.h: Don't include libc-modules.h.
5273 * include/libc-modules.h: Remove file.
5274 * scripts/gen-libc-modules.awk: New script to generate
5276 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5277 Depend on libc-modules.stmp.
5279 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5281 * Makeconfig (in-module): Get value of libof set for the
5283 (CPPFLAGS): Use $(in-module).
5284 * Makerules: Don't suffix routine names for nonlib.
5285 * include/libc-modules.h: New file.
5286 * include/libc-symbols.h: Include libc-modules.h
5287 (IS_IN): New macro to replace IS_IN_* macros.
5288 * elf/Makefile: Set libof-* for each routine.
5289 * elf/rtld-Rules: Likewise.
5290 * extra-modules.mk: Likewise.
5291 * iconv/Makefile: Likewise.
5292 * iconvdata/Makefile: Likewise.
5293 * locale/Makefile: Likewise.
5294 * malloc/Makefile: Likewise.
5295 * nss/Makefile: Likewise.
5296 * sysdeps/gnu/Makefile: Likewise.
5297 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5298 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5299 * sysdeps/s390/s390-64/Makefile: Likewise.
5300 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5301 CPPFLAGS for nscd instead of nonlib.
5303 2014-11-18 Roland McGrath <roland@hack.frob.com>
5305 * nptl/createthread.c: New file.
5307 * nptl/createthread.c: Moved ...
5308 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5310 * nptl/createthread.c: Add proper top-line comment.
5311 (do_clone): Folded into ...
5312 (create_thread): ... here. Take new arguments STOPPED_START and
5313 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5314 increment __nptl_threads, do event-reporting logic, do
5315 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5316 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5317 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5318 just send SIGCANCEL.
5319 * nptl/pthread_create.c: Forward-declare create_thread before
5320 including createthread.c.
5321 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5322 declaration, and new macro START_THREAD_SELF to replace argument.
5323 Remove return statement.
5324 (report_thread_creation): New function.
5325 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5326 synchronization logic, and __nptl_nthreads increment here, around
5327 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5328 PD->parent_cancelhandling here, before create_thread. When
5329 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5330 __deallocate_stack, and ENOMEM translation here.
5332 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5335 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5336 (mptwo): Rename to __mptwo.
5337 (__inv): Use __mptwo instead of mptwo.
5338 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5339 (mptwo): Rename to __mptwo.
5340 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5341 of mpone and __mptwo instead of mptwo.
5342 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5345 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5346 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5347 of mpone and __mptwo instead of mptwo.
5348 (__mpranred): Use __mpone instead of mpone.
5349 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5351 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5352 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5353 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5354 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5355 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5356 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5357 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5358 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5359 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5360 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5361 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5362 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5363 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5364 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5365 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5366 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5367 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5368 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5369 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5371 2014-11-18 Tom de Vries <tom@codesoucery.com>
5373 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5374 replace BSD Handler xref with BSD Signal Handling.
5376 2014-11-17 Richard Henderson <rth@redhat.com>
5378 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5379 (_FP_PACK_RAW_2): Remove.
5380 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5381 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5382 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5383 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5384 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5385 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5386 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5387 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5388 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5389 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5390 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5391 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5392 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5393 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5394 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5395 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5397 2014-11-14 Roland McGrath <roland@hack.frob.com>
5399 * signal/signal.h [__USE_MISC]
5400 (struct sigvec): Remove type.
5401 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5402 (sigvec): Remove declaration.
5403 * sysdeps/posix/sigvec.c: Moved ...
5404 * signal/sigvec.c: ... here, replacing old file.
5405 (struct sigvec): New type, copied from old signal.h definition.
5406 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5407 (__sigvec): Convert definition to prototype.
5408 (sigvec): Replace weak_alias with compat_symbol.
5409 * signal/Versions (libc: GLIBC_2.21): New version set.
5410 * include/signal.h: Remove __sigvec declaration.
5411 * sysdeps/unix/bsd/sigvec.c: Remove file.
5412 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5413 * manual/signal.texi (BSD Handler): Remove subsection.
5414 Move siginterrupt up to ...
5415 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5416 (Blocking in BSD): Fold subsection into its parent.
5417 * NEWS: Mention sigvec removal.
5419 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5421 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5422 (DLA_FMS): Make definition conditional only on [__FMA4__].
5423 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5426 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5427 Make definition conditional only on [PROF].
5428 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5430 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5431 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5433 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5435 * include/signal.h (__sigpause): Move declaration above call to
5437 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5439 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5440 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5442 2014-11-14 David S. Miller <davem@davemloft.net>
5444 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5445 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5447 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5449 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5450 * configure: Regenerated.
5451 * manual/install.texi (Tools for Compilation): Document a
5452 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5453 compiler verified to work.
5454 * INSTALL: Regenerated.
5456 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5457 redeclare with asm name.
5458 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5459 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5460 including <string.h>.
5461 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5462 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5463 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5464 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5465 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5466 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5467 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5469 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5471 * stdlib/strtol.c (__strtol): Use prototype definition.
5474 * stdlib/strtol.c (SYM__): New macro.
5476 (__strtol): Likewise.
5477 (strtol): Rename to __strtol and define as weak alias of
5478 __strtol. Use libc_hidden_weak.
5480 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5482 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5483 Use numbered labels in inline assembly.
5485 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5487 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5488 Add setjmp LIBC_PROBE.
5489 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5491 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5492 Add longjmp, longjmp_target LIBC_PROBE.
5493 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5496 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5498 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5499 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5500 to get rid of unused variable warning.
5502 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5504 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5505 Check for unwind_backtrace == NULL only in SHARED case.
5506 (__backchain_backtrace): Compile only in SHARED case.
5507 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5509 (__backchain_backtrace): Declare as static.
5511 2014-11-12 Roland McGrath <roland@hack.frob.com>
5513 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5514 (__libc_multiple_threads_ptr): Variable moved ...
5515 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5517 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5519 * conform/GlibcConform.pm: New file.
5520 * conform/conformtest.pl: Use GlibcConform module.
5521 * conform/linknamespace.pl: New file.
5522 * conform/list-header-symbols.pl: Likewise.
5523 * conform/Makefile (linknamespace-symlists-base): New variable.
5524 (linknamespace-symlists-tests): Likewise.
5525 (linknamespace-header-base): Likewise.
5526 (linknamespace-header-tests): Likewise.
5527 (tests-special): Add new tests.
5528 ($(linknamespace-symlists-tests)): New rule.
5529 (linknamespace-libs): New variable.
5530 ($(objpfx)symlist-stdlibs): New rule.
5531 ($(linknamespace-header-tests)): Likewise.
5532 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5533 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5534 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5535 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5536 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5537 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5538 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5539 (test-xfail-ISO/math.h/linknamespace): Likewise.
5540 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5541 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5542 (test-xfail-ISO/time.h/linknamespace): Likewise.
5543 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5544 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5545 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5546 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5547 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5548 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5549 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5550 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5551 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5552 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5553 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5554 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5555 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5556 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5557 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5558 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5559 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5560 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5561 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5562 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5563 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5564 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5565 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5566 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5567 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5568 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5569 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5570 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5571 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5572 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5573 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5574 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5575 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5576 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5577 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5578 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5579 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5580 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5581 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5582 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5583 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5584 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5585 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5586 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5587 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5588 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5589 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5590 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5591 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5592 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5593 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5594 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5595 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5596 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5597 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5598 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5599 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5600 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5601 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5602 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5603 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5604 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5605 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5606 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5607 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5608 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5609 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5610 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5611 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5612 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5613 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5614 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5615 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5616 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5617 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5618 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5619 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5620 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5621 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5622 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5623 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5624 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5625 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5626 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5627 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5628 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5629 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5630 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5631 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5632 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5633 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5634 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5635 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5636 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5637 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5638 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5639 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5640 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5641 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5642 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5643 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5644 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5645 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5646 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5647 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5648 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5649 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5650 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5651 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5652 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5653 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5654 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5655 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5656 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5657 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5658 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5659 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5660 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5661 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5662 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5663 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5664 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5665 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5666 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5667 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5668 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5669 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5670 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5671 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5672 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5673 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5674 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5675 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5676 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5677 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5678 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5679 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5680 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5681 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5682 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5683 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5684 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5685 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5686 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5687 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5688 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5689 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5690 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5691 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5692 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5695 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5699 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5700 (memmem): Rename to __memmem and define as weak alias of
5701 __memmem. Use libc_hidden_weak.
5702 (__memmem): Use libc_hidden_def.
5703 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5704 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5708 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5709 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5710 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5711 and define as weak alias of __fgets_unlocked. Use
5713 (__fgets_unlocked): Use libc_hidden_def.
5714 * include/stdio.h (__fgets_unlocked): Declare. Use
5716 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5717 __fgets_unlocked instead of fgets_unlocked.
5718 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5719 (GET_NPROCS_CONF_PARSER): Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5721 (GET_NPROCS_CONF_PARSER): Likewise.
5724 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5725 weak alias of __wmemset. Use libc_hidden_weak.
5726 (__wmemset): Use libc_hidden_def.
5727 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5728 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5732 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5733 with asm name __mempcpy.
5734 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5737 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5738 and define as weak alias of __rawmemchr.
5739 (__rawmemchr): Do not define as strong alias of rawmemchr.
5742 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5744 (qsort): Call __qsort_r instead of qsort_r.
5745 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5746 (__qsort_r): Declare. Call libc_hidden_proto.
5747 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5749 * nscd/gai.c (__qsort_r): Define to qsort_r.
5750 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5751 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5752 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5755 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5756 define as weak alias of __malloc_info.
5759 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5760 as weak alias of __rewinddir. Don't use libc_hidden_def.
5761 (__rewinddir): Use libc_hidden_def.
5762 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5763 as weak alias of __rewinddir. Don't use libc_hidden_def.
5764 (__rewinddir): Use libc_hidden_def.
5765 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5766 weak alias of __rewinddir. Don't use libc_hidden_def.
5767 (__rewinddir): Use libc_hidden_def.
5768 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5769 (__rewinddir): Use libc_hidden_proto.
5770 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5772 (__getcwd): Use __rewinddir instead of rewinddir.
5775 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5776 alias of __fileno. Use libc_hidden_weak.
5777 (__fileno): Use libc_hidden_def.
5778 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5779 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5781 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5783 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5784 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5786 (fread_unlocked): Don't use libc_hidden_ver.
5787 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5788 and define as weak alias of __fread_unlocked. Don't use
5790 (__fread_unlocked): Use libc_hidden_def.
5791 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5792 (ftello): Don't use libc_hidden_proto.
5793 (__ftello): Declare. Use libc_hidden_proto.
5794 (fread_unlocked): Don't use libc_hidden_proto.
5795 (__fread_unlocked): Declare. Use libc_hidden_proto.
5796 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5797 and __ftello instead of fileno, fread_unlocked and ftello.
5799 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5801 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5803 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5805 (_dl_start_user): Likewise.
5806 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5808 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5809 Siddhesh Poyarekar <siddhesh@redhat.com>
5811 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5812 Move argv and envp down instead of moving argc up.
5813 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5815 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5818 * test-skeleton.c (main): Return successful if one of
5819 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5820 * string/tst-strcoll-overflow.c: Define expected status.
5822 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5825 * locale/iso-639.def: Define Bhili and Tulu language codes.
5827 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5829 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5831 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5834 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5836 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5838 * configure.ac: Updated check of minimal required version to
5840 * manual/install.texi (Tools for Compilation): Updated version
5842 * configure: Regenerated.
5843 * INSTALL: Likewise.
5845 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5847 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5850 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5852 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5853 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5854 (__waitpid): Don't define as alias. Use libc_hidden_def not
5856 (waitpid): Define as alias of __waitpid.
5857 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5859 (__waitpid): Don't define as alias. Use libc_hidden_def not
5861 (waitpid): Define as alias of __waitpid.
5862 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5863 __libc_waitpid alias.
5864 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5865 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5867 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5868 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5869 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5871 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5873 (__waitpid): Don't define as alias. Use libc_hidden_def not
5875 (waitpid): Define as alias of __waitpid.
5877 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5879 * manual/llio.texi: Add comment that write safety has been
5882 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5883 (localplt-build-dso): Add elf/ld.so.
5884 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5885 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5888 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5893 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5894 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5895 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5896 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5897 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5898 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5899 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5900 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5901 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5902 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5903 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5905 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5908 * include/libc-symbols.h (INTUSE): Remove macro.
5910 (INTVARDEF): Likewise.
5911 (_INTVARDEF): Likewise.
5912 (INTDEF2): Likewise.
5913 (INTVARDEF2): Likewise.
5914 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5915 rtld_hidden_def instead of INTVARDEF.
5916 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5917 (_dl_starting_up_internal): Remove declaration.
5918 (_dl_starting_up): Use rtld_hidden_proto.
5919 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5921 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5922 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5924 * elf/dl-writev.h (_dl_writev): Likewise.
5925 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5926 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5927 _dl_starting_up_internal.
5929 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5931 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5934 2014-11-05 Will Newton <will.newton@linaro.org>
5936 * benchtests/Makefile: (bench-malloc): Add malloc thread
5937 scalability benchmark.
5938 * benchtests/bench-malloc-threads.c: New file.
5940 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
5942 * sysdeps/aarch64/strchrnul.S: New file.
5944 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5946 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5948 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5950 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5952 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5954 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5956 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5959 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
5961 * catgets/test-gencat.c: Use test-skeleton.c.
5962 * catgets/tst-catgets.c: Likewise.
5963 * csu/tst-empty.c: Likewise.
5964 * elf/tst-audit2.c: Likewise.
5965 * elf/tst-global1.c: Likewise.
5966 * elf/tst-pathopt.c: Likewise.
5967 * elf/tst-piemod1.c: Likewise.
5968 * elf/tst-tls10.c: Likewise.
5969 * elf/tst-tls11.c: Likewise.
5970 * elf/tst-tls12.c: Likewise.
5971 * gnulib/tst-gcc.c: Likewise.
5972 * iconvdata/tst-e2big.c: Likewise.
5973 * iconvdata/tst-loading.c: Likewise.
5974 * iconv/tst-iconv1.c: Likewise.
5975 * iconv/tst-iconv2.c: Likewise.
5976 * inet/test-inet6_opt.c: Likewise.
5977 * inet/tst-gethnm.c: Likewise.
5978 * inet/tst-network.c: Likewise.
5979 * inet/tst-ntoa.c: Likewise.
5980 * intl/tst-codeset.c: Likewise.
5981 * intl/tst-gettext2.c: Likewise.
5982 * intl/tst-gettext3.c: Likewise.
5983 * intl/tst-ngettext.c: Likewise.
5984 * intl/tst-translit.c: Likewise.
5985 * io/test-stat.c: Likewise.
5986 * libio/test-fmemopen.c: Likewise.
5987 * libio/tst-freopen.c: Likewise.
5988 * libio/tst-sscanf.c: Likewise.
5989 * libio/tst-ungetwc1.c: Likewise.
5990 * libio/tst-ungetwc2.c: Likewise.
5991 * libio/tst-widetext.c: Likewise.
5992 * localedata/tst-ctype.c: Likewise.
5993 * localedata/tst-digits.c: Likewise.
5994 * localedata/tst-leaks.c: Likewise.
5995 * localedata/tst-mbswcs1.c: Likewise.
5996 * localedata/tst-mbswcs2.c: Likewise.
5997 * localedata/tst-mbswcs3.c: Likewise.
5998 * localedata/tst-mbswcs4.c: Likewise.
5999 * localedata/tst-mbswcs5.c: Likewise.
6000 * localedata/tst-setlocale.c: Likewise.
6001 * localedata/tst-trans.c: Likewise.
6002 * localedata/tst-wctype.c: Likewise.
6003 * localedata/tst-xlocale1.c: Likewise.
6004 * login/tst-grantpt.c: Likewise.
6005 * malloc/tst-calloc.c: Likewise.
6006 * malloc/tst-malloc.c: Likewise.
6007 * malloc/tst-mallocstate.c: Likewise.
6008 * malloc/tst-mcheck.c: Likewise.
6009 * malloc/tst-mtrace.c: Likewise.
6010 * malloc/tst-obstack.c: Likewise.
6011 * math/atest-exp2.c: Likewise.
6012 * math/atest-exp.c: Likewise.
6013 * math/atest-sincos.c: Likewise.
6014 * math/test-matherr.c: Likewise.
6015 * math/test-misc.c: Likewise.
6016 * math/test-powl.c: Likewise.
6017 * math/tst-definitions.c: Likewise.
6018 * misc/tst-dirname.c: Likewise.
6019 * misc/tst-efgcvt.c: Likewise.
6020 * misc/tst-fdset.c: Likewise.
6021 * misc/tst-hsearch.c: Likewise.
6022 * misc/tst-mntent2.c: Likewise.
6023 * nptl/tst-sem7.c: Likewise.
6024 * nptl/tst-sem8.c: Likewise.
6025 * nptl/tst-sem9.c: Likewise.
6026 * nss/test-netdb.c: Likewise.
6027 * posix/tst-fnmatch.c: Likewise.
6028 * posix/tst-getlogin.c: Likewise.
6029 * posix/tst-gnuglob.c: Likewise.
6030 * posix/tst-mmap.c: Likewise.
6031 * pwd/tst-getpw.c: Likewise.
6032 * resolv/tst-inet_ntop.c: Likewise.
6033 * rt/tst-timer.c: Likewise.
6034 * stdio-common/test-fseek.c: Likewise.
6035 * stdio-common/test-popen.c: Likewise.
6036 * stdio-common/test-vfprintf.c: Likewise.
6037 * stdio-common/tst-cookie.c: Likewise.
6038 * stdio-common/tst-fileno.c: Likewise.
6039 * stdio-common/tst-gets.c: Likewise.
6040 * stdio-common/tst-obprintf.c: Likewise.
6041 * stdio-common/tst-perror.c: Likewise.
6042 * stdio-common/tst-sprintf2.c: Likewise.
6043 * stdio-common/tst-sprintf3.c: Likewise.
6044 * stdio-common/tst-sprintf.c: Likewise.
6045 * stdio-common/tst-swprintf.c: Likewise.
6046 * stdio-common/tst-tmpnam.c: Likewise.
6047 * stdio-common/tst-unbputc.c: Likewise.
6048 * stdio-common/tst-wc-printf.c: Likewise.
6049 * stdlib/tst-environ.c: Likewise.
6050 * stdlib/tst-fmtmsg.c: Likewise.
6051 * stdlib/tst-limits.c: Likewise.
6052 * stdlib/tst-rand48-2.c: Likewise.
6053 * stdlib/tst-rand48.c: Likewise.
6054 * stdlib/tst-random2.c: Likewise.
6055 * stdlib/tst-random.c: Likewise.
6056 * stdlib/tst-strtol.c: Likewise.
6057 * stdlib/tst-strtoll.c: Likewise.
6058 * stdlib/tst-tls-atexit.c: Likewise.
6059 * stdlib/tst-xpg-basename.c: Likewise.
6060 * string/test-ffs.c: Likewise.
6061 * string/tst-bswap.c: Likewise.
6062 * string/tst-inlcall.c: Likewise.
6063 * string/tst-strtok.c: Likewise.
6064 * string/tst-strxfrm.c: Likewise.
6065 * sysdeps/x86_64/tst-audit10.c: Likewise.
6066 * sysdeps/x86_64/tst-audit3.c: Likewise.
6067 * sysdeps/x86_64/tst-audit4.c: Likewise.
6068 * sysdeps/x86_64/tst-audit5.c: Likewise.
6069 * time/tst-ftime_l.c: Likewise.
6070 * time/tst-getdate.c: Likewise.
6071 * time/tst-mktime3.c: Likewise.
6072 * time/tst-mktime.c: Likewise.
6073 * time/tst-posixtz.c: Likewise.
6074 * time/tst-strptime2.c: Likewise.
6075 * time/tst-strptime3.c: Likewise.
6076 * wcsmbs/tst-btowc.c: Likewise.
6077 * wcsmbs/tst-mbrtowc.c: Likewise.
6078 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6079 * wcsmbs/tst-wchar-h.c: Likewise.
6080 * wcsmbs/tst-wcpncpy.c: Likewise.
6081 * wcsmbs/tst-wcrtomb.c: Likewise.
6082 * wcsmbs/tst-wcsnlen.c: Likewise.
6083 * wcsmbs/tst-wcstof.c: Likewise.
6085 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6088 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6090 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6092 (_dl_mcount): Use rtld_hidden_proto.
6093 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6095 * elf/rtld.c (_rtld_global_ro): Likewise.
6098 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6099 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6100 of _dl_init_internal.
6101 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6102 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6103 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6104 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6105 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6106 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6107 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6108 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6109 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6110 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6111 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6112 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6113 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6114 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6115 * sysdeps/tile/dl-start.S (_start): Likewise.
6116 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6117 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6120 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6121 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6122 (rtld_progname): Make macro definition unconditional.
6123 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6125 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6126 (dl_main): Likewise.
6127 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6128 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6129 instead of _dl_argv_internal.
6130 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6131 __GI__dl_argv instead of INTUSE(_dl_argv).
6132 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6133 __GI__dl_argv instead of _dl_argv_internal.
6135 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6136 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6138 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6139 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6141 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6142 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6144 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6145 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6147 2014-11-04 Andreas Schwab <schwab@suse.de>
6149 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6151 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6154 mtvsrd instruction in binary form.
6156 2014-11-03 Andreas Schwab <schwab@suse.de>
6159 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6160 for less than MB_LEN_MAX use a local buffer of that size.
6161 * libio/tst-fputws.c: New file.
6162 * libio/Makefile (tests): Add tst-fputws.
6164 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6166 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6167 the size of the fpu_fr.fpu_dregs[] array.
6169 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6171 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6172 (__nanosleep): Do not define as alias.
6173 (nanosleep): Define as alias of __nanosleep.
6174 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6175 __libc_nanosleep name.
6177 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6179 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6180 install.texi in comment.
6182 2014-10-31 Torvald Riegel <triegel@redhat.com>
6184 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6185 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6186 ... add here and use lwsync or sync ...
6187 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6188 ... and add here using lwsync.
6190 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6192 * elf/dl-machine-reject-phdr.h: New file.
6193 * elf/dl-load.c: #include that.
6194 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6195 if that returned true.
6197 2014-10-31 Roland McGrath <roland@hack.frob.com>
6200 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6201 gen-as-const-headers chunk. Add a big scare comment after the last
6202 safe place to touch before-compile.
6204 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6206 * manual/install.texi (Tools for Compilation): Update autoconf
6207 version requirements.
6208 * INSTALL: Regenerated.
6210 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6211 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6212 (__libc_pselect): Likewise.
6215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6220 2014-10-31 Torvald Riegel <triegel@redhat.com>
6222 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6223 correct barrier instruction.
6224 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6226 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6229 2014-10-30 Roland McGrath <roland@hack.frob.com>
6231 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6232 after defining inlines. Instead, just use parens to defeat macro
6233 expansion of __isctype in its declaration.
6235 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6237 * include/sys/uio.h (__libc_readv): Remove declaration.
6238 (__libc_writev): Likewise.
6239 * misc/readv.c (__libc_readv): Rename to __readv.
6240 (__readv): Do not define as alias.
6241 (readv): Define as alias of __readv.
6242 * misc/writev.c (__libc_writev): Rename to __writev.
6243 (__writev): Do not define as alias.
6244 (writev): Define as alias of __writev.
6245 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6246 (__readv): Do not define as alias.
6247 (readv): Define unconditionally as alias of __readv.
6248 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6249 (__writev): Do not define as alias.
6250 (writev): Define unconditionally as alias of __writev.
6251 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6253 (writev): Do not define __libc_writev name.
6255 2014-10-30 Roland McGrath <roland@hack.frob.com>
6257 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6258 (convert_charseq): New function, broken out of ...
6259 (use_from_charmap): ... here. Call it.
6260 (use_to_charmap): Use convert_charseq and free instead of duplicating
6261 its code with a variable-length stack struct.
6263 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6265 * include/fcntl.h (__libc_creat): Remove declaration.
6266 * io/creat.c (__libc_creat): Rename to creat.
6267 (creat): Do not define as alias.
6268 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6269 of creat instead of __libc_creat.
6270 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6272 (creat): Do not define as alias.
6273 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6275 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6277 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6280 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6282 * manual/llio.texi: Add comments discussing why write() may be
6283 considered MT-unsafe on Linux.
6285 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6287 * dl-load.c (local_strdup): Remove.
6288 (expand_dynamic_string_token): Use __strdup.
6289 (decompose_rpath): Likewise.
6290 (_dl_map_object): Likewise.
6292 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6295 * sysdeps/generic/unwind-dw2-fde.c
6296 (__register_frame_info_bases_internal): Do not declare.
6297 (__register_frame_info_table_bases_internal): Likewise.
6298 (__deregister_frame_info_bases_internal): Likewise.
6299 (__register_frame_info_bases): Declare and use hidden_proto before
6300 definition. Use hidden_def instead of INTDEF.
6301 (__register_frame_info_table_bases): Likewise.
6302 (__deregister_frame_info_bases): Likewise.
6303 (__register_frame_info): Do not use INTUSE.
6304 (__register_frame): Likewise.
6305 (__register_frame_info_table): Likewise.
6306 (__register_frame_table): Likewise.
6307 (__deregister_frame_info): Likewise.
6308 (__deregister_frame): Likewise.
6310 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6312 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6313 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6315 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6317 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6320 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6323 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6324 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6325 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6326 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6327 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6328 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6329 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6330 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6331 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6332 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6333 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6334 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6335 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6337 (setfsuid): Likewise.
6338 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6339 (setfsuid): Likewise.
6340 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6341 (setfsuid): Likewise.
6342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6344 (setfsuid): Likewise.
6345 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6346 (setfsuid): Likewise.
6347 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6349 (setfsuid): Likewise.
6351 2014-10-27 Andreas Schwab <schwab@suse.de>
6354 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6355 check for Slow_SSE4_2 feature bit.
6356 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6357 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6358 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6359 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6361 2014-10-24 Roland McGrath <roland@hack.frob.com>
6363 * configure.ac: Validate compiler version with a empirical test of
6364 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6366 * configure: Regenerated.
6368 * inet/htons.c (htons): Prototypify.
6369 * inet/htonl.c (htonl): Likewise.
6371 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6373 * string/strncat.c (strncat): Improve performance by using strlen.
6375 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6377 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6379 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6381 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6382 Call libc_fetestexcept_aarch64.
6384 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6386 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6387 Call libc_feholdexcept_aarch64.
6389 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6391 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6392 Call get_rounding_mode.
6394 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6396 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6399 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6401 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6404 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6407 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6408 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6409 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6410 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6411 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6412 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6413 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6414 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6415 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6416 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6417 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6418 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6419 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6420 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6421 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6422 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6423 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6424 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6425 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6426 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6427 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6428 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6429 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6430 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6431 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6432 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6433 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6434 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6435 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6436 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6437 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6438 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6439 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6440 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6441 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6442 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6443 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6445 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6446 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6447 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6449 (geteuid): Likewise.
6452 (getresgid): Likewise.
6453 (getresuid): Likewise.
6454 (getgroups): Likewise.
6455 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6456 (geteuid): Likewise.
6459 (getresgid): Likewise.
6460 (getresuid): Likewise.
6461 (getgroups): Likewise.
6462 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6463 (geteuid): Likewise.
6466 (getresgid): Likewise.
6467 (getresuid): Likewise.
6468 (getgroups): Likewise.
6469 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6471 (geteuid): Likewise.
6474 (getresgid): Likewise.
6475 (getresuid): Likewise.
6476 (getgroups): Likewise.
6477 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6478 (geteuid): Likewise.
6481 (getresgid): Likewise.
6482 (getresuid): Likewise.
6483 (getgroups): Likewise.
6484 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6486 (geteuid): Likewise.
6489 (getgroups): Likewise.
6492 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6493 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6494 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6495 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6496 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6497 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6498 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6499 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6500 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6501 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6502 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6503 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6504 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6506 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6509 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6513 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6516 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6521 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6523 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6526 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6528 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6531 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6533 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6534 Remove unused include.
6536 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6538 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6539 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6540 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6541 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6543 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6544 Helge Deller <deller@gmx.de>
6547 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6548 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6549 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6551 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6554 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6555 Remove macro definition.
6556 (__ashrdi3_v_glibc20): Likewise.
6557 (__lshrdi3_v_glibc20): Likewise.
6558 (__cmpdi2_v_glibc20): Likewise.
6559 (__ucmpdi2_v_glibc20): Likewise.
6560 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6561 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6562 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6563 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6564 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6565 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6567 2014-10-22 Roland McGrath <roland@hack.frob.com>
6569 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6570 old GNU extension [0] syntax.
6571 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6572 alloca rather than an array member with variable length.
6573 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6574 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6575 (parse_opt): ... here. Likewise use alloca there.
6576 Validate the -i argument before checking for rootness.
6577 (send_shutdown): New function, broken out of ...
6578 (parse_opt): ... here.
6580 2014-10-22 Roland McGrath <roland@hack.frob.com>
6582 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6583 macro to get at the _rt_local_ro field.
6584 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6585 ([PIC] case) or _dl_hwcap ([!PIC] case).
6586 * sysdeps/arm/setjmp.S: Likewise.
6588 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6589 * sysdeps/arm/configure.ac: New check to define it.
6590 * sysdeps/arm/configure: Regenerated.
6591 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6592 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6593 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6594 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6595 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6596 Use move/movt pair instead of a load.
6597 (LDST_GLOBAL): Macro removed.
6598 (LDR_GLOBAL): New macro replaces it.
6599 (LDR_HIDDEN): New macro.
6600 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6601 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6603 * setjmp/tst-setjmp-static.c: New file.
6604 * setjmp/Makefile (tests): Add it.
6605 (tests-static): New variable.
6607 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6610 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6612 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6615 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6617 2014-10-21 Roland McGrath <roland@hack.frob.com>
6619 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6621 2014-10-20 Roland McGrath <roland@hack.frob.com>
6623 * io/fts.c (dirent_not_directory): New function.
6624 (fts_build): Call it.
6626 2014-10-20 Roland McGrath <roland@hack.frob.com>
6628 * nptl/version.c (__nptl_main): Use normal __write rather than
6630 (banner): Update copyright years.
6632 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6634 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6635 * nptl/pthread_cond_timedwait.c: Likewise.
6636 * nptl/pthread_mutex_timedlock.c: Likewise.
6637 * nptl/sem_timedwait.c: Likewise.
6639 * sysdeps/nptl/bits/libc-lock.h
6640 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6641 (__libc_lock_init_recursive): Return void, not 0.
6642 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6643 (__libc_rwlock_init): Likewise.
6644 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6646 2014-10-20 Torvald Riegel <triegel@redhat.com>
6649 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6650 (__pthread_once_slow): ... here.
6651 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6652 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6654 2014-10-20 Torvald Riegel <triegel@redhat.com>
6657 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6658 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6659 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6660 * nptl/pthread_once.c (__pthread_once): Likewise.
6663 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6666 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6668 (writev): Use __libc_writev as strong name.
6669 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6670 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6672 2014-10-17 Roland McGrath <roland@hack.frob.com>
6674 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6676 * sysdeps/i386/nptl/tls.h
6677 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6678 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6680 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6681 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6682 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6683 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6684 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6685 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6687 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6688 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6690 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6692 (__pthread_mutex_init): ... here. Call it.
6693 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6694 Conditionalize PI cases on [__NR_futex].
6695 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6696 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6697 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6699 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6700 conditional on [SIGSETXID].
6701 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6702 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6703 is defined. Likewise for SIGSETXID.
6704 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6705 Conditionalize definitions on [SIGSETXID].
6706 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6707 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6708 unblocking on [SIGCANCEL].
6710 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6711 [__NR_set_robust_list].
6713 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6715 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6716 (do_compare): Likewise.
6718 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6721 * string/strcoll_l.c: Don't include stdio.h.
6722 (coll_seq): Remove members idxarr and rulearr.
6723 (get_next_seq_cached): Remove function.
6724 (get_next_seq): Likewise.
6725 (get_next_seq_nocache): Rename to get_next_seq.
6726 (do_compare): Remove function.
6727 (do_compare_nocache): Rename to do_compare.
6728 (STRCOLL): Remove weight and rules cache.
6730 2014-10-16 Roland McGrath <roland@hack.frob.com>
6732 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6733 * sysdeps/arm/sfp-machine.h: ... to here.
6734 * sysdeps/arm/Implies: Remove arm/soft-fp.
6736 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6738 * conform/data/sys/utsname.h-data (*_t): Allow.
6739 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6740 [POSIX] (WEXITED): Do not expect constant.
6741 [POSIX] (WSTOPPED): Likewise.
6742 [POSIX] (WNOHANG): Likewise.
6743 [POSIX] (WNOWAIT): Likewise.
6744 [POSIX] (siginfo_t): Do not expect type or elements.
6745 [POSIX] (pid_t): Do not expect type.
6746 [POSIX] (signal.h): Do not allow header.
6747 [POSIX] (sys/resource.h): Likewise.
6748 [POSIX] (si_*): Do not allow pattern.
6749 [POSIX] (W*): Likewise.
6750 [POSIX] (P_*): Likewise.
6751 [POSIX] (BUS_*): Likewise.
6752 [POSIX] (CLD_*): Likewise.
6753 [POSIX] (FPE_*): Likewise.
6754 [POSIX] (ILL_*): Likewise.
6755 [POSIX] (POLL_*): Likewise.
6756 [POSIX] (SEGV_*): Likewise.
6757 [POSIX] (SI_*): Likewise.
6758 [POSIX] (TRAP_*): Likewise.
6759 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6762 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6765 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6766 infinite loop when __recvmsg returns 0.
6768 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6770 * CANCEL-FCT-WAIVE: Remove file.
6771 * CANCEL-FILE-WAIVE: Likewise.
6774 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6775 instead of INTVARDEF.
6776 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6777 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6778 rtld_hidden_data_def instead of INTVARDEF.
6779 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6780 * elf/dl-deps.c (expand_dst): Likewise.
6781 * elf/dl-load.c (_dl_dst_count): Likewise.
6782 (_dl_dst_substitute): Likewise.
6783 (decompose_rpath): Likewise.
6784 (_dl_init_paths): Likewise.
6785 (open_path): Likewise.
6786 (_dl_map_object): Likewise.
6787 * elf/rtld.c (dl_main): Likewise.
6788 (process_dl_audit): Likewise.
6789 (process_envvars): Likewise.
6790 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6792 (__libc_enable_secure): Use rtld_hidden_proto.
6794 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6797 (add_path): New function broken out of _dl_rtld_di_serinfo.
6798 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6800 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6802 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6803 parentheses around macro arguments.
6804 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6805 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6806 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6807 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6808 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6809 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6810 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6811 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6812 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6813 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6814 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6815 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6816 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6817 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6818 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6819 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6820 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6822 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6825 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6826 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6827 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6828 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6829 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6830 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6831 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6832 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6833 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6834 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6835 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6836 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6837 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6838 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6839 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6841 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6842 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6843 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6844 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6845 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6846 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6847 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6848 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6849 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6850 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6851 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6852 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6853 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6854 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6855 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6856 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6857 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6858 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6859 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6860 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6861 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6862 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6863 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6864 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6865 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6866 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6867 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6868 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6869 (_FP_FRAC_SRS_1): Likewise.
6870 (_FP_FRAC_CLZ_1): Likewise.
6871 (_FP_MUL_MEAT_1_imm): Likewise.
6872 (_FP_MUL_MEAT_1_wide): Likewise.
6873 (_FP_MUL_MEAT_1_hard): Likewise.
6874 (_FP_SQRT_MEAT_1): Likewise.
6875 (_FP_FRAC_ASSEMBLE_1): Likewise.
6876 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6877 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6878 (__FP_CLZ_2): Likewise.
6879 (_FP_MUL_MEAT_2_wide): Likewise.
6880 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6881 (_FP_MUL_MEAT_2_gmp): Likewise.
6882 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6883 (_FP_SQRT_MEAT_2): Likewise.
6884 (_FP_FRAC_ASSEMBLE_2): Likewise.
6885 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6886 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6887 (_FP_FRAC_CLZ_4): Likewise.
6888 (_FP_MUL_MEAT_4_wide): Likewise.
6889 (_FP_MUL_MEAT_4_gmp): Likewise.
6890 (_FP_SQRT_MEAT_4): Likewise.
6891 (_FP_FRAC_ASSEMBLE_4): Likewise.
6892 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6893 * soft-fp/op-common.h (_FP_CMP): Likewise.
6894 (_FP_CMP_EQ): Likewise.
6895 (_FP_CMP_UNORD): Likewise.
6896 (_FP_TO_INT): Likewise.
6897 (_FP_FROM_INT): Likewise.
6898 [!__FP_CLZ] (__FP_CLZ): Likewise.
6899 (_FP_DIV_HELP_imm): Likewise.
6900 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6902 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6903 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6904 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6905 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6906 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6907 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6908 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6909 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6910 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6911 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6912 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6913 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6914 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6915 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6916 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6917 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6918 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6919 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6920 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6921 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6922 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6923 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6924 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6925 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6926 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6927 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6928 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6929 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6930 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6931 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6932 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6933 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6934 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6935 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6936 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6937 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6938 (FP_UNPACK_RAW_SP): Likewise.
6939 (FP_PACK_RAW_S): Likewise.
6940 (FP_PACK_RAW_SP): Likewise.
6941 (FP_UNPACK_S): Likewise.
6942 (FP_UNPACK_SP): Likewise.
6943 (FP_UNPACK_SEMIRAW_S): Likewise.
6944 (FP_UNPACK_SEMIRAW_SP): Likewise.
6945 (FP_PACK_S): Likewise.
6946 (FP_PACK_SP): Likewise.
6947 (FP_PACK_SEMIRAW_S): Likewise.
6948 (FP_PACK_SEMIRAW_SP): Likewise.
6949 (_FP_SQRT_MEAT_S): Likewise.
6950 (FP_CMP_S): Likewise.
6951 (FP_CMP_EQ_S): Likewise.
6952 (FP_CMP_UNORD_S): Likewise.
6953 (FP_TO_INT_S): Likewise.
6954 (FP_FROM_INT_S): Likewise.
6956 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6958 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6959 (FP_EX_INVALID_IMZ): Likewise.
6960 (FP_EX_INVALID_IMZ_FMA): Likewise.
6961 (FP_EX_INVALID_ISI): Likewise.
6962 (FP_EX_INVALID_ZDZ): Likewise.
6963 (FP_EX_INVALID_IDI): Likewise.
6964 (FP_EX_INVALID_SQRT): Likewise.
6965 (FP_EX_INVALID_CVI): Likewise.
6966 (FP_EX_INVALID_VC): Likewise.
6967 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6968 "invalid" exceptions.
6969 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6970 (_FP_ADD_INTERNAL): Likewise.
6971 (_FP_MUL): Likewise.
6972 (_FP_FMA): Likewise.
6973 (_FP_DIV): Likewise.
6974 (_FP_CMP_CHECK_NAN): Likewise.
6975 (_FP_SQRT): Likewise.
6976 (_FP_TO_INT): Likewise.
6977 (FP_EXTEND): Likewise.
6979 2014-10-09 Allan McRae <allan@archlinux.org>
6981 * po/fr.po: Update French translation from translation project.
6983 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6986 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6988 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6989 (__cxa_atexit): Use libc_hidden_proto.
6990 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6993 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6995 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6996 [!_ISOMAC] (__iswspace_l_internal): Likewise.
6997 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6998 [!_ISOMAC] (__iswctype_internal): Likewise.
6999 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7000 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7002 (fcntl): Remove __fcntl_internal alias.
7003 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7004 __connect_internal alias.
7005 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7008 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7009 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7011 (_FP_CHECK_FLUSH_ZERO): New macro.
7012 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7013 (_FP_CMP): Likewise.
7014 (_FP_CMP_EQ): Likewise.
7015 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7017 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7018 (FP_TRUNC): Likewise.
7020 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7021 treated as invalid conversion, not as normal exponent.
7023 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7024 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7025 (_FP_CMP_EQ): Likewise.
7026 (_FP_CMP_UNORD): Likewise.
7027 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7028 (FP_CMP_EQ_D): Likewise.
7029 (FP_CMP_UNORD_D): Likewise.
7030 * soft-fp/extended.h (FP_CMP_E): Likewise.
7031 (FP_CMP_EQ_E): Likewise.
7032 (FP_CMP_UNORD_E): Likewise.
7033 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7034 (FP_CMP_EQ_Q): Likewise.
7035 (FP_CMP_UNORD_Q): Likewise.
7036 * soft-fp/single.h (FP_CMP_S): Likewise.
7037 (FP_CMP_EQ_S): Likewise.
7038 (FP_CMP_UNORD_S): Likewise.
7039 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7040 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7041 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7042 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7043 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7044 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7045 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7046 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7047 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7048 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7049 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7050 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7051 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7053 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7055 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7056 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7058 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7060 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7061 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7062 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7063 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7065 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7067 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7068 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7070 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7072 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7073 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7074 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7075 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7078 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7079 a subnormal result, set the underflow exception if trapping on
7080 underflow is enabled.
7081 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7082 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7083 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7085 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7086 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7087 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7088 * soft-fp/extendxftf2.c (__extendxftf2): Use
7089 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7091 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7092 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7093 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7094 FP_HANDLE_EXCEPTIONS.
7095 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7096 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7097 FP_HANDLE_EXCEPTIONS.
7098 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7099 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7100 FP_HANDLE_EXCEPTIONS.
7101 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7102 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7103 FP_HANDLE_EXCEPTIONS.
7105 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7108 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7109 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7111 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7112 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7114 (__adjtimex): Define using libc_hidden_ver.
7115 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7117 (ntp_gettime): Call __adjtimex directly.
7118 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7120 (ntp_gettimex): Call __adjtimex directly.
7121 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7122 __adjtimex_internal alias.
7124 2014-10-08 Roland McGrath <roland@hack.frob.com>
7127 * nscd/nscd.c (more_help): Rewrite list of tables collection
7128 using xstrdup and asprintf.
7130 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7132 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7133 Roland McGrath <roland@hack.frob.com>
7135 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7136 (do_lookup_unique): ... local function 'enter' here; update callers.
7138 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7140 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7141 compat_symbol calls on [SHARED].
7142 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7143 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7145 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7146 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7147 (oldsetrlimit): Remove.
7148 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7150 (lchown): New syscall entry.
7151 (oldsetrlimit): Remove.
7152 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7154 (oldsetrlimit): Remove.
7155 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7158 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7159 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7160 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7161 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7162 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7163 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7165 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7170 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7172 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7173 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7174 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7175 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7176 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7178 (__old_sem_post): Likewise.
7180 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7182 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7183 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7184 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7185 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7186 Use INLINE_VSYSCALL macro.
7187 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7188 __vdso_clock_gettime.
7189 * sysdeps/unix/sysv/linux/tile/init-first.c
7190 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7191 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7192 __vdso_clock_gettime.
7194 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7195 to set up frame more cleanly.
7197 * sysdeps/tile/memcmp.c: New file.
7199 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7201 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7202 * sysdeps/tile/tilegx/strcasestr.c: New file.
7203 * sysdeps/tile/tilegx/strnlen.c: New file.
7204 * sysdeps/tile/tilegx/strstr.c: New file.
7206 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7208 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7210 * nptl/tst-setuid3.c: Write errors to stdout.
7212 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7215 (preload): New functions broken out of _dl_map_object_deps.
7216 (_dl_map_object_deps): Remove a nested function. Update call sites.
7218 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7221 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7222 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7224 2014-10-01 Steve Ellcey <sellcey@mips.com>
7226 * sysdeps/mips/strcmp.S: New.
7228 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7231 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7233 (mkdirat): Likewise.
7234 (readlinkat): Likewise.
7235 (renameat): Likewise.
7236 (symlinkat): Likewise.
7237 (unlinkat): Likewise.
7238 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7239 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7240 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7241 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7242 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7243 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7244 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7246 2014-09-30 Will Newton <will.newton@linaro.org>
7248 * math/math.h: Define long double math functions if
7249 _LIBC_TEST is defined.
7250 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7252 * localedata/Makefile: Move assignment to tests-special
7253 into an ifdef testing run-built-tests.
7254 * timezone/Makefile: Likewise.
7256 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7258 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7259 with $(BASH) not $(SHELL).
7261 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7262 Matthew LeGendre <legendre1@llnl.gov>
7265 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7268 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7270 * stdio-common/printf_fp.c
7271 (hack_digit): New function, broken out of ...
7272 (__printf_fp): ... local function here. Update call sites.
7273 hack_digit now takes an additional parameter that is a pointer
7274 to a struct of the referenced locals. Those locals moved inside
7275 the struct and references updated.
7277 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7279 * aclocal.m4: Require autoconf 2.69.
7280 * configure: Regenerated.
7281 * sysdeps/aarch64/configure: Likewise.
7282 * sysdeps/alpha/configure: Likewise.
7283 * sysdeps/arm/armv7/configure: Likewise.
7284 * sysdeps/arm/configure: Likewise.
7285 * sysdeps/ia64/configure: Likewise.
7286 * sysdeps/mach/configure: Likewise.
7287 * sysdeps/mips/configure: Likewise.
7288 * sysdeps/s390/configure: Likewise.
7289 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7292 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7294 * sysdeps/ia64/configure.ac: Likewise.
7296 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7299 specify symbol version for ld.so. Do not include entry for
7301 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7302 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7303 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7306 * Makeconfig [$(build-shared) = yes]
7307 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7309 [$(build-shared) = yes && $(soversions.mk-done) = t]
7310 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7311 [$(build-shared) = yes && $(soversions.mk-done) = t]
7312 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7314 [$(build-shared) = yes && $(soversions.mk-done) = t]
7315 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7317 [$(build-shared) = yes && $(soversions.mk-done) = t]
7318 (common-generated): Don't append gnu/lib-names.h and
7319 gnu/lib-names.stmp here.
7320 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7321 (lib-names-h-abi): New variable.
7322 [$(build-shared) = yes && $(soversions.mk-done) = t]
7323 (lib-names-stmp-abi): Likewise.
7324 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7325 abi-variants] (before-compile): Append
7326 $(common-objpfx)$(lib-names-h-abi).
7327 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7328 abi-variants] (common-generated): Append gnu/lib-names.h.
7329 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7330 abi-variants] (install-others-nosubdir): Depend on
7331 $(inst_includedir)/$(lib-names-h-abi).
7332 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7333 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7334 [$(build-shared) = yes && $(soversions.mk-done) = t]
7335 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7336 [$(build-shared) = yes && $(soversions.mk-done) = t]
7337 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7338 [$(build-shared) = yes && $(soversions.mk-done) = t]
7339 (common-generated): Append $(lib-names-h-abi) and
7340 $(lib-names-stmp-abi).
7341 * scripts/lib-names.awk: Do not handle multi being set.
7342 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7344 (abi-lp64_be-ld-soname): Likewise.
7345 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7347 (abi-hard-ld-soname): Likewise.
7348 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7349 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7351 (abi-o32_hard-ld-soname): Likewise.
7352 (abi-o32_soft_2008-ld-soname): Likewise.
7353 (abi-o32_hard_2008-ld-soname): Likewise.
7354 (abi-n32_soft-ld-soname): Likewise.
7355 (abi-n32_hard-ld-soname): Likewise.
7356 (abi-n32_soft_2008-ld-soname): Likewise.
7357 (abi-n32_hard_2008-ld-soname): Likewise.
7358 (abi-n64_soft-ld-soname): Likewise.
7359 (abi-n64_hard-ld-soname): Likewise.
7360 (abi-n64_soft_2008-ld-soname): Likewise.
7361 (abi-n64_hard_2008-ld-soname): Likewise.
7362 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7364 (abi-64-v2-ld-soname): Likewise.
7365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7367 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7369 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7371 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7373 (abi-64-ld-soname): Likewise.
7374 (abi-x32-ld-soname): Likewise.
7375 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7377 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7379 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7382 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7383 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7384 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7385 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7386 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7387 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7388 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7389 syscall entry for GLIBC_2.2 symbol version.
7390 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7393 (setrlimit): Likewise.
7394 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7397 2014-09-23 Will Newton <will.newton@linaro.org>
7399 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7400 _LINUX_ARM_SYSDEP_H include guard too.
7401 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7404 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7406 * sysdeps/unix/sysv/linux/eventfd.c:
7407 Make first argument unsigned.
7408 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7409 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7411 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7413 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7414 * socket/sys/socket.h: Likewise
7415 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7417 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7419 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7421 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7423 * time/tst-ftime.c: New test.
7424 * time/Makefile (tests): Add tst-ftime.
7426 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7428 * soft-fp/extended.h: Fix comment formatting.
7429 * soft-fp/op-1.h: Likewise.
7430 * soft-fp/op-2.h: Likewise.
7431 * soft-fp/op-4.h: Likewise.
7432 * soft-fp/op-8.h: Likewise.
7433 * soft-fp/op-common.h: Likewise.
7434 * soft-fp/soft-fp.h: Likewise.
7436 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7438 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7441 * Makeconfig (soversions-default-setname): Remove variable.
7442 ($(common-objpfx)soversions.i): Don't pass default_setname to
7444 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7445 oldest_abi to abi-versions.awk.
7446 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7447 * config.make.in (oldest-abi): Remove variable.
7448 * configure.ac (--enable-oldest-abi): Remove configure option.
7449 * configure: Regenerated.
7450 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7452 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7453 * scripts/soversions.awk: Do not handle default_setname variable.
7454 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7456 * sysdeps/mach/hurd/configure: Regenerated.
7457 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7459 * sysdeps/unix/sysv/linux/configure: Regenerated.
7461 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7463 * elf/Makefile (CFLAGS-interp.c): Remove.
7464 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7466 * elf/interp.c: Include generated runtime-linker.h
7468 * Makerules (lib%.so): Don't include $(+interp) in
7470 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7471 * dlfcn/eval.c: Remove file.
7473 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7477 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7481 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7483 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7484 Jakub Jelinek <jakub@redhat.com>
7487 * libio/stdio.h: Check definition of __fortify_function
7488 instead of __extern_always_inline to include bits/stdio2.h.
7489 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7490 check if __extern_always_inline is defined.
7491 [__USE_MISC || __USE_XOPEN]: Likewise.
7492 [__USE_ISOC99] Likewise.
7493 * misc/sys/cdefs.h (__fortify_function): Define only if
7494 __extern_always_inline is defined.
7495 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7496 __extern_always_inline and __extern_inline only for g++-4.3
7497 and newer or a compatible gcc.
7499 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7502 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7503 last change to handle zero prefix length.
7505 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7507 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7510 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7513 2014-09-13 Allan McRae <allan@archlinux.org>
7515 * po/ru.po: Update Russian translation from translation project.
7517 2014-09-12 Roland McGrath <roland@hack.frob.com>
7519 * locale/programs/locale.c (show_locale_vars): Inline local function
7520 into its sole call site. Clean up some style nits.
7521 (print_item): New function, broken out of ...
7522 (show_info): ... local function here. Clean up style nits.
7524 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7526 (set_class_defaults): ... local function set_default here.
7527 Define set_default as a macro locally to pass constant parameters.
7528 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7529 rather than a shared local.
7531 * stdlib/rpmatch.c (try): New function, broken out of ...
7532 (rpmatch): ... local function here. Also, prototypify definition.
7534 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7536 * scripts/soversions.awk: Do not handle configuration names.
7537 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7538 vendor and os variables to soversions.awk.
7539 * configure.ac: Do not modify gnu-* host_os.
7540 * configure: Regenerated
7541 * shlib-versions: Remove first column with configuration names.
7542 * nptl/shlib-versions: Likewise.
7543 * nptl_db/shlib-versions: Likewise.
7544 * sysdeps/hppa/shlib-versions: Likewise.
7545 * sysdeps/m68k/shlib-versions: Likewise.
7546 * sysdeps/mach/hurd/shlib-versions: Likewise.
7547 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7548 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7549 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7550 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7551 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7552 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7553 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7554 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7557 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7558 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7559 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7560 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7561 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7562 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7563 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7564 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7567 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7570 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7572 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7574 * shlib-versions: Remove OS-specific entries. Moved to files in
7576 * sysdeps/mach/hurd/shlib-versions: New file.
7577 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7579 * nptl/shlib-versions: Remove architecture-specific entries.
7580 Moved to files in sysdeps.
7581 * shlib-versions: Likewise.
7582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7584 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7585 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7586 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7587 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7589 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7590 (UDP_NO_CHECK6_RX): Likewise.
7592 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7594 * sysdeps/posix/sysconf.c (__sysconf): Spell
7595 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7597 2014-08-12 Florian Weimer <fweimer@redhat.com>
7599 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7601 * iconv/Versions (__gconv_transliterate): Export for use from
7603 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7604 (struct __gconv_trans_data, __gconv_trans_fct,
7605 __gconv_trans_context_fct, __gconv_trans_query_fct,
7606 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7608 (struct __gconv_step_data): Remove __trans member.
7609 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7610 longer hidden. Remove unused trans_data argument.
7611 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7612 (__gconv_translit_find): Remove declaration.
7613 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7615 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7616 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7617 trans_data argument. Add hidden definition.
7618 (__gconv_translit_find): Remove.
7619 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7620 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7621 * iconv/skeleton.c: Remove transliteration initialization.
7622 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7623 __gconv_step_data initialization.
7624 * libio/iofwide.c (__libio_translit_): Remove.
7625 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7626 * wcsmbs/btowc.c (__btowc): Likewise.
7627 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7628 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7629 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7630 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7631 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7632 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7633 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7634 * wcsmbs/wctob.c (wctob): Likewise.
7636 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7639 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7640 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7642 * sysdeps/x86/Makefile: Adjust.
7644 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7645 Roland McGrath <roland@hack.frob.com>
7647 * locale/weight.h: Add include guard.
7648 (findidx): Make static rather than auto; take new parameters
7649 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7650 * locale/weightwc.h: Likewise.
7651 * posix/fnmatch_loop.c
7652 (FCT): Change type of EXTRA from int32_t to wint_t.
7653 Don't include either header inside the function.
7654 Call FINDIDX rather than findidx, and pass new arguments.
7655 #undef FINDIDX at the end of the file.
7656 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7657 FINDIDX before including fnmatch_loop.c for the non-wide version.
7658 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7659 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7660 for the wide version.
7661 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7662 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7663 Pass new arguments to findidx.
7664 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7665 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7666 Don't #include it inside the function. Pass new arguments to findidx.
7667 * posix/regex_internal.h
7668 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7669 (re_string_elem_size_at): Don't #include it inside the function.
7670 Pass new arguments to findidx.
7671 * string/strcoll_l.c: #include WEIGHT_H at top level.
7672 (get_next_seq): Don't #include it inside the function.
7673 Pass new arguments to findidx.
7674 (get_next_seq_nocache): Likewise.
7675 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7676 (STRXFRM): Don't #include it inside the function.
7677 Pass new arguments to findidx.
7679 2014-09-11 Florian Weimer <fweimer@redhat.com>
7682 * malloc/malloc.c (unlink): Turn asserts into a call to
7685 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7688 * libio/wfileops (do_ftell_wide): Free OUT.
7690 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7692 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7694 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7697 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7698 group if the current group is empty.
7700 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7702 * benchtests/bench-memset.c (test_main): Add more test from size
7703 from 32 to 512 bytes.
7704 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7705 Add POWER8 memset object.
7706 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7707 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7708 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7710 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7712 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7713 multiarch POWER8 memset optimization.
7714 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7715 POWER8 memset optimization.
7717 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7718 Remove bzero multiarch objects.
7719 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7720 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7721 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7722 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7724 [__bzero]: Redefine to specific name.
7725 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7726 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7727 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7729 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7730 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7732 2014-09-10 Florian Weimer <fweimer@redhat.com>
7734 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7735 warnings into errors.
7737 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7738 __cxa_thread_atexit_impl prototype.
7740 2014-09-09 Steve Ellcey <sellcey@mips.com>
7742 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7743 Fix capitalization of error message.
7745 2014-09-09 Steve Ellcey <sellcey@mips.com>
7747 * sysdeps/mips/preconfigure: Modify ABI tests.
7749 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7751 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7753 2014-09-07 Roland McGrath <roland@hack.frob.com>
7754 Carlos O'Donell <carlos@systemhalted.org>
7756 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7757 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7758 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7759 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7760 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7761 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7762 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7763 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7764 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7765 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7766 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7767 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7768 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7769 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7770 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7771 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7772 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7773 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7774 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7775 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7776 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7777 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7778 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7779 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7780 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7781 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7782 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7783 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7784 Deconditionalize the code that was previously under [RESET_PID].
7785 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7786 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7787 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7788 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7791 2014-09-08 Allan McRae <allan@archlinux.org>
7793 * version.h (RELEASE): Set to "development".
7794 (VERSION): Set to "2.20.90"
7796 2014-09-07 Allan McRae <allan@archlinux.org
7798 * version.h (RELEASE): Set to "stable".
7799 (VERSION): Set to "2.20"
7800 * include/features.h (__GLIBC_MINOR__): Set to 20.
7802 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7805 * po/ko.po: Update Korean translation from translation project.
7807 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7810 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7811 macro for handling signed relocations.
7813 2014-09-03 Florian Weimer <fweimer@redhat.com>
7816 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7817 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7819 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7820 * iconvdata/ibm935.c (BODY): Likewise.
7821 * iconvdata/ibm937.c (BODY): Likewise.
7822 * iconvdata/ibm939.c (BODY): Likewise.
7823 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7825 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7827 * iconvdata/run-iconv-test.sh: New test loop for checking for
7830 2014-09-02 Khem Raj <raj.khem@gmail.com>
7832 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7835 2014-09-01 Allan McRae <allan@archlinux.org>
7837 * po/eo.po: Update Esperanto translation from translation project.
7839 * po/ca.po: Update Catalan translation from translation project.
7841 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7843 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7846 2014-08-27 Mark Wielaard <mjw@redhat.com>
7849 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7850 to call set_thread_area instead of hand written asm.
7851 (__NR_set_thread_area): Removed define.
7852 (TLS_FLAG_WRITABLE): Likewise.
7853 (__ASSUME_SET_THREAD_AREA): Remove check.
7854 (TLS_EBX_ARG): Remove define.
7855 (TLS_LOAD_EBX): Likewise.
7857 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7859 Simplify atomicity of socket creation in bind.
7861 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7862 looking up the name after linking the file.
7864 2014-08-27 Allan McRae <allan@archlinux.org>
7866 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7868 2014-08-26 Florian Weimer <fweimer@redhat.com>
7871 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7872 trans_compare, open_translit, __gconv_translit_find):
7873 Remove module loading code.
7875 2014-08-26 Allan McRae <allan@archlinux.org>
7877 * po/vi.po: Update Vietnamese translation from translation project.
7879 * po/uk.po: Update Ukrainian translation from translation project.
7881 * po/fr.po: Update French translation from translation project.
7883 * po/ru.po: Update Russian translation from translation project.
7885 * po/pl.po: Update Polish translation from translation project.
7887 * po/cs.po: Update Czech translation from translation project.
7889 * po/de.po: Update German translation from translation project.
7891 * po/bg.po: Update Bulgarian translation from translation project.
7893 * po/sv.po: Update Sweedish translation from translation project.
7895 * po/nl.po: Update Dutch translation from translation project.
7897 * po/es.po: Update Spanish translation from translation project.
7899 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7901 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7903 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7904 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7905 (CPPFLAGS-iconvconfig): Likewise.
7906 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7908 * include/libc-symbols.h: Remove unnecessary check for
7910 * nptl/pthreadP.h: Likewise.
7911 * sysdeps/aarch64/setjmp.S: Likewise.
7912 * sysdeps/alpha/setjmp.S: Likewise.
7913 * sysdeps/arm/sysdep.h: Likewise.
7914 * sysdeps/i386/setjmp.S: Likewise.
7915 * sysdeps/m68k/setjmp.c: Likewise.
7916 * sysdeps/posix/getcwd.c: Likewise.
7917 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7918 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7919 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7920 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7921 * sysdeps/sh/sh3/setjmp.S: Likewise.
7922 * sysdeps/sh/sh4/setjmp.S: Likewise.
7923 * sysdeps/unix/alpha/sysdep.h: Likewise.
7924 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7925 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7926 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7927 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7930 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7931 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7932 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7933 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7934 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7935 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7936 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7937 * sysdeps/x86_64/setjmp.S: Likewise.
7939 2014-08-13 Joseph Myers <joseph@codesourcery.com>
7942 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7944 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7945 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7947 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7949 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7952 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7953 and __x86_64__ when disabling x87 inline functions.
7955 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
7958 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7959 asm statement with __cpuid_count.
7961 2014-08-12 Mike Frysinger <vapier@gentoo.org>
7963 * configure.ac: Change __ehdr_start code to dereference the struct.
7964 Run readelf on the output to look for relocations.
7965 * configure: Regenerated.
7967 2014-08-12 Joseph Myers <joseph@codesourcery.com>
7970 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7972 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7974 2014-08-12 Roland McGrath <roland@hack.frob.com>
7976 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7978 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
7981 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7982 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7984 2014-08-12 Sean Anderson <seanga2@gmail.com>
7986 * malloc/malloc.c: Fix typo in comment.
7988 2014-08-09 Allan McRae <allan@archlinux.org>
7990 * Regenerate libc.po.
7992 2014-08-08 Mike Frysinger <vapier@gentoo.org>
7994 * intl/tst-gettext2.sh: Check every lang file for creation.
7996 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
7998 * sysdeps/aarch64/fpu/math_private.h
7999 (libc_feholdsetround_noex_aarch64_ctx): New function.
8001 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8003 * sysdeps/arm/armv6/strcpy.S (strcpy):
8004 Fix performance issue in misaligned cases.
8006 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8008 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8009 Move definition from termios.h.
8010 (struct termio): Likewise.
8011 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8012 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8013 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8014 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8016 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8017 Move definition to ioctl-types.h
8018 (struct termio): Likewise.
8019 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8020 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8021 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8022 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8025 2014-08-05 Richard Henderson <rth@redhat.com>
8027 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8029 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8031 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8032 Use __feraiseexcept.
8033 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8034 Protect libm symbols with IS_IN_libm.
8036 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8038 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8040 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8042 2014-08-04 Will Newton <will.newton@linaro.org>
8044 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8047 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8049 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8050 variants for each function.
8052 2014-08-04 Roland McGrath <roland@hack.frob.com>
8054 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8056 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8057 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8059 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8060 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8061 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8062 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8063 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8064 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8065 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8066 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8067 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8068 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8069 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8070 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8071 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8073 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8074 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8075 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8076 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8077 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8078 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8079 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8080 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8081 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8082 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8083 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8085 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8086 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8087 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8088 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8089 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8090 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8091 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8092 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8093 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8094 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8095 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8096 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8097 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8098 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8099 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8100 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8101 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8102 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8103 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8104 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8105 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8106 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8107 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8108 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8109 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8110 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8111 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8113 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8114 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8116 2014-08-04 Roland McGrath <roland@hack.frob.com>
8118 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8119 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8120 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8121 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8122 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8123 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8125 2014-08-04 Roland McGrath <roland@hack.frob.com>
8127 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8128 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8129 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8130 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8132 2014-08-04 Roland McGrath <roland@hack.frob.com>
8134 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8135 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8136 (__libc_vfork): Define function under this name.
8137 (__vfork): Define as an alias.
8138 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8139 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8141 2014-08-04 Roland McGrath <roland@hack.frob.com>
8143 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8144 that was previously under [RESET_PID].
8145 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8147 2014-08-04 Andreas Schwab <schwab@suse.de>
8149 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8151 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8153 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8156 2014-08-01 Roland McGrath <roland@hack.frob.com>
8158 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8160 2014-08-01 Richard Henderon <rth@redhat.com>
8162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8163 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8164 typo in exact zero test.
8165 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8166 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8167 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8169 2014-08-01 Roland McGrath <roland@hack.frob.com>
8171 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8172 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8173 * sysdeps/arm/sysdep.h: ... here.
8174 [!__ASSEMBLER__]: Include <stdint.h>.
8176 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8178 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8179 (HAVE_WCTYPE_H): Likewise.
8180 (HAVE_ISWCTYPE): Likewise.
8181 (ENABLE_NLS): Likewise.
8182 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8183 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8185 * posix/regex_internal.c: Check if DEBUG is defined and is
8188 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8189 (HAVE_MBSRTOWCS): Likewise.
8190 * posix/fnmatch.c: Include string.h unconditionally.
8192 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8194 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8197 2014-07-31 Roland McGrath <roland@hack.frob.com>
8199 * sysdeps/generic/safe-fatal.h: New file.
8200 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8201 * nptl/forward.c: Include it.
8202 (__pthread_unwind): Use __safe_fatal as default action, rather
8203 than a bogus use of INTERNAL_SYSCALL that could never work.
8205 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8206 * configure.ac (libc_cv_builtin_trap): New test.
8207 * configure: Regenerated.
8208 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8209 (ABORT_INSTRUCTION): Define using __builtin_trap.
8211 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8212 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8213 * sysdeps/nptl/nptl-signals.h: New file.
8214 * nptl/pthreadP.h: Include <nptl-signals.h>.
8216 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8218 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8219 (ONE_DIRECTION): Define.
8220 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8221 (ONE_DIRECTION): Define.
8222 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8223 (ONE_DIRECTION): Define.
8225 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8227 * sysdeps/s390/Makefile: Delete file.
8228 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8229 * sysdeps/s390/__longjmp.c: Delete file.
8230 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8231 Remove fields __flags and __reserved.
8232 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8234 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8235 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8236 * sysdeps/s390/rtld-setjmp.S: Likewise.
8237 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8238 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8239 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8240 * sysdeps/s390/s390-32/setjmp.S: ... here.
8242 (__sigsetjmp): Remove setting __flags field.
8243 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8244 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8245 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8246 * sysdeps/s390/s390-64/setjmp.S: ... here.
8248 (__sigsetjmp): Remove setting __flags field.
8249 * sysdeps/s390/setjmp.S: Delete file.
8250 * sysdeps/s390/sigjmp.c: Likewise.
8251 * sysdeps/s390/v1-longjmp.c: Likewise.
8252 * sysdeps/s390/v1-setjmp.h: Likewise.
8253 * sysdeps/s390/v1-sigjmp.c: Likewise.
8254 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8255 Remove v1-longjmp_chk.
8256 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8257 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8258 Include debug/longjmp_chk.c and add versioning.
8259 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8260 Include nptl/pt-longjmp.c and add versioning.
8261 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8262 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8263 Include __longjmp.c.
8264 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8266 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8267 (__getcontext): Remove setting __flags field.
8269 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8270 Don't restore upper high grps.
8271 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8273 (__swapcontext): Remove setting uc_flags field.
8274 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8276 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8277 Include __longjmp.c.
8278 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8280 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8281 (__getcontext): Remove setting __flags field.
8283 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8284 (__swapcontext): Remove setting uc_flags field.
8285 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8286 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8287 Remove fields uc_high_gprs and __reserved.
8288 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8289 New file with reverted content.
8290 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8291 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8293 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8296 2014-07-31 Andreas Schwab <schwab@suse.de>
8298 * config.h.in (HAVE_IFUNC): Define to 0.
8299 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8302 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8304 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8305 memmove-avx-unaligned, memcpy-avx-unaligned and
8306 mempcpy-avx-unaligned.
8307 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8308 Add tests for AVX memcpy functions.
8309 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8310 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8312 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8313 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8315 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8316 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8318 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8319 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8320 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8322 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8325 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8328 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8331 * manual/llio.texi: Add section about open file description locks.
8332 * manual/examples/ofdlocks.c: Example of open file description
8334 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8335 F_OFD_SETLK, and F_OFD_SETLKW.
8337 2014-07-23 Allan McRae <allan@archlinux.org>
8339 * po/es.po: Update Spanish translation from translation project.
8341 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8343 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8345 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8348 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8349 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8350 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8352 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8355 * math/fesetenv.c (__fesetenv)
8356 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8357 * math/feupdateenv.c (__feupdateenv)
8358 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8360 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8361 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8362 (__ASSUME_SOCKETCALL): Do not define.
8364 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8365 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8366 (__ASSUME_SOCKETCALL): Do not define.
8367 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8368 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8369 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8370 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8371 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8372 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8373 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8374 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8376 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8377 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8378 (__ASSUME_SOCKETCALL): Do not define.
8379 (__ASSUME_IPC64): Define unconditionally.
8380 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8381 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8382 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8383 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8384 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8385 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8386 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8389 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8390 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8391 (__ASSUME_SOCKETCALL): Do not define.
8392 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8393 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8394 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8395 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8396 (__ASSUME_REQUEUE_PI): Define unconditionally.
8397 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8398 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8399 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8400 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8401 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8402 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8404 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8405 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8406 (__ASSUME_SOCKETCALL): Do not define.
8407 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8408 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8409 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8410 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8411 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8412 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8414 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8415 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8416 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8417 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8418 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8419 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8420 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8421 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8422 (__ASSUME_GETCPU_SYSCALL): Likewise.
8424 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8425 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8426 cases for individual architectures.
8427 * sysdeps/gnu/configure: Regenerated.
8428 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8429 LIBC_SLIBDIR_RTLDDIR.
8430 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8431 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8432 LIBC_SLIBDIR_RTLDDIR.
8433 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8435 LIBC_SLIBDIR_RTLDDIR.
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8438 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8439 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8441 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8442 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8444 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8445 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8446 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8447 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8449 * sysdeps/aarch64/shlib-versions: Move to ...
8450 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8451 * sysdeps/alpha/shlib-versions: Move to ...
8452 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8453 * sysdeps/arm/shlib-versions: Move to ...
8454 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8455 * sysdeps/hppa/shlib-versions: Move all contents except for
8456 libgcc_s entry to ...
8457 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8459 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8460 * sysdeps/ia64/shlib-versions: Move to ...
8461 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8463 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8464 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8465 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8466 * sysdeps/microblaze/shlib-versions: Move to ...
8467 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8468 * sysdeps/mips/shlib-versions: Move to ...
8469 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8471 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8472 * sysdeps/tile/shlib-versions: Move to ...
8473 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8474 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8476 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8477 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8479 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8481 2014-07-17 Will Newton <will.newton@linaro.org>
8483 * sysdeps/arm/bits/atomic.h
8484 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8485 (__arch_compare_and_exchange_bool_16_int): Likewise.
8486 (__arch_compare_and_exchange_bool_64_int): Likewise.
8488 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8489 into an #else block.
8491 2014-07-16 Roland McGrath <roland@hack.frob.com>
8493 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8494 just Linux configurations. Test empirically that the compiler sets
8495 __ARM_EABI__, rather than using the tuple to decide.
8496 * sysdeps/arm/preconfigure: Regenerated.
8497 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8498 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8499 contents appended ...
8500 * sysdeps/arm/configure.ac: ... here.
8501 * sysdeps/arm/configure: Regenerated.
8503 2014-07-15 Roland McGrath <roland@hack.frob.com>
8505 * nptl/pthread_kill.c: New file.
8506 * nptl/pthread_sigmask.c: New file.
8507 * nptl/pthread_sigqueue.c: New file.
8509 * sysdeps/nptl/lowlevellock.h: New file.
8510 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8511 * sysdeps/nptl/lowlevellock-futex.h: New file.
8513 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8514 Remove dead declarations.
8516 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8518 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8519 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8521 * sysdeps/x86_64/configure.ac: Likewise.
8522 * sysdeps/i386/configure: Regenerated.
8523 * sysdeps/x86_64/configure: Likewise.
8524 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8525 memset-avx2 only if config-cflags-avx2 is yes.
8526 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8527 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8529 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8530 only if HAVE_AVX2_SUPPORT is defined.
8531 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8533 2014-07-14 Alan Modra <amodra@gmail.com>
8536 * elf/elf.h (DT_PPC64_NUM): Correct value.
8537 * NEWS: Add to fixed bug list.
8539 2014-07-13 Jim Meyering <meyering@fb.com>
8542 regex: don't deref NULL upon heap allocation failure
8543 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8544 failure in one more place.
8545 To trigger the segfault, configure grep -with-included-regex,
8546 build it, and run these commands:
8547 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8549 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8551 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8553 2014-07-11 Richard Henderson <rth@redhat.com>
8555 * sysdeps/aarch64/libm-test-ulps: Update.
8557 2014-07-10 Florian Weimer <fweimer@redhat.com>
8560 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8561 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8562 (__nptl_setxid): Initialize error member. Call
8563 __nptl_setxid_error.
8564 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8565 * nptl/descr.h (struct xid_command): Add error member.
8566 * nptl/tst-setuid3.c: New file.
8567 * nptl/Makefile (tests): Add it.
8569 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8571 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8573 (__lll_trylock): Use __lll_base_trylock.
8574 (__lll_cond_trylock): Likewise.
8576 2014-07-10 Roland McGrath <roland@hack.frob.com>
8578 * nptl/pthread_create.c (start_thread): Use atomic_or and
8579 lll_futex_wake directly rather than lll_robust_dead.
8580 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8581 (lll_robust_dead): Macro removed.
8582 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8583 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8584 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8585 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8586 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8587 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8588 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8589 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8590 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8591 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8592 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8593 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8594 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8595 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8596 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8598 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8599 Use atomic_compare_and_exchange_val_acq directly rather than
8601 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8602 (__lll_robust_trylock, lll_robust_trylock): Removed.
8603 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8604 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8605 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8606 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8607 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8608 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8609 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8610 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8611 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8612 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8613 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8614 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8615 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8616 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8618 2014-07-02 Florian Weimer <fweimer@redhat.com>
8620 * manual/locale.texi (Locale Names): New section documenting
8621 locale name syntax. Adjust menu and node chaining accordingly.
8622 (Choosing Locale): Reference Locale Names, Locale Categories.
8623 Mention setting LC_ALL=C. Reflect that name syntax is now
8625 (Locale Categories): New section title. Reference Locale Names.
8626 LC_ALL is an environment variable, but not a category.
8627 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8628 description, now in Locale Name. Reference that section. Locale
8629 name syntax is now documented.
8631 2014-07-02 Florian Weimer <fweimer@redhat.com>
8634 * locale/findlocale.c (name_present, valid_locale_name): New
8636 (_nl_find_locale): Use the loc_name variable to store name
8637 candidates. Call name_present and valid_locale_name to check and
8638 validate locale names. Return an error if the locale is invalid.
8640 2014-07-02 Florian Weimer <fweimer@redhat.com>
8642 * locale/setlocale.c (setlocale): Use strdup for allocating
8643 composite name copy.
8645 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8647 Sync up with gnulib.
8648 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8649 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8650 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8651 and _GL_ARG_NONNULL.
8652 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8653 [!_LIBC]: Include code for Windows and Cygwin.
8654 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8655 Include prototype for int strerror_r.
8656 [!_LIBC] (is_open): New function.
8657 (flush_stdout): New function.
8658 (print_errno_message): Use it.
8660 (error_at_line): Likewise.
8661 (error_tail) Add function attribute macros. Use
8664 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8666 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8668 * io/ftw.c: Include sys/param.h unconditionally.
8670 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8673 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8675 (freecache): New function to free CACHE on exit.
8677 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8680 2014-07-09 David S. Miller <davem@davemloft.net>
8682 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8684 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8685 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8686 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8687 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8688 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8689 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8690 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8691 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8692 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8693 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8694 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8695 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8696 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8698 2014-07-09 Andreas Schwab <schwab@suse.de>
8700 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8702 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8703 (do_test): Likewise.
8705 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8707 2014-07-09 Will Newton <will.newton@linaro.org>
8709 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8710 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8711 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8712 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8713 * sysdeps/hppa/start.S (_start): Likewise.
8715 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8717 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8719 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8722 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8724 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8725 after checking that it is non-NULL.
8727 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8729 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8731 * sysdeps/powerpc/memmove.c: Remove file.
8732 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8733 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8734 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8735 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8736 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8737 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8738 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8739 string memmove instead of removed powerpc one.
8741 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8742 [weak_alias]: Fix compiler warning due trailing data.
8743 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8744 [weak_alias]: Likewise.
8745 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8746 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8748 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8749 (__libc_ifunc_impl_list): Add memmove functions.
8751 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8753 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8755 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8757 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8759 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8761 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8763 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8765 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8767 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8769 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8771 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8773 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8775 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8777 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8779 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8781 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8783 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8785 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8788 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8790 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8791 to avoid alignment traps in non-cacheable memory.
8792 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8794 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8796 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8797 file: multiarch power7 memmove.
8798 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8799 multiarch default memmove.
8800 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8801 multiarch memove for powerpc32/power4.
8803 * string/bcopy.c: Use full path to include memmove.c.
8804 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8806 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8807 bcopy for powerpc64.
8808 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8809 bcopy for powerpc64.
8810 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8811 and memmove implementations.
8812 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8813 optimized multiarch memmove for POWER7/powerpc64.
8814 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8815 default multiarch memmove for powerpc64.
8816 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8817 multiarch for powerpc64.
8818 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8819 for POWER7/powerpc64.
8820 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8821 memmove for POWER7/powerpc64.
8823 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8826 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8827 __ELF_NATIVE_CLASS equal to 64.
8829 2014-07-07 Roland McGrath <roland@hack.frob.com>
8831 * sysdeps/nptl/lowlevellock.h: File removed.
8833 * NEWS: NPTL is no longer an add-on!
8834 * nptl/internaltypes.h: Moved ...
8835 * sysdeps/nptl/internaltypes.h: ... here.
8836 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8837 * sysdeps/nptl/fork.c: Likewise.
8838 * sysdeps/nptl/gai_misc.h: Likewise.
8839 * sysdeps/nptl/librt-cancellation.c: Likewise.
8840 * sysdeps/nptl/jmp-unwind.c: Likewise.
8841 * sysdeps/nptl/setxid.h: Likewise.
8842 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8843 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8844 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8845 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8846 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8847 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8848 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8849 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8850 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8851 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8852 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8853 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8854 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8855 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8856 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8857 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8858 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8859 * nptl/Makeconfig: Moved ...
8860 * sysdeps/nptl/Makeconfig: ... here.
8861 * nptl/configure: File removed.
8862 * nptl/ANNOUNCE: File removed.
8863 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8864 * sysdeps/unix/sysv/linux/configure: Regenerated.
8866 * nptl/Makefile (routines): Add libc_pthread_init,
8867 libc_multiple_threads, register-atfork and unregister-atfork.
8868 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8869 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8870 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8871 pthread-pi-defines.sym, structsem.sym.
8872 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8873 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8874 [$(subdir) = nptl] (tests): Add tst-setgetname.
8875 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8876 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8877 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8878 [!LIBC_SIGACTION]: Remove aliases.
8879 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8880 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8881 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8882 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8883 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8884 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8885 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8886 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8887 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8888 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8889 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8890 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8891 __libc_allocate_rtsig_private.
8892 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8893 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8894 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8895 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8896 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8897 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8898 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8899 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8900 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8901 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8902 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8903 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8904 * nptl/internaltypes.h: ... here.
8905 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8906 * sysdeps/nptl/jmp-unwind.c: ... here.
8907 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8908 * nptl/libc-lowlevellock.c: ... here.
8909 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8910 * nptl/libc_multiple_threads.c: ... here.
8911 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8912 * nptl/libc_pthread_init.c: ... here.
8913 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8914 * nptl/lowlevelbarrier.sym: ... here.
8915 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8916 * nptl/lowlevelcond.sym: ... here.
8917 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8918 * nptl/lowlevellock.c: ... here.
8919 * nptl/lowlevellock.h: Moved ...
8920 * sysdeps/nptl/lowlevellock.h: ... here.
8921 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8922 * nptl/lowlevelrobustlock.c: ... here.
8923 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8924 * nptl/lowlevelrobustlock.sym: ... here.
8925 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8926 * nptl/lowlevelrwlock.sym: ... here.
8927 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8928 * nptl/pt-fork.c: ... here.
8929 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8930 * nptl/pthread-pi-defines.sym: ... here.
8931 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8932 * nptl/pthread_attr_getaffinity.c: ... here.
8933 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8934 * nptl/pthread_attr_setaffinity.c: ... here.
8935 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8936 * nptl/pthread_mutex_cond_lock.c: ... here.
8937 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8939 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8940 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8941 * nptl/pthread_once.c: ... here, replacing old file.
8942 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8943 * nptl/pthread_yield.c: ... here.
8944 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8945 * nptl/register-atfork.c: ... here.
8946 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8947 * nptl/sem_post.c: ... here.
8948 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8949 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8950 * nptl/sem_timedwait.c: ... here.
8951 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8952 * nptl/sem_trywait.c: ... here.
8953 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8954 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8955 * nptl/sem_wait.c: ... here.
8956 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8957 * nptl/structsem.sym: ... here.
8958 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8959 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8960 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8961 * nptl/unregister-atfork.c: ... here.
8962 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8963 * nptl/unwindbuf.sym: ... here.
8964 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8965 * sysdeps/nptl/fork.c: ... here.
8966 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8967 * sysdeps/nptl/fork.h: ... here.
8968 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8969 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8970 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8971 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8972 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8973 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8974 * sysdeps/unix/sysv/linux/getpid.c: ... here.
8975 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8976 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8977 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8978 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8979 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8980 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8981 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8982 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8983 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8984 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8985 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8986 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8987 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8988 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8989 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8990 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8991 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8992 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8993 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8994 * sysdeps/unix/sysv/linux/raise.c: ... here.
8995 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8996 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8997 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8998 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8999 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9000 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9001 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9002 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9003 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9004 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9005 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9006 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9007 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9008 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9009 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9011 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9013 * sysdeps/generic/memcopy.h: Add comment for
9014 MEMCPY_OK_FOR_FWD_MEMMOVE.
9016 2014-07-04 Will Newton <will.newton@linaro.org>
9018 * string/memchr.c: Merge from gnulib.
9019 [_LIBC]: Remove conditionals.
9020 (__ptr_t): Remove define.
9021 (LONG_MAX_32_BITS): Likewise.
9022 (LONG_MAX): Likewise.
9023 (MEMCHR): Use ANSI prototype and optimize algorithm.
9025 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9027 2014-07-03 Roland McGrath <roland@hack.frob.com>
9029 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9030 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9032 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9033 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9034 in a bare environment with no <stdlib.h> installed.
9035 * sysdeps/nptl/configure: Regenerated.
9037 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9039 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9040 AC_EGREP_CPP for kernel header checks, so they only succeed if
9041 including <linux/version.h> actually works right.
9042 * sysdeps/unix/sysv/linux/configure: Regenerated.
9044 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9045 value so it's not diagnosed as unused.
9047 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9048 thing) with "ifeq ($(subdir),rt)".
9050 2014-07-03 Richard Henderson <rth@redhat.com>
9052 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9053 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9054 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9056 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9057 (math_force_eval): New.
9059 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9060 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9062 * sysdeps/alpha/fpu/s_round.c: Remove file.
9063 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9065 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9066 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9067 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9068 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9069 (_dl_start, print_statistics): Likewise.
9070 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9071 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9073 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9074 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9075 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9076 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9077 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9078 (HP_SMALL_TIMING_AVAIL): Define.
9079 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9080 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9081 (HP_SMALL_TIMING_AVAIL): Define.
9082 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9083 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9085 * sysdeps/aarch64/hp-timing.h: New file.
9087 * sysdeps/generic/hp-timing.h: Remove dead comment.
9088 * sysdeps/generic/hp-timing-common.h: New file.
9089 * sysdeps/alpha/hp-timing.h: Include it.
9090 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9091 * sysdeps/i386/i686/hp-timing.h: Likewise.
9092 * sysdeps/ia64/hp-timing.h: Likewise.
9093 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9094 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9095 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9096 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9097 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9098 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9101 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9102 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9103 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9104 * elf/rtld.c (_dl_start_final): Likewise.
9105 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9106 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9107 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9108 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9109 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9110 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9111 (HP_TIMING_DIFF_INIT): Remove.
9112 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9113 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9114 (HP_TIMING_DIFF_INIT): Remove.
9115 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9116 * sysdeps/i386/i686/hp-timing.c: Remove file.
9117 * sysdeps/x86_64/hp-timing.c: Remove file.
9118 * sysdeps/ia64/hp-timing.c: Remove file.
9119 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9120 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9121 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9122 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9124 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9125 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9126 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9127 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9128 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9129 (HP_TIMING_ACCUM): Remove.
9130 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9131 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9132 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9134 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9135 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9136 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9137 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9138 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9139 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9140 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9141 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9143 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9145 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9147 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9149 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9151 Sync up with gettext.
9152 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9153 [_MSC_VER]: Include malloc.h
9154 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9155 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9156 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9157 TEMP_FAILURE_RETRY. Cast return of alloca.
9158 [!_LIBC] Call gl_rwlock_init.
9159 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9161 2014-07-02 Roland McGrath <roland@hack.frob.com>
9163 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9164 before checking its value.
9166 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9168 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9170 * debug/memcpy_chk.c: Don't include pagecopy.h.
9171 * debug/mempcpy_chk.c: Likewise.
9172 * string/memcpy.c: Likewise.
9173 * string/memmove.c: Likewise.
9174 * sysdeps/powerpc/memmove.c: Likewise.
9175 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9176 definition of PAGE_COPY_FWD_MAYBE here...
9177 * sysdeps/generic/pagecopy.h: ... from here.
9178 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9180 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9181 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9183 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9187 (__libc_ifunc_impl_list): Likewise.
9188 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9189 multiarch strcat for PPC64.
9190 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9191 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9193 2014-07-02 Roland McGrath <roland@hack.frob.com>
9195 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9197 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9199 * intl/loadmsgcat.c: Remove declaration of
9200 get_sysdep_segment_value.
9201 (get_sysdep_segment_value): Use ISO C style.
9202 (_nl_load_domain): Use ISO C style. Get rid of redundant
9203 semicolon. Fix typo and formatting in comment.
9204 (_nl_unload_domain): Use ISO C style.
9206 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9208 2014-07-02 Will Newton <will.newton@linaro.org>
9210 * malloc/obstack.c: Merge from gnulib master.
9211 [HAVE_CONFIG_H]: Remove conditional code.
9212 [!_LIBC]: Include config.h.
9213 [!ELIDE_CODE]: Don't include inttypes.h, include
9214 stdint.h unconditionally.
9215 (print_and_abort): Mark as _Noreturn.
9216 (_obstack_allocated_p): Mark as __attribute_pure__.
9217 (obstack_free): Rename to __obstack_free.
9218 [!__attribute__]: Remove conditional code.
9219 * malloc/obstack.h: Merge from gnulib master.
9220 [__cplusplus]: Move conditional down.
9221 [!__attribute_pure__]: Define __attribute_pure__ here
9222 if it is not already defined.
9223 (_obstack_memory_used): Mark as __attribute_pure__.
9224 [!__obstack_free]: Define as obstack_free.
9225 [__GNUC__]: Remove check for ancient NeXT gcc.
9227 2014-07-02 Will Newton <will.newton@linaro.org>
9228 Paul Eggert <eggert@cs.ucla.edu>
9230 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9232 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9234 * resolv/gethnamaddr.c: Add comment warning that the file is
9237 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9239 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9242 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9243 entry for aio_cancel and aio_cancel64.
9244 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9245 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9246 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9247 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9248 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9249 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9250 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9251 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9252 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9253 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9254 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9255 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9256 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9258 2014-07-01 Roland McGrath <roland@hack.frob.com>
9260 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9261 * nptl/pthread_mutex_lock.c: Likewise.
9262 * nptl/pthread_mutex_timedlock.c: Likewise.
9263 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9265 2014-07-01 Richard henderson <rth@redhat.com>
9267 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9268 (__isnan, __isnanl): Remove.
9269 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9271 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9273 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9275 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9277 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9279 * resolv/nss_dns/dns-host.c (getanswer_r)
9280 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9282 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9284 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9285 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9287 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9288 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9290 2014-07-01 Roland McGrath <roland@hack.frob.com>
9292 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9293 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9295 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9296 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9298 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9299 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9301 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9302 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9304 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9305 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9306 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9307 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9309 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9310 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9311 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9312 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9313 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9315 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9317 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9318 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9319 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9320 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9321 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9322 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9323 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9324 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9325 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9326 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9327 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9328 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9329 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9330 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9331 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9332 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9333 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9334 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9335 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9336 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9338 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9339 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9340 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9341 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9342 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9343 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9344 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9345 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9347 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9349 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9350 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9351 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9354 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9356 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9358 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9360 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9361 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9363 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9365 * sysdeps/arm/libm-test-ulps: Regenerated.
9367 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9368 Roland McGrath <roland@hack.frob.com>
9370 * test-skeleton.c (signal_handler): Kill the whole process group
9371 before killing the child individually.
9372 (main): Report any failure on `setpgid'.
9374 2014-06-30 Roland McGrath <roland@hack.frob.com>
9376 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9377 from _TLS_H to _ARM_NPTL_TLS_H.
9378 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9379 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9381 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9384 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9385 (__expm1l): Return argument unchanged when small but not
9388 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9390 (_FP_UNPACK_RAW_1_P): Likewise.
9391 (_FP_PACK_RAW_1): Likewise.
9392 (_FP_PACK_RAW_1_P): Likewise.
9393 (_FP_MUL_MEAT_1_wide): Likewise.
9394 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9395 (_FP_MUL_MEAT_1_hard): Likewise.
9396 (_FP_DIV_MEAT_1_imm): Likewise.
9397 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9398 (_FP_DIV_MEAT_1_udiv): Likewise.
9399 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9400 (_FP_UNPACK_RAW_2): Likewise.
9401 (_FP_UNPACK_RAW_2_P): Likewise.
9402 (_FP_PACK_RAW_2): Likewise.
9403 (_FP_PACK_RAW_2_P): Likewise.
9404 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9405 (_FP_MUL_MEAT_2_wide): Likewise.
9406 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9407 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9408 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9409 (_FP_MUL_MEAT_2_gmp): Likewise.
9410 (_FP_DIV_MEAT_2_udiv): Likewise.
9411 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9412 (_FP_FRAC_SRL_4): Likewise.
9413 (_FP_FRAC_SRST_4): Likewise.
9414 (_FP_FRAC_SRS_4): Likewise.
9415 (_FP_UNPACK_RAW_4): Likewise.
9416 (_FP_UNPACK_RAW_4_P): Likewise.
9417 (_FP_PACK_RAW_4): Likewise.
9418 (_FP_PACK_RAW_4_P): Likewise.
9419 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9420 (_FP_MUL_MEAT_4_wide): Likewise.
9421 (_FP_MUL_MEAT_4_gmp): Likewise.
9422 (umul_ppppmnnn): Likewise.
9423 (_FP_DIV_MEAT_4_udiv): Likewise.
9424 (__FP_FRAC_ADD_4): Likewise.
9425 (__FP_FRAC_SUB_3): Likewise.
9426 (__FP_FRAC_SUB_4): Likewise.
9427 (__FP_FRAC_DEC_3): Likewise.
9428 (__FP_FRAC_DEC_4): Likewise.
9429 (__FP_FRAC_ADDI_4): Likewise.
9430 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9431 (_FP_FRAC_SRL_8): Likewise.
9432 (_FP_FRAC_SRS_8): Likewise.
9434 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9436 (FP_UNPACK_RAW_EP): Likewise.
9437 (FP_PACK_RAW_E): Likewise.
9438 (FP_PACK_RAW_EP): Likewise.
9439 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9440 (_FP_ISSIGNAN): Likewise.
9441 (_FP_ADD_INTERNAL): Likewise.
9442 (_FP_FMA): Likewise.
9443 (_FP_CMP): Likewise.
9444 (_FP_SQRT): Likewise.
9445 (_FP_TO_INT): Likewise.
9446 (_FP_FROM_INT): Likewise.
9447 (FP_EXTEND): Likewise.
9448 (_FP_DIV_MEAT_N_loop): Likewise.
9450 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9452 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9455 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9458 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9459 result with correct sign in case of exponents that produce
9460 overflow except for X very close to 1.
9462 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9464 mktime: merge #if/#ifdef usage from glibc
9465 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9466 as that works with both Glibc's and Gnulib's style.
9467 See thread starting at Siddhesh Poyarekar's bug report at:
9468 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9470 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9472 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9473 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9474 * sysdeps/tile/tilegx/memmove.c: Remove file.
9476 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9478 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9479 abi-name definition.
9480 * scripts/soversions.awk: Do not handle or generate ABI lines.
9481 * shlib-versions: Remove ABI entries.
9482 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9483 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9485 2014-06-27 Roland McGrath <roland@hack.frob.com>
9487 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9488 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9489 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9490 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9491 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9492 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9493 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9495 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9497 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9498 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9499 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9500 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9501 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9502 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9503 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9504 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9505 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9506 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9507 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9508 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9509 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9511 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9512 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9513 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9514 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9515 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9516 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9518 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9519 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9521 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9522 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9523 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9524 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9526 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9527 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9528 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9529 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9530 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9531 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9532 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9533 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9535 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9536 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9537 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9538 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9540 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9541 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9543 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9544 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9545 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9546 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9548 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9550 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9551 Identical file removed.
9552 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9554 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9555 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9556 Identical file removed.
9557 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9558 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9559 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9561 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9562 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9563 Identical file removed.
9564 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9565 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9566 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9567 Identical file removed.
9568 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9569 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9570 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9571 Identical file removed.
9572 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9573 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9574 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9575 Identical file removed.
9576 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9578 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9579 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9580 Identical file removed.
9581 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9583 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9584 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9585 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9586 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9587 Identical file removed.
9588 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9590 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9592 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9593 Identical file removed.
9594 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9596 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9597 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9598 Identical file removed.
9599 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9601 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9602 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9603 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9605 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9608 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9609 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9610 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9612 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9613 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9614 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9615 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9616 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9618 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9621 * nscd/nscd.c (monitor_child): Return exit status of child
9622 instead of return value from wait syscall.
9624 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9626 * configure.ac (libc_commonpagesize): Remove variable.
9627 (libc_relro_required): Likewise.
9628 (libc_cv_z_relro): Remove configure test.
9629 * configure: Regenerated.
9630 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9632 (libc_relro_required): Likewise.
9633 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9634 (libc_relro_required): Likewise.
9635 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9636 (libc_relro_required): Likewise.
9637 * sysdeps/arm/preconfigure: Regenerated.
9638 * sysdeps/ia64/preconfigure: Remove file.
9639 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9641 (libc_relro_required): Likewise.
9645 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9646 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9647 recompute overflowing results in original rounding mode.
9648 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9649 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9650 recompute overflowing results in original rounding mode.
9651 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9652 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9653 recompute overflowing results in original rounding mode.
9654 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9655 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9656 recompute overflowing results in original rounding mode.
9657 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9658 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9659 recompute overflowing results in original rounding mode.
9660 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9661 (libc_feholdsetround_ctx): New macro.
9662 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9663 * sysdeps/i386/fpu/libm-test-ulps: Update.
9664 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9666 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9668 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9669 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9670 corresponding .cpsetup call.
9672 2014-06-26 Roland McGrath <roland@hack.frob.com>
9674 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9675 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9676 * sysdeps/arm/Makefile [$(subdir) = csu]
9677 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9678 (static-only-routines): Add aeabi_read_tp here.
9679 (shared-only-routines): Add libc-aeabi_read_tp here.
9680 (CFLAGS-libc-start.c): Add -fexceptions here.
9681 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9682 (sysdep_routines, static-only-routines, shared-only-routines):
9683 Don't add to these here.
9684 (CFLAGS-libc-start.c): Likewise.
9686 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9687 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9688 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9689 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9690 * sysdeps/arm/Makefile [$(subdir) = rt]
9691 (librt-sysdep_routines, librt-shared-only-routines):
9692 Append rt-aeabi_unwind_cpp_pr1 here.
9693 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9694 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9695 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9696 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9697 Append nptl-aeabi_unwind_cpp_pr1 here.
9698 (tests): Filter out tst-cleanupx4 here.
9699 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9700 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9701 Don't do those here.
9703 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9705 * scripts/list-sources.sh: Do not handle ports specially.
9707 2014-06-26 Roland McGrath <roland@hack.frob.com>
9709 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9710 * sysdeps/arm/feupdateenv.c: Likewise.
9712 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9714 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9716 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9717 trailing whitespace removed.
9718 * scripts/config.guess: Update to version 2014-03-23.
9719 * scripts/config.sub: Update to version 2014-05-01
9720 * scripts/install-sh: Update to version 2013-12-25.23.
9721 * scripts/move-if-change: Update from gnulib.
9723 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9725 * debug/memmove_chk.c: Remove pagecopy.h include.
9727 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9729 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9730 identical to gnulib mktime.
9732 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9734 * configure.ac: Do not test for machine being rs6000. Do not test
9736 * configure: Regenerated.
9738 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9740 * configure: Regenerated.
9741 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9742 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9743 Remove configure test.
9744 * sysdeps/arm/configure: Regenerated.
9745 * sysdeps/nptl/configure.ac: Do not check
9746 libc_cv_asm_cfi_directives.
9747 * sysdeps/nptl/configure: Regenerated.
9748 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9749 * sysdeps/x86_64/nptl/configure: Remove generated file.
9750 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9752 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9754 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9756 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9757 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9758 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9761 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9762 instead of whether it is defined.
9763 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9764 * sysdeps/hppa/dl-machine.h: Likewise.
9765 * sysdeps/ia64/dl-machine.h: Likewise.
9766 * sysdeps/m68k/dl-machine.h: Likewise.
9767 * sysdeps/microblaze/dl-machine.h: Likewise.
9768 * sysdeps/mips/dl-machine.: Likewise.
9769 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9770 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9771 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9772 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9773 * sysdeps/sh/dl-machine.h: Likewise.
9774 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9775 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9776 * sysdeps/tile/dl-machine.h: Likewise.
9777 * sysdeps/x86_64/dl-machine.h: Likewise.
9779 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9781 (verify_persistent_db): Likewise.
9783 2014-06-26 Roland McGrath <roland@hack.frob.com>
9785 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9786 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9787 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9788 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9789 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9791 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9794 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9796 Identical file removed.
9797 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9798 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9800 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9802 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9804 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9805 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9806 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9807 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9809 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9810 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9811 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9813 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9816 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9817 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9818 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9819 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9820 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9822 Identical file removed.
9823 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9824 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9825 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9826 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9829 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9832 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9834 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9835 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9836 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9837 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9838 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9840 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9841 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9843 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9846 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9848 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9851 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9853 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9855 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9857 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9858 * sysdeps/unix/sysv/linux/s390/Versions
9859 (libpthread: GLIBC_2.19): New version set.
9860 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9861 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9862 (librt: GLIBC_2.3.3): New version set.
9863 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9864 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9865 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9866 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9867 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9868 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9869 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9870 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9871 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9872 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9873 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9874 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9875 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9876 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9877 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9878 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9879 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9880 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9881 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9882 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9883 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9884 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9885 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9886 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9887 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9888 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9889 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9890 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9891 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9892 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9893 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9894 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9895 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9896 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9897 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9898 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9899 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9900 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9901 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9902 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9903 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9904 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9905 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9906 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9907 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9909 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9910 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9911 (__libc_vfork): Define the function under this name.
9912 [!NOT_IN_libc] (__vfork): Make this an alias.
9913 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9914 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9915 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9916 (__libc_vfork): Define the function under this name.
9917 [!NOT_IN_libc] (__vfork): Make this an alias.
9918 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9919 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9920 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9921 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9922 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9923 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9925 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9926 code that was previously under [RESET_PID].
9927 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9928 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9929 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9931 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9932 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9933 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9934 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9935 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9936 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9937 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9938 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9939 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9940 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9941 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9943 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9944 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9945 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9946 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9947 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9948 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9949 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9950 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9951 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9952 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9953 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9954 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9955 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9956 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9957 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9958 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9959 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9960 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9961 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9962 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9963 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9964 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9965 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9966 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9967 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9968 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9969 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9970 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9971 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9973 2014-06-25 Roland McGrath <roland@hack.frob.com>
9975 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9976 that was previously under [RESET_PID].
9977 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9979 2014-06-25 Joseph Myers <joseph@codesourcery.com>
9981 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9982 not undefine and redefine.
9983 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9984 [O_CLOEXEC]: Make code unconditional.
9985 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9986 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9987 <kernel-features.h>.
9988 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9989 conditional variable definition.
9990 (shm_open) [O_CLOEXEC]: Make code unconditional.
9991 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9994 * configure.ac (USE_REGPARMS): Don't define here.
9995 * configure: Regenerated.
9996 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9997 * sysdeps/i386/configure: Regenerated.
9999 * nptl/createthread.c: Don't include kernel-features.h.
10000 * nptl/pthread_cancel.c: Likewise.
10001 * nptl/pthread_condattr_setclock.c: Likewise.
10002 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10003 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10004 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10005 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10006 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10007 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10008 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10009 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10010 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10011 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10012 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10013 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10014 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10015 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10016 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10017 * nscd/gai.c: Likewise.
10018 * nss/nss_db/db-open.c: Likewise.
10019 * sysdeps/generic/ldsodefs.h: Likewise.
10020 * sysdeps/sh/nptl/tls.h: Likewise.
10021 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10022 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10023 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10024 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10025 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10026 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10027 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10028 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10029 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10030 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10031 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10032 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10033 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10034 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10035 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10036 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10037 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10038 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10039 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10040 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10041 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10042 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10043 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10044 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10045 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10046 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10047 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10048 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10049 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10050 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10051 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10052 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10053 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10054 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10055 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10056 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10057 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10058 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10059 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10060 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10061 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10062 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10063 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10064 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10065 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10066 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10067 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10068 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10069 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10070 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10071 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10072 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10073 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10074 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10075 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10076 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10077 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10078 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10080 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10101 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10102 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10103 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10104 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10105 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10106 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10107 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10108 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10109 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10110 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10111 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10112 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10113 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10114 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10115 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10116 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10117 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10118 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10119 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10120 * sysdeps/unix/sysv/linux/system.c: Likewise.
10121 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10122 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10123 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10124 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10125 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10126 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10127 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10129 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10130 * configure: Regenerated.
10131 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10133 * configure.ac (base_machine): Do not set specially for particular
10135 * configure: Regenerated.
10136 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10137 settings from configure.ac.
10138 * sysdeps/i386/preconfigure: New file.
10139 * sysdeps/s390/preconfigure: Likewise.
10140 * sysdeps/sh/preconfigure: Likewise.
10141 * sysdeps/sparc/preconfigure: Likewise.
10143 2014-06-25 Roland McGrath <roland@hack.frob.com>
10145 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10146 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10147 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10148 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10149 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10150 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10151 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10152 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10153 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10154 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10155 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10156 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10157 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10158 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10159 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10160 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10161 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10162 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10163 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10165 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10166 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10167 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10168 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10169 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10170 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10171 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10172 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10173 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10174 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10175 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10176 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10177 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10178 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10179 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10180 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10181 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10182 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10183 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10184 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10185 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10186 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10187 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10188 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10189 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10190 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10191 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10192 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10193 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10194 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10195 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10196 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10197 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10198 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10199 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10200 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10201 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10202 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10204 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10205 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10206 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10207 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10210 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10213 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10215 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10218 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10220 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10222 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10224 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10227 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10230 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10232 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10235 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10236 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10237 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10239 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10241 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10243 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10246 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10249 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10251 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10254 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10256 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10258 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10259 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10260 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10263 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10266 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10268 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10271 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10272 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10273 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10274 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10275 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10277 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10279 * timezone/checktab.awk: Update from tzcode 2014e.
10280 * timezone/private.h: Likewise.
10281 * timezone/tzfile.h: Likewise.
10282 * timezone/zdump.c: Likewise.
10283 * timezone/zic.c: Likewise.
10285 * sysdeps/unix/sysv/linux/kernel-features.h
10286 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10287 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10288 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10289 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10290 Remove conditional code.
10292 2014-06-25 Will Newton <will.newton@linaro.org>
10294 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10295 (_dl_arm_cap_flags): Add HWCAP2 values.
10296 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10297 (_DL_HWCAP_COUNT): Increase to 37.
10298 (_DL_HWCAP_LAST): New define.
10299 (_DL_HWCAP2_LAST): New define.
10300 (_dl_procinfo): Add support for printing
10302 (_dl_string_hwcap): Use _dl_hwcap_string.
10304 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10306 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10308 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10310 * README: Do not mention ports directory.
10312 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10314 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10315 <kernel-features.h>.
10316 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10317 conditional variable definition.
10318 (__futimes): Update comment.
10319 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10320 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10323 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10324 arguments close to 0.
10325 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10327 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10329 * math/auto-libm-test-in: Add more tests of exp10.
10330 * math/auto-libm-test-out: Regenerated.
10331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10333 * sysdeps/unix/sysv/linux/kernel-features.h
10334 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10335 * sysdeps/unix/sysv/linux/readv.c: Do not include
10336 <kernel-features.h>.
10337 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10338 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10339 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10341 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10343 * sysdeps/unix/sysv/linux/writev.c: Do not include
10344 <kernel-features.h>.
10345 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10346 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10347 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10349 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10352 2014-06-25 Will Newton <will.newton@linaro.org>
10354 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10355 comment changes throughout the file. Remove checks
10356 for HAVE_*_H definitions that are not required.
10357 (__gen_tempname): Call abort if an unknown kind value is
10360 2014-06-25 Andreas Schwab <schwab@suse.de>
10363 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10364 scalbln, scalblnf, scalblnl in libc.
10366 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10369 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10370 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10371 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10373 2014-06-24 Roland McGrath <roland@hack.frob.com>
10375 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10376 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10377 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10378 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10380 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10381 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10383 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10384 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10385 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10386 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10387 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10388 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10389 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10390 * sysdeps/x86/bits/semaphore.h: ... here.
10391 * sysdeps/x86/nptl/elide.h: Moved ...
10392 * sysdeps/x86/elide.h: ... here.
10393 * sysdeps/x86_64/nptl/Implies: File removed.
10394 * sysdeps/i386/nptl/Implies: File removed.
10396 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10399 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10400 return the argument for normal arguments with exponent below -64.
10401 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10403 * math/auto-libm-test-in: Add another test of expm1.
10404 * math/auto-libm-test-out: Regenerated.
10407 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10408 calling __erfcl for arguments at least 16.
10409 * math/auto-libm-test-in: Add more tests of erf.
10410 * math/auto-libm-test-out: Regenerated.
10412 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10413 individual architectures.
10414 * sysdeps/unix/sysv/linux/configure: Regenerated.
10415 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10416 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10417 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10418 (ldd_rewrite_script): Define variable.
10419 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10424 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10425 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10426 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10427 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10428 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10429 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10430 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10431 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10433 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10436 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10437 Rename member __data.d to __data.__elision_data.
10439 2014-06-24 Wilco <wdijkstr@arm.com>
10441 * NEWS: Add 16918 to fixed bug list.
10443 2014-06-24 Wilco <wdijkstr@arm.com>
10445 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10447 2014-06-24 Wilco <wdijkstr@arm.com>
10449 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10450 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10451 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10452 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10453 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10454 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10455 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10458 2014-06-24 Wilco <wdijkstr@arm.com>
10460 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10462 2014-06-24 Wilco <wdijkstr@arm.com>
10464 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10465 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10466 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10467 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10469 2014-06-24 Wilco <wdijkstr@arm.com>
10472 * sysdeps/arm/feupdateenv.c (feupdateenv):
10473 Rewrite to reduce FPSCR accesses and fix return value.
10475 2014-06-24 Wilco <wdijkstr@arm.com>
10477 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10478 Optimize to avoid unnecessary FPSCR writes.
10479 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10480 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10481 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10482 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10484 2014-06-24 Wilco <wdijkstr@arm.com>
10486 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10487 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10488 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10489 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10490 Call libc_fetestexcept_vfp.
10491 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10492 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10493 __SOFTFP__ ifdef so that they can be built for softfp.
10495 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10497 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10498 argument type signed char.
10500 * Makerules (check-abi): Dump diff of symlist if the test
10503 2014-06-23 Roland McGrath <roland@hack.frob.com>
10505 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10508 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10509 Remove unused variable ST.
10511 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10515 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10516 small arguments before calling __expm1.
10517 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10518 small arguments before calling __expm1f.
10519 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10520 small arguments before calling __expm1l.
10521 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10523 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10524 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10525 spurious underflow for some cosh tests.
10526 * math/auto-libm-test-out: Regenerated.
10527 * sysdeps/i386/fpu/libm-test-ulps: Update.
10530 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10531 (__ieee754_y1): Set errno if return value overflows.
10532 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10533 (__ieee754_y1f): Set errno if return value overflows.
10534 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10535 (__ieee754_y1l): Set errno if return value overflows.
10536 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10537 (__ieee754_y1l): Set errno if return value overflows.
10538 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10539 * math/auto-libm-test-out: Regenerated.
10541 * math/gen-auto-libm-tests.c: Document use of
10542 ignore-zero-inf-sign.
10543 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10544 (input_flags): Add ignore-zero-inf-sign.
10545 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10546 * math/gen-libm-test.pl (generate_testfile): Handle
10547 ignore-zero-inf-sign.
10548 * math/auto-libm-test-in: Mark some cpow tests with
10549 ignore-zero-inf-sign and some with xfail-rounding.
10550 * math/auto-libm-test-out: Regenerated.
10551 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10552 * sysdeps/i386/fpu/libm-test-ulps: Update.
10553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10556 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10557 overflowing or underflowing operations take place with sign of
10559 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10560 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10561 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10562 (__ieee754_pow): Recompute overflowing and underflowing results in
10563 original rounding mode.
10564 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10565 (__powl_helper): Allow negative argument X and scale negated value
10566 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10568 overflowing or underflowing operations take place with sign of
10570 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10572 * math/auto-libm-test-in: Add more tests of pow.
10573 * math/auto-libm-test-out: Regenerated.
10574 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10575 (pow_tonearest_test_data): Remove.
10576 (pow_test_tonearest): Likewise.
10577 (pow_towardzero_test_data): Likewise.
10578 (pow_test_towardzero): Likewise.
10579 (pow_downward_test_data): Likewise.
10580 (pow_test_downward): Likewise.
10581 (pow_upward_test_data): Likewise.
10582 (pow_test_upward): Likewise.
10583 (main): Don't call removed functions.
10584 * sysdeps/i386/fpu/libm-test-ulps: Update.
10585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10587 2014-06-23 Roland McGrath <roland@hack.frob.com>
10589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10763 2014-06-23 Will Newton <will.newton@linaro.org>
10764 Wilco <wdijkstr@arm.com>
10766 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10767 implementation. Include get-rounding-mode.h.
10768 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10769 [!libc_feholdsetround_noex_ctx]: Define
10770 libc_feholdsetround_noex_ctx.
10771 [!libc_feholdsetround_noexf_ctx]: Define
10772 libc_feholdsetround_noexf_ctx.
10773 [!libc_feholdsetround_noexl_ctx]: Define
10774 libc_feholdsetround_noexl_ctx.
10775 (libc_feholdsetround_ctx): New function.
10776 (libc_feresetround_ctx): New function.
10777 (libc_feholdsetround_noex_ctx): New function.
10778 (libc_feresetround_noex_ctx): New function.
10780 2014-06-23 Roland McGrath <roland@hack.frob.com>
10782 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10783 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10784 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10785 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10786 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10787 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10789 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10790 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10791 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10792 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10793 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10794 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10795 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10796 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10797 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10798 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10799 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10801 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10803 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10804 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10805 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10806 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10807 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10809 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10810 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10811 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10812 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10813 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10814 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10815 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10818 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10819 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10821 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10822 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10823 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10824 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10826 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10827 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10828 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10829 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10830 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10831 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10832 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10833 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10834 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10835 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10837 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10839 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10840 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10841 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10842 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10843 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10844 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10845 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10846 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10847 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10848 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10849 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10850 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10851 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10853 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10854 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10855 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10856 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10857 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10858 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10860 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10861 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10862 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10863 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10864 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10866 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10867 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10868 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10869 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10870 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10871 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10872 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10873 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10874 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10875 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10876 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10877 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10878 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10879 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10880 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10881 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10882 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10883 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10884 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10885 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10886 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10887 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10888 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10889 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10890 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10891 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10892 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10893 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10895 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10897 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10898 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10899 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10900 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10901 (IPV6_PMTUDISC_INTERFACE): Likewise.
10902 (IPV6_PMTUDISC_OMIT): Likewise.
10904 2014-06-23 Andreas Schwab <schwab@suse.de>
10906 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10907 Remove unused errout label.
10909 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10911 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10912 macro: hardware supports Vector Crypto instructions.
10914 2014-06-23 Will Newton <will.newton@linaro.org>
10916 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10917 rather than __builtin_expect.
10919 * elf/dl-lookup.c (undefined_msg): Remove variable.
10920 (_dl_lookup_symbol_x): Replace undefined_msg with string
10923 * elf/dl-lookup.c (do_lookup_unique): New function.
10924 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10925 to a separate function.
10927 2014-06-23 Andreas Schwab <schwab@suse.de>
10930 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10931 before reading the next line.
10933 2014-06-23 Will Newton <will.newton@linaro.org>
10935 * test-skeleton.c (signal_handler): Use printf and %m
10936 rather than perror. Use printf rather than fprintf to
10937 stderr. Use puts rather than fputs to stderr.
10940 2014-06-22 Ludovic Courtès <ludo@gnu.org>
10942 * nscd/nscd.c (thread_info_t): Remove typedef.
10943 (thread_info): Remove variable.
10945 2014-06-21 Allan McRae <allan@archlinux.org>
10947 * NEWS: Mention CVE-2014-4043.
10949 2014-06-20 Roland McGrath <roland@hack.frob.com>
10951 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10952 * nptl/smp.h: ... here.
10954 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10956 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10957 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10958 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10959 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10961 * nptl/allocatestack.c: Include <stack-aliasing.h>.
10962 * nptl/stack-aliasing.h: New file.
10963 * sysdeps/i386/i686/stack-aliasing.h: New file.
10964 * sysdeps/i386/i686/nptl/Makefile: File removed.
10965 * sysdeps/x86_64/stack-aliasing.h: New file.
10966 * sysdeps/x86_64/nptl/Makefile
10967 (CFLAGS-pthread_create.c): Variable removed.
10969 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10970 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10972 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10973 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10976 2014-06-21 Joseph Myers <joseph@codesourcery.com>
10978 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10979 (__ASSUME_SIGFRAME_V2): Remove macro.
10980 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10981 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10982 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10983 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10984 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10985 Declare as function. Remove conditional macro definitions.
10986 (__default_rt_sa_restorer): Likewise.
10987 (__default_sa_restorer_v1): Remove declaration.
10988 (__default_sa_restorer_v2): Likewise.
10989 (__default_rt_sa_restorer_v1): Likewise.
10990 (__default_rt_sa_restorer_v2): Likewise.
10991 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10992 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10993 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10995 2014-06-20 Roland McGrath <roland@hack.frob.com>
10997 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10998 (libpthread-routines): Add sysdep.
10999 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11000 * sysdeps/unix/sysv/linux/sparc/Versions
11001 (libpthread: GLIBC_2.3.3): New version set.
11002 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11003 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11004 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11005 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11006 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11007 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11009 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11010 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11011 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11012 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11013 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11014 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11015 * sysdeps/sparc/nptl/sem_init.c: ... here.
11016 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11017 * sysdeps/sparc/nptl/sem_post.c: ... here.
11018 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11019 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11020 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11021 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11022 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11023 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11024 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11025 (libpthread-routines): Add cpu_relax.
11026 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11028 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11029 (librt: GLIBC_2.3.3): New version set.
11030 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11031 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11032 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11033 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11034 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11035 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11036 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11037 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11039 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11040 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11041 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11042 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11043 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11044 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11045 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11046 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11047 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11048 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11050 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11052 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11054 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11056 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11058 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11060 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11062 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11064 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11066 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11068 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11070 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11072 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11073 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11074 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11075 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11076 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11077 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11078 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11079 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11081 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11082 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11084 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11086 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11088 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11090 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11092 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11093 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11094 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11095 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11096 * nscd/nscd.c: Likewise.
11097 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11098 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11099 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11100 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11102 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11103 <kernel-features.h>.
11104 (init_mq_netlink): Remove conditional have_sock_cloexec
11105 definitions. Remove code conditional on have_sock_cloexec < 0.
11106 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11107 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11108 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11109 <kernel-features.h>.
11110 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11111 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11113 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11115 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11116 Add tests for memset_chk and memset.
11118 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11121 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11124 * elf/tst-dl-iter-static.c: New file.
11125 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11127 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11130 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11132 * sysdeps/unix/sysv/linux/kernel-features.h
11133 (__ASSUME_F_GETOWN_EX): Remove macro.
11134 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11135 <kernel-features.h>.
11136 (miss_F_GETOWN_EX): Remove variable or macro.
11137 (do_fcntl): Do not check miss_F_GETOWN_EX.
11138 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11143 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11144 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11146 * sysdeps/unix/sysv/linux/kernel-features.h
11147 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11148 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11149 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11150 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11152 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11155 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11156 Fix calculation of the symbol's value.
11157 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11158 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11159 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11160 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11161 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11162 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11163 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11164 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11165 (modules-names): Add `tst-armtlsdescmod',
11166 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11167 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11168 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11169 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11170 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11171 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11172 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11173 ($(objpfx)tst-armtlsdescloc): New dependency.
11174 ($(objpfx)tst-armtlsdescextnow): Likewise.
11175 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11176 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11177 TLS scheme support.
11178 * sysdeps/arm/configure: Regenerate.
11180 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11182 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11183 (__atfct_seterrno_2): Likewise.
11184 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11185 <kernel-features.h>.
11186 (__ASSUME_ATFCTS): Do not undefine and redefine.
11187 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11188 (__have_atfcts): Remove conditional definition.
11189 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11190 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11191 unreachable if [__ASSUME_ATFCTS].
11192 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11193 not undefine and redefine.
11194 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11195 <kernel-features.h>.
11196 (faccessat) [__NR_faccessat]: Make code unconditional.
11197 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11198 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11199 <kernel-features.h>.
11200 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11201 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11202 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11203 <kernel-features.h>.
11204 (fchownat) [__NR_fchownat]: Make code unconditional.
11205 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11206 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11207 <kernel-features.h>.
11208 (futimesat) [__NR_futimesat]: Make code unconditional.
11209 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11210 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11211 <kernel-features.h>.
11212 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11213 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11214 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11215 <kernel-features.h>.
11216 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11217 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11218 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11219 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11220 <kernel-features.h>.
11221 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11222 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11223 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11224 <kernel-features.h>.
11225 (linkat) [__NR_linkat]: Make code unconditional.
11226 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11227 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11228 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11229 <kernel-features.h>.
11230 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11231 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11232 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11233 <kernel-features.h>.
11234 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11235 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11236 * sysdeps/unix/sysv/linux/openat.c: Do not include
11237 <kernel-features.h>.
11238 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11239 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11240 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11241 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11242 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11243 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11244 <kernel-features.h>.
11245 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11246 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11247 result of INLINE_SYSCALL directly, not via int variable.
11248 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11249 <kernel-features.h>.
11250 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11251 (renameat) [__NR_renameat]: Make code unconditional.
11252 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11253 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11254 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11255 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11256 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11257 (__ASSUME_ATFCTS): Do not undefine and redefine.
11258 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11259 <kernel-features.h>.
11260 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11261 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11262 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11263 <kernel-features.h>.
11264 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11265 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11266 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11267 (__ASSUME_ATFCTS): Do not undefine and redefine.
11268 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11269 <kernel-features.h>.
11270 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11271 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11272 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11273 <kernel-features.h>.
11274 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11275 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11277 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11279 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11281 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11284 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11285 constructed tree before returning error.
11286 * posix/bug-regexp36.c: Expand test case.
11288 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11291 * math/libm-test.inc (scalbln_test_date):
11292 Add errno expectations.
11293 * math/w_scalblnf.c: New File.
11294 Add wrapper which checks for setting errno to ERANGE.
11295 Add weak_alias for corresponding scalbln function.
11296 * math/w_scalbln.c: Likewise.
11297 * math/w_scalblnl.c: Likewise.
11298 * math/Makefile (libm-calls): Add w_scalbln.
11299 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11300 Remove weak_alias for corresponding scalbln function.
11301 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11302 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11303 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11304 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11305 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11306 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11307 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11308 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11309 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11310 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11311 Remove long_double_symbol for scalblnl function in libm, libc.
11312 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11313 Add wrapper which checks for setting errno to ERANGE.
11314 Add long_double_symbol for scalblnl function in libm, libc.
11315 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11316 Remove long_double_symbol for scalblnl in libm.
11317 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11318 Add wrapper which checks for setting errno to ERANGE.
11319 Add long_double_symbol for scalblnl function in libm.
11320 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11321 Do not use wrapper because of own implementation.
11323 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11325 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11326 3 bytes for __pad1 for x32.
11327 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11329 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11330 H.J. Lu <hongjiu.lu@intel.com>
11332 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11333 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11334 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11335 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11336 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11338 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11341 * posix/regcomp.c (parse_expression): Deallocate partially
11342 constructed tree before returning error.
11343 * posix/Makefile.c (tests): Add bug-regex36.
11344 (generated): Add bug-regex36.mtrace.
11345 (tests-special): Add $(objpfx)bug-regex36-mem.out
11346 (bug-regex36-ENV): New variable.
11347 ($(objpfx)bug-regex36-mem.out): New rule.
11348 * posix/bug-regex36.c: New file.
11350 2014-06-19 Will Newton <will.newton@linaro.org>
11352 * malloc/malloc.c (systrim): If extra is zero then return
11355 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11357 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11359 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11361 * sysdeps/aarch64/strchr.S: New file.
11363 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11366 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11367 from arguments -2 or below.
11368 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11369 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11371 2014-06-18 Andreas Schwab <schwab@suse.de>
11374 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11375 of a bracket expr not to run off the end of the string.
11376 * posix/Makefile (tests): Add tst-fnmatch3.
11377 * posix/tst-fnmatch3.c: New file.
11379 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11381 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11382 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11383 [$(cross-compiling) = no]: Likewise.
11384 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11385 [$(cross-compiling) = no]: Likewise.
11387 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11390 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11391 double, adjusted for any remainder from the high double.
11392 * math/libm-test.inc (nearbyint): Add tests.
11395 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11397 * nptl/sysdeps/powerpc/Makefile: Moved ...
11398 * sysdeps/powerpc/nptl/Makefile: ... here.
11399 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11400 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11401 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11402 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11403 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11404 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11405 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11406 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11407 * nptl/sysdeps/powerpc/tls.h: Moved ...
11408 * sysdeps/powerpc/nptl/tls.h: ... here.
11410 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11413 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11414 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11415 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11416 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11417 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11418 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11419 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11420 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11421 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11423 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11425 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11427 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11429 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11432 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11435 2014-06-16 Florian Weimer <fweimer@redhat.com>
11438 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11439 non-executed part of the test.
11441 2014-06-16 Andreas Schwab <schwab@suse.de>
11443 * string/bits/string2.h (strdup, strndup): Update feature guard.
11445 2014-06-14 David S. Miller <davem@davemloft.net>
11447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11449 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11451 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11452 that was previously under [RESET_PID].
11453 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11455 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11456 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11457 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11458 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11459 (__libc_vfork): New strong alias.
11460 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11462 2014-06-14 Andi Kleen <ak@linux.intel.com>
11464 * sysdeps/generic/elide.h: New file.
11466 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11468 * Makefile (installed-headers): Adjust path of pthread.h header.
11470 2014-06-13 Roland McGrath <roland@hack.frob.com>
11472 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11473 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11474 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11475 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11477 * nptl/sysdeps/s390/Makefile: Moved ...
11478 * sysdeps/s390/nptl/Makefile: ... here.
11479 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11480 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11481 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11482 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11483 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11484 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11485 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11486 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11487 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11488 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11489 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11490 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11491 * nptl/sysdeps/s390/tls.h: Moved ...
11492 * sysdeps/s390/nptl/tls.h: ... here.
11494 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11495 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11497 2014-06-13 David S. Miller <davem@davemloft.net>
11499 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11500 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11501 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11502 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11503 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11504 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11505 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11506 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11507 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11508 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11509 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11510 Remove RESET_PID cpp guards.
11511 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11512 Remove RESET_PID cpp guards.
11513 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11515 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11517 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11520 2014-06-13 Andi Kleen <ak@linux.intel.com>
11522 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11523 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11524 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11525 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11526 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11527 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11528 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11529 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11530 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11531 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11532 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11533 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11534 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11535 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11536 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11537 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11538 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11539 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11540 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11541 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11543 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11544 (pthread_rwlock_rdlock): Add elision.
11545 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11546 (pthread_rwlock_wrlock): Add elision.
11547 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11548 (pthread_rwlock_trywrlock): Add elision.
11549 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11550 (pthread_rwlock_tryrdlock): Add elision.
11551 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11552 (pthread_rwlock_tryrdlock): Add elision unlock.
11553 * nptl/sysdeps/pthread/pthread.h:
11554 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11555 (PTHREAD_RWLOCK_INITIALIZER,
11556 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11557 Handle new elision field.
11558 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11559 * sysdeps/arm/nptl/bits/pthreadtypes.h
11560 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11561 * sysdeps/sh/nptl/bits/pthreadtypes.h
11562 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11563 * sysdeps/tile/nptl/bits/pthreadtypes.h
11564 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11565 * sysdeps/a/nptl/bits/pthreadtypes.h
11566 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11567 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11568 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11569 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11570 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11571 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11572 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11573 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11574 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11575 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11576 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11577 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11578 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11579 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11580 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11581 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11582 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11583 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11584 (elision_init): Set try_xbegin to zero when no RTM.
11585 * sysdeps/x86/nptl/bits/pthreadtypes.h
11586 (pthread_rwlock_t): Change __pad1 to __rwelision.
11587 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11589 2014-06-13 Andi Kleen <ak@linux.intel.com>
11591 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11592 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11593 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11594 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11596 2014-06-13 Meador Inge <meadori@codesourcery.com>
11599 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11600 that the cached result has been set before returning it.
11602 2014-06-12 Roland McGrath <roland@hack.frob.com>
11604 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11605 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11606 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11607 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11608 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11609 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11611 * nptl/sysdeps/sparc/Makefile: Moved ...
11612 * sysdeps/sparc/nptl/Makefile: ... here.
11613 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11614 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11615 * nptl/sysdeps/sparc/tls.h: Moved ...
11616 * sysdeps/sparc/nptl/tls.h: ... here.
11617 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11618 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11619 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11620 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11621 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11622 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11623 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11624 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11625 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11626 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11627 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11628 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11629 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11630 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11631 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11632 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11633 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11634 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11636 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11637 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11639 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11640 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11642 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11646 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11648 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11649 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11651 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11652 (struct list_links): Type removed.
11653 (struct thread_node, struct timer_node): Replace struct list_links
11654 with struct list_head.
11655 (list_unlink_ip): Likewise.
11656 * sysdeps/pthread/timer_routines.c
11657 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11658 (list_append, list_insbefore): Likewise.
11659 (list_init): Function removed.
11660 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11661 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11662 * sysdeps/pthread/Makefile: ... here, new file.
11664 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11665 * sysdeps/nptl/Implies: ... here.
11666 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11667 * nptl/sysdeps/pthread/list.h: Moved ...
11668 * include/list.h: ... here.
11669 * nptl/sysdeps/pthread/createthread.c: Moved ...
11670 * nptl/createthread.c: ... here.
11671 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11672 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11673 * nptl/pt-longjmp.c: ... here.
11674 * nptl/sysdeps/pthread/Makefile: Moved ...
11675 * sysdeps/nptl/Makefile: ... here.
11676 * nptl/sysdeps/pthread/Subdirs: Moved ...
11677 * sysdeps/nptl/Subdirs: ... here.
11678 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11679 * sysdeps/nptl/aio_misc.h: ... here.
11680 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11681 * sysdeps/nptl/bits/libc-lock.h: ... here.
11682 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11683 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11684 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11685 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11686 * nptl/sysdeps/pthread/configure: Moved ...
11687 * sysdeps/nptl/configure: ... here.
11688 * nptl/sysdeps/pthread/configure.ac: Moved ...
11689 * sysdeps/nptl/configure.ac: ... here.
11690 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11691 * sysdeps/nptl/gai_misc.h: ... here.
11692 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11693 * sysdeps/nptl/librt-cancellation.c: ... here.
11694 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11695 * sysdeps/nptl/malloc-machine.h: ... here.
11696 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11697 * sysdeps/nptl/pthread-functions.h: ... here.
11698 * nptl/sysdeps/pthread/pthread.h: Moved ...
11699 * sysdeps/nptl/pthread.h: ... here.
11700 * nptl/sysdeps/pthread/setxid.h: Moved ...
11701 * sysdeps/nptl/setxid.h: ... here.
11702 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11703 * sysdeps/nptl/sigfillset.c: ... here.
11704 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11705 * sysdeps/nptl/tcb-offsets.h: ... here.
11706 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11707 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11708 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11709 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11710 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11711 * sysdeps/pthread/allocalim.h: ... here.
11712 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11713 * sysdeps/pthread/bits/sigthread.h: ... here.
11714 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11715 * sysdeps/pthread/flockfile.c: ... here.
11716 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11717 * sysdeps/pthread/ftrylockfile.c: ... here.
11718 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11719 * sysdeps/pthread/funlockfile.c: ... here.
11720 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11721 * sysdeps/pthread/posix-timer.h: ... here.
11722 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11723 * sysdeps/pthread/timer_create.c: ... here.
11724 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11725 * sysdeps/pthread/timer_delete.c: ... here.
11726 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11727 * sysdeps/pthread/timer_getoverr.c: ... here.
11728 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11729 * sysdeps/pthread/timer_gettime.c: ... here.
11730 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11731 * sysdeps/pthread/timer_routines.c: ... here.
11732 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11733 * sysdeps/pthread/timer_settime.c: ... here.
11734 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11735 * sysdeps/pthread/tst-timer.c: ... here.
11736 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11737 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11739 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11740 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11742 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11743 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11744 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11745 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11746 Update #include target.
11747 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11748 * sysdeps/i386/i686/nptl/Makefile: ... here.
11749 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11750 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11751 Update #include target.
11752 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11753 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11754 * nptl/sysdeps/i386/Makefile: Moved ...
11755 * sysdeps/i386/nptl/Makefile: ... here.
11756 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11757 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11758 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11759 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11760 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11761 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11762 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11763 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11764 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11765 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11766 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11767 * nptl/sysdeps/i386/tls.h: Moved ...
11768 * sysdeps/i386/nptl/tls.h: ... here.
11770 * sysdeps/sh/Makefile [$(subdir) = csu]
11771 (gen-as-const-headers): Add tcb-offsets.sym.
11772 * nptl/sysdeps/sh/Makefile: File removed.
11773 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11774 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11775 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11776 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11777 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11778 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11779 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11780 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11781 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11782 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11783 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11784 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11785 * nptl/sysdeps/sh/tls.h: Moved ...
11786 * sysdeps/sh/nptl/tls.h: ... here.
11787 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11788 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11789 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11790 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11791 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11792 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11793 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11794 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11795 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11796 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11797 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11798 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11799 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11800 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11801 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11802 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11803 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11804 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11805 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11806 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11807 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11808 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11809 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11810 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11811 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11813 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11814 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11816 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11817 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11818 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11819 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11820 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11821 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11822 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11823 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11824 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11825 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11826 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11827 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11828 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11829 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11830 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11831 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11832 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11833 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11834 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11836 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11838 * posix/spawn_faction_addopen.c: Include string.h.
11840 2014-06-11 Roland McGrath <roland@hack.frob.com>
11842 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11843 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11844 * nptl/sysdeps/x86_64/Makefile: Moved ...
11845 * sysdeps/x86_64/nptl/Makefile: ... here.
11846 * nptl/sysdeps/x86_64/configure: Moved ...
11847 * sysdeps/x86_64/nptl/configure: ... here.
11848 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11849 * sysdeps/x86_64/nptl/configure.ac: ... here.
11850 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11851 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11852 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11853 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11854 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11855 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11856 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11857 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11858 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11859 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11860 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11861 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11862 * nptl/sysdeps/x86_64/tls.h: Moved ...
11863 * sysdeps/x86_64/nptl/tls.h: ... here.
11864 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11865 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11866 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11867 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11869 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11871 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11875 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11877 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11879 [POSIX] (off_t): Likewise.
11880 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11881 [POSIX] (S_ISBLK): Require macro.
11882 [POSIX] (S_ISCHR): Likewise.
11883 [POSIX] (S_ISDIR): Likewise.
11884 [POSIX] (S_ISFIFO): Likewise.
11885 [POSIX] (S_ISREG): Likewise.
11886 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11888 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11890 [POSIX] (time_t): Likewise.
11891 [POSIX] (timer_t): Likewise.
11893 2014-06-11 Florian Weimer <fweimer@redhat.com>
11896 * posix/spawn_int.h (struct __spawn_action): Make the path string
11897 non-const to support deallocation.
11898 * posix/spawn_faction_addopen.c
11899 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11900 * posix/spawn_faction_destroy.c
11901 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11902 path in all spawn_do_open actions.
11903 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11904 posix_spawn_file_actions_addopen.
11906 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11908 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11909 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11910 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11911 conditional code always true.
11912 (__libc_vfork): New alias.
11914 2014-06-11 Roland McGrath <roland@hack.frob.com>
11916 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11917 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11919 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11921 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11922 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11924 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11925 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11927 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11928 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11930 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11932 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11933 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11934 multiarch strcmp for PPC64.
11935 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11936 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11938 multiarch optimizations.
11939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11940 (__libc_ifunc_impl_list): Likewise.
11942 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11944 * benchtests/scripts/validate_benchout.py: New script.
11945 * benchtests/Makefile (bench-func): Call it.
11946 * benchtests/scripts/benchout.schema.json: New file.
11948 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
11950 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11951 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11952 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11953 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11954 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11955 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11956 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11957 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11958 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11959 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11960 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11961 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11962 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11963 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11964 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11965 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11972 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11979 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11981 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11983 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11984 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11986 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11988 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11990 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11992 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11994 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11995 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11997 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11999 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12001 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12003 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12010 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12012 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12018 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12020 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12022 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12024 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12043 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12046 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12048 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12061 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12069 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12070 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12071 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12072 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12073 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12075 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12077 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12078 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12079 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12080 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12081 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12082 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12083 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12084 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12085 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12086 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12087 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12088 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12089 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12091 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12092 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12094 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12095 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12096 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12097 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12099 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12100 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12101 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12102 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12103 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12104 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12105 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12107 2014-06-10 Wilco <wdijkstr@arm.com>
12109 * math/test-fenv-return.c: New file.
12110 * math/Makefile: Add new test test-fenv-return.
12112 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12115 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12116 when x - 1 is zero.
12117 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12118 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12119 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12120 0.0L for an argument of 1.0L.
12121 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12123 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12124 value when x - 1 is zero.
12125 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12126 * sysdeps/i386/fpu/libm-test-ulps: Update.
12127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12129 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12132 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12134 2014-06-09 Roland McGrath <roland@hack.frob.com>
12136 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12137 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12139 2014-06-09 Roland McGrath <roland@hack.frob.com>
12141 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12142 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12144 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12145 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12147 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12148 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12150 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12151 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12153 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12154 if not already defined.
12155 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12156 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12157 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12158 (TLS_INIT_TP): Use it.
12159 (TLS_DEFINE_INIT_TP): New macro.
12160 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12162 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12164 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12166 [POSIX] (IXANY): Likewise.
12167 [POSIX] (OLCUC): Likewise.
12168 [POSIX || POSIX2008] (CBAUD): Do not allow.
12169 [POSIX || POSIX2008] (DEFECHO): Likewise.
12170 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12171 [POSIX || POSIX2008] (ECHOKE): Likewise.
12172 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12173 [POSIX || POSIX2008] (EXTA): Likewise.
12174 [POSIX || POSIX2008] (EXTB): Likewise.
12175 [POSIX || POSIX2008] (FLUSHO): Likewise.
12176 [POSIX || POSIX2008] (LOBLK): Likewise.
12177 [POSIX || POSIX2008] (PENDIN): Likewise.
12178 [POSIX || POSIX2008] (SWTCH): Likewise.
12179 [POSIX || POSIX2008] (VDISCARD): Likewise.
12180 [POSIX || POSIX2008] (VDSUSP): Likewise.
12181 [POSIX || POSIX2008] (VLNEXT): Likewise.
12182 [POSIX || POSIX2008] (VREPRINT): Likewise.
12183 [POSIX || POSIX2008] (VSTATUS): Likewise.
12184 [POSIX || POSIX2008] (VWERASE): Likewise.
12185 (B*): Change to B[0123456789]*.
12186 * conform/data/time.h-data [POSIX || UNIX98]
12187 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12188 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12189 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12190 [POSIX] (tm_*): Do not allow.
12192 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12194 * Makefile (install): Don't set LANGUAGE.
12195 * Makefile.in (install): Likewise.
12196 * assert/Makefile (test-assert-ENV): Remove variable.
12197 (test-assert-perr-ENV): Likewise.
12198 * elf/Makefile (neededtest4-ENV): Likewise.
12199 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12200 [$(cross-compiling) = no]: Don't set LANGUAGE.
12201 * io/ftwtest-sh (LANG): Remove variable.
12202 * libio/Makefile (tst-widetext-ENV): Likewise.
12203 * manual/install.texi (Running make install): Don't refer to
12204 environment settings for make install.
12205 * INSTALL: Regenerated.
12206 * nptl/tst-tls6.sh: Don't set LANG.
12207 * posix/globtest.sh (LANG): Remove variable.
12208 * string/Makefile (tester-ENV): Likewise.
12209 (inl-tester-ENV): Likewise.
12210 (noinl-tester-ENV): Likewise.
12211 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12212 [$(cross-compiling) = no]: Don't set LANGUAGE.
12213 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12214 without explicit environment settings.
12216 2014-06-06 Roland McGrath <roland@hack.frob.com>
12218 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12219 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12220 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12221 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12223 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12225 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12226 other files in the crypt directory.
12227 * crypt/crypt.c: Remove duplicate includes.
12228 * crypt/crypt-entry.c: Likewise.
12229 * crypt/crypt_util.c: Likewise.
12231 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12233 * Makeconfig (run-program-env): New variable.
12234 (run-program-prefix-before-env): Likewise.
12235 (run-program-prefix-after-env): Likewise.
12236 (run-program-prefix): Define in terms of new variables.
12237 (built-program-cmd-before-env): New variable.
12238 (built-program-cmd-after-env): Likewise.
12239 (built-program-cmd): Define in terms of new variables.
12240 (test-program-prefix-before-env): New variable.
12241 (test-program-prefix-after-env): Likewise.
12242 (test-program-prefix): Define in terms of new variables.
12243 (test-program-cmd-before-env): New variable.
12244 (test-program-cmd-after-env): Likewise.
12245 (test-program-cmd): Define in terms of new variables.
12246 * Rules (make-test-out): Use $(run-program-env).
12247 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12248 (help): Do not mention environment variables. Mention
12249 --timeoutfactor option.
12250 (timeoutfactor): New variable.
12251 (blacklist_exports): Remove function.
12252 (exports): Remove variable.
12253 (command): Do not include ${exports}.
12254 * manual/install.texi (Configuring and compiling): Do not mention
12255 test wrappers preserving environment variables. Mention that last
12256 assignment to a variable must take precedence.
12257 * INSTALL: Regenerated.
12258 * benchtests/Makefile (run-bench): Use $(run-program-env).
12259 * catgets/Makefile ($(objpfx)test1.cat): Use
12260 $(built-program-cmd-before-env), $(run-program-env) and
12261 $(built-program-cmd-after-env).
12262 ($(objpfx)test2.cat): Do not specify environment variables
12264 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12265 $(run-program-env) and $(built-program-cmd-after-env).
12266 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12267 $(run-program-env) and $(test-program-cmd-after-env).
12268 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12270 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12271 run_program_env and test_program_cmd_after_env arguments.
12272 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12273 * elf/tst-pathopt.sh: Use run_program_env argument.
12274 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12275 $(test-wrapper-env) and $(run-program-env).
12276 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12277 run_program_env arguments.
12278 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12279 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12280 $(test-program-prefix-before-env), $(run-program-env) and
12281 $(test-program-prefix-after-env).
12282 ($(objpfx)tst-gettext2.out): Likewise.
12283 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12284 run_program_env and test_program_prefix_after_env arguments.
12285 * intl/tst-gettext2.sh: Likewise.
12286 * intl/tst-gettext4.sh: Do not set environment variables
12288 * intl/tst-gettext6.sh: Likewise.
12289 * intl/tst-translit.sh: Likewise.
12290 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12291 $(test-program-prefix-before-env), $(run-program-env) and
12292 $(test-program-prefix-after-env).
12293 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12294 run_program_env and test_program_prefix_after_env arguments.
12295 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12296 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12297 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12298 explicitly with each use of ${test_wrapper_env}.
12299 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12300 $(test-program-prefix-before-env), $(run-program-env) and
12301 $(test-program-prefix-after-env).
12302 * posix/tst-getconf.sh: Do not set environment variables
12304 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12305 run_program_env and test_program_prefix_after_env arguments.
12306 * stdio-common/tst-printf.sh: Do not set environment variables
12308 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12309 $(test-program-prefix-before-env), $(run-program-env) and
12310 $(test-program-prefix-after-env).
12311 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12312 run_program_env and test_program_prefix_after_env arguments.
12313 Split $test calls into $test_pre and $test.
12314 * timezone/Makefile (build-testdata): Use
12315 $(built-program-cmd-before-env), $(run-program-env) and
12316 $(built-program-cmd-after-env).
12318 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12320 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12321 strlen for non SHARED builds.
12323 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12325 * nptl/allocatestack.c (check_list): Inlined function...
12326 (__reclaim_stacks): ... here.
12328 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12331 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12334 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12336 * Rules (make-test-out): Include
12337 LOCPATH=$(common-objpfx)localedata in default environment.
12338 * debug/Makefile (tst-chk1-ENV): Remove variable.
12339 (tst-chk2-ENV): Likewise.
12340 (tst-chk3-ENV): Likewise.
12341 (tst-chk4-ENV): Likewise.
12342 (tst-chk5-ENV): Likewise.
12343 (tst-chk6-ENV): Likewise.
12344 (tst-lfschk1-ENV): Likewise.
12345 (tst-lfschk2-ENV): Likewise.
12346 (tst-lfschk3-ENV): Likewise.
12347 (tst-lfschk4-ENV): Likewise.
12348 (tst-lfschk5-ENV): Likewise.
12349 (tst-lfschk6-ENV): Likewise.
12350 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12351 (tst-iconv7-ENV): Likewise.
12352 * intl/Makefile (LOCPATH-ENV): Likewise.
12353 (tst-codeset-ENV): Likewise.
12354 (tst-gettext3-ENV): Likewise.
12355 (tst-gettext5-ENV): Likewise.
12356 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12357 (tst-fopenloc-ENV): Likewise.
12358 (tst-fgetws-ENV): Remove variable.
12359 (tst-ungetwc1-ENV): Likewise.
12360 (tst-ungetwc2-ENV): Likewise.
12361 (bug-ungetwc2-ENV): Likewise.
12362 (tst-swscanf-ENV): Likewise.
12363 (bug-ftell-ENV): Likewise.
12364 (tst-fgetwc-ENV): Likewise.
12365 (tst-fseek-ENV): Likewise.
12366 (tst-ftell-partial-wide-ENV): Likewise.
12367 (tst-ftell-active-handler-ENV): Likewise.
12368 (tst-ftell-append-ENV): Likewise.
12369 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12370 (tst-regexloc-ENV): Likewise.
12371 (bug-regex1-ENV): Likewise.
12372 (tst-regex-ENV): Likewise.
12373 (tst-regex2-ENV): Likewise.
12374 (bug-regex5-ENV): Likewise.
12375 (bug-regex6-ENV): Likewise.
12376 (bug-regex17-ENV): Likewise.
12377 (bug-regex18-ENV): Likewise.
12378 (bug-regex19-ENV): Likewise.
12379 (bug-regex20-ENV): Likewise.
12380 (bug-regex22-ENV): Likewise.
12381 (bug-regex23-ENV): Likewise.
12382 (bug-regex25-ENV): Likewise.
12383 (bug-regex26-ENV): Likewise.
12384 (bug-regex30-ENV): Likewise.
12385 (bug-regex32-ENV): Likewise.
12386 (bug-regex33-ENV): Likewise.
12387 (bug-regex34-ENV): Likewise.
12388 (bug-regex35-ENV): Likewise.
12389 (tst-rxspencer-ENV): Likewise.
12390 (tst-rxspencer-no-utf8-ENV): Likewise.
12391 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12392 (tst-sscanf-ENV): Likewise.
12393 (tst-swprintf-ENV): Likewise.
12394 (tst-swscanf-ENV): Likewise.
12395 (test-vfprintf-ENV): Likewise.
12396 (scanf13-ENV): Likewise.
12397 (bug14-ENV): Likewise.
12398 (tst-grouping-ENV): Likewise.
12399 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12400 (tst-strtod3-ENV): Likewise.
12401 (tst-strtod4-ENV): Likewise.
12402 (tst-strtod5-ENV): Likewise.
12403 (testmb2-ENV): Likewise./
12404 * string/Makefile (tst-strxfrm-ENV): Likewise.
12405 (tst-strxfrm2-ENV): Likewise.
12406 (bug-strcoll1-ENV): Likewise.
12407 (test-strcasecmp-ENV): Likewise.
12408 (test-strncasecmp-ENV): Likewise.
12409 * time/Makefile (tst-strptime-ENV): Likewise.
12410 (tst-ftime_l-ENV): Likewise.
12411 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12412 (tst-mbrtowc-ENV): Likewise.
12413 (tst-wcrtomb-ENV): Likewise.
12414 (tst-mbrtowc2-ENV): Likewise.
12415 (tst-c16c32-1-ENV): Likewise.
12416 (tst-mbsnrtowcs-ENV): Likewise.
12418 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12420 * manual/resource.texi (How to get information about the memory
12421 subsystem?): Fix typo.
12422 Reported by Peon de la Parra Ivan <peon@keba.com>
12424 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12427 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12428 (pthread_spin_lock): Branch out of spin loop to proper location.
12429 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12430 (pthread_spin_lock): Likewise.
12432 * nptl/tst-spin4.c: New test.
12433 * nptl/Makefile (tests): Add tst-spin4.
12435 2014-06-03 Andreas Schwab <schwab@suse.de>
12438 * resolv/res_send.c (send_dg): Reload file descriptor after
12441 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12443 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12445 2014-06-03 Richard Henderson <rth@redhat.com>
12447 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12448 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12449 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12450 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12451 in the SAVE_PID block.
12452 (__libc_vfork): New alias.
12453 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12455 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12456 child in registers, not on the stack. Remove RESET_PID conditionals.
12457 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12459 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12461 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12463 2014-06-03 Wilco <wdijkstr@arm.com>
12465 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12466 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12467 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12468 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12469 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12472 2014-06-03 Wilco <wdijkstr@arm.com>
12474 * sysdeps/aarch64/fpu/math_private.h
12475 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12476 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12477 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12478 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12481 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12483 * crypt/crypt-private.h: Include ufc-crypt.h.
12484 (__b64_from_24bit): Declare extern.
12485 * crypt/crypt_util.c(__b64_from_24bit): New function.
12486 (b64t): New static const variable.
12487 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12488 (b64t): Remove variable.
12489 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12490 * crypt/sha256-crypt.c: Include crypt-private.h.
12491 (b64t): Remove variable.
12492 (__sha256_crypt_r): Remove b64_from_24bit and replace
12493 with __b64_from_24bit.
12494 * crypt/sha512-crypt.c: Likewise.
12496 2014-06-02 Roland McGrath <roland@hack.frob.com>
12498 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12499 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12500 Label the code __libc_vfork rather than __vfork.
12501 [!NOT_IN_libc] (vfork): Define as weak alias.
12502 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12503 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12504 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12506 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12508 * malloc/malloc.c (malloc_info): Fix format specifier for
12511 2014-06-02 Wilco <wdijkstr@arm.com>
12513 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12516 2014-06-02 Wilco <wdijkstr@arm.com>
12519 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12520 Rewrite to reduce FPCR/FPSR accesses.
12522 2014-06-01 David S. Miller <davem@davemloft.net>
12524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12526 2014-05-31 David S. Miller <davem@davemloft.net>
12528 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12529 to occur in round to nearest mode when |x| >= 2.0
12531 2014-05-30 Richard Henderson <rth@twiddle.net>
12533 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12534 (PSEUDO_RET_NOERRNO): Remove.
12535 (ret): Don't redefine.
12536 (ret_NOERRNO): Define in terms of ret.
12537 (ret_ERRVAL): Likewise.
12539 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12540 use of PSEUDO_RET; perform the error check directly.
12542 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12544 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12547 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12549 * malloc/malloc (malloc_info): Fix formatting.
12551 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12552 Roland McGrath <roland@hack.frob.com>
12554 * malloc/malloc (malloc_info): Also print mmapped statistics.
12556 2014-05-30 Roland McGrath <roland@hack.frob.com>
12558 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12559 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12561 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12563 * malloc/malloc.c (malloc_info): Inline mi_arena.
12565 2014-05-29 Richard Henderson <rth@twiddle.net>
12567 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12568 Remove comma before expanding ASM_ARGS_##nr.
12569 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12570 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12572 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12573 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12574 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12575 (ASM_ARGS_1): Add leading comma.
12577 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12578 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12579 to __errno_location.
12580 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12581 Remove the expected plt for __errno_location.
12583 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12584 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12587 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12588 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12589 it and break it down.
12590 (DOCARGS_0, DOCARGS_1): Do nothing.
12591 (DOCARGS_2): Update to store into the new stack frame.
12592 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12593 (UNDOCARGS_1): Update to restore from the new stack frame.
12594 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12595 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12597 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12598 (SINGLE_THREAD_P): New parameter for result regno.
12599 (PSEUDO): Update to match; use cbz instead of beq.
12601 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12602 Use ENTRY to define the _nocancel entry point. Share the syscall
12603 and syscall error check paths with the cancel path.
12606 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12607 whitespace; tabs before and after asm mnemonics.
12609 2014-05-29 Eric Wong <normalperson@yhbt.net>
12612 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12613 Call fstat64 or stat64 internally, depending on arguments passed.
12614 Replace stat buffer argument with file descriptor argument.
12615 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12616 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12617 Pass fd to __internal_statvfs instead of calling fstat64.
12618 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12619 Pass fd to __internal_statvfs64 instead of calling fstat64.
12620 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12621 Pass -1 to __internal_statvfs instead of calling stat64.
12622 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12623 Pass -1 to __internal_statvfs64 instead of calling stat64.
12625 2014-05-28 Roland McGrath <roland@hack.frob.com>
12627 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12628 that was previously under [RESET_PID].
12629 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12631 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12632 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12634 2014-05-27 Roland McGrath <roland@hack.frob.com>
12636 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12638 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12639 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12641 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12643 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12645 2014-05-27 Andreas Schwab <schwab@suse.de>
12647 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12649 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12650 * elf/rtld.c (init_tls, dl_main): Likewise.
12651 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12652 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12653 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12654 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12655 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12656 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12657 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12658 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12659 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12660 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12661 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12662 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12663 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12664 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12665 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12666 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12667 * sysdeps/generic/tls.h: Update description.
12669 2014-05-27 Will Newton <will.newton@linaro.org>
12672 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12673 and restore r2 rather than just restoring.
12675 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12678 * libio/tst-ftell-append.c: New test case.
12679 * libio/Makefile (tests): Add test case.
12680 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12682 * libio/wfileops.c (do_ftell_wide): Likewise.
12684 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12688 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12692 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12693 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12694 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12695 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12696 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12697 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12698 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12701 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12704 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12705 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12706 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12707 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12708 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12710 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12711 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12713 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12715 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12717 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12718 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12719 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12721 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12722 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12723 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12724 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12726 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12729 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12732 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12735 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12739 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12742 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12747 conditional [RESET_PID].
12748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12749 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12751 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12756 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12757 (__libc_vfork): New strong alias.
12758 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12760 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12765 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12766 (__libc_vfork): New strong alias.
12767 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12769 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12772 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12774 * malloc/malloc.c (mi_arena): New function.
12775 (malloc_info): Remove nested function mi_arena. Call non-nosted
12778 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12780 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12782 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12783 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12784 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12785 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12786 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12787 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12788 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12790 2014-05-26 Andreas Schwab <schwab@suse.de>
12793 * locale/programs/repertoire.c (repertoire_read): Add slash
12794 between I18NPATH element and file name.
12795 * locale/programs/locfile.c (locfile_read): Likewise.
12797 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12799 * nptl/pthread_mutexattr_settype.c
12800 (__pthread_mutexattr_settype):
12801 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12803 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12805 * nptl/tst-mutex5 (do_test):
12806 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12808 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12810 * benchtests/README: Document 'init' directive.
12811 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12813 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12814 (parse_file): Recognize 'init' directive.
12816 2014-05-26 Kyle McMartin <kyle@redhat.com>
12819 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12820 alignment of struct pthread.
12822 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12825 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12826 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12827 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12828 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12830 2014-05-25 Richard Henderson <rth@twiddle.net>
12832 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12833 (SINGLE_THREAD_P_PIC): Remove.
12834 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12835 (SINGLE_THREAD_P_PIC): Remove.
12837 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12838 branch to syscall error ...
12839 (PSEUDO): ... here.
12840 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12841 from __local_syscall_error to .Lsyscall_error.
12842 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12843 (SYSCALL_ERROR): Update label name.
12845 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12846 Do not use DOARGS/UNDOARGS.
12847 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12848 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12849 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12850 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12851 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12853 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12856 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12857 define if !NOT_IN_libc.
12858 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12859 define with non-default symbol versions.
12861 2014-05-23 Richard Henderson <rth@twiddle.net>
12863 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12864 (vfork, __vfork): Define via compat_symbol.
12866 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12867 [!HAVE_IFUNC] (vfork_compat): Remove.
12868 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12870 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12873 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12874 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12877 2014-05-23 Richard Henderson <rth@twiddle.net>
12879 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12880 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12881 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12882 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12884 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12885 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12886 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12887 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12888 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12889 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12890 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12891 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12892 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12893 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12894 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12895 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12896 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12897 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12898 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12899 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12900 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12901 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12902 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12903 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12904 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12905 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12906 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12907 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12909 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12910 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12911 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12912 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12913 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12914 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12915 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12916 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12917 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12918 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12919 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12920 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12921 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12922 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12923 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12924 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12925 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12926 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12927 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12928 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12929 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12930 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12931 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12932 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12933 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12934 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12935 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12936 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12937 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12938 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12939 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12941 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12942 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12943 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
12944 before exiting on error.
12945 (__libc_vfork): New strong alias.
12946 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12947 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12949 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12950 that was previously under [RESET_PID].
12951 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12953 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12955 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12958 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12959 value when x - 1 is zero.
12960 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12961 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12962 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12963 0.0L for an argument of 1.0L.
12964 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12966 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12967 value when x - 1 is zero.
12968 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12969 * sysdeps/i386/fpu/libm-test-ulps: Update.
12970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12972 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
12974 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12975 alphasort and versionsort.
12977 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12979 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12981 [copysignf]: Likewise.
12983 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12985 * crypt/md5-crypt.c: Fix formatting.
12987 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12989 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12990 (b64_from_24bit): New function.
12992 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12994 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12995 libc_hidden_builtin_def to ifunc.
12996 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12997 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12999 2014-05-21 Roland McGrath <roland@hack.frob.com>
13001 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13002 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13004 2014-05-21 Joseph Myers <joseph@codesourcery.com>
13006 * nscd/Depend (linuxthreads): Remove.
13008 * resolv/Depend (linuxthreads): Remove.
13009 * rt/Depend (linuxthreads): Remove.
13011 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13012 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13013 $(common-objpfx)elf/.
13014 (link-libc-before-gnulib): Likewise.
13015 (elfobjdir): Remove variable.
13016 * Makefile (install): Use $(elf-objpfx) instead of
13017 $(common-objpfx)elf/.
13018 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13020 (link-libc-deps): Likewise.
13021 ($(common-objpfx)libc.so): Likewise.
13022 ($(common-objpfx)linkobj/libc.so): Likewise.
13023 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13024 instead of $(common-objpfx)elf/.
13025 (symbolic-link-list): Likewise.
13026 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13027 [$(cross-compiling) = no]: Likewise.
13028 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13030 (static-gnulib-arch): Likewise.
13031 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13032 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13033 $(common-objpfx)elf/.
13035 2014-05-21 Richard Henderson <rth@redhat.com>
13037 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13038 (SINGLE_THREAD_P): Use the correct width load. Fold
13039 into the ldr offset.
13041 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13042 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13044 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13046 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13047 (libgcc_s_resume): Use __attribute_used__.
13048 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13051 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13053 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13054 optimization when used with float constants.
13056 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13058 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13061 * locale/nl_langinfo_l.c: Make direct reference to every
13062 _nl_current_CATEGORY symbol.
13063 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13064 (tests-static): Add tst-langinfo-static.
13065 (tests-special): Add tst-langinfo-static.out.
13066 ($(objpfx)tst-langinfo.out): Redirect output.
13067 ($(objpfx)tst-langinfo-static.out): New.
13068 * localedata/tst-langinfo.sh: Send output to stdout.
13069 * localedata/tst-langinfo-static.c: New file.
13072 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13073 when the shift amount is modulo the limb size.
13075 2014-05-20 Richard Henderson <rth@redhat.com>
13078 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13079 Change type of sa_flags from unsigned int to int.
13082 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13084 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13086 2014-05-20 Will Newton <will.newton@linaro.org>
13088 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13089 Test the return value of the system call in the nocancel case.
13091 2014-05-20 Will Newton <will.newton@linaro.org>
13092 Yvan Roux <yvan.roux@linaro.org>
13094 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13095 #include of asm/ptrace.h.
13096 (PTRACE_GET_THREAD_AREA): Remove #undef.
13097 (PTRACE_GETHBPREGS): Likewise.
13098 (PTRACE_SETHBPREGS): Likewise.
13099 (struct user_regs_struct): New structure.
13100 (struct user_fpsimd_struct): New structure.
13101 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13102 #include of asm/ptrace.h and second #include of sys/user.h.
13103 (PTRACE_GET_THREAD_AREA): Remove #undef.
13104 (PTRACE_GETHBPREGS): Likewise.
13105 (PTRACE_SETHBPREGS): Likewise.
13106 (ELF_NGREG): Use new struct user_regs_struct.
13107 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13109 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13111 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13112 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13114 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13117 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13118 membar to avoid block loads/stores to overlap previous stores.
13120 2014-05-17 Richard Henderson <rth@redhat.com>
13122 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13123 Create the __##syscall_name##_nocancel entry point.
13124 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13125 Remove; let the sysdep-cancel.h code create it.
13127 2014-05-17 David S. Miller <davem@davemloft.net>
13129 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13130 Protect with __USE_GNU.
13131 (TIOCSET_TEMPT): Likewise.
13132 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13133 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13134 these are already provided in bits/ioctl-types.h
13136 2014-05-16 Roland McGrath <roland@hack.frob.com>
13138 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13139 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13141 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13142 Use wait4 regardless of [__NR_waitpid].
13144 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13147 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13148 (_FP_NANSIGN_Q): Set the quiet bit.
13150 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13152 * benchtests/Makefile
13153 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13154 not $(common-objpfx)math/libm.so.
13155 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13156 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13157 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13158 $(common-objpfx)dlfcn/libdl.so.
13159 ($(objpfx)tst-audit8): Depend on $(libm), not
13160 $(common-objpfx)math/libm.so.
13161 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13162 not $(common-objpfx)dlfcn/libdl.so.
13164 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13165 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13166 [$(build-shared) = yes].
13167 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13168 $(common-objpfx)nptl/libpthread.so.
13169 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13170 $(common-objpfx)math/libm.so$(libm.so-version) or
13171 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13172 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13173 $(common-objpfx)dlfcn/libdl.so.
13174 * setjmp/Makefile (link-libm): Remove variable.
13175 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13176 * stdio-common/Makefile (link-libm): Remove variable.
13177 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13178 * stdlib/Makefile (link-libm): Remove variable.
13179 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13180 ($(objpfx)tst-strtod-round): Likewise.
13181 ($(objpfx)tst-tininess): Likewise.
13182 ($(objpfx)tst-strtod-underflow): Likewise.
13183 ($(objpfx)tst-strtod6): Likewise.
13184 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13185 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13186 $(common-objpfx)dlfcn/libdl.so.
13188 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13191 BSD terminal modes definitions.
13193 2014-05-16 Roland McGrath <roland@hack.frob.com>
13195 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13196 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13198 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13199 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13200 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13201 Don't do #include_next.
13202 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13203 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13204 Don't do #include_next.
13205 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13206 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13207 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13208 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13210 2014-05-16 Allan McRae <allan@archlinux.org>
13212 * po/sv.po: Update Swedish translation from translation project.
13214 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13217 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13220 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13221 errno if the TIOCGPTN ioctl fails with an error different than
13223 * login/tst-ptsname.c: New file.
13224 * login/Makefile (tests): Add tst-ptsname.
13227 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13230 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13234 herrno to return EAI_AGAIN.
13236 2014-05-14 Roland McGrath <roland@hack.frob.com>
13238 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13239 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13240 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13241 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13242 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13243 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13244 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13245 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13246 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13247 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13248 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13249 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13250 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13251 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13252 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13253 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13254 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13255 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13256 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13257 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13258 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13259 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13260 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13261 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13262 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13263 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13264 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13265 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13266 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13267 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13268 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13269 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13271 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13272 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13274 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13276 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13277 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13278 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13280 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13281 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13282 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13284 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13286 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13288 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13290 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13292 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13294 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13296 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13297 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13298 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13299 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13300 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13303 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13304 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13305 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13306 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13307 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13308 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13309 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13311 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13312 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13313 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13314 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13315 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13316 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13317 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13318 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13319 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13321 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13322 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13324 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13326 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13328 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13329 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13330 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13331 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13332 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13333 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13334 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13335 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13336 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13337 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13338 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13339 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13340 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13341 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13342 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13343 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13344 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13345 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13346 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13347 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13348 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13349 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13350 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13351 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13352 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13353 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13354 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13355 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13356 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13357 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13358 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13360 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13361 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13363 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13364 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13365 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13366 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13367 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13368 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13370 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13371 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13373 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13374 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13376 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13377 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13379 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13380 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13381 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13382 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13384 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13385 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13386 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13387 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13388 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13390 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13391 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13393 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13394 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13396 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13398 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13399 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13400 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13401 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13402 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13404 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13406 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13408 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13409 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13410 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13411 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13412 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13413 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13415 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13416 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13418 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13419 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13421 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13422 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13424 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13425 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13426 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13427 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13429 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13430 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13431 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13432 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13433 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13434 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13435 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13436 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13438 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13439 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13441 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13443 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13444 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13445 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13446 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13447 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13449 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13451 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13453 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13454 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13455 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13456 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13457 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13458 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13459 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13460 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13461 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13462 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13464 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13465 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13467 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13468 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13470 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13471 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13473 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13474 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13475 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13476 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13477 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13478 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13480 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13481 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13482 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13483 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13484 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13485 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13486 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13487 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13489 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13490 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13492 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13494 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13495 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13496 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13497 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13498 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13500 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13502 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13504 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13505 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13506 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13507 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13508 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13509 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13510 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13511 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13512 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13513 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13514 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13516 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13517 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13519 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13520 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13522 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13523 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13524 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13525 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13526 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13527 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13528 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13529 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13530 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13531 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13532 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13533 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13534 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13535 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13536 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13537 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13538 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13539 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13541 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13542 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13543 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13544 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13546 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13547 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13548 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13549 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13550 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13551 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13552 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13553 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13555 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13556 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13558 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13559 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13560 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13561 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13562 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13563 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13564 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13565 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13566 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13567 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13568 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13569 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13570 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13571 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13572 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13573 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13574 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13576 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13577 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13578 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13579 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13580 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13582 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13583 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13584 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13585 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13586 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13587 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13588 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13589 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13590 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13591 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13593 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13594 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13596 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13597 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13598 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13599 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13600 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13601 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13602 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13603 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13604 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13605 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13606 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13607 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13608 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13609 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13610 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13612 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13614 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13616 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13618 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13630 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13631 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13632 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13633 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13634 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13635 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13636 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13637 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13638 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13639 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13640 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13641 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13642 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13643 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13644 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13646 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13647 that was previously under [RESET_PID].
13648 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13649 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13650 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13652 * sysdeps/i386/nptl/Implies: New file.
13653 * sysdeps/x86_64/nptl/Implies: New file.
13654 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13655 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13656 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13657 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13659 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13660 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13661 (__libc_vfork): New strong alias.
13662 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13663 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13665 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13666 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13667 (__libc_vfork): New strong alias.
13668 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13669 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13671 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13672 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13673 (__libc_vfork): New strong alias.
13674 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13675 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13676 * nptl/pt-vfork.c: New file.
13677 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13678 (libpthread: GLIBC_2.20): New version set (empty).
13680 2014-05-14 Will Newton <will.newton@linaro.org>
13682 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13685 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13688 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13689 arguments with exponent 65 or above.
13690 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13691 arguments 0x1p113L or above.
13692 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13693 to arguments 0x1p107L or above.
13694 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13695 positive arguments with exponent 65 or above.
13696 * math/auto-libm-test-in: Add more tests of log1p.
13697 * math/auto-libm-test-out: Regenerated.
13700 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13701 non-finite arguments is +0.
13702 * math/s_cacosf.c (__cacosf): Likewise.
13703 * math/s_cacosl.c (__cacosl): Likewise.
13704 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13705 * sysdeps/i386/fpu/libm-test-ulps: Update.
13706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13709 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13711 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13712 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13713 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13714 for explicit high bit of mantissa when testing for argument equal
13716 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13717 * sysdeps/i386/fpu/libm-test-ulps: Update.
13718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13721 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13722 (__erf): Scale by 16 instead of 8 in potentially underflowing
13723 case. Ensure exception if result actually underflows.
13724 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13725 (__erff): Scale by 16 instead of 8 in potentially underflowing
13726 case. Ensure exception if result actually underflows.
13727 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13728 (efx8): Remove variable.
13729 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13730 case. Ensure exception if result actually underflows.
13731 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13732 (efx8): Remove variable.
13733 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13734 case. Ensure exception if result actually underflows.
13735 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13736 (efx8): Remove variable.
13737 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13738 case. Ensure exception if result actually underflows.
13739 * math/auto-libm-test-in: Add more tests of erf.
13740 * math/auto-libm-test-out: Regenerated.
13742 2014-05-14 Andreas Schwab <schwab@suse.de>
13744 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13745 Remove code conditionalized on USE___THREAD.
13747 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13748 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13751 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13753 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13754 Define unconditionally.
13755 (__ASSUME_O_CLOEXEC): Likewise.
13756 (__ASSUME_SOCK_CLOEXEC): Likewise.
13757 (__ASSUME_IN_NONBLOCK): Likewise.
13758 (__ASSUME_PIPE2): Likewise.
13759 (__ASSUME_EVENTFD2): Likewise.
13760 (__ASSUME_SIGNALFD4): Likewise.
13761 (__ASSUME_DUP3): Likewise.
13762 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13763 (__ASSUME_DUP3): Do not define.
13764 (__ASSUME_EVENTFD2): Likewise.
13765 (__ASSUME_IN_NONBLOCK): Likewise.
13766 (__ASSUME_O_CLOEXEC): Likewise.
13767 (__ASSUME_PIPE2): Likewise.
13768 (__ASSUME_SIGNALFD4): Likewise.
13769 (__ASSUME_SOCK_CLOEXEC): Likewise.
13770 (__ASSUME_UTIMES): Undefine.
13771 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13772 (__ASSUME_UTIMES): Do not define.
13773 (__ASSUME_O_CLOEXEC): Likewise.
13774 (__ASSUME_SOCK_CLOEXEC): Likewise.
13775 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13776 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13778 (__ASSUME_PIPE2): Likewise.
13779 (__ASSUME_EVENTFD2): Likewise.
13780 (__ASSUME_SIGNALFD4): Likewise.
13781 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13782 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13784 (__ASSUME_EVENTFD2): Likewise.
13785 (__ASSUME_SIGNALFD4): Likewise.
13786 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13787 (__ASSUME_32BITUIDS): Likewise.
13788 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13789 (__ASSUME_IPC64): Likewise.
13790 (__ASSUME_ST_INO_64_BIT): Likewise.
13791 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13792 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13793 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13794 (__ASSUME_UTIMES): Do not define.
13795 (__ASSUME_PSELECT): Likewise.
13796 (__ASSUME_PPOLL): Likewise.
13797 (__ASSUME_O_CLOEXEC): Likewise.
13798 (__ASSUME_SOCK_CLOEXEC): Likewise.
13799 (__ASSUME_IN_NONBLOCK): Likewise.
13800 (__ASSUME_PIPE2): Likewise.
13801 (__ASSUME_EVENTFD2): Likewise.
13802 (__ASSUME_SIGNALFD4): Likewise.
13803 (__ASSUME_DUP3): Likewise.
13804 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13805 (__ASSUME_UTIMES): Likewise.
13806 (__ASSUME_O_CLOEXEC): Likewise.
13807 (__ASSUME_SOCK_CLOEXEC): Likewise.
13808 (__ASSUME_IN_NONBLOCK): Likewise.
13809 (__ASSUME_PIPE2): Likewise.
13810 (__ASSUME_EVENTFD2): Likewise.
13811 (__ASSUME_SIGNALFD4): Likewise.
13812 (__ASSUME_DUP3): Likewise.
13813 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13814 (__ASSUME_UTIMES): Likewise.
13815 (__ASSUME_O_CLOEXEC): Likewise.
13816 (__ASSUME_SOCK_CLOEXEC): Likewise.
13817 (__ASSUME_IN_NONBLOCK): Likewise.
13818 (__ASSUME_PIPE2): Likewise.
13819 (__ASSUME_EVENTFD2): Likewise.
13820 (__ASSUME_SIGNALFD4): Likewise.
13821 (__ASSUME_DUP3): Likewise.
13822 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13824 (__ASSUME_UTIMES): Likewise.
13825 (__ASSUME_EVENTFD2): Likewise.
13826 (__ASSUME_SIGNALFD4): Likewise.
13827 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13828 (__ASSUME_O_CLOEXEC): Likewise.
13829 (__ASSUME_SOCK_CLOEXEC): Likewise.
13830 (__ASSUME_IN_NONBLOCK): Likewise.
13831 (__ASSUME_PIPE2): Likewise.
13832 (__ASSUME_EVENTFD2): Likewise.
13833 (__ASSUME_SIGNALFD4): Likewise.
13834 (__ASSUME_DUP3): Likewise.
13835 (__ASSUME_UTIMES): Undefine.
13837 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13838 feclearexcept. Remove symbol versioning code.
13839 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13840 symbol versioning code.
13841 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13842 symbol versioning code.
13843 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13844 feupdateenv. Remove symbol versioning code.
13845 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13846 fegetexceptflag. Remove symbol versioning code.
13847 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13848 fesetexceptflag. Remove symbol versioning code.
13849 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13850 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13851 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13852 (__posix_fadvise64_l32): Remove prototype.
13853 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13856 2014-05-13 Roland McGrath <roland@hack.frob.com>
13858 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13859 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13860 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13861 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13863 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13865 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13866 current working directory
13868 2014-05-13 Roland McGrath <roland@hack.frob.com>
13870 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13871 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13872 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13873 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13874 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13875 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13876 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13877 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13878 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13879 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13880 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13881 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13882 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13883 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13884 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13885 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13886 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13887 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13888 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13889 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13890 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13891 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13892 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13893 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13894 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13895 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13896 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13897 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13898 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13899 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13900 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13901 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13902 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13903 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13904 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13905 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13906 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13907 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13908 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13909 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13910 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13911 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13913 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13914 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13916 * sysdeps/unix/sysv/linux/arm/Makefile
13917 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13918 Add rt-aeabi_unwind_cpp_pr1.
13919 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13920 Add nptl-aeabi_unwind_cpp_pr1.
13921 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13922 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13923 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13924 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13925 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13926 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13928 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13929 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13930 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13931 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13933 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13934 Deconditionalize the code that was previously under [RESET_PID].
13935 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13937 * sysdeps/generic/exit-thread.h: New file.
13938 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13939 * include/unistd.h (__exit_thread): Remove declaration.
13940 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13941 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13942 * csu/libc-start.c: Include <exit-thread.h>.
13943 (LIBC_START_MAIN): Pass no argument to __exit_thread.
13944 * nptl/pthread_create.c: Include <exit-thread.h>.
13945 (start_thread): Call __exit_thread in place of __exit_thread_inline.
13946 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13947 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13948 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13949 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13950 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13951 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13952 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13953 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13954 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13955 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13956 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13957 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13958 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13959 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13960 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13961 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13963 2014-05-13 Andreas Schwab <schwab@suse.de>
13965 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13967 2014-05-12 Joseph Myers <joseph@codesourcery.com>
13969 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13970 (__ASSUME_UTIMES): Do not condition on kernel version.
13971 (__ASSUME_PSELECT): Define unconditionally.
13972 (__ASSUME_PPOLL): Likewise.
13973 (__ASSUME_ATFCTS): Likewise.
13974 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13975 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13976 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13977 (__ASSUME_UTIMENSAT): Define unconditionally.
13978 (__ASSUME_PRIVATE_FUTEX): Likewise.
13979 (__ASSUME_FALLOCATE): Likewise.
13980 (__ASSUME_O_CLOEXEC): Likewise.
13981 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13982 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13983 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13984 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13985 (__ASSUME_IN_NONBLOCK): Likewise.
13986 (__ASSUME_PIPE2): Likewise.
13987 (__ASSUME_EVENTFD2): Likewise.
13988 (__ASSUME_SIGNALFD4): Likewise.
13989 (__ASSUME_DUP3): Likewise.
13990 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13991 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13992 (__ASSUME_AT_RANDOM): Likewise.
13993 (__ASSUME_PREADV): Likewise.
13994 (__ASSUME_PWRITEV): Likewise.
13995 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13996 (__ASSUME_F_GETOWN_EX): Define unconditionally.
13997 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13998 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13999 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14000 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14001 (__ASSUME_O_CLOEXEC): Define unconditionally.
14002 (__ASSUME_PSELECT): Do not undefine conditionally.
14003 (__ASSUME_PPOLL): Likewise.
14004 (__ASSUME_ATFCTS): Likewise.
14005 (__ASSUME_SET_ROBUST_LIST): Likewise.
14006 (__ASSUME_UTIMENSAT): Likewise.
14007 (__ASSUME_FDATASYNC): Define unconditionally.
14008 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14009 (__ASSUME_SIGFRAME_V2): Likewise.
14010 )__ASSUME_EVENTFD2): Likewise.
14011 (__ASSUME_SIGNALFD4): Likewise.
14012 (__ASSUME_PSELECT): Do not undefine conditionally.
14013 (__ASSUME_PPOLL): Likewise.
14014 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14015 (__ASSUME_PSELECT): Define unconditionally.
14016 (__ASSUME_PPOLL): Likewise.
14017 (__ASSUME_O_CLOEXEC): Likewise.
14018 (__ASSUME_SOCK_CLOEXEC): Likewise.
14019 (__ASSUME_IN_NONBLOCK): Likewise.
14020 (__ASSUME_PIPE2): Likewise.
14021 (__ASSUME_EVENTFD2): Likewise.
14022 (__ASSUME_SIGNALFD4): Likewise.
14023 (__ASSUME_DUP3): Likewise.
14024 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14025 (__ASSUME_O_CLOEXEC): Likewise.
14026 (__ASSUME_SOCK_CLOEXEC): Likewise.
14027 (__ASSUME_IN_NONBLOCK): Likewise.
14028 (__ASSUME_PIPE2): Likewise.
14029 (__ASSUME_EVENTFD2): Likewise.
14030 (__ASSUME_SIGNALFD4): Likewise.
14031 (__ASSUME_DUP3): Likewise.
14032 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14033 (__ASSUME_EVENTFD2): Likewise.
14034 (__ASSUME_SIGNALFD4): Likewise.
14035 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14037 2014-05-12 Andreas Schwab <schwab@suse.de>
14040 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14041 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14042 than maximum RPC packet size.
14043 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14044 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14045 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14046 (_nss_nis_getservbyport_r): Likewise.
14048 2014-05-12 Will Newton <will.newton@linaro.org>
14050 * malloc/Makefile (tests): Add tst-mallopt.
14051 * malloc/tst-mallopt.c: New file.
14053 2014-05-09 Roland McGrath <roland@hack.frob.com>
14055 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14056 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14058 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14060 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14061 (tst-tlsmod6.so): Likewise.
14063 2014-05-09 Roland McGrath <roland@hack.frob.com>
14065 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14067 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14070 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14071 and <dl-procinfo.h>.
14072 (__fegetenv): Save SSE state in envp->__eip if supported.
14073 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14074 envp->__eip if supported.
14075 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14076 and <dl-procinfo.h>.
14077 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14078 __data_offset and __data_selector in environment to 0. Set SSE
14079 state if supported.
14080 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14082 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14084 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14086 2014-05-09 Will Newton <will.newton@linaro.org>
14088 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14089 and libc_relro_required for ARM.
14090 * sysdeps/arm/preconfigure: Regenerate.
14092 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14093 Stefan Liebler <stli@linux.vnet.ibm.com>
14095 * config.make.in (enable-lock-elision): New Makefile variable.
14096 * configure.ac: Likewise.
14097 * configure: Regenerate.
14098 * sysdeps/s390/configure.ac:
14099 Add check for gcc transactions support.
14100 * sysdeps/s390/configure: Regenerate.
14101 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14102 Build elision files if enabled.
14103 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14104 Add lock elision support for s390.
14105 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14106 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14107 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14108 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14109 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14110 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14111 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14113 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14115 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14117 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14119 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14120 (__lll_timedlock_elision, __lll_lock_elision)
14121 (__lll_unlock_elision, __lll_trylock_elision)
14122 (lll_timedlock_elision, lll_lock_elision)
14123 (lll_unlock_elision, lll_trylock_elision): Add.
14124 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14125 (pthread_mutex_t): Add lock elision support for s390.
14127 2014-05-14 Wilco <wdijkstr@arm.com>
14129 * sysdeps/arm/fclrexcpt.c: Cleanup.
14130 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14131 * sysdeps/arm/feenablxcpt.c: Cleanup.
14132 * sysdeps/arm/fegetenv.c: Cleanup.
14133 * sysdeps/arm/fegetexcept.c: Cleanup.
14134 * sysdeps/arm/fegetround.c: Cleanup.
14135 * sysdeps/arm/feholdexcpt.c: Cleanup.
14136 * sysdeps/arm/fesetenv.c: Cleanup.
14137 * sysdeps/arm/fesetround.c: Cleanup.
14138 * sysdeps/arm/feupdateenv.c: Cleanup.
14139 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14140 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14141 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14142 * sysdeps/arm/ftestexcept.c: Cleanup.
14143 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14144 * sysdeps/arm/setfpucw.c: Cleanup.
14146 2014-05-09 Will Newton <will.newton@linaro.org>
14148 * sysdeps/arm/armv7/strcmp.S: New file.
14149 * NEWS: Mention addition of ARMv7 optimized strcmp.
14151 2014-05-08 Roland McGrath <roland@hack.frob.com>
14153 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14154 look for %.ac rather than %.in.
14156 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14157 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14158 * sysdeps/mach/hurd/configure: Regenerated.
14159 * sysdeps/unix/sysv/linux/configure: Regenerated.
14161 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14163 2014-05-07 Steve Ellcey <sellcey@mips.com>
14166 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14170 2014-05-07 Andreas Schwab <schwab@suse.de>
14172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14173 when skipping over non-matching result from nscd.
14175 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14178 * nptl/sockperf.c (client): Check socket return value.
14181 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14182 nscd security class.
14184 2014-05-06 Roland McGrath <roland@hack.frob.com>
14186 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14187 * sysdeps/arm/unwind.h: ... here.
14189 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14192 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14195 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14197 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14198 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14199 multiarch strncpy for PPC64.
14200 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14201 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14202 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14203 multiarch optimizations.
14204 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14205 (__libc_ifunc_impl_list): Likewise.
14206 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14207 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14208 multiarch stpncpy for PPC64.
14209 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14210 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14212 2014-05-06 Andreas Schwab <schwab@suse.de>
14215 * gmon/mcount.c (_MCOUNT_DECL): Use
14216 atomic_compare_and_exchange_bool_acq instead of
14217 catomic_compare_and_exchange_bool_acq.
14219 2014-05-05 Roland McGrath <roland@hack.frob.com>
14221 * elf/Makefile (others, install-bin): Remove pldd.
14222 (pldd-modules): Variable removed.
14223 ($(objpfx)pldd): Target removed.
14224 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14225 (others, install-bin): Append pldd here.
14226 ($(objpfx)pldd): New target.
14228 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14229 to 0, so the first #if test emitted later doesn't see it undefined.
14230 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14231 * sysdeps/gnu/errlist.c: Regenerated.
14233 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14235 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14236 [libc_hidden_builtin_def]: Define to empty value.
14237 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14238 [libc_hidden_builtin_def]: Likewise.
14239 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14240 [libc_hidden_builtin_def]: Likewise.
14241 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14242 [libc_hidden_builtin_def]: Likewise.
14243 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14244 __redirect_memcpy and define ifunc as default hidden symbol.
14245 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14246 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14248 2014-05-04 Adam Conrad <adconrad@0c3.net>
14250 * locale/iso-4217.def: Reintroduce XDR currency.
14252 2014-05-04 Allan McRae <allan@archlinux.org>
14254 * po/eo.po: Update Esperanto translation from translation project.
14256 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14258 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14259 and FEATURE_INDEX_MAX to 1.
14260 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14262 2014-05-01 Steve Ellcey <sellcey@mips.com>
14264 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14265 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14266 * iconvdata/big5.c (ONE_DIRECTION): Define.
14267 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14268 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14269 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14270 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14271 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14272 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14273 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14274 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14275 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14276 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14277 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14278 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14279 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14280 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14281 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14282 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14283 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14284 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14285 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14286 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14287 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14288 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14289 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14290 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14291 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14292 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14293 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14294 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14295 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14296 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14297 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14298 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14299 * iconvdata/johab.c (ONE_DIRECTION): Define.
14300 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14301 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14302 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14303 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14304 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14305 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14306 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14307 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14308 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14309 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14311 2014-05-01 Roland McGrath <roland@hack.frob.com>
14313 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14314 (_IO_JUMPS_OFFSET): Define to 0.
14316 * nptl/sysdeps/pthread/bits/libc-lock.h
14317 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14318 (__libc_lock_define_initialized_recursive): Always define using
14319 initializer. Modern compilers treat uninitialized (implicit zero) and
14320 explicit zero initializers the same (i.e. put the datum in bss).
14322 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14324 * nscd/nscd-client.h: Include <string.h>.
14326 2014-05-01 David S. Miller <davem@davemloft.net>
14329 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14330 multiple zero bytes exist at the end of a string.
14331 Reported by Aurelien Jarno <aurelien@aurel32.net>
14333 * string/test-strcmp.c (check): Add explicit test for situations where
14334 there are multiple zero bytes after the first.
14336 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14339 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14340 when compiling wprintf.
14341 * stdio-common/tstdiomisc.c (t3): New function.
14344 2014-05-01 Steve Ellcey <sellcey@mips.com>
14346 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14347 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14348 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14349 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14351 2014-05-01 Steve Ellcey <sellcey@mips.com>
14353 * stdlib/longlong.h: Updated from GCC.
14355 2014-05-01 Will Newton <will.newton@linaro.org>
14356 Bernard Ogden <bernie.ogden@linaro.org>
14358 * NEWS: Update fixed bug list.
14361 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14363 2014-04-30 David S. Miller <davem@davemloft.net>
14365 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14366 (libc_feholdexcept_setround_sparc_ctx): New function.
14367 (libc_fesetenv_sparc_ctx): Likewise.
14368 (libc_feupdateenv_sparc_ctx): Likewise.
14369 (libc_feholdsetround_sparc_ctx): Likewise.
14370 (libc_feholdexcept_setround_ctx): Define.
14371 (libc_feholdexcept_setroundf_ctx): Likewise.
14372 (libc_feholdexcept_setroundl_ctx): Likewise.
14373 (libc_fesetenv_ctx): Likewise.
14374 (libc_fesetenvf_ctx): Likewise.
14375 (libc_fesetenvl_ctx): Likewise.
14376 (libc_feupdateenv_ctx): Likewise.
14377 (libc_feupdateenvf_ctx): Likewise.
14378 (libc_feupdateenvl_ctx): Likewise.
14379 (libc_feresetround_ctx): Likewise.
14380 (libc_feresetroundf_ctx): Likewise.
14381 (libc_feresetroundl_ctx): Likewise.
14382 (libc_feholdsetround_ctx): Likewise.
14383 (libc_feholdsetroundf_ctx): Likewise.
14384 (libc_feholdsetroundl_ctx): Likewise.
14386 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14387 with __USE_GNU instead of XOPEN cpp guards.
14389 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14392 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14393 with XOPEN cpp guards.
14395 2014-04-30 Julian Brown <julian@codesourcery.com>
14398 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14401 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14404 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14406 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14407 * sysdeps/unix/sysv/linux/configure: Regenerated.
14408 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14409 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14410 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14411 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14412 * README: Update reference to required Linux kernel version.
14413 * manual/install.texi (Linux): Update reference to required Linux
14414 kernel headers version.
14415 * INSTALL: Regenerated.
14417 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14419 [POSIX] (limits.h): Likewise.
14420 [POSIX] (math.h): Likewise.
14421 [POSIX] (sys/wait.h): Likewise.
14422 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14424 [POSIX] (stddef.h): Do not allow header inclusion.
14426 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14428 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14430 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14432 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14433 Return immediately after lll_futex_wake.
14435 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14438 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14440 (datahead_init_pos): Call datahead_init_common early.
14441 (datahead_init_neg): Likewise.
14443 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14444 datahead_init_neg): New functions.
14445 * nscd/aicache.c (addhstaiX): Use them.
14446 * nscd/grpcache.c (cache_addgr): Likewise.
14447 * nscd/hstcache.c (cache_addhst): Likewise.
14448 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14449 * nscd/netgroupcache.c (do_notfound): Likewise.
14450 (addgetnetgrentX): Likewise.
14451 (addinnetgrX): Likewise.
14452 * nscd/pwdcache.c (cache_addpw): Likewise.
14453 * nscd/servicescache.c (cache_addserv): Likewise.
14455 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14456 Atsushi Onoe <atsushi@onoe.org>
14461 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14462 one response is valid.
14463 * resolv/res_send.c (send_dg): Check for validity of other
14464 response if the current response is a referral.
14466 2014-04-29 Steve Ellcey <sellcey@mips.com>
14468 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14470 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14473 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14474 Always divide by positive zero when computing -Inf result.
14475 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14476 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14478 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14480 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14481 FPSCR if value do not change.
14482 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14483 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14484 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14485 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14486 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14487 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14490 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14492 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14493 * sysdeps/unix/sysv/linux/hppa: Move directory from
14494 ports/systeps/unix/sysv/linux/hppa.
14495 * README: Update listing for hppa-*-linux-gnu.
14497 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14500 * manual/stdio.texi (Hook functions): Fix types of stream hook
14503 * socket/sys/socket.h: Fix typo in comment.
14505 2014-04-28 Wilco <wdijkstr@arm.com>
14507 * sysdeps/arm/fenv_private.h: New file.
14508 * sysdeps/arm/math_private.h: New file.
14509 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14511 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14513 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14515 (La_x86_64_retval): Likewise.
14517 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14519 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14520 fpsr if value didn't change.
14521 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14522 to fpcr if value didn't change.
14523 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14524 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14525 fpsr or fpcr if value didn't change.
14526 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14527 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14528 fpcr if value didn't change.
14529 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14530 to fpsr if value didn't change.
14532 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14534 * nptl/tst-sem3.c: Use test-skeleton.c
14535 (main): Rename to do_test. Use return instead of
14537 * nptl/tst-sem4.c: Use test-skeleton.c
14538 (main): Rename to do_test.
14540 2014-04-22 David S. Miller <davem@davemloft.net>
14542 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14543 (struct sigaction): New struct member __glibc_reserved0, change
14544 type of sa_flags to int.
14546 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14548 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14549 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14551 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14553 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14554 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14556 2014-04-22 Will Newton <will.newton@linaro.org>
14557 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14559 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14560 (__longjmp): Add longjmp and longjmp_target SystemTap
14562 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14563 (__sigsetjmp): Add setjmp SystemTap probe.
14565 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14567 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14568 match manual order.
14570 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14572 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14574 * sysdeps/powerpc/fpu/fenv_private.h
14575 (libc_feholdexcept_setroundl_ctx): Define to
14576 libc_feholdexcept_setround_ppc_ctx.
14577 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14578 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14579 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14580 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14582 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14584 * sysdeps/aarch64/math-tests.h: New file.
14586 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14588 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14591 Check and set bit_AVX2_Usable.
14592 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14594 (bit_AVX2): Likewise.
14595 (index_AVX2_Usable): Likewise.
14596 (CPUID_AVX2): Likewise.
14597 (HAS_AVX2): Likewise.
14599 2014-04-17 Will Newton <will.newton@linaro.org>
14601 * manual/setjmp.texi (System V contexts): Add note that
14602 calling setcontext on a context created by a call to a
14603 signal handler is undefined. Update text to note that
14604 setcontext from a signal handler is possible but not
14608 * stdlib/tst-setcontext.c: Include signal.h.
14609 (main): Check that the signal stack before and
14610 after swapcontext is the same.
14612 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14613 Re-implement to restore registers in user code and avoid
14614 rt_sigreturn system call.
14616 2014-04-17 Wilco <wdijkstr@arm.com>
14618 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14619 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14620 * math/test-fenv.c: Skip exception trap tests on targets which only
14621 support non-stop mode.
14623 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14624 Wilco Dijkstra <wilco.dijkstra@arm.com>
14626 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14627 (libc_feholdsetround_aarch64_ctx)
14628 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14629 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14630 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14631 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14632 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14633 (libc_feresetround_noexl_ctx): Define.
14635 2014-04-16 Richard Henderson <rth@redhat.com>
14637 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14639 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14642 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14643 const from the non-libc, non-ldso copy.
14645 * sysdeps/alpha/libm-test-ulps: Regenerate.
14647 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14648 Wilco Dijkstra <wilco.dijkstra@arm.com>
14650 * sysdeps/aarch64/fpu/math_private.h: New file.
14652 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14654 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14656 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14659 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14660 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14661 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14662 Intel MPX bound registers before _dl_profile_fixup.
14663 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14664 registers after _dl_profile_fixup. Save and restore bound
14665 registers bnd0/bnd1 when calling _dl_call_pltexit.
14666 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14667 (LR_BND_OFFSET): Likewise.
14668 (LRV_BND0_OFFSET): Likewise.
14669 (LRV_BND1_OFFSET): Likewise.
14671 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14673 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14675 * sysdeps/mach/hurd/i386/tls.h: ... here.
14676 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14677 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14680 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14682 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14684 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14686 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14688 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14691 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14692 * sysdeps/s390/configure: Regenerate.
14695 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14696 Set round-to-nearest internally to reduce error accumulation.
14698 2014-04-16 Alan Modra <amodra@gmail.com>
14702 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14703 * math/libm-test.inc (frexp_test_data): Add tests.
14704 * NEWS: Update fixed bug list.
14706 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14708 * benchtests/Makefile: Depend on libraries in build directory.
14709 (bench-math): Separate out math tests.
14710 (bench-pthread): Separate out pthread tests.
14711 (bench): Include math and pthread tests.
14713 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14716 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14717 _dl_debug_initialize.
14719 * configure.ac: Remove SELinux header check.
14720 * configure: Regenerate.
14721 * nscd/selinux.c (perms): Array of const char* to permission names.
14722 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14723 default policy. Call string_to_security_class and string_to_av_perm to
14724 translate strings. Enforce default policy and call avs_has_perm with
14725 results of translated strings.
14727 2014-04-13 David S. Miller <davem@davemloft.net>
14729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14731 2014-04-12 Allan McRae <allan@archlinux.org>
14734 * manual/string.texi (Collation Functions): Fix qsort argument
14736 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14738 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14740 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14741 Make the test a no-op if there are no exceptions defined.
14743 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14745 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14746 enable-hardcoded-path-in-tests
14748 2014-04-11 Will Newton <will.newton@linaro.org>
14750 * benchtests/Makefile (extra-objs): Add json-lib.o.
14751 (bench-func): Tidy up JSON output.
14752 * benchtests/bench-skeleton.c: Include json-lib.h.
14753 (main): Use JSON library functions to do output of
14755 * benchtests/bench-timing-type.c (main): Output the
14756 timing type simply, leaving formatting to the user.
14757 * benchtests/json-lib.c: New file.
14758 * benchtests/json-lib.h: Likewise.
14760 2014-04-11 Torvald Riegel <triegel@redhat.com>
14763 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14764 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14765 memory barriers. Add comments.
14766 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14767 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14768 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14769 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14770 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14771 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14773 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14775 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14776 * sysdeps/s390/s390-64/configure.ac: ... this ...
14777 * sysdeps/s390/configure.ac: ... to here.
14778 * sysdeps/s390/s390-32/configure: Delete file.
14779 * sysdeps/s390/s390-64/configure: Delete file.
14780 * sysdeps/s390/configure: Regenerate.
14782 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14784 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14786 2014-04-11 Will Newton <will.newton@linaro.org>
14788 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14789 to zero if it is not defined elsewhere. (mtrim): Test
14790 the value of MALLOC_DEBUG with #if rather than #ifdef.
14792 2014-04-10 Torvald Riegel <triegel@redhat.com>
14794 * benchtests/pthread_once-inputs: New file.
14795 * benchtests/pthread_once-source.c: New file.
14796 * benchtests/README: Update documentation.
14798 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14799 H.J. Lu <hongjiu.lu@intel.com>
14802 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14803 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14804 * sysdeps/x86_64/configure: Regenerated.
14805 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14807 (REGISTER_SAVE_RAX): Likewise.
14808 (REGISTER_SAVE_RCX): Likewise.
14809 (REGISTER_SAVE_RDX): Likewise.
14810 (REGISTER_SAVE_RSI): Likewise.
14811 (REGISTER_SAVE_RDI): Likewise.
14812 (REGISTER_SAVE_R8): Likewise.
14813 (REGISTER_SAVE_R9): Likewise.
14814 (REGISTER_SAVE_BND0): Likewise.
14815 (REGISTER_SAVE_BND1): Likewise.
14816 (REGISTER_SAVE_BND2): Likewise.
14817 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14818 bound registers when calling _dl_fixup.
14820 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14822 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14823 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14825 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14826 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14827 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14828 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14829 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14830 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14831 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14833 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14836 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14837 pathconf(_PC_NAME_MAX).
14839 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14841 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14842 Remove macro usage.
14843 (__PTHREAD_SPINS): Move definition to ...
14844 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14845 (__PTHREAD_SPINS): ... here.
14846 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14847 (__PTHREAD_SPIN): Likewise.
14848 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14849 (__PTHREAD_SPIN): Likewise.
14850 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14851 (__PTHREAD_SPIN): Likewise.
14852 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14853 (__PTHREAD_SPIN): Likewise.
14854 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14855 (__PTHREAD_SPIN): Likewise.
14856 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14857 (__PTHREAD_SPIN): Likewise.
14858 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14859 (__PTHREAD_SPIN): Likewise.
14860 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14861 (__PTHREAD_SPIN): Likewise.
14862 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14863 (__PTHREAD_SPIN): Likewise.
14864 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14865 (__PTHREAD_SPIN): Likewise.
14866 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14867 (__PTHREAD_SPIN): Likewise.
14868 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14869 (__PTHREAD_SPIN): Likewise.
14871 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14872 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14873 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14874 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14876 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14877 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14878 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14879 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14880 correct imply path.
14881 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14882 strlen symbol for non multi-arch builds.
14883 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14884 missing hidden_def and weak_alias.
14886 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14888 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14890 2014-04-07 Will Newton <will.newton@linaro.org>
14892 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14893 and contents. [!_LIBC] Remove #ifndef and contents.
14894 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14895 * string/memccpy.c (__memccpy): Use ANSI prototype.
14896 * string/memfrob.c (memfrob): Likewise.
14897 * string/strcoll.c (STRCOLL): Likewise.
14898 * string/strlen.c (strlen): Likewise.
14899 * string/strtok.c (STRTOK): Likewise.
14900 * string/strcat.c: Remove unused #include of memcopy.h.
14901 (strcat): Use ANSI prototype.
14902 * string/strchr.c: Remove unused #include of memcopy.h.
14903 (strchr): Use ANSI prototype.
14904 * string/strcmp.c: Remove unused #include of memcopy.h.
14905 (strcmp): Use ANSI prototype.
14906 * string/strcpy.c: Remove unused #include of memcopy.h.
14907 (strcpy): Use ANSI prototype.
14909 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14911 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14912 * config.make.in (config-extra-cppflags): Set it from
14913 libc_extra_cppflags.
14914 * configure.ac (libc_extra_cflags): Make it accumulate over
14915 configure fragments.
14916 (libc_extra_cppflags): New flag.
14917 * configure. Regenerate.
14918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14919 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14920 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14924 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14925 result for FE_DOWNWARD rounding mode.
14926 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14930 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14932 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14933 in function argument name.
14935 2014-04-03 David Svoboda <svoboda@cert.org>
14938 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14941 2014-04-03 Roland McGrath <roland@hack.frob.com>
14943 * elf/dl-unmap-segments.h: New file.
14944 * sysdeps/generic/ldsodefs.h
14945 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14946 * elf/dl-close.c: Include <dl-unmap-segments.h>.
14947 * elf/dl-fptr.c: Likewise.
14948 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14949 * sysdeps/aarch64/tlsdesc.c: Likewise.
14950 * sysdeps/arm/tlsdesc.c: Likewise.
14951 * sysdeps/i386/tlsdesc.c: Likewise.
14952 * sysdeps/tile/dl-runtime.c: Likewise.
14953 * sysdeps/x86_64/tlsdesc.c: Likewise.
14954 * elf/dl-load.h: New file.
14955 * elf/dl-load.c: Include it.
14956 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14957 Macros moved to dl-load.h.
14958 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14959 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14960 Use _dl_unmap_segments in place of __munmap.
14961 Break out segment-mapping loop into ...
14962 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14964 2014-04-03 Will Newton <will.newton@linaro.org>
14966 * elf/dl-lookup.c (do_lookup_x): Remove comment
14967 referring to nested function and move variable
14968 declarations down to before first use.
14970 2014-04-02 Joseph Myers <joseph@codesourcery.com>
14974 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14976 * math/s_catanf.c (__catanf): Likewise.
14977 * math/s_catanh.c (__catanh): Likewise.
14978 * math/s_catanhf.c (__catanhf): Likewise.
14979 * math/s_catanhl.c (__catanhl): Likewise.
14980 * math/s_catanl.c (__catanl): Likewise.
14981 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14982 by positive zero when computing -Inf result.
14983 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14984 (catanh_test): Likewise.
14985 * sysdeps/i386/fpu/libm-test-ulps: Update.
14986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14989 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14990 instead of using underflowing value in computing result.
14991 * math/s_clog10.c (__clog10): Likewise.
14992 * math/s_clog10f.c (__clog10f): Likewise.
14993 * math/s_clog10l.c (__clog10l): Likewise.
14994 * math/s_clogf.c (__clogf): Likewise.
14995 * math/s_clogl.c (__clogl): Likewise.
14996 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14997 (clog10_test): Likewise.
14998 * sysdeps/i386/fpu/libm-test-ulps: Update.
14999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15001 2014-04-02 Alan Modra <amodra@gmail.com>
15004 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15005 output when value is near a power of two. Use int64_t for lx and
15006 remove casts. Use decimal rather than hex exponent constants.
15007 Don't use long double multiplication when double will suffice.
15008 * math/libm-test.inc (nextafter_test_data): Add tests.
15009 * NEWS: Add 16739 and 16786 to bug list.
15011 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15013 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15015 2014-04-01 Will Newton <will.newton@linaro.org>
15017 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15018 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15020 2014-04-01 Florian Weimer <fweimer@redhat.com>
15023 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15024 * nptl/tst-setuid2.c: New file.
15025 * nptl/Makefile (xtests): Add tst-setuid2.
15027 2014-04-01 Alan Modra <amodra@gmail.com>
15030 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15032 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15036 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15037 set errno as appropriate.
15038 * math/w_scalbf.c (__scalbf): Likewise.
15039 * math/w_scalbl.c (__scalbl): Likewise.
15040 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15041 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15042 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15043 Add more NaN tests.
15046 * math/w_atan2.c: Include <errno.h>.
15047 (__atan2): Set errno for result underflowing to zero.
15048 * math/w_atan2f.c: Include <errno.h>.
15049 (__atan2f): Set errno for result underflowing to zero.
15050 * math/w_atan2l.c: Include <errno.h>.
15051 (__atan2l): Set errno for result underflowing to zero.
15052 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15054 * math/auto-libm-test-out: Regenerated.
15056 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15058 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15059 Encode instruction correctly in little endian.
15060 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15062 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15064 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15066 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15069 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15072 * sysdeps/unix/sysv/linux/kernel-features.h
15073 [__sparc__ && !__arch64__ && !__sparc_v9__]
15074 (__ASSUME_SET_ROBUST_LIST): Do not define.
15075 [__sparc__ && !__arch64__ && !__sparc_v9__]
15076 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15077 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15079 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15080 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15081 (__ASSUME_REQUEUE_PI): Likewise.
15082 (__ASSUME_SET_ROBUST_LIST): Likewise.
15083 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15084 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15086 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15087 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15089 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15091 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15093 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15094 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15096 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15097 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15101 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15102 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15103 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15105 2014-03-31 Will Newton <will.newton@linaro.org>
15107 * benchtests/Makefile (bench): Add ffs and ffsll to list
15109 * benchtests/ffs-inputs: New file.
15110 * benchtests/ffsll-inputs: Likewise.
15112 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15115 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15116 too large before casting to int.
15117 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15118 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15119 * math/libm-test.inc (scalb_test_data): Add more tests.
15121 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15123 * benchtests/Makefile (DETAILED_OPT): New make option.
15124 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15126 * benchtests/bench-skeleton.c: Include stdbool.h.
15127 (main): Store and print timings per input.
15128 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15129 member to each argument value.
15130 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15131 (_print_arg_data): Initialize per-input timing to 0.
15133 * benchtests/Makefile (timing-type): New binary.
15134 (bench-clean): Also remove bench-timing-type.
15135 (bench): New target for timing-type.
15136 (bench-func): Print output in JSON format.
15137 * benchtests/bench-skeleton.c (main): Print output in JSON
15139 * benchtests/bench-timing-type.c: New file.
15140 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15141 (TIMING_PRINT_STATS): Remove.
15142 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15145 * benchtests/bench-modf.c: Remove.
15146 * benchtests/modf-inputs: New inputs file.
15148 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15151 * math/s_clog10.c (M_PI_LOG10E): New macro.
15152 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15153 imaginary parts are 0.
15154 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15155 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15156 imaginary parts are 0.
15157 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15158 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15159 imaginary parts are 0.
15160 * math/libm-test.inc (clog10_test_data): Update expected results
15161 for when real and imaginary parts are 0.
15163 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15165 * elf/dl-load.c: Finish conversion of __builtin_expect into
15166 __glibc_{un}likely.
15168 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15171 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15172 1+x for argument with exponent below -67.
15173 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15175 * math/auto-libm-test-in: Add more tests of exp.
15176 * math/auto-libm-test-out: Regenerated.
15178 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15181 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15182 (nscd_getnetgrent): Use it.
15185 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15188 2014-03-27 Andi Kleen <ak@linux.intel.com>
15190 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15191 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15192 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15193 (lll_robust_unlock): Remove out of line section. Use cfi
15195 (LLL_STUB_UNWIND_INFO*): Remove.
15196 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15197 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15198 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15199 (lll_robust_unlock): Remove out of line section. Use cfi
15201 (LLL_STUB_UNWIND_INFO*): Remove.
15203 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15206 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15209 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15211 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15213 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15216 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15218 * math/test-fenv-preserve.c: New file.
15219 * math/Makefile (tests): Add test-fenv-preserve.
15221 2014-03-26 Will Newton <will.newton@linaro.org>
15223 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15225 2014-03-25 Roland McGrath <roland@hack.frob.com>
15227 * scripts/versionlist.awk: Partition the version sets and emit all
15228 GLIBC_* (sorted) before all others (sorted).
15230 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15232 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15233 GLIBC_2.2.5 version.
15235 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15237 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15240 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15243 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15245 2014-03-25 Andreas Schwab <schwab@suse.de>
15247 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15248 label to be used after in6ailist is initialized.
15250 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15252 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15253 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15255 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15259 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15261 (fp_formats): Update initializers.
15262 (init_fp_formats): Initialize new field.
15263 (output_for_one_input_case): Allow underflow for results up to
15265 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15266 * math/auto-libm-test-in: Don't mark some underflows from asin and
15268 * math/auto-libm-test-out: Regenerated.
15269 * sysdeps/i386/fpu/libm-test-ulps: Update.
15270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15272 2014-03-25 Andreas Schwab <schwab@suse.de>
15274 * libio/Makefile (tst-ftell-partial-wide-ENV)
15275 (tst-ftell-active-handler-ENV): Define.
15277 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15279 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15281 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15283 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15285 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15287 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15288 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15289 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15291 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15294 * elf/dl-load.c (open_verify): Add mode parameter.
15295 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15296 (open_path): Change from boolean 'secure' to complete flag 'mode'
15297 (_dl_map_object): Adjust.
15298 * elf/Makefile (tests): Add tst-dlopen-aout.
15299 * elf/tst-dlopen-aout.c: New test.
15301 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15304 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15305 (struct stat): Rename member pad0 to __glibc_reserved0.
15308 * sysdeps/s390/s390-32/bits/wordsize.h
15309 (__WORDSIZE32_SIZE_ULONG): New define.
15310 * sysdeps/s390/s390-64/bits/wordsize.h
15311 (__WORDSIZE32_SIZE_ULONG): Likewise.
15312 * sysdeps/generic/stdint.h (SIZE_MAX):
15313 Define as UL if __WORDSIZE32_SIZE_ULONG.
15316 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15317 (__glibc_reserved0): New variable.
15318 (sa_flags): Change type to int.
15320 * posix/Makefile (before-compile): Use += before-compile instead
15323 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15324 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15326 2014-03-20 Andreas Schwab <schwab@suse.de>
15329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15330 non-matching result from nscd.
15332 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15334 * scripts/bench.py: Moved to ...
15335 * benchtests/scripts/bench.py: ... here.
15336 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15338 2014-03-24 Andreas Schwab <schwab@suse.de>
15341 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15342 alloca_account and account alloca use for struct in6ailist.
15344 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15347 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15348 rounding mode to recompute results that overflow to infinity or
15350 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15352 * math/auto-libm-test-out: Regenerated.
15353 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15354 (ccosh_test): Likewise.
15355 (csin_test_data): Use plus_oflow.
15356 (csin_test): Use ALL_RM_TEST.
15357 (csinh_test_data): Use plus_oflow.
15358 (csinh_test): Use ALL_RM_TEST.
15359 * sysdeps/i386/fpu/libm-test-ulps: Update.
15360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15362 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15364 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15365 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15366 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15369 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15370 when x - 1 is zero.
15371 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15372 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15373 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15374 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15376 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15377 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15379 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15380 * sysdeps/i386/fpu/libm-test-ulps: Update.
15381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15383 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15385 * scripts/bench.pl: Remove file.
15386 * scripts/bench.py: New benchmark script.
15387 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15388 * benchtests/README: Mention python dependency.
15389 * scripts/pylintrc: New file.
15390 * scripts/pylint: New file.
15392 * bits/mathdef.h: Use #ifdef instead of #if.
15393 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15394 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15395 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15396 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15397 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15398 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15400 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15401 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15403 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15404 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15405 and strpbrk-ppc64 objects.
15406 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15407 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15408 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15409 multiarch strpbrk for POWER7.
15410 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15411 multiarch strpbrk for PPC64.
15412 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15414 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15415 strpbrk for POWER7.
15417 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15419 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15420 (atan_test): Likewise.
15421 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15422 (atanh_test): Use ALL_RM_TEST.
15423 (atan2_test_data): Likewise.
15424 (cabs_test): Likewise.
15425 (cacosh_test): Likewise.
15426 (carg_test): Likewise.
15427 (casin_test): Likewise.
15428 (casinh_test): Likewise.
15429 (cbrt_test): Likewise.
15430 (csqrt_test): Likewise.
15431 (erf_test): Likewise.
15432 (erfc_test): Likewise.
15433 (pow10_test): Likewise.
15434 (exp2_test): Likewise.
15435 (hypot_test): Likewise.
15436 (j0_test): Likewise.
15437 (j1_test): Likewise.
15438 (lgamma_test): Likewise.
15439 (gamma_test): Likewise.
15440 (sincos_test): Likewise.
15441 (tanh_test): Likewise.
15442 (y0_test): Likewise.
15443 (y1_test): Likewise.
15444 * sysdeps/i386/fpu/libm-test-ulps: Update.
15445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15447 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15449 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15450 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15451 and strcspn-ppc64 objects.
15452 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15453 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15454 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15455 multiarch strcspn for POWER7.
15456 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15457 multiarch strcspn for PPC64.
15458 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15460 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15461 strcspn for POWER7.
15463 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15465 * math/gen-libm-test.pl (generate_testfile): Expect only function
15466 name as argument to AUTO_TESTS_* and pass results for all rounding
15467 modes to parse_args.
15468 (parse_auto_input): Separate inputs of automatic tests from
15469 outputs before storing in %auto_tests.
15470 * math/libm-test.inc (acos_test_data): Update call to
15472 (acos_test): Use ALL_RM_TEST.
15473 (acos_tonearest_test_data): Remove.
15474 (acos_test_tonearest): Likewise.
15475 (acos_towardzero_test_data): Likewise.
15476 (acos_test_towardzero): Likewise.
15477 (acos_downward_test_data): Likewise.
15478 (acos_test_downward): Likewise.
15479 (acos_upward_test_data): Likewise.
15480 (acos_test_upward): Likewise.
15481 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15482 (asin_test_data): Likewise.
15483 (asin_test): Use ALL_RM_TEST.
15484 (asin_tonearest_test_data): Remove.
15485 (asin_test_tonearest): Likewise.
15486 (asin_towardzero_test_data): Likewise.
15487 (asin_test_towardzero): Likewise.
15488 (asin_downward_test_data): Likewise.
15489 (asin_test_downward): Likewise.
15490 (asin_upward_test_data): Likewise.
15491 (asin_test_upward): Likewise.
15492 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15493 (atan_test_data): Likewise.
15494 (atanh_test_data): Likewise.
15495 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15496 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15497 (carg_test_data): Likewise.
15498 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15499 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15500 (ccosh_test_data): Likewise.
15501 (cexp_test_data): Likewise.
15502 (clog_test_data): Likewise.
15503 (clog10_test_data): Likewise.
15504 (cos_test_data): Update call to AUTO_TESTS_f_f.
15505 (cos_test): Use ALL_RM_TEST.
15506 (cos_tonearest_test_data): Remove.
15507 (cos_test_tonearest): Likewise.
15508 (cos_towardzero_test_data): Likewise.
15509 (cos_test_towardzero): Likewise.
15510 (cos_downward_test_data): Likewise.
15511 (cos_test_downward): Likewise.
15512 (cos_upward_test_data): Likewise.
15513 (cos_test_upward): Likewise.
15514 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15515 (cosh_test): Use ALL_RM_TEST.
15516 (cosh_tonearest_test_data): Remove.
15517 (cosh_test_tonearest): Likewise.
15518 (cosh_towardzero_test_data): Likewise.
15519 (cosh_test_towardzero): Likewise.
15520 (cosh_downward_test_data): Likewise.
15521 (cosh_test_downward): Likewise.
15522 (cosh_upward_test_data): Likewise.
15523 (cosh_test_upward): Likewise.
15524 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15525 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15526 (ctan_test_data): Likewise.
15527 (ctan_test): Use ALL_RM_TEST.
15528 (ctan_tonearest_test_data): Remove.
15529 (ctan_test_tonearest): Likewise.
15530 (ctan_towardzero_test_data): Likewise.
15531 (ctan_test_towardzero): Likewise.
15532 (ctan_downward_test_data): Likewise.
15533 (ctan_test_downward): Likewise.
15534 (ctan_upward_test_data): Likewise.
15535 (ctan_test_upward): Likewise.
15536 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15537 (ctanh_test): Use ALL_RM_TEST.
15538 (ctanh_tonearest_test_data): Remove.
15539 (ctanh_test_tonearest): Likewise.
15540 (ctanh_towardzero_test_data): Likewise.
15541 (ctanh_test_towardzero): Likewise.
15542 (ctanh_downward_test_data): Likewise.
15543 (ctanh_test_downward): Likewise.
15544 (ctanh_upward_test_data): Likewise.
15545 (ctanh_test_upward): Likewise.
15546 (erf_test_data): Update call to AUTO_TESTS_f_f.
15547 (erfc_test_data): Likewise.
15548 (exp_test_data): Likewise.
15549 (exp_test): Use ALL_RM_TEST.
15550 (exp_tonearest_test_data): Remove.
15551 (exp_test_tonearest): Likewise.
15552 (exp_towardzero_test_data): Likewise.
15553 (exp_test_towardzero): Likewise.
15554 (exp_downward_test_data): Likewise.
15555 (exp_test_downward): Likewise.
15556 (exp_upward_test_data): Likewise.
15557 (exp_test_upward): Likewise.
15558 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15559 (exp10_test): Use ALL_RM_TEST.
15560 (exp10_tonearest_test_data): Remove.
15561 (exp10_test_tonearest): Likewise.
15562 (exp10_towardzero_test_data): Likewise.
15563 (exp10_test_towardzero): Likewise.
15564 (exp10_downward_test_data): Likewise.
15565 (exp10_test_downward): Likewise.
15566 (exp10_upward_test_data): Likewise.
15567 (exp10_test_upward): Likewise.
15568 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15569 (expm1_test_data): Likewise.
15570 (expm1_test): Use ALL_RM_TEST.
15571 (expm1_tonearest_test_data): Remove.
15572 (expm1_test_tonearest): Likewise.
15573 (expm1_towardzero_test_data): Likewise.
15574 (expm1_test_towardzero): Likewise.
15575 (expm1_downward_test_data): Likewise.
15576 (expm1_test_downward): Likewise.
15577 (expm1_upward_test_data): Likewise.
15578 (expm1_test_upward): Likewise.
15579 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15580 (fma_test): Use ALL_RM_TEST.
15581 (fma_towardzero_test_data): Remove.
15582 (fma_test_towardzero): Likewise.
15583 (fma_downward_test_data): Likewise.
15584 (fma_test_downward): Likewise.
15585 (fma_upward_test_data): Likewise.
15586 (fma_test_upward): Likewise.
15587 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15588 (j0_test_data): Update call to AUTO_TESTS_f_f.
15589 (j1_test_data): Likewise.
15590 (jn_test_data): Update call to AUTO_TESTS_if_f.
15591 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15592 (log_test_data): Update call to AUTO_TESTS_f_f.
15593 (log10_test_data): Likewise.
15594 (log1p_test_data): Likewise.
15595 (log2_test_data): Likewise.
15596 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15597 (pow_tonearest_test_data): Likewise.
15598 (sin_test_data): Update call to AUTO_TESTS_f_f.
15599 (sin_test): Use ALL_RM_TEST.
15600 (sin_tonearest_test_data): Remove.
15601 (sin_test_tonearest): Likewise.
15602 (sin_towardzero_test_data): Likewise.
15603 (sin_test_towardzero): Likewise.
15604 (sin_downward_test_data): Likewise.
15605 (sin_test_downward): Likewise.
15606 (sin_upward_test_data): Likewise.
15607 (sin_test_upward): Likewise.
15608 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15609 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15610 (sinh_test): Use ALL_RM_TEST.
15611 (sinh_tonearest_test_data): Remove.
15612 (sinh_test_tonearest): Likewise.
15613 (sinh_towardzero_test_data): Likewise.
15614 (sinh_test_towardzero): Likewise.
15615 (sinh_downward_test_data): Likewise.
15616 (sinh_test_downward): Likewise.
15617 (sinh_upward_test_data): Likewise.
15618 (sinh_test_upward): Likewise.
15619 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15620 (sqrt_test): Use ALL_RM_TEST.
15621 (sqrt_tonearest_test_data): Remove.
15622 (sqrt_test_tonearest): Likewise.
15623 (sqrt_towardzero_test_data): Likewise.
15624 (sqrt_test_towardzero): Likewise.
15625 (sqrt_downward_test_data): Likewise.
15626 (sqrt_test_downward): Likewise.
15627 (sqrt_upward_test_data): Likewise.
15628 (sqrt_test_upward): Likewise.
15629 (tan_test_data): Update call to AUTO_TESTS_f_f.
15630 (tan_test): Use ALL_RM_TEST.
15631 (tan_tonearest_test_data): Remove.
15632 (tan_test_tonearest): Likewise.
15633 (tan_towardzero_test_data): Likewise.
15634 (tan_test_towardzero): Likewise.
15635 (tan_downward_test_data): Likewise.
15636 (tan_test_downward): Likewise.
15637 (tan_upward_test_data): Likewise.
15638 (tan_test_upward): Likewise.
15639 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15640 (tgamma_test_data): Likewise.
15641 (y0_test_data): Likewise.
15642 (y1_test_data): Likewise.
15643 (yn_test_data): Update call to AUTO_TESTS_if_f.
15644 (main): Do not call removed functions.
15646 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15648 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15649 (ldexp_test_data): Remove.
15650 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15652 (scalb_test): Use ALL_RM_TEST.
15654 2014-03-19 Andreas Schwab <schwab@suse.de>
15656 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15658 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15661 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15662 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15663 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15664 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15665 (__ASSUME_PREADV): Undefine.
15666 (__ASSUME_PWRITEV): Likewise.
15668 2014-03-18 Roland McGrath <roland@hack.frob.com>
15670 * bits/mman-linux.h: Add comment about non-Linux use.
15671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15672 bits/mman-linux.h resting place.
15674 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15675 * bits/mman-linux.h: ... here.
15677 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15679 * conform/conformtest.pl: Add standard definition when calling C
15680 preprocessor on data files.
15681 (checknamespace): Remove unused variable.
15683 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15685 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15686 minus_oflow, plus_uflow and minus_uflow in expected results.
15687 * math/libm-test.inc (scalbn_test_data): Add more tests of
15688 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15690 (scalbn_test): Use ALL_RM_TEST.
15691 (scalbln_test_data): Add more tests of negative arguments. Use
15692 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15693 (scalbln_test): Use ALL_RM_TEST.
15695 2014-03-18 Roland McGrath <roland@hack.frob.com>
15697 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15699 2014-03-18 Will Newton <will.newton@linaro.org>
15701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15702 inaccurate comment.
15704 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15706 * Makerules [!subdir] (check-abi): Exit with error status if a
15709 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15711 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15712 for rint. Include results for all rounding modes.
15713 (nearbyint_test): Use ALL_RM_TEST.
15714 (rint_test_data): Include all tests used for nearbyint.
15716 2014-03-17 Will Newton <will.newton@linaro.org>
15718 * nptl/sysdeps/pthread/pthread.h: Revert previous
15721 * sysdeps/generic/ldsodefs.h: Revert previous
15724 * libio/genops.c: Revert previous change.
15725 * libio/libioP.h: Likewise.
15726 * stdio-common/vfprintf.c: Likewise.
15728 * sysdeps/generic/math_private.h: Revert previous
15731 * sysdeps/generic/math_private.h: Check whether
15732 HAVE_RM_CTX is defined with #ifdef rather
15735 * argp/argp-fmtstream.h: Check whether
15736 __STRICT_ANSI__ is defined with #ifdef rather
15738 * argp/argp.h: Likewise.
15740 * libio/genops.c: Check whether
15741 _IO_JUMPS_OFFSET is defined with #ifdef rather
15743 * libio/libioP.h: Likewise.
15744 * stdio-common/vfprintf.c: Likewise.
15746 * sysdeps/generic/ldsodefs.h: Check whether
15747 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15750 * nptl/sysdeps/pthread/pthread.h: Check
15751 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15754 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15756 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15758 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15762 * libio/fileops.c (_IO_file_open): Seek to end of file but
15763 don't cache the offset.
15764 (get_file_offset): Remove function.
15765 (do_ftell): Use cached offset when available.
15766 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15767 don't cache the offset.
15768 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15770 (do_one_test): Call it.
15771 (do_ftell_test): Fix up expected old offset for a+ mode.
15772 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15775 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15776 up test status with function return status.
15777 (do_write_test): Likewise.
15778 (do_append_test): Likewise.
15780 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15781 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15784 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15786 * math/gen-libm-test.pl (parse_args): Handle results specified for
15787 each rounding mode separately.
15788 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15789 tests and results from lrint_tonearest_test_data,
15790 lrint_towardzero_test_data, lrint_downward_test_data and
15791 lrint_upward_test_data.
15792 (lrint_test): Use ALL_RM_TEST.
15793 (lrint_tonearest_test_data): Remove.
15794 (lrint_test_tonearest): Likewise.
15795 (lrint_towardzero_test_data): Likewise.
15796 (lrint_test_towardzero): Likewise.
15797 (lrint_downward_test_data): Likewise.
15798 (lrint_test_downward): Likewise.
15799 (lrint_upward_test_data): Likewise.
15800 (lrint_test_upward): Likewise.
15801 (llrint_test_data): Merge in per-rounding-mode tests and results
15802 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15803 llrint_downward_test_data and llrint_upward_test_data.
15804 (llrint_test): Use ALL_RM_TEST.
15805 (llrint_tonearest_test_data): Remove.
15806 (llrint_test_tonearest): Likewise.
15807 (llrint_towardzero_test_data): Likewise.
15808 (llrint_test_towardzero): Likewise.
15809 (llrint_downward_test_data): Likewise.
15810 (llrint_test_downward): Likewise.
15811 (llrint_upward_test_data): Likewise.
15812 (llrint_test_upward): Likewise.
15813 (rint_test_data): Merge in per-rounding-mode tests and results
15814 from rint_tonearest_test_data, rint_towardzero_test_data,
15815 rint_downward_test_data and rint_upward_test_data. Add
15816 per-rounding-mode results for tests not in those arrays.
15817 (rint_test): Use ALL_RM_TEST.
15818 (rint_tonearest_test_data): Remove.
15819 (rint_test_tonearest): Likewise.
15820 (rint_towardzero_test_data): Likewise.
15821 (rint_test_towardzero): Likewise.
15822 (rint_downward_test_data): Likewise.
15823 (rint_test_downward): Likewise.
15824 (rint_upward_test_data): Likewise.
15825 (rint_test_upward): Likewise.
15826 (main): Don't call removed functions.
15828 2014-03-14 Roland McGrath <roland@hack.frob.com>
15830 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15831 "Compiled on ..." crapola. It is anti-useful.
15833 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15835 * scripts/evaluate-test.sh: Handle fourth argument to determine
15836 whether test run should stop on failure.
15837 * Makeconfig (stop-on-test-failure): New variable.
15838 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15839 $(stop-on-test-failure).
15840 * Makefile (tests): Give a summary of results from testing and
15841 exit with failure status if they include an ERROR or FAIL.
15842 (xtests): Likewise.
15843 * manual/install.texi (Configuring and compiling): Mention
15844 stop-on-test-failure=y.
15845 * INSTALL: Regenerated.
15847 2014-03-14 Roland McGrath <roland@hack.frob.com>
15849 * scripts/versionlist.awk: New file.
15850 * Makerules [$(build-shared) = yes]
15851 (postclean-generated): Add Versions.def, not Versions.def.v and
15853 ($(common-objpfx)Versions.def.v.i): Target removed.
15854 ($(common-objpfx)Versions.def): New target.
15855 ($(common-objpfx)Versions.all): Depend on that rather that
15856 $(common-objpfx)Versions.def.v.
15857 * Versions.def: File removed.
15859 * Makeconfig (+gccwarn): Add -Wundef.
15860 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15861 a dl-sysdep.h breaking its contract.
15862 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15863 * include/stackinfo.h: New file.
15864 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15865 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15866 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15867 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15868 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15869 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15870 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15871 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15872 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15873 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15874 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15875 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15876 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15877 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15878 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15880 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15883 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15885 * math/libm-test.inc (round_test_data): Add more tests.
15888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15890 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15893 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15895 * math/libm-test.inc (ceil_test_data): Add more tests.
15897 * math/libm-test.inc (trunc_test_data): Add more tests related to
15900 2014-03-14 Roland McGrath <roland@hack.frob.com>
15902 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15903 with #if rather than #ifdef.
15904 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15906 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15908 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15909 first. Disable AVX-512 GCC support if assembler doesn't support
15911 * sysdeps/x86_64/configure: Regenerated.
15913 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15915 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15916 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15917 (__old_pthread_attr_setstack): Likewise.
15918 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15919 [!_STACK_GROWS_DOWN]: Likewise.
15921 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15923 * config.make.in (have-bash2): Delete.
15924 * configure.ac (libc_cv_have_bash2): Delete.
15925 * configure: Regenerate.
15926 * elf/Makefile (common-ldd-rewrite): Rename to ...
15927 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15928 (sh-ldd-rewrite): Delete.
15929 (bash-ldd-rewrite): Delete.
15930 (have-bash2): Delete checks.
15931 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15934 * config.make.in (have-ksh): Delete.
15936 * configure.ac (libc_cv_have_ksh): Delete.
15937 * configure: Regenerate.
15939 * elf/Makefile: Delete $(have-ksh) check.
15940 ($(objpfx)sotruss): Change KSH to BASH.
15941 * elf/sotruss.ksh: Rename to ...
15942 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
15943 function style to match POSIX. Drop ksh vim mode setting.
15945 * manual/time.texi (Specifying the Time Zone with TZ): Change
15946 Tuesday to Thursday.
15948 * debug/tst-longjmp_chk2.c: Update header comment.
15949 (stackoverflow_handler): Add comment. Call assert on pass value.
15951 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
15954 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15955 (HAVE_AVX512_ASM_SUPPORT): Likewise.
15956 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15957 (La_x86_64_vector): Add zmm.
15958 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15959 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15960 ($(objpfx)tst-audit10): New target.
15961 ($(objpfx)tst-audit10.out): Likewise.
15962 (tst-audit10-ENV): New.
15963 (AVX512-CFLAGS): Likewise.
15964 (CFLAGS-tst-audit10.c): Likewise.
15965 (CFLAGS-tst-auditmod10a.c): Likewise.
15966 (CFLAGS-tst-auditmod10b.c): Likewise.
15967 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15968 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15969 * sysdeps/x86_64/configure: Regenerated.
15970 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15971 AVX-512 zmm register support.
15972 (_dl_x86_64_save_sse): Likewise.
15973 (_dl_x86_64_restore_sse): Likewise.
15974 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15975 size vector registers.
15976 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15977 (ZMM_SIZE): Likewise.
15978 * sysdeps/x86_64/tst-audit10.c: New file.
15979 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15980 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15982 2014-03-13 Roland McGrath <roland@hack.frob.com>
15984 * configure.ac (HAVE_EHDR_START): New check.
15985 * configure: Regenerated.
15986 * config.h.in (HAVE_EHDR_START): New #undef.
15987 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15988 assuming the lowest-addressed segment maps the start of the file.
15990 2014-03-13 Joseph Myers <joseph@codesourcery.com>
15992 * INSTALL: Regenerated.
15994 2014-03-13 Will Newton <will.newton@linaro.org>
15996 * manual/setjmp.texi (System V contexts): Improve
15997 clarity and grammar of documentation.
15999 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16002 * elf/Makefile (tests): Add tst-pie2.
16003 (tests-pie): Add tst-pie2.
16004 * elf/tst-pie2.c: New file.
16005 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16007 * elf/rtld.c (map_doit): Load executable as lt_executable.
16008 (dl_main): Likewise.
16010 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16013 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16014 (__ASSUME_PSELECT): Undefine.
16016 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16019 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16020 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16022 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16023 selector for static builds.
16025 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16028 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16031 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16033 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16034 IFUNC selector for static builds.
16036 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16038 * sysdeps/mips/math_private.h [__mips_hard_float]
16039 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16040 libc_feresetround_mips_ctx.
16041 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16042 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16043 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16046 * math/s_nextafter.c (__nextafter): Do not return value from
16047 overflowing computation.
16048 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16049 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16052 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16054 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16055 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16057 2014-03-11 Roland McGrath <roland@hack.frob.com>
16059 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16060 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16061 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16062 the new mov targetting sp.
16064 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16067 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16068 Define it for static builds as well.
16069 (NO_BZERO_IMPL): Likewise.
16071 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16073 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16074 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16075 multiarch strspn for PPC64.
16076 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16077 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16078 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16079 (__libc_ifunc_impl_list): Likewise.
16080 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16081 multiarch optimizations
16082 * string/strspn.c (strspn): Using macro to redefine symbol name.
16084 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16085 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16087 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16088 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16089 multiarch strncat for PPC64.
16090 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16091 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16092 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16093 (__libc_ifunc_impl_list): Likewise.
16094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16095 multiarch optimizations
16097 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16100 * nscd/nscd.service: Make service type forking.
16102 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16104 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16105 sign in non default rounding modes.
16106 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16108 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16110 * math/libm-test.inc (ALL_RM_TEST): New macro.
16111 (ceil_test): Use ALL_RM_TEST.
16112 (cimag_test): Likewise.
16113 (conj_test): Likewise.
16114 (copysign_test): Likewise.
16115 (cproj_test): Likewise.
16116 (creal_test): Likewise.
16117 (fabs_test): Likewise.
16118 (floor_test): Likewise.
16119 (fmax_test): Likewise.
16120 (fmin_test): Likewise.
16121 (fmod_test): Likewise.
16122 (fpclassify_test): Likewise.
16123 (frexp_test): Likewise.
16124 (ilogb_test): Likewise.
16125 (isfinite_test): Likewise.
16126 (finite_test): Likewise.
16127 (isgreater_test): Likewise.
16128 (isgreaterequal_test): Likewise.
16129 (isinf_test): Likewise.
16130 (isless_test): Likewise.
16131 (islessequal_test): Likewise.
16132 (islessgreater_test): Likewise.
16133 (isnan_test): Likewise.
16134 (isnormal_test): Likewise.
16135 (issignaling_test): Likewise.
16136 (isunordered_test): Likewise.
16137 (logb_test): Likewise.
16138 (logb_downward_test_data): Remove.
16139 (logb_test_downward): Likewise.
16140 (lround_test): Use ALL_RM_TEST.
16141 (llround_test): Likewise.
16142 (modf_test): Likewise.
16143 (nexttoward_test): Likewise.
16144 (remainder_test): Likewise.
16145 (drem_test): Likewise.
16146 (remainder_tonearest_test_data): Likewise.
16147 (remainder_test_tonearest): Likewise.
16148 (drem_test_tonearest): Likewise.
16149 (remainder_towardzero_test_data): Likewise.
16150 (remainder_test_towardzero): Likewise.
16151 (drem_test_towardzero): Likewise.
16152 (remainder_downward_test_data): Likewise.
16153 (remainder_test_downward): Likewise.
16154 (drem_test_downward): Likewise.
16155 (remainder_upward_test_data): Likewise.
16156 (remainder_test_upward): Likewise.
16157 (drem_test_upward): Likewise.
16158 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16159 (round_test): Use ALL_RM_TEST.
16160 (signbit_test): Likewise.
16161 (trunc_test): Likewise.
16162 (significand_test): Likewise.
16163 (main): Don't call removed functions.
16165 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16168 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16169 || __USE_XOPEN2K8].
16170 (ILL_ILLOPN): Likewise.
16171 (ILL_ILLADR): Likewise.
16172 (ILL_ILLTRP): Likewise.
16173 (ILL_PRVOPC): Likewise.
16174 (ILL_PRVREG): Likewise.
16175 (ILL_COPROC): Likewise.
16176 (ILL_BADSTK): Likewise.
16177 (FPE_INTDIV): Likewise.
16178 (FPE_INTOVF): Likewise.
16179 (FPE_FLTDIV): Likewise.
16180 (FPE_FLTOVF): Likewise.
16181 (FPE_FLTUND): Likewise.
16182 (FPE_FLTRES): Likewise.
16183 (FPE_FLTINV): Likewise.
16184 (FPE_FLTSUB): Likewise.
16185 (SEGV_MAPERR): Likewise.
16186 (SEGV_ACCERR): Likewise.
16187 (BUS_ADRALN): Likewise.
16188 (BUS_ADRERR): Likewise.
16189 (BUS_OBJERR): Likewise.
16190 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16191 (TRAP_TRACE): Likewise.
16192 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16194 (CLD_KILLED): Likewise.
16195 (CLD_DUMPED): Likewise.
16196 (CLD_TRAPPED): Likewise.
16197 (CLD_STOPPED): Likewise.
16198 (CLD_CONTINUED): Likewise.
16199 (POLL_IN): Likewise.
16200 (POLL_OUT): Likewise.
16201 (POLL_MSG): Likewise.
16202 (POLL_ERR): Likewise.
16203 (POLL_PRI): Likewise.
16204 (POLL_HUP): Likewise.
16205 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16207 (ILL_ILLOPN): Likewise.
16208 (ILL_ILLADR): Likewise.
16209 (ILL_ILLTRP): Likewise.
16210 (ILL_PRVOPC): Likewise.
16211 (ILL_PRVREG): Likewise.
16212 (ILL_COPROC): Likewise.
16213 (ILL_BADSTK): Likewise.
16214 (FPE_INTDIV): Likewise.
16215 (FPE_INTOVF): Likewise.
16216 (FPE_FLTDIV): Likewise.
16217 (FPE_FLTOVF): Likewise.
16218 (FPE_FLTUND): Likewise.
16219 (FPE_FLTRES): Likewise.
16220 (FPE_FLTINV): Likewise.
16221 (FPE_FLTSUB): Likewise.
16222 (SEGV_MAPERR): Likewise.
16223 (SEGV_ACCERR): Likewise.
16224 (BUS_ADRALN): Likewise.
16225 (BUS_ADRERR): Likewise.
16226 (BUS_OBJERR): Likewise.
16227 (BUS_MCEERR_AR): Likewise.
16228 (BUS_MCEERR_AO): Likewise.
16229 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16230 (TRAP_TRACE): Likewise.
16231 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16233 (CLD_KILLED): Likewise.
16234 (CLD_DUMPED): Likewise.
16235 (CLD_TRAPPED): Likewise.
16236 (CLD_STOPPED): Likewise.
16237 (CLD_CONTINUED): Likewise.
16238 (POLL_IN): Likewise.
16239 (POLL_OUT): Likewise.
16240 (POLL_MSG): Likewise.
16241 (POLL_ERR): Likewise.
16242 (POLL_PRI): Likewise.
16243 (POLL_HUP): Likewise.
16244 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16245 (ILL_ILLOPN): Likewise.
16246 (ILL_ILLADR): Likewise.
16247 (ILL_ILLTRP): Likewise.
16248 (ILL_PRVOPC): Likewise.
16249 (ILL_PRVREG): Likewise.
16250 (ILL_COPROC): Likewise.
16251 (ILL_BADSTK): Likewise.
16252 (FPE_INTDIV): Likewise.
16253 (FPE_INTOVF): Likewise.
16254 (FPE_FLTDIV): Likewise.
16255 (FPE_FLTOVF): Likewise.
16256 (FPE_FLTUND): Likewise.
16257 (FPE_FLTRES): Likewise.
16258 (FPE_FLTINV): Likewise.
16259 (FPE_FLTSUB): Likewise.
16260 (SEGV_MAPERR): Likewise.
16261 (SEGV_ACCERR): Likewise.
16262 (BUS_ADRALN): Likewise.
16263 (BUS_ADRERR): Likewise.
16264 (BUS_OBJERR): Likewise.
16265 (BUS_MCEERR_AR): Likewise.
16266 (BUS_MCEERR_AO): Likewise.
16267 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16268 (TRAP_TRACE): Likewise.
16269 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16271 (CLD_KILLED): Likewise.
16272 (CLD_DUMPED): Likewise.
16273 (CLD_TRAPPED): Likewise.
16274 (CLD_STOPPED): Likewise.
16275 (CLD_CONTINUED): Likewise.
16276 (POLL_IN): Likewise.
16277 (POLL_OUT): Likewise.
16278 (POLL_MSG): Likewise.
16279 (POLL_ERR): Likewise.
16280 (POLL_PRI): Likewise.
16281 (POLL_HUP): Likewise.
16282 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16284 (ILL_ILLOPN): Likewise.
16285 (ILL_ILLADR): Likewise.
16286 (ILL_ILLTRP): Likewise.
16287 (ILL_PRVOPC): Likewise.
16288 (ILL_PRVREG): Likewise.
16289 (ILL_COPROC): Likewise.
16290 (ILL_BADSTK): Likewise.
16291 (ILL_BADIADDR): Likewise.
16292 (ILL_BREAK): Likewise.
16293 (FPE_INTDIV): Likewise.
16294 (FPE_INTOVF): Likewise.
16295 (FPE_FLTDIV): Likewise.
16296 (FPE_FLTOVF): Likewise.
16297 (FPE_FLTUND): Likewise.
16298 (FPE_FLTRES): Likewise.
16299 (FPE_FLTINV): Likewise.
16300 (FPE_FLTSUB): Likewise.
16301 (FPE_DECOVF): Likewise.
16302 (FPE_DECDIV): Likewise.
16303 (FPE_DECERR): Likewise.
16304 (FPE_INVASC): Likewise.
16305 (FPE_INVDEC): Likewise.
16306 (SEGV_MAPERR): Likewise.
16307 (SEGV_ACCERR): Likewise.
16308 (SEGV_PSTKOVF): Likewise.
16309 (BUS_ADRALN): Likewise.
16310 (BUS_ADRERR): Likewise.
16311 (BUS_OBJERR): Likewise.
16312 (BUS_MCEERR_AR): Likewise.
16313 (BUS_MCEERR_AO): Likewise.
16314 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16315 (TRAP_TRACE): Likewise.
16316 (TRAP_BRANCH): Likewise.
16317 (TRAP_HWBKPT): Likewise.
16318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16320 (CLD_KILLED): Likewise.
16321 (CLD_DUMPED): Likewise.
16322 (CLD_TRAPPED): Likewise.
16323 (CLD_STOPPED): Likewise.
16324 (CLD_CONTINUED): Likewise.
16325 (POLL_IN): Likewise.
16326 (POLL_OUT): Likewise.
16327 (POLL_MSG): Likewise.
16328 (POLL_ERR): Likewise.
16329 (POLL_PRI): Likewise.
16330 (POLL_HUP): Likewise.
16331 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16332 (ILL_ILLOPN): Likewise.
16333 (ILL_ILLADR): Likewise.
16334 (ILL_ILLTRP): Likewise.
16335 (ILL_PRVOPC): Likewise.
16336 (ILL_PRVREG): Likewise.
16337 (ILL_COPROC): Likewise.
16338 (ILL_BADSTK): Likewise.
16339 (FPE_INTDIV): Likewise.
16340 (FPE_INTOVF): Likewise.
16341 (FPE_FLTDIV): Likewise.
16342 (FPE_FLTOVF): Likewise.
16343 (FPE_FLTUND): Likewise.
16344 (FPE_FLTRES): Likewise.
16345 (FPE_FLTINV): Likewise.
16346 (FPE_FLTSUB): Likewise.
16347 (SEGV_MAPERR): Likewise.
16348 (SEGV_ACCERR): Likewise.
16349 (BUS_ADRALN): Likewise.
16350 (BUS_ADRERR): Likewise.
16351 (BUS_OBJERR): Likewise.
16352 (BUS_MCEERR_AR): Likewise.
16353 (BUS_MCEERR_AO): Likewise.
16354 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16355 (TRAP_TRACE): Likewise.
16356 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16358 (CLD_KILLED): Likewise.
16359 (CLD_DUMPED): Likewise.
16360 (CLD_TRAPPED): Likewise.
16361 (CLD_STOPPED): Likewise.
16362 (CLD_CONTINUED): Likewise.
16363 (POLL_IN): Likewise.
16364 (POLL_OUT): Likewise.
16365 (POLL_MSG): Likewise.
16366 (POLL_ERR): Likewise.
16367 (POLL_PRI): Likewise.
16368 (POLL_HUP): Likewise.
16369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16370 (ILL_ILLOPN): Likewise.
16371 (ILL_ILLADR): Likewise.
16372 (ILL_ILLTRP): Likewise.
16373 (ILL_PRVOPC): Likewise.
16374 (ILL_PRVREG): Likewise.
16375 (ILL_COPROC): Likewise.
16376 (ILL_BADSTK): Likewise.
16377 (FPE_INTDIV): Likewise.
16378 (FPE_INTOVF): Likewise.
16379 (FPE_FLTDIV): Likewise.
16380 (FPE_FLTOVF): Likewise.
16381 (FPE_FLTUND): Likewise.
16382 (FPE_FLTRES): Likewise.
16383 (FPE_FLTINV): Likewise.
16384 (FPE_FLTSUB): Likewise.
16385 (SEGV_MAPERR): Likewise.
16386 (SEGV_ACCERR): Likewise.
16387 (BUS_ADRALN): Likewise.
16388 (BUS_ADRERR): Likewise.
16389 (BUS_OBJERR): Likewise.
16390 (BUS_MCEERR_AR): Likewise.
16391 (BUS_MCEERR_AO): Likewise.
16392 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16393 (TRAP_TRACE): Likewise.
16394 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16396 (CLD_KILLED): Likewise.
16397 (CLD_DUMPED): Likewise.
16398 (CLD_TRAPPED): Likewise.
16399 (CLD_STOPPED): Likewise.
16400 (CLD_CONTINUED): Likewise.
16401 (POLL_IN): Likewise.
16402 (POLL_OUT): Likewise.
16403 (POLL_MSG): Likewise.
16404 (POLL_ERR): Likewise.
16405 (POLL_PRI): Likewise.
16406 (POLL_HUP): Likewise.
16407 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16408 (ILL_ILLOPN): Likewise.
16409 (ILL_ILLADR): Likewise.
16410 (ILL_ILLTRP): Likewise.
16411 (ILL_PRVOPC): Likewise.
16412 (ILL_PRVREG): Likewise.
16413 (ILL_COPROC): Likewise.
16414 (ILL_BADSTK): Likewise.
16415 (FPE_INTDIV): Likewise.
16416 (FPE_INTOVF): Likewise.
16417 (FPE_FLTDIV): Likewise.
16418 (FPE_FLTOVF): Likewise.
16419 (FPE_FLTUND): Likewise.
16420 (FPE_FLTRES): Likewise.
16421 (FPE_FLTINV): Likewise.
16422 (FPE_FLTSUB): Likewise.
16423 (SEGV_MAPERR): Likewise.
16424 (SEGV_ACCERR): Likewise.
16425 (BUS_ADRALN): Likewise.
16426 (BUS_ADRERR): Likewise.
16427 (BUS_OBJERR): Likewise.
16428 (BUS_MCEERR_AR): Likewise.
16429 (BUS_MCEERR_AO): Likewise.
16430 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16431 (TRAP_TRACE): Likewise.
16432 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16434 (CLD_KILLED): Likewise.
16435 (CLD_DUMPED): Likewise.
16436 (CLD_TRAPPED): Likewise.
16437 (CLD_STOPPED): Likewise.
16438 (CLD_CONTINUED): Likewise.
16439 (POLL_IN): Likewise.
16440 (POLL_OUT): Likewise.
16441 (POLL_MSG): Likewise.
16442 (POLL_ERR): Likewise.
16443 (POLL_PRI): Likewise.
16444 (POLL_HUP): Likewise.
16445 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16446 (ILL_ILLOPN): Likewise.
16447 (ILL_ILLADR): Likewise.
16448 (ILL_ILLTRP): Likewise.
16449 (ILL_PRVOPC): Likewise.
16450 (ILL_PRVREG): Likewise.
16451 (ILL_COPROC): Likewise.
16452 (ILL_BADSTK): Likewise.
16453 (ILL_DBLFLT): Likewise.
16454 (ILL_HARDWALL): Likewise.
16455 (FPE_INTDIV): Likewise.
16456 (FPE_INTOVF): Likewise.
16457 (FPE_FLTDIV): Likewise.
16458 (FPE_FLTOVF): Likewise.
16459 (FPE_FLTUND): Likewise.
16460 (FPE_FLTRES): Likewise.
16461 (FPE_FLTINV): Likewise.
16462 (FPE_FLTSUB): Likewise.
16463 (SEGV_MAPERR): Likewise.
16464 (SEGV_ACCERR): Likewise.
16465 (BUS_ADRALN): Likewise.
16466 (BUS_ADRERR): Likewise.
16467 (BUS_OBJERR): Likewise.
16468 (BUS_MCEERR_AR): Likewise.
16469 (BUS_MCEERR_AO): Likewise.
16470 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16471 (TRAP_TRACE): Likewise.
16472 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16474 (CLD_KILLED): Likewise.
16475 (CLD_DUMPED): Likewise.
16476 (CLD_TRAPPED): Likewise.
16477 (CLD_STOPPED): Likewise.
16478 (CLD_CONTINUED): Likewise.
16479 (POLL_IN): Likewise.
16480 (POLL_OUT): Likewise.
16481 (POLL_MSG): Likewise.
16482 (POLL_ERR): Likewise.
16483 (POLL_PRI): Likewise.
16484 (POLL_HUP): Likewise.
16485 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16486 (ILL_ILLOPN): Likewise.
16487 (ILL_ILLADR): Likewise.
16488 (ILL_ILLTRP): Likewise.
16489 (ILL_PRVOPC): Likewise.
16490 (ILL_PRVREG): Likewise.
16491 (ILL_COPROC): Likewise.
16492 (ILL_BADSTK): Likewise.
16493 (FPE_INTDIV): Likewise.
16494 (FPE_INTOVF): Likewise.
16495 (FPE_FLTDIV): Likewise.
16496 (FPE_FLTOVF): Likewise.
16497 (FPE_FLTUND): Likewise.
16498 (FPE_FLTRES): Likewise.
16499 (FPE_FLTINV): Likewise.
16500 (FPE_FLTSUB): Likewise.
16501 (SEGV_MAPERR): Likewise.
16502 (SEGV_ACCERR): Likewise.
16503 (BUS_ADRALN): Likewise.
16504 (BUS_ADRERR): Likewise.
16505 (BUS_OBJERR): Likewise.
16506 (BUS_MCEERR_AR): Likewise.
16507 (BUS_MCEERR_AO): Likewise.
16508 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16509 (TRAP_TRACE): Likewise.
16510 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16512 (CLD_KILLED): Likewise.
16513 (CLD_DUMPED): Likewise.
16514 (CLD_TRAPPED): Likewise.
16515 (CLD_STOPPED): Likewise.
16516 (CLD_CONTINUED): Likewise.
16517 (POLL_IN): Likewise.
16518 (POLL_OUT): Likewise.
16519 (POLL_MSG): Likewise.
16520 (POLL_ERR): Likewise.
16521 (POLL_PRI): Likewise.
16522 (POLL_HUP): Likewise.
16523 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16524 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16527 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16528 before #include of <time.h>.
16529 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16530 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16531 (test-xfail-UNIX98/sched.h/conform): Likewise.
16533 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16535 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16536 error absence of trapping exception support.
16537 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16539 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16541 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16542 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16543 * timezone/Makefile (testdata): Move definition above include of
16545 (test-zones): New variable.
16546 (tests-special): Add zone files.
16547 (build-testdata): Use $(evaluate-test).
16549 * elf/Makefile (tests-special): Rename tests to end with .out.
16550 ($(objpfx)noload-mem): Likewise.
16551 ($(objpfx)tst-leaks1-mem): Likewise.
16552 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16553 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16554 $(objpfx)test-iconvconfig.out.
16555 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16556 set -e inside subshell and redirect output to file.
16557 * iconvdata/Makefile (generated): Rename tests to end with .out.
16559 (tests-special): Rename tests to end with .out.
16560 ($(objpfx)mtrace-tst-loading): Likewise.
16561 * intl/Makefile (generated): Likewise.
16562 (tests-special): Likewise.
16563 ($(objpfx)mtrace-tst-gettext): Likewise.
16564 * misc/Makefile (generated): Likewise.
16565 (tests-special): Likewise.
16566 ($(objpfx)tst-error1-mem): Likewise.
16567 * nptl/Makefile (tests-special): Likewise.
16568 ($(objpfx)tst-stack3-mem): Likewise.
16569 (generated): Likewise.
16570 * posix/Makefile (generated): Likewise.
16571 (tests-special): Likewise.
16572 (xtests-special): Likewise.
16573 ($(objpfx)tst-fnmatch-mem): Likewise.
16574 ($(objpfx)bug-regex2-mem): Likewise.
16575 ($(objpfx)bug-regex14-mem): Likewise.
16576 ($(objpfx)bug-regex21-mem): Likewise.
16577 ($(objpfx)bug-regex31-mem): Likewise.
16578 ($(objpfx)tst-vfork3-mem): Likewise.
16579 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16580 ($(objpfx)tst-pcre-mem): Likewise.
16581 ($(objpfx)tst-boost-mem): Likewise.
16582 ($(objpfx)bug-ga2-mem): Likewise.
16583 ($(objpfx)bug-glob2-mem): Likewise.
16584 * resolv/Makefile (generate): Likewise.
16585 (tests-special): Likewise.
16586 (xtests-special): Likewise.
16587 (generated): Likewise.
16588 ($(objpfx)mtrace-tst-leaks): Likewise.
16589 ($(objpfx)mtrace-tst-leaks2): Likewise.
16591 * scripts/merge-test-results.sh: New file.
16592 * Makefile (tests-special-notdir): New variable.
16593 (tests): Run merge-test-results.sh.
16594 (xtests): Likewise.
16595 * Rules (tests-special-notdir): New variable.
16596 (xtests-special-notdir): Likewise.
16597 (tests): Run merge-test-results.sh
16598 (xtests): Likewise.
16600 * Makeconfig (test-xfail-name): New variable.
16601 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16602 compute variable name for expected failures.
16603 * conform/Makefile (conformtest-headers-data): New variable.
16604 (conformtest-standards): Likewise.
16605 (conformtest-headers-ISO): Likewise.
16606 (conformtest-headers-ISO99): Likewise.
16607 (conformtest-headers-ISO11): Likewise.
16608 (conformtest-headers-POSIX): Likewise.
16609 (conformtest-headers-XPG3): Likewise.
16610 (conformtest-headers-XPG4): Likewise.
16611 (conformtest-headers-UNIX98): Likewise.
16612 (conformtest-headers-XOPEN2K): Likewise.
16613 (conformtest-headers-POSIX2008): Likewise.
16614 (conformtest-headers-XOPEN2K8): Likewise.
16615 (conformtest-header-list-base): Likewise.
16616 (conformtest-header-list-tests): Likewise.
16617 (conformtest-header-base): Likewise.
16618 (conformtest-header-tests): Likewise.
16619 (tests-special): Add $(conformtest-header-list-tests). If
16620 [$(fast-check) && !$(cross-compiling)], add
16621 $(conformtest-header-tests) instead of
16622 $(objpfx)run-conformtest.out.
16623 (generated): Add $(conformtest-header-list-base). If
16624 [$(fast-check) && !$(cross-compiling)], add
16625 $(conformtest-header-base). Remove previous setting.
16626 ($(conformtest-header-list-tests)): New target.
16627 (test-xfail-run-conformtest): Remove variable.
16628 ($(objpfx)run-conformtest.out): Remove target.
16629 (test-xfail-ISO11/complex.h/conform): New variable.
16630 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16631 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16632 (test-xfail-XPG3/varargs.h/conform): Likewise.
16633 (test-xfail-XPG4/varargs.h/conform): Likewise.
16634 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16635 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16636 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16637 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16638 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16639 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16640 (test-xfail-XPG3/ftw.h/conform): Likewise.
16641 (test-xfail-XPG3/grp.h/conform): Likewise.
16642 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16643 (test-xfail-XPG3/limits.h/conform): Likewise.
16644 (test-xfail-XPG3/pwd.h/conform): Likewise.
16645 (test-xfail-XPG3/search.h/conform): Likewise.
16646 (test-xfail-XPG3/signal.h/conform): Likewise.
16647 (test-xfail-XPG3/stdio.h/conform): Likewise.
16648 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16649 (test-xfail-XPG3/string.h/conform): Likewise.
16650 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16651 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16652 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16653 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16654 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16655 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16656 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16657 (test-xfail-XPG3/termios.h/conform): Likewise.
16658 (test-xfail-XPG3/time.h/conform): Likewise.
16659 (test-xfail-XPG3/unistd.h/conform): Likewise.
16660 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16661 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16662 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16663 (test-xfail-XPG4/netdb.h/conform): Likewise.
16664 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16665 (test-xfail-XPG4/signal.h/conform): Likewise.
16666 (test-xfail-XPG4/stdio.h/conform): Likewise.
16667 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16668 (test-xfail-XPG4/stropts.h/conform): Likewise.
16669 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16670 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16671 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16672 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16673 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16674 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16675 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16676 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16677 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16678 (test-xfail-XPG4/termios.h/conform): Likewise.
16679 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16680 (test-xfail-XPG4/unistd.h/conform): Likewise.
16681 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16682 (test-xfail-POSIX/sched.h/conform): Likewise.
16683 (test-xfail-POSIX/signal.h/conform): Likewise.
16684 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16685 (test-xfail-POSIX/tar.h/conform): Likewise.
16686 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16687 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16688 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16689 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16690 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16691 (test-xfail-UNIX98/sched.h/conform): Likewise.
16692 (test-xfail-UNIX98/signal.h/conform): Likewise.
16693 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16694 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16695 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16696 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16697 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16698 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16699 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16700 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16701 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16702 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16703 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16704 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16705 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16706 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16707 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16708 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16709 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16710 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16711 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16712 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16713 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16714 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16715 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16716 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16717 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16718 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16719 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16720 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16721 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16722 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16723 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16724 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16725 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16726 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16727 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16728 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16729 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16730 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16731 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16732 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16733 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16734 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16735 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16736 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16737 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16738 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16739 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16740 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16741 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16742 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16743 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16744 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16745 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16746 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16747 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16748 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16749 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16750 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16751 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16752 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16753 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16754 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16755 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16756 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16757 (conformtest-cc-flags): Likewise.
16758 ($(conformtest-header-tests): New target.
16759 * conform/check-header-lists.sh: New file.
16760 * conform/run-conformtest.sh: Remove.
16762 * conform/conformtest.pl: Allow ' and \ in values given for
16764 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16766 [POSIX] (sys/types.h): Likewise.
16767 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16769 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16771 * conform/data/signal.h-data (SIGIO): Remove expectation.
16772 [XPG3] (SIGBUS): Do not expect.
16773 [POSIX || XPG3] (SIGPOLL): Likewise.
16774 [POSIX || XPG3] (SIGPROF): Likewise.
16775 [POSIX || XPG3] (SIGSYS): Likewise.
16776 [XPG3] (SIGTRAP): Likewise.
16777 [POSIX || XPG3] (SIGURG): Likewise.
16778 [POSIX || XPG3] (SIGVTALRM): Likewise.
16779 [POSIX || XPG3] (SIGXCPU): Likewise.
16780 [POSIX || XPG3] (SIGXFSZ): Likewise.
16781 [POSIX] (SA_SIGINFO): Expect.
16782 [XPG3] (siginfo_t): Do not expect type or contents.
16783 [POSIX] (si_pid): Do not expect element.
16784 [POSIX] (si_uid): Likewise.
16785 [POSIX] (si_addr): Likewise.
16786 [POSIX] (si_status): Likewise.
16787 [POSIX] (si_band): Likewise.
16788 [XPG4] (si_value): Likewise.
16789 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16790 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16791 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16792 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16793 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16794 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16795 [POSIX || XPG3] (ILL_COPROC): Likewise.
16796 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16797 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16798 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16799 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16800 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16801 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16802 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16803 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16804 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16805 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16806 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16807 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16808 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16809 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16810 [POSIX || XPG3] (CLD_EXITED): Likewise.
16811 [POSIX || XPG3] (CLD_KILLED): Likewise.
16812 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16813 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16814 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16815 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16816 [POSIX || XPG3] (POLL_IN): Likewise.
16817 [POSIX || XPG3] (POLL_OUT): Likewise.
16818 [POSIX || XPG3] (POLL_MSG): Likewise.
16819 [POSIX || XPG3] (POLL_ERR): Likewise.
16820 [POSIX || XPG3] (POLL_PRI): Likewise.
16821 [POSIX || XPG3] (POLL_HUP): Likewise.
16822 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16823 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16824 (SIG*): Do not allow.
16825 [XPG3] (si_*): Likewise.
16826 [XPG3] (SI_*): Likewise.
16827 [XPG3 || XPG4] (sigev_*): Likewise.
16828 [XPG3 || XPG4] (SIGEV_*): Likewise.
16829 [XPG3 || XPG4] (sival_*): Likewise.
16830 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16831 [POSIX || XPG3] (BUS_*): Likewise.
16832 [POSIX || XPG3] (CLD_*): Likewise.
16833 [POSIX || XPG3] (FPE_*): Likewise.
16834 [POSIX || XPG3] (ILL_*): Likewise.
16835 [POSIX || XPG3] (POLL_*): Likewise.
16836 [POSIX || XPG3] (SEGV_*): Likewise.
16837 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16838 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16839 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16840 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16841 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16842 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16843 Specify type and value.
16844 (TVERSLEN): Likewise.
16845 (REGTYPE): Likewise.
16846 (AREGTYPE): Likewise.
16847 (LNKTYPE): Likewise.
16848 (SYMTYPE): Likewise.
16849 (CHRTYPE): Likewise.
16850 (BLKTYPE): Likewise.
16851 (DIRTYPE): Likewise.
16852 (FIFOTYPE): Likewise.
16853 (CONTTYPE): Likewise.
16857 (TUREAD): Likewise.
16858 (TUWRITE): Likewise.
16859 (TUEXEC): Likewise.
16860 (TGREAD): Likewise.
16861 (TGWRITE): Likewise.
16862 (TGEXEC): Likewise.
16863 (TOREAD): Likewise.
16864 (TOWRITE): Likewise.
16865 (TOEXEC): Likewise.
16866 [POSIX] (TSVTX): Expect constant.
16868 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16870 * Makefile (tests): Change dependencies to ....
16871 (tests-special): ... additions to this variable.
16872 (tests): Depend on $(tests-special).
16873 * Makerules (check-abi-list): New variable.
16874 (check-abi): Depend on $(check-abi-list).
16875 [$(subdir) = elf] (tests-special): Add
16876 $(objpfx)check-abi-libc.out.
16877 [$(build-shared) = yes && subdir] (tests-special): Add
16879 [$(build-shared) = yes && subdir] (tests): Do not depend on
16881 * Rules (tests): Depend on $(tests-special).
16882 (xtests): Depend on $(xtests-special).
16883 * catgets/Makefile (tests): Change dependencies to ....
16884 (tests-special): ... additions to this variable.
16885 * conform/Makefile (tests): Change dependencies to ....
16886 (tests-special): ... additions to this variable.
16887 * elf/Makefile (tests): Change dependencies to ....
16888 (tests-special): ... additions to this variable.
16889 * grp/Makefile (tests): Change dependencies to ....
16890 (tests-special): ... additions to this variable.
16891 * iconv/Makefile (xtests): Change dependencies to ....
16892 (xtests-special): ... additions to this variable.
16893 * iconvdata/Makefile (tests): Change dependencies to ....
16894 (tests-special): ... additions to this variable.
16895 * intl/Makefile (tests): Change dependencies to ....
16896 (tests-special): ... additions to this variable. Also add
16897 $(objpfx)tst-gettext.out.
16898 * io/Makefile (tests): Change dependencies to ....
16899 (tests-special): ... additions to this variable.
16900 * libio/Makefile (tests): Change dependencies to ....
16901 (tests-special): ... additions to this variable.
16902 * malloc/Makefile (tests): Change dependencies to ....
16903 (tests-special): ... additions to this variable.
16904 * misc/Makefile (tests): Change dependencies to ....
16905 (tests-special): ... additions to this variable.
16906 * nptl/Makefile (tests): Change dependencies to ....
16907 (tests-special): ... additions to this variable.
16908 * nptl_db/Makefile (tests): Change dependencies to ....
16909 (tests-special): ... additions to this variable.
16910 * posix/Makefile (tests): Change dependencies to ....
16911 (tests-special): ... additions to this variable.
16912 (xtests): Change dependencies to ....
16913 (xtests-special): ... additions to this variable.
16914 * resolv/Makefile (tests): Change dependencies to ....
16915 (tests-special): ... additions to this variable.
16916 (xtests): Change dependencies to ....
16917 (xtests-special): ... additions to this variable.
16918 * stdio-common/Makefile (tests): Change dependencies to ....
16919 (tests-special): ... additions to this variable.
16920 (do-tst-unbputc): Remove target.
16921 (do-tst-printf): Likewise.
16922 * stdlib/Makefile (tests): Change dependencies to ....
16923 (tests-special): ... additions to this variable.
16924 * string/Makefile (tests): Change dependencies to ....
16925 (tests-special): ... additions to this variable.
16926 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16927 (tests-special): ... additions to this variable.
16929 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16931 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16933 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16934 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16936 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16937 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16938 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16939 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16940 * conform/data/libgen.h-data [XPG3]: Likewise.
16941 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16942 * conform/data/ndbm.h-data [XPG3]: Likewise.
16943 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16944 * conform/data/netdb.h-data [XPG3]: Likewise.
16945 * conform/data/netinet/in.h-data [XPG3]: Likewise.
16946 * conform/data/poll.h-data [XPG3]: Likewise.
16947 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16948 * conform/data/strings.h-data [XPG3]: Likewise.
16949 * conform/data/stropts.h-data [XPG3]: Likewise.
16950 * conform/data/sys/mman.h-data [XPG3]: Likewise.
16951 * conform/data/sys/resource.h-data [XPG3]: Likewise.
16952 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16954 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16955 * conform/data/sys/time.h-data [XPG3]: Likewise.
16956 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16957 * conform/data/sys/uio.h-data [XPG3]: Likewise.
16958 * conform/data/sys/un.h-data [XPG3]: Likewise.
16959 * conform/data/syslog.h-data [XPG3]: Likewise.
16960 * conform/data/ucontext.h-data [XPG3]: Likewise.
16961 * conform/data/utmpx.h-data [XPG3]: Likewise.
16962 * conform/data/varargs.h-data [UNIX98]: Enable file.
16964 * manual/Makefile (INSTALL_INFO): Remove variable setting.
16966 * math/libm-test.inc (struct test_f_f_data): Move expected results
16967 into structure for each rounding mode.
16968 (struct test_ff_f_data): Likewise.
16969 (struct test_ff_f_data_nexttoward): Likewise.
16970 (struct test_fi_f_data): Likewise.
16971 (struct test_fl_f_data): Likewise.
16972 (struct test_if_f_data): Likewise.
16973 (struct test_fff_f_data): Likewise.
16974 (struct test_c_f_data): Likewise.
16975 (struct test_f_f1_data): Likewise.
16976 (struct test_fF_f1_data): Likewise.
16977 (struct test_ffI_f1_data): Likewise.
16978 (struct test_c_c_data): Likewise.
16979 (struct test_cc_c_data): Likewise.
16980 (struct test_f_i_data): Likewise.
16981 (struct test_ff_i_data): Likewise.
16982 (struct test_f_l_data): Likewise.
16983 (struct test_f_L_data): Likewise.
16984 (struct test_fFF_11_data): Likewise.
16986 (RM_FE_DOWNWARD): Likewise.
16987 (RM_FE_TONEAREST): Likewise.
16988 (RM_FE_TOWARDZERO): Likewise.
16989 (RM_FE_UPWARD): Likewise.
16990 (RUN_TEST_LOOP_f_f): Update references to expected results.
16991 (RUN_TEST_LOOP_2_f): Likewise.
16992 (RUN_TEST_LOOP_fff_f): Likewise.
16993 (RUN_TEST_LOOP_c_f): Likewise.
16994 (RUN_TEST_LOOP_f_f1): Likewise.
16995 (RUN_TEST_LOOP_fF_f1): Likewise.
16996 (RUN_TEST_LOOP_fI_f1): Likewise.
16997 (RUN_TEST_LOOP_ffI_f1): Likewise.
16998 (RUN_TEST_LOOP_c_c): Likewise.
16999 (RUN_TEST_LOOP_cc_c): Likewise.
17000 (RUN_TEST_LOOP_f_i): Likewise.
17001 (RUN_TEST_LOOP_f_i_tg): Likewise.
17002 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17003 (RUN_TEST_LOOP_f_b): Likewise.
17004 (RUN_TEST_LOOP_f_b_tg): Likewise.
17005 (RUN_TEST_LOOP_f_l): Likewise.
17006 (RUN_TEST_LOOP_f_L): Likewise.
17007 (RUN_TEST_LOOP_fFF_11): Likewise.
17008 * math/gen-libm-test.pl (parse_args): Output four copies of
17009 expected results for each test.
17011 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17012 (__ASSUME_UTIMES): Remove.
17013 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17014 (__ASSUME_UTIMES): Likewise.
17016 * math/gen-auto-libm-tests.c: Update comment on output format.
17017 (output_for_one_input_case): Generate before-rounding and
17018 after-rounding information as conditions on output flags not
17019 floating-point format.
17020 * math/auto-libm-test-out: Regenerated.
17021 * math/gen-libm-test.pl (cond_value): New function.
17022 (or_cond_value): Use cond_value.
17023 (generate_testfile): Handle conditional exceptions.
17025 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17027 * math/libm-test.inc (max_valid_error): New variable.
17028 (init_max_error): Take new argument specifying whether function
17029 results are exactly determined. Set max_valid_error and bound
17030 other variables for errors based on this argument.
17031 (set_max_error): Do not record results above max_valid_error.
17032 (check_float_internal): Only accept errors of up to 0.5ulps if
17033 also at most max_valid_error.
17034 (START): Take new argument EXACT and pass it to init_max_error.
17035 (acos_test): Update call to START.
17036 (acos_test_tonearest): Likewise.
17037 (acos_test_towardzero): Likewise.
17038 (acos_test_downward): Likewise.
17039 (acos_test_upward): Likewise.
17040 (acosh_test): Likewise.
17041 (asin_test): Likewise.
17042 (asin_test_tonearest): Likewise.
17043 (asin_test_towardzero): Likewise.
17044 (asin_test_downward): Likewise.
17045 (asin_test_upward): Likewise.
17046 (asinh_test): Likewise.
17047 (atan_test): Likewise.
17048 (atanh_test): Likewise.
17049 (atan2_test): Likewise.
17050 (cabs_test): Likewise.
17051 (cacos_test): Likewise.
17052 (cacosh_test): Likewise.
17053 (carg_test): Likewise.
17054 (casin_test): Likewise.
17055 (casinh_test): Likewise.
17056 (catan_test): Likewise.
17057 (catanh_test): Likewise.
17058 (cbrt_test): Likewise.
17059 (ccos_test): Likewise.
17060 (ccosh_test): Likewise.
17061 (ceil_test): Likewise.
17062 (cexp_test): Likewise.
17063 (cimag_test): Likewise.
17064 (clog_test): Likewise.
17065 (clog10_test): Likewise.
17066 (conj_test): Likewise.
17067 (copysign_test): Likewise.
17068 (cos_test): Likewise.
17069 (cos_test_tonearest): Likewise.
17070 (cos_test_towardzero): Likewise.
17071 (cos_test_downward): Likewise.
17072 (cos_test_upward): Likewise.
17073 (cosh_test): Likewise.
17074 (cosh_test_tonearest): Likewise.
17075 (cosh_test_towardzero): Likewise.
17076 (cosh_test_downward): Likewise.
17077 (cosh_test_upward): Likewise.
17078 (cpow_test): Likewise.
17079 (cproj_test): Likewise.
17080 (creal_test): Likewise.
17081 (csin_test): Likewise.
17082 (csinh_test): Likewise.
17083 (csqrt_test): Likewise.
17084 (ctan_test): Likewise.
17085 (ctan_test_tonearest): Likewise.
17086 (ctan_test_towardzero): Likewise.
17087 (ctan_test_downward): Likewise.
17088 (ctan_test_upward): Likewise.
17089 (ctanh_test): Likewise.
17090 (ctanh_test_tonearest): Likewise.
17091 (ctanh_test_towardzero): Likewise.
17092 (ctanh_test_downward): Likewise.
17093 (ctanh_test_upward): Likewise.
17094 (erf_test): Likewise.
17095 (erfc_test): Likewise.
17096 (exp_test): Likewise.
17097 (exp_test_tonearest): Likewise.
17098 (exp_test_towardzero): Likewise.
17099 (exp_test_downward): Likewise.
17100 (exp_test_upward): Likewise.
17101 (exp10_test): Likewise.
17102 (exp10_test_tonearest): Likewise.
17103 (exp10_test_towardzero): Likewise.
17104 (exp10_test_downward): Likewise.
17105 (exp10_test_upward): Likewise.
17106 (pow10_test): Likewise.
17107 (exp2_test): Likewise.
17108 (expm1_test): Likewise.
17109 (expm1_test_tonearest): Likewise.
17110 (expm1_test_towardzero): Likewise.
17111 (expm1_test_downward): Likewise.
17112 (expm1_test_upward): Likewise.
17113 (fabs_test): Likewise.
17114 (fdim_test): Likewise.
17115 (floor_test): Likewise.
17116 (fma_test): Likewise.
17117 (fma_test_towardzero): Likewise.
17118 (fma_test_downward): Likewise.
17119 (fma_test_upward): Likewise.
17120 (fmax_test): Likewise.
17121 (fmin_test): Likewise.
17122 (fmod_test): Likewise.
17123 (fpclassify_test): Likewise.
17124 (frexp_test): Likewise.
17125 (hypot_test): Likewise.
17126 (ilogb_test): Likewise.
17127 (isfinite_test): Likewise.
17128 (finite_test): Likewise.
17129 (isgreater_test): Likewise.
17130 (isgreaterequal_test): Likewise.
17131 (isinf_test): Likewise.
17132 (isless_test): Likewise.
17133 (islessequal_test): Likewise.
17134 (islessgreater_test): Likewise.
17135 (isnan_test): Likewise.
17136 (isnormal_test): Likewise.
17137 (issignaling_test): Likewise.
17138 (isunordered_test): Likewise.
17139 (j0_test): Likewise.
17140 (j1_test): Likewise.
17141 (jn_test): Likewise.
17142 (ldexp_test): Likewise.
17143 (lgamma_test): Likewise.
17144 (gamma_test): Likewise.
17145 (lrint_test): Likewise.
17146 (lrint_test_tonearest): Likewise.
17147 (lrint_test_towardzero): Likewise.
17148 (lrint_test_downward): Likewise.
17149 (lrint_test_upward): Likewise.
17150 (llrint_test): Likewise.
17151 (llrint_test_tonearest): Likewise.
17152 (llrint_test_towardzero): Likewise.
17153 (llrint_test_downward): Likewise.
17154 (llrint_test_upward): Likewise.
17155 (log_test): Likewise.
17156 (log10_test): Likewise.
17157 (log1p_test): Likewise.
17158 (log2_test): Likewise.
17159 (logb_test): Likewise.
17160 (logb_test_downward): Likewise.
17161 (lround_test): Likewise.
17162 (llround_test): Likewise.
17163 (modf_test): Likewise.
17164 (nearbyint_test): Likewise.
17165 (nextafter_test): Likewise.
17166 (nexttoward_test): Likewise.
17167 (pow_test): Likewise.
17168 (pow_test_tonearest): Likewise.
17169 (pow_test_towardzero): Likewise.
17170 (pow_test_downward): Likewise.
17171 (pow_test_upward): Likewise.
17172 (remainder_test): Likewise.
17173 (drem_test): Likewise.
17174 (remainder_test_tonearest): Likewise.
17175 (drem_test_tonearest): Likewise.
17176 (remainder_test_towardzero): Likewise.
17177 (drem_test_towardzero): Likewise.
17178 (remainder_test_downward): Likewise.
17179 (drem_test_downward): Likewise.
17180 (remainder_test_upward): Likewise.
17181 (drem_test_upward): Likewise.
17182 (remquo_test): Likewise.
17183 (rint_test): Likewise.
17184 (rint_test_tonearest): Likewise.
17185 (rint_test_towardzero): Likewise.
17186 (rint_test_downward): Likewise.
17187 (rint_test_upward): Likewise.
17188 (round_test): Likewise.
17189 (scalb_test): Likewise.
17190 (scalbn_test): Likewise.
17191 (scalbln_test): Likewise.
17192 (signbit_test): Likewise.
17193 (sin_test): Likewise.
17194 (sin_test_tonearest): Likewise.
17195 (sin_test_towardzero): Likewise.
17196 (sin_test_downward): Likewise.
17197 (sin_test_upward): Likewise.
17198 (sincos_test): Likewise.
17199 (sinh_test): Likewise.
17200 (sinh_test_tonearest): Likewise.
17201 (sinh_test_towardzero): Likewise.
17202 (sinh_test_downward): Likewise.
17203 (sinh_test_upward): Likewise.
17204 (sqrt_test): Likewise.
17205 (sqrt_test_tonearest): Likewise.
17206 (sqrt_test_towardzero): Likewise.
17207 (sqrt_test_downward): Likewise.
17208 (sqrt_test_upward): Likewise.
17209 (tan_test): Likewise.
17210 (tan_test_tonearest): Likewise.
17211 (tan_test_towardzero): Likewise.
17212 (tan_test_downward): Likewise.
17213 (tan_test_upward): Likewise.
17214 (tanh_test): Likewise.
17215 (tgamma_test): Likewise.
17216 (trunc_test): Likewise.
17217 (y0_test): Likewise.
17218 (y1_test): Likewise.
17219 (yn_test): Likewise.
17220 (significand_test): Likewise.
17222 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17223 individual tests in comment.
17224 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17225 (prev_max_error): New variable.
17226 (prev_real_max_error): Likewise.
17227 (prev_imag_max_error): Likewise.
17228 (compare_ulp_data): Don't refer to test names in comment.
17229 (find_test_ulps): Remove function.
17230 (find_function_ulps): Likewise.
17231 (find_complex_function_ulps): Likewise.
17232 (init_max_error): Take function name as argument. Look up ulps
17234 (print_ulps): Remove function.
17235 (print_max_error): Use prev_max_error instead of calling
17236 find_function_ulps.
17237 (print_complex_max_error): Use prev_real_max_error and
17238 prev_imag_max_error instead of calling find_complex_function_ulps.
17239 (check_float_internal): Take max_ulp parameter instead of calling
17240 find_test_ulps. Don't call print_ulps.
17241 (check_float): Update call to check_float_internal.
17242 (check_complex): Update calls to check_float_internal.
17243 (START): Pass argument to init_max_error.
17244 * math/gen-libm-test.pl (%results): Don't include "kind"
17246 (parse_ulps): Don't handle ulps of individual tests.
17247 (print_ulps_file): Likewise.
17248 (output_ulps): Likewise.
17249 * math/README.libm-test: Update.
17250 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17252 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17253 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17254 * sysdeps/arm/libm-test-ulps: Likewise.
17255 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17256 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17257 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17258 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17259 * sysdeps/microblaze/libm-test-ulps: Likewise.
17260 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17261 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17262 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17263 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17264 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17265 * sysdeps/sh/libm-test-ulps: Likewise.
17266 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17267 * sysdeps/tile/libm-test-ulps: Likewise.
17268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17270 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17272 * math/libm-test.inc (print_complex_max_error): Check separately
17273 whether real and imaginary errors are within allowed range and
17274 pass 0 to print_complex_function_ulps instead of value within
17277 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17279 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17281 (get_handles_fopen): Likewise.
17282 (do_write_test): Likewise.
17284 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17286 * libio/fileops.c (do_ftell): Use cached offset when
17288 * libio/iofwide.c (do_ftell_wide): Likewise.
17289 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17291 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17294 * libio/libioP.h (get_file_offset): New function.
17295 * libio/fileops.c (get_file_offset): Likewise.
17296 (do_ftell): Likewise.
17297 (_IO_new_file_seekoff): Split out ftell logic.
17298 * libio/wfileops.c (do_ftell_wide): Likewise.
17299 (_IO_wfile_seekoff): Split out ftell logic.
17300 * libio/tst-ftell-active-handler.c: New test case.
17301 * libio/Makefile (tests): Add it.
17303 2014-03-03 Roland McGrath <roland@hack.frob.com>
17305 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17306 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17308 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17311 * nscd/connections.c (nscd_init): Call do_exit.
17312 (start_threads): Call do_exit and notify_parent.
17313 (begin_drop_privileges): Call do_exit.
17314 (finish_drop_privileges): Likewise.
17315 * nscd/selinux.c (preserve_capabilities): Likewise.
17316 (install_real_capabilities): Likewise.
17317 (nscd_selinux_enabled): Likewise.
17318 (avc_create_thread): Likewise.
17319 (avc_alloc_lock): Likewise.
17320 (nscd_avc_init): Likewise.
17321 * nscd/nscd.c (parent_fd): New static variable.
17322 (main): Create a pipe between parent and child processes.
17323 Skip closing parent_fd.
17324 (monitor_child): New function.
17325 (do_exit): Likewise.
17326 (notify_parent): Likewise.
17327 * nscd/nscd.h (notify_parent): Likewise.
17328 (do_exit): Likewise.
17330 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17332 * malloc/malloc.c (__libc_calloc): Revert last change.
17334 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17338 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17340 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17341 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17343 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17344 (__libc_ifunc_impl_list): Likewise.
17345 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17346 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17347 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17348 * string/strrchr.c: Define STRRCHR.
17350 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17352 * benchtest/bench-strtok.c (simple_strtok): Delete.
17353 (strtok_string): Use as benchmark.
17354 * string/strtok (STRTOK): New macro.
17356 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17358 * manual/threads.texi: Add header and standard comments to all
17361 * elf/dl-lookup.c (check_match): New function.
17362 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17363 (do_lookup_x): Remove nested function check_match. Use non-nested
17364 function check_match.
17366 2014-02-28 Roland McGrath <roland@hack.frob.com>
17368 * csu/Makefile (generated, before-compile): Use += rather than =.
17369 * catgets/Makefile (generated, generated-dirs): Likewise.
17370 * debug/Makefile (generated): Likewise.
17371 * dlfcn/Makefile (generated): Likewise.
17372 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17373 * iconvdata/Makefile (before-compile, generated): Likewise.
17374 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17375 * libio/Makefile (generated): Likewise.
17376 * malloc/Makefile (generated): Likewise.
17377 * manual/Makefile (generated, generated-dirs): Likewise.
17378 * misc/Makefile (generated): Likewise.
17379 * posix/Makefile (generated): Likewise.
17380 * resolv/Makefile (generated): Likewise.
17381 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17382 * timezone/Makefile (generated, generated-dirs): Likewise.
17384 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17386 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17389 power8 implementation.
17390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17391 file: POWER8 llround ifunc implementation.
17392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17393 (__lllround): Add POWER8 implementation.
17394 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17395 POWER8 llround implementation.
17397 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17398 power8 implementation.
17399 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17400 file: POWER8 llrint ifunc implementation.
17401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17402 Add POWER8 implementation.
17403 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17404 POWER8 llrint implementation.
17406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17407 power8 implementation.
17408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17409 file: POWER8 finite ifunc implementation.
17410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17411 Add POWER8 implementation.
17412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17414 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17415 POWER8 finite implementation.
17416 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17418 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17419 power8 implementation.
17420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17421 file: POWER8 isinf ifunc implementation.
17422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17423 POWER8 implementation.
17424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17426 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17427 isinf implementation.
17428 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17430 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17431 (INIT_ARCH): Add hwcap2 initialization.
17432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17433 power8 implementation.
17434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17435 file: POWER8 isnan ifunc implementation.
17436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17437 POWER8 implementation.
17438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17440 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17441 isnan implementation.
17442 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17444 2014-02-27 Joey Ye <joey.ye@arm.com>
17446 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17447 (_FP_NANFRAC_Q): Set to zero.
17449 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17452 * math/auto-libm-test-in: New test inputs.
17453 * math/auto-libm-test-out: Regenerate.
17454 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17457 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17459 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17461 * scripts/evaluate-test.sh: Take new argument indicating whether
17462 failure is expected.
17463 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17464 indicating whether failure is expected.
17465 * conform/Makefile (test-xfail-run-conformtest): New variable.
17466 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17468 * posix/Makefile (test-xfail-annexc): New variable.
17469 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17471 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17473 * argp/Makefile: Include Makeconfig immediately after defining
17475 * assert/Makefile: Likewise.
17476 * benchtests/Makefile: Likewise.
17477 * catgets/Makefile: Likewise.
17478 * conform/Makefile: Likewise.
17479 * crypt/Makefile: Likewise.
17480 * csu/Makefile: Likewise.
17481 (all): Remove target.
17482 * ctype/Makefile: Include Makeconfig immediately after defining
17484 * debug/Makefile: Likewise.
17485 * dirent/Makefile: Likewise.
17486 * dlfcn/Makefile: Likewise.
17487 * gmon/Makefile: Likewise.
17488 * gnulib/Makefile: Likewise.
17489 * grp/Makefile: Likewise.
17490 * gshadow/Makefile: Likewise.
17491 * hesiod/Makefile: Likewise.
17492 * hurd/Makefile: Likewise.
17493 (all): Remove target.
17494 * iconvdata/Makefile: Include Makeconfig immediately after
17496 * inet/Makefile: Likewise.
17497 * intl/Makefile: Likewise.
17498 * io/Makefile: Likewise.
17499 * libio/Makefile: Likewise.
17500 (all): Remove target.
17501 * locale/Makefile: Include Makeconfig immediately after defining
17503 * login/Makefile: Likewise.
17504 * mach/Makefile: Likewise.
17505 (all): Remove target.
17506 * malloc/Makefile: Include Makeconfig immediately after defining
17508 (all): Remove target.
17509 * manual/Makefile: Include Makeconfig immediately after defining
17511 * math/Makefile: Likewise.
17512 * misc/Makefile: Likewise.
17513 * nis/Makefile: Likewise.
17514 * nss/Makefile: Likewise.
17515 * po/Makefile: Likewise.
17516 (all): Remove target.
17517 * posix/Makefile: Include Makeconfig immediately after defining
17519 * pwd/Makefile: Likewise.
17520 * resolv/Makefile: Likewise.
17521 * resource/Makefile: Likewise.
17522 * rt/Makefile: Likewise.
17523 * setjmp/Makefile: Likewise.
17524 * shadow/Makefile: Likewise.
17525 * signal/Makefile: Likewise.
17526 * socket/Makefile: Likewise.
17527 * soft-fp/Makefile: Likewise.
17528 * stdio-common/Makefile: Likewise.
17529 * stdlib/Makefile: Likewise.
17530 * streams/Makefile: Likewise.
17531 * string/Makefile: Likewise.
17532 * sunrpc/Makefile: Likewise.
17533 (all): Remove target.
17534 * sysvipc/Makefile: Include Makeconfig immediately after defining
17536 * termios/Makefile: Likewise.
17537 * time/Makefile: Likewise.
17538 * timezone/Makefile: Likewise.
17539 (all): Remove target.
17540 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17542 * wctype/Makefile: Likewise.
17544 2014-02-26 Steve Ellcey <sellcey@mips.com>
17546 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17547 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17548 (libc_feholdexcept_setround_mips): Ditto.
17549 (libc_feholdsetround): New.
17550 (libc_feholdsetroundf): New.
17551 (libc_feholdsetroundl): New.
17552 (libc_feupdateenv_test_mips): New.
17553 (libc_feupdateenv_test): New.
17554 (libc_feupdateenv_testf): New.
17555 (libc_feupdateenv_testl): New.
17556 (libc_feresetround): New.
17557 (libc_feresetroundf): New.
17558 (libc_feresetroundl): New.
17559 (libc_fetestexcept_mips): New.
17560 (libc_fetestexcept): New.
17561 (libc_fetestexceptf): New.
17562 (libc_fetestexceptl): New.
17563 (HAVE_RM_CTX): New.
17564 (libc_feholdexcept_setround_mips_ctx): New.
17565 (libc_feholdexcept_setround_ctx): New.
17566 (libc_feholdexcept_setroundf_ctx): New.
17567 (libc_feholdexcept_setroundl_ctx): New.
17568 (libc_fesetenv_mips_ctx): New.
17569 (libc_fesetenv_ctx): New.
17570 (libc_fesetenv_ctxf): New.
17571 (libc_fesetenv_ctxl): New.
17572 (libc_feupdateenv_mips_ctx): New.
17573 (libc_feupdateenv_ctx): New.
17574 (libc_feupdateenvf_ctx): New.
17575 (libc_feupdateenvl_ctx): New.
17576 (libc_feholdsetround_mips_ctx): New.
17577 (libc_feholdsetround_ctx): New.
17578 (libc_feholdsetroundf_ctx): New.
17579 (libc_feholdsetroundl_ctx): New.
17580 (libc_feresetround_mips_ctx): New.
17581 (libc_feresetround_ctx): New.
17582 (libc_feresetroundf_ctx): New.
17583 (libc_feresetroundl_ctx): New.
17585 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17587 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17589 * manual/ipc.texi: New file.
17590 * manual/Makefile (chapters): Add ipc.
17591 * manual/job.texi: Add "Inter-Process Communication" to next.
17592 * manual/process.texi: Add "Inter-Process Communication" to prev.
17594 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17598 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17600 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17602 * manual/arith.texi: Fix spaces after sentences.
17603 * manual/charset.texi: Likewise.
17604 * manual/errno.texi: Likewise.
17605 * manual/install.texi: Likewise.
17606 * manual/llio.texi: Likewise.
17607 * manual/locale.texi: Likewise.
17608 * manual/maint.texi: Likewise.
17609 * manual/math.texi: Likewise.
17610 * manual/memory.texi: Likewise.
17611 * manual/message.texi: Likewise.
17612 * manual/probes.texi: Likewise.
17613 * manual/resource.texi: Likewise.
17614 * manual/signal.texi: Likewise.
17615 * manual/socket.texi: Likewise.
17616 * manual/stdio.texi: Likewise.
17617 * manual/string.texi: Likewise.
17618 * manual/time.texi: Likewise.
17619 * manual/users.texi: Likewise.
17621 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17624 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17625 _DEFAULT_SOURCE is defined.
17627 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17628 Carlos O'Donell <carlos@redhat.com>
17631 * elf/dl-tls.c (_dl_count_modids): New function.
17632 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17633 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17634 audit library and increment generation counter.
17635 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17636 * elf/tst-audit9.c: New file.
17637 * elf/tst-auditmod9a.c: New file.
17638 * elf/tst-auditmod9b.c: New file.
17639 * elf/Makefile: Add rules to build and run tst-audit9.
17641 2014-02-25 Florian Weimer <fweimer@redhat.com>
17644 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17646 2014-02-25 Will Newton <will.newton@linaro.org>
17648 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17649 (__longjmp): Restore sp and lr before restoring callee
17650 saved registers. Add longjmp and longjmp_target
17651 SystemTap probe point.
17652 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17653 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17654 Define to zero to match jmpbuf layout.
17655 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17656 (__sigsetjmp): Save sp and lr before saving callee
17657 saved registers. Add setjmp SystemTap probe point.
17659 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17661 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17663 2014-02-24 Andreas Schwab <schwab@suse.de>
17666 * elf/pldd.c (wait_for_ptrace_stop): New function.
17667 (main): Call it after attaching.
17669 2014-02-22 Roland McGrath <roland@hack.frob.com>
17671 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17672 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17673 Versions files is now verboten.
17674 * hurd/Versions (libc: GLIBC_2.0):
17675 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17676 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17677 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17678 * mach/Versions: Likewise.
17680 * csu/Versions: Remove unused %include.
17681 * resolv/Versions: Likewise.
17683 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17685 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17686 ($(objpfx)check-local-headers.out): Likewise.
17687 ($(objpfx)begin-end-check.out): Likewise.
17688 * Makerules (check-abi-%.out): Likewise.
17689 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17690 ($(objpfx)test2.cat): Likewise.
17691 ($(objpfx)de/libc.cat): Likewise.
17692 ($(objpfx)test-gencat.out): Likewise.
17693 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17694 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17695 ($(objpfx)noload-mem): Likewise.
17696 ($(objpfx)tst-pathopt.out): Likewise.
17697 ($(objpfx)tst-rtld-load-self.out): Likewise.
17698 ($(objpfx)tst-array1-cmp.out): Likewise.
17699 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17700 ($(objpfx)tst-array2-cmp.out): Likewise.
17701 ($(objpfx)tst-array3-cmp.out): Likewise.
17702 ($(objpfx)tst-array4-cmp.out): Likewise.
17703 ($(objpfx)tst-array5-cmp.out): Likewise.
17704 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17705 ($(objpfx)check-textrel.out): Likewise.
17706 ($(objpfx)check-execstack.out): Likewise.
17707 ($(objpfx)check-localplt.out): Likewise.
17708 ($(objpfx)order2-cmp.out): Likewise.
17709 ($(objpfx)tst-leaks1-mem): Likewise.
17710 ($(objpfx)tst-leaks1-static-mem): Likewise.
17711 ($(objpfx)tst-initorder-cmp.out): Likewise.
17712 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17713 ($(objpfx)tst-unused-dep.out): Likewise.
17714 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17715 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17716 * iconv/Makefile (test-iconvconfig): Likewise.
17717 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17718 ($(objpfx)iconv-test.out): Likewise.
17719 ($(objpfx)tst-tables.out): Likewise.
17720 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17721 ($(objpfx)tst-gettext.out): Likewise.
17722 ($(objpfx)tst-translit.out): Likewise.
17723 ($(objpfx)tst-gettext2.out): Likewise.
17724 ($(objpfx)tst-gettext4.out): Likewise.
17725 ($(objpfx)tst-gettext6.out): Likewise.
17726 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17727 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17728 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17729 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17730 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17731 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17732 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17733 ($(objpfx)wordexp-tst.out): Likewise.
17734 ($(objpfx)annexc.out): Likewise.
17735 ($(objpfx)tst-fnmatch-mem): Likewise.
17736 ($(objpfx)bug-regex2-mem): Likewise.
17737 ($(objpfx)bug-regex14-mem): Likewise.
17738 ($(objpfx)bug-regex21-mem): Likewise.
17739 ($(objpfx)bug-regex31-mem): Likewise.
17740 ($(objpfx)tst-vfork3-mem): Likewise.
17741 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17742 ($(objpfx)tst-pcre-mem): Likewise.
17743 ($(objpfx)tst-boost-mem): Likewise.
17744 ($(objpfx)tst-getconf.out): Likewise.
17745 ($(objpfx)bug-ga2-mem): Likewise.
17746 ($(objpfx)bug-glob2-mem): Likewise.
17747 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17748 ($(objpfx)mtrace-tst-leaks2): Likewise.
17749 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17750 ($(objpfx)tst-printf.out): Likewise.
17751 ($(objpfx)tst-setvbuf1.out): Likewise.
17752 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17753 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17754 ($(objpfx)tst-fmtmsg.out): Likewise.
17755 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17756 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17758 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17759 * bits/sigaction.h [__USE_MISC]: Likewise.
17760 * bits/waitstatus.h: Update #endif comments.
17761 * ctype/ctype.h: Likewise.
17762 * dirent/dirent.h: Likewise.
17763 [__USE_MISC]: Remove redundant conditionals.
17764 * grp/grp.h: Update #endif comments.
17765 [__USE_GNU]: Remove redundant conditionals.
17766 [__USE_MISC]: Likewise.
17767 * inet/netinet/in.h [__USE_GNU]: Likewise.
17768 * io/sys/stat.h [__USE_MISC]: Likewise.
17769 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17770 * libio/bits/stdio.h: Update #endif comments.
17771 [__USE_MISC]: Remove redundant conditionals.
17772 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17773 * libio/stdio.h: Update #endif comments.
17774 [__USE_MISC]: Remove redundant conditionals.
17775 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17776 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17777 * math/math.h: Update #else and #endif comments.
17778 [__USE_MISC]: Remove redundant conditionals.
17779 * misc/sys/uio.h: Update #endif comments.
17780 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17781 * posix/glob.h [__USE_MISC]: Likewise.
17782 * posix/sys/types.h: Update #endif comments.
17783 [__USE_MISC]: Remove redundant conditionals.
17784 * posix/sys/wait.h: Update #endif comments.
17785 [__USE_MISC]: Remove redundant conditionals.
17786 * posix/unistd.h: Update #endif comments.
17787 [__USE_MISC]: Remove redundant conditionals.
17788 * pwd/pwd.h [__USE_GNU]: Likewise.
17789 [__USE_MISC]: Likewise.
17790 * resolv/netdb.h [__USE_GNU]: Likewise.
17791 * signal/signal.h: Update #endif comments.
17792 [__USE_MISC]: Remove redundant conditionals.
17793 * stdlib/stdlib.h: Update #else and #endif comments.
17794 [__USE_MISC]: Remove redundant conditionals.
17795 [__USE_GNU]: Likewise.
17796 * string/bits/string2.h [__USE_MISC]: Likewise.
17797 * string/string.h: Update #endif comments.
17798 [__USE_MISC]: Remove redundant conditionals.
17799 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17801 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17802 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17803 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17805 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17809 [__USE_MISC]: Remove redundant conditionals.
17810 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17811 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17812 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17813 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17814 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17816 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17817 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17819 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17820 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17822 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17824 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17825 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17827 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17829 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17830 * sysdeps/x86/bits/string.h: Update #endif comments.
17831 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17833 * time/sys/time.h: Update #endif comments.
17834 * time/time.h: Likewise.
17835 [__USE_MISC]: Remove redundant conditionals.
17837 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17840 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17842 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17844 * Versions.def (librt): Add GLIBC_2.17.
17846 2014-02-21 Adam Conrad <adconrad@0c3.net>
17848 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17849 synonym for _SYS_AUXV_H to allow direct inclusion.
17850 * sysdeps/sparc/bits/hwcap.h: Likewise.
17851 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17852 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17853 * sysdeps/sparc/sysdep.h: Likewise.
17855 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17857 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17859 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17861 * benchtests/bench-strrchr.c: Print length instead of position.
17863 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17866 * sysdeps/unix/sysv/linux/kernel-features.h
17867 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17868 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17869 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17870 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17872 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17873 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17874 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17875 (__ASSUME_SENDMMSG): Define instead of using previous
17876 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17877 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17878 (__ASSUME_SENDMMSG_SYSCALL): Define.
17879 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17880 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17882 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17883 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17885 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17886 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17888 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17889 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17890 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17891 [__ASSUME_SENDMMSG]: Change conditionals to
17892 [__ASSUME_SENDMMSG_SOCKETCALL].
17893 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17894 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17896 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17897 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17899 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17900 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17901 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17902 [!__ASSUME_SENDMMSG]: Change conditional to
17903 [!__ASSUME_SENDMMSG_SOCKETCALL].
17904 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17905 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17909 * sysdeps/unix/sysv/linux/kernel-features.h
17910 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17911 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17912 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17913 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17914 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17915 [__i386__ || __sparc__]
17916 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17917 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17918 (__ASSUME_RECVMMSG): Define instead of using previous
17919 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17920 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17921 (__ASSUME_RECVMMSG_SYSCALL): Define.
17922 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17923 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17925 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17926 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17928 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17929 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17931 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17932 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17933 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17934 [__ASSUME_RECVMMSG]: Change condition to
17935 [__ASSUME_RECVMMSG_SOCKETCALL].
17936 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17937 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17939 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17940 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17941 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17943 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17944 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17945 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17946 [!__ASSUME_RECVMMSG]: Change condition to
17947 [!__ASSUME_RECVMMSG_SOCKETCALL].
17948 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17949 (__ASSUME_RECVMMSG_SYSCALL): Define.
17952 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17953 __powerpc__ || __s390__ || __sh__ || __sparc__]
17954 (__ASSUME_SOCKETCALL): Define.
17955 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17956 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17957 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17958 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17959 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17960 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17961 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17962 (__ASSUME_ACCEPT4): Define instead of using previous
17963 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17964 __powerpc__ || __sparc__ || __s390__)] condition.
17965 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17966 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17967 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17968 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17969 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17970 [!__ASSUME_ACCEPT4]: Change condition to
17971 [!__ASSUME_ACCEPT4_SOCKETCALL].
17972 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17973 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
17974 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17975 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17976 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17977 __ASSUME_ACCEPT4_SYSCALL.
17978 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17979 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17980 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17981 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17982 __ASSUME_ACCEPT4_SYSCALL.
17983 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17984 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17985 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17986 [__ASSUME_ACCEPT4]: Change condition to
17987 [__ASSUME_ACCEPT4_SOCKETCALL].
17988 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17989 (__ASSUME_SOCKETCALL): Define.
17990 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17991 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17992 (__ASSUME_SOCKETCALL): Define.
17993 (__ASSUME_ACCEPT4): Remove.
17994 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17996 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17997 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17999 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18000 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18002 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18004 (HWCAP_ARM_LPAE): Likewise.
18005 (HWCAP_ARM_EVTSTRM): Likewise.
18006 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18007 Add vpfd32, lpae and evtstrm.
18008 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18011 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18013 * math/auto-libm-test-in: Add tests of clog10.
18014 * math/auto-libm-test-out: Regenerated.
18015 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18016 * sysdeps/i386/fpu/libm-test-ulps: Update.
18017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18019 2014-02-18 Andreas Schwab <schwab@suse.de>
18022 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18023 Store non-zero if the second buffer was newly allocated.
18024 (send_dg): Likewise.
18025 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18026 to send_vc and send_dg.
18027 (res_nsend): Pass NULL for ansp2_malloced.
18028 * resolv/res_query.c (__libc_res_nquery): Add parameter
18029 answerp2_malloced and pass it down to __libc_res_nsend.
18030 (res_nquery): Pass additional NULL to __libc_res_nquery.
18031 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18032 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18033 second answer buffer if answerp2_malloced was set.
18034 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18035 (__libc_res_nquerydomain): Add parameter
18036 answerp2_malloced and pass it down to __libc_res_nquery.
18037 (res_nquerydomain): Pass additional NULL to
18038 __libc_res_nquerydomain.
18039 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18040 additional NULL to __libc_res_nsend and __libc_res_nquery.
18041 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18042 additional NULL to __libc_res_nsearch.
18043 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18044 parameter of __libc_res_nsearch to check for separately allocated
18046 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18048 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18049 additional NULL to __libc_res_nquery.
18050 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18051 __libc_res_nsearch.
18052 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18053 * include/resolv.h: Update prototypes of __libc_res_nquery,
18054 __libc_res_nsearch, __libc_res_nsend.
18056 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18058 * math/auto-libm-test-in: Add tests of fma.
18059 * math/auto-libm-test-out: Regenerated.
18060 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18061 (fma_towardzero_test_data): Likewise.
18062 (fma_downward_test_data): Likewise.
18063 (fma_upward_test_data): Likewise.
18064 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18066 (rounding_modes): Add values for new field.
18067 (func_calc_method): Add value mpfr_fff_f.
18068 (func_calc_desc): Add mpfr_fff_f union field.
18069 (test_function): Add field exact_args.
18070 (FUNC): Add macro argument EXACT_ARGS.
18071 (FUNC_mpfr_f_f): Update call to FUNC.
18072 (FUNC_mpfr_f_f): Likewise.
18073 (FUNC_mpfr_ff_f): Likewise.
18074 (FUNC_mpfr_if_f): Likewise.
18075 (FUNC_mpc_c_f): Likewise.
18076 (FUNC_mpc_c_c): Likewise.
18077 (test_functions): Add fma. Update calls to FUNC.
18078 (handle_input_arg): Add argument exact_args.
18079 (add_test): Update call to handle_input_arg.
18080 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18081 (output_for_one_input_case): Update call to calc_generic_results.
18082 Recalculate exact zero results in each rounding mode.
18084 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18085 non-negative before setting low bit.
18086 * math/auto-libm-test-in: Mark one asin test possibly having
18087 spurious underflow.
18088 * math/auto-libm-test-out: Regenerated.
18089 * sysdeps/i386/fpu/libm-test-ulps: Update.
18090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18092 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18094 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18095 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18096 ports/sysdeps/unix/sysv/linux/microblaze.
18097 * README: Add missing listing for microblaze*-*-linux-gnu.
18099 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18101 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18104 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18106 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18107 * sysdeps/unix/sysv/linux/ia64: Move directory from
18108 ports/sysdeps/unix/sysv/linux/ia64.
18109 * README: Update listing for ia64-*-linux-gnu.
18111 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18112 Joseph Myers <joseph@codesourcery.com>
18114 * Makeconfig (test-name): New variable.
18115 (evaluate-test): Likewise.
18116 * Makerules (do-test-clean): Remove .test-result files.
18117 (common-mostlyclean): Likewise.
18118 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18119 * scripts/evaluate-test.sh: New file.
18121 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18123 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18124 separate $(objpfx)tst-fopenloc-cmp.out and
18125 $(objpfx)tst-fopenloc-mem.out targets.
18126 (tests): Update dependencies.
18127 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18128 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18129 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18130 (tst-rxspencer-no-utf8-ARGS): New variable.
18131 (tst-rxspencer-no-utf8-ENV): Likewise.
18132 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18133 instead of $(objpfx)tst-rxspencer-mem.
18134 ($(objpfx)tst-rxspencer-mem): Change target to
18135 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18136 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18137 * posix/tst-rxspencer-no-utf8.c: New file.
18139 * elf/Makefile ($(objpfx)order.out): Remove rule.
18140 [$(run-built-tests) = yes] (tests): Depend on
18141 $(objpfx)order-cmp.out.
18142 ($(objpfx)order-cmp.out): New rule.
18143 [$(run-built-tests) = yes] (tests): Depend on
18144 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18145 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18146 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18147 $(objpfx)tst-array5-static-cmp.out.
18148 ($(objpfx)tst-array1.out): Remove rule.
18149 ($(objpfx)tst-array1-cmp.out): New rule.
18150 ($(objpfx)tst-array1-static.out): Remove rule.
18151 ($(objpfx)tst-array1-static-cmp.out): New rule.
18152 ($(objpfx)tst-array2.out): Remove rule.
18153 ($(objpfx)tst-array2-cmp.out): New rule.
18154 ($(objpfx)tst-array3.out): Remove rule.
18155 ($(objpfx)tst-array3-cmp.out): New rule.
18156 ($(objpfx)tst-array4.out): Remove rule.
18157 ($(objpfx)tst-array4-cmp.out): New rule.
18158 ($(objpfx)tst-array5.out): Remove rule.
18159 ($(objpfx)tst-array5-cmp.out): New rule.
18160 ($(objpfx)tst-array5-static.out): Remove rule.
18161 ($(objpfx)tst-array5-static-cmp.out): New rule.
18162 [$(run-built-tests) = yes] (tests): Depend on
18163 $(objpfx)order2-cmp.out.
18164 ($(objpfx)order2.out): Remove rule.
18165 ($(objpfx)order2-cmp.out): New rule.
18166 ($(objpfx)tst-initorder.out): Remove rule.
18167 [$(run-built-tests) = yes] (tests): Depend on
18168 $(objpfx)tst-initorder-cmp.out.
18169 ($(objpfx)tst-initorder-cmp.out): New rule.
18170 ($(objpfx)tst-initorder2.out): Remove rule.
18171 [$(run-built-tests) = yes] (tests): Depend on
18172 $(objpfx)tst-initorder2-cmp.out.
18173 ($(objpfx)tst-initorder2-cmp.out): New rule.
18174 [$(run-built-tests) = yes] (tests): Depend on
18175 $(objpfx)tst-unused-dep-cmp.out.
18176 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18177 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18178 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18179 on $(objpfx)tst-setvbuf1-cmp.out.
18180 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18181 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18182 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18183 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18184 ($(objpfx)tst-svc.out): Remove rule.
18185 ($(objpfx)tst-svc-cmp.out): New rule.
18187 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18189 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18190 * ctype/ctype.h [__USE_MISC]: Likewise.
18191 * dirent/dirent.h [__USE_MISC]: Likewise.
18192 * grp/grp.h [__USE_MISC]: Likewise.
18193 * io/fcntl.h [__USE_MISC]: Likewise.
18194 * io/sys/stat.h [__USE_MISC]: Likewise.
18195 * libio/stdio.h [__USE_MISC]: Likewise.
18196 * posix/unistd.h [__USE_MISC]: Likewise.
18197 * pwd/pwd.h [__USE_MISC]: Likewise.
18198 * stdlib.h [__USE_MISC]: Likewise.
18199 * string/bits/string2.h [__USE_MISC]: Likewise.
18200 * string/string.h [__USE_MISC]: Likewise.
18201 * time/time.h [__USE_MISC]: Likewise.
18203 2014-02-13 Andreas Schwab <schwab@suse.de>
18206 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18207 second answer buffer if it was separately allocated.
18209 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18211 * sysdeps/mips/math-tests.h: Include <features.h>.
18212 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18213 (ROUNDING_TESTS_long_double): Do not define.
18214 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18215 (EXCEPTION_TESTS_long_double): Likewise.
18216 * sysdeps/mips/mips64/libm-test-ulps: Update.
18218 * include/features.h (__USE_BSD): Remove macro definitions.
18219 (__USE_SVID): Likewise.
18220 (_BSD_SOURCE): Likewise.
18221 (_SVID_SOURCE): Likewise.
18222 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18223 from definition of _DEFAULT_SOURCE.
18224 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18226 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18227 * bits/mman.h [__USE_BSD]: Likewise.
18228 * bits/termios.h [__USE_BSD]: Likewise.
18229 * bits/waitstatus.h [__USE_BSD]: Likewise.
18230 * ctype/ctype.h [__USE_SVID]: Likewise.
18231 * dirent/dirent.h [__USE_BSD]: Likewise.
18232 * grp/grp.h [__USE_SVID]: Likewise.
18233 [__USE_BSD]: Likewise.
18234 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18235 * io/fcntl.h [__USE_BSD]: Likewise.
18236 * io/ftw.h [__USE_BSD]: Likewise.
18237 * io/sys/stat.h [__USE_BSD]: Likewise.
18238 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18239 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18240 * libio/stdio.h [__USE_SVID]: Likewise.
18241 [__USE_BSD]: Likewise.
18242 * math/math.h [__USE_SVID]: Likewise.
18243 [__USE_BSD]: Likewise.
18244 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18245 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18246 * misc/search.h [__USE_SVID]: Likewise.
18247 * misc/sys/mman.h [__USE_BSD]: Likewise.
18248 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18249 * misc/sys/uio.h [__USE_BSD]: Likewise.
18250 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18251 * posix/glob.h [__USE_BSD]: Likewise.
18252 * posix/regex.h [__USE_BSD]: Likewise.
18253 * posix/sys/types.h [__USE_BSD]: Likewise.
18254 [__USE_SVID]: Likewise.
18255 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18256 * posix/sys/wait.h [__USE_BSD]: Likewise.
18257 [__USE_SVID]: Likewise.
18258 * posix/unistd.h [__USE_BSD]: Likewise.
18259 [__USE_SVID]: Likewise.
18260 * pwd/pwd.h [__USE_SVID]: Likewise.
18261 * resolv/netdb.h [__USE_BSD]: Likewise.
18262 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18263 * signal/signal.h [__USE_BSD]: Likewise.
18264 [__USE_SVID]: Likewise.
18265 * socket/sys/socket.h [__USE_BSD]: Likewise.
18266 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18267 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18268 [__USE_SVID]: Likewise.
18269 * string/bits/string2.h [__USE_BSD]: Likewise.
18270 [__USE_SVID]: Likewise.
18271 * string/bits/string3.h [__USE_BSD]: Likewise.
18272 * string/endian.h [__USE_BSD]: Likewise.
18273 * string/string.h [__USE_SVID]: Likewise.
18274 [__USE_BSD]: Likewise.
18275 * string/strings.h [__USE_BSD]: Likewise.
18276 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18277 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18278 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18279 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18280 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18281 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18283 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18285 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18286 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18288 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18289 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18291 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18293 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18294 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18295 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18297 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18299 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18300 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18301 * termios/termios.h [__USE_BSD]: Likewise.
18302 * time/sys/time.h [__USE_BSD]: Likewise.
18303 * time/time.h [__USE_BSD]: Likewise.
18304 [__USE_SVID]: Likewise.
18306 * Makefile (subdir_targets): Remove subdir_lint.out.
18308 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18309 (do-tst-printf): Likewise.
18310 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18311 $(objpfx)tst-printf.out.
18313 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18315 * Makerules (check-abi-%): Change target to
18316 $(objpfx)check-abi-%.out.
18317 (check-abi target): Update dependencies.
18318 (check-abi-pattern variable): Redirect output of diff to $@.
18319 (check-abi variable): Likewise.
18320 * elf/Makefile (check-abi): Update dependencies.
18322 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18324 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18325 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18327 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18328 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18329 value has largest subnormal exponent.
18330 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18331 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18332 * sysdeps/aarch64/soft-fp/sfp-machine.h
18333 (_FP_TININESS_AFTER_ROUNDING): New macro.
18334 * sysdeps/alpha/soft-fp/sfp-machine.h
18335 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18336 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18338 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18339 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18340 * sysdeps/mips/soft-fp/sfp-machine.h
18341 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18342 * sysdeps/powerpc/soft-fp/sfp-machine.h
18343 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18344 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18346 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18347 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18348 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18349 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18350 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18353 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18356 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18359 2014-02-12 Richard Henderson <rth@redhat.com>
18361 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18362 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18363 * sysdeps/unix/sysv/linux/alpha: Move directory from
18364 ports/sysdeps/unix/sysv/linux/alpha.
18365 * README: Update listing for alpha-*-linux-gnu.
18367 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18369 * include/features.h: Update comment documenting feature test
18371 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18373 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18374 (_SVID_SOURCE): Likewise.
18375 (_DEFAULT_SOURCE): Update description of default features.
18376 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18378 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18379 (S_ISVTX): Likewise.
18380 * manual/math.texi (Mathematical Constants): Likewise.
18381 * manual/signal.texi (Interrupted Primitives): Likewise.
18382 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18383 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18384 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18385 Don't refer to _SVID_SOURCE in warning text.
18387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18389 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18391 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18392 * sysdeps/mips/dl-lookup.c: Remove.
18393 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18395 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18398 * math/auto-libm-test-in: Add testcase for expl.
18399 * math/auto-libm-test-out: Regenerate.
18400 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18401 calculation of unsafe.
18402 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18404 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18406 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18407 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18408 ports/sysdeps/unix/sysv/linux/aarch64.
18409 * README: Update listing for aarch64*-*-linux-gnu.
18411 2014-02-11 Will Newton <will.newton@linaro.org>
18413 * manual/probes.texi (Mathematical Function Probes): Use
18414 "triggered" instead of "hit".
18416 * manual/probes.texi (Internal Probes): Add documentation
18417 of setjmp, longjmp and longjmp_target probes.
18419 * include/stap-probe.h: Add comment about probe argument
18422 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18423 definition. (tr_where, tr_freehook, tr_mallochook,
18424 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18426 2014-02-11 David S. Miller <davem@davemloft.net>
18428 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18429 processing int_tests.
18431 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18433 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18434 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18435 * sysdeps/unix/sysv/linux/mips: Move directory from
18436 ports/sysdeps/unix/sysv/linux/mips.
18437 * README: Update listing for mips-*-linux-gnu and
18438 mips64-*-linux-gnu.
18440 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18442 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18443 * sysdeps/unix/sysv/linux/m68k: Move directory from
18444 ports/sysdeps/unix/sysv/linux/m68k.
18445 * README: Update listing for m68k-*-linux-gnu.
18447 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18449 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18450 * sysdeps/unix/sysv/linux/generic: Move directory from
18451 ports/sysdeps/unix/sysv/linux/generic.
18452 * sysdeps/unix/sysv/linux/tile: Move directory from
18453 ports/sysdeps/unix/sysv/linux/tile.
18454 * README: Update listing for tile*-*-linux-gnu.
18456 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18458 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18460 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18461 * catgets/open_catalog.c (__open_catalog): Likewise.
18462 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18463 * debug/confstr_chk.c: Likewise.
18464 * debug/fread_chk.c (__fread_chk): Likewise.
18465 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18466 * debug/getgroups_chk.c: Likewise.
18467 * debug/mbsnrtowcs_chk.c: Likewise.
18468 * debug/mbsrtowcs_chk.c: Likewise.
18469 * debug/mbstowcs_chk.c: Likewise.
18470 * debug/memcpy_chk.c: Likewise.
18471 * debug/memmove_chk.c: Likewise.
18472 * debug/mempcpy_chk.c: Likewise.
18473 * debug/memset_chk.c: Likewise.
18474 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18475 * debug/strcat_chk.c (__strcat_chk): Likewise.
18476 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18477 * debug/strncat_chk.c (__strncat_chk): Likewise.
18478 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18479 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18480 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18481 * debug/wcpncpy_chk.c: Likewise.
18482 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18483 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18484 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18485 * debug/wcsncpy_chk.c: Likewise.
18486 * debug/wcsnrtombs_chk.c: Likewise.
18487 * debug/wcsrtombs_chk.c: Likewise.
18488 * debug/wcstombs_chk.c: Likewise.
18489 * debug/wmemcpy_chk.c: Likewise.
18490 * debug/wmemmove_chk.c: Likewise.
18491 * debug/wmempcpy_chk.c: Likewise.
18492 * debug/wmemset_chk.c: Likewise.
18493 * dirent/scandirat.c (SCANDIRAT): Likewise.
18494 * dlfcn/dladdr1.c (dladdr1): Likewise.
18495 * dlfcn/dladdr.c (dladdr): Likewise.
18496 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18497 * dlfcn/dlerror.c (__dlerror): Likewise.
18498 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18499 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18500 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18501 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18502 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18503 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18504 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18505 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18507 * elf/dl-conflict.c: Likewise.
18508 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18509 * elf/dl-dst.h: Likewise.
18510 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18511 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18512 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18513 * elf/dl-init.c (call_init, _dl_init): Likewise.
18514 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18515 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18516 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18518 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18520 * elf/dl-minimal.c (__libc_memalign): Likewise.
18521 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18522 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18523 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18524 * elf/dl-sym.c (do_sym): Likewise.
18525 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18526 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18527 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18528 * elf/dl-writev.h (_dl_writev): Likewise.
18529 * elf/ldconfig.c (search_dir): Likewise.
18530 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18531 (dl_main): Likewise.
18532 * elf/setup-vdso.h (setup_vdso): Likewise.
18533 * grp/compat-initgroups.c (compat_call): Likewise.
18534 * grp/fgetgrent.c (fgetgrent): Likewise.
18535 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18536 * grp/putgrent.c (putgrent): Likewise.
18537 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18539 * hurd/hurdinit.c: Likewise.
18540 * iconvdata/8bit-gap.c (struct): Likewise.
18541 * iconvdata/ansi_x3.110.c : Likewise.
18542 * iconvdata/big5.c : Likewise.
18543 * iconvdata/big5hkscs.c : Likewise.
18544 * iconvdata/cp1255.c: Likewise.
18545 * iconvdata/cp1258.c : Likewise.
18546 * iconvdata/cp932.c : Likewise.
18547 * iconvdata/euc-cn.c: Likewise.
18548 * iconvdata/euc-jisx0213.c : Likewise.
18549 * iconvdata/euc-jp.c: Likewise.
18550 * iconvdata/euc-jp-ms.c : Likewise.
18551 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18552 * iconvdata/gb18030.c : Likewise.
18553 * iconvdata/gbbig5.c (const): Likewise.
18554 * iconvdata/gbgbk.c: Likewise.
18555 * iconvdata/gbk.c : Likewise.
18556 * iconvdata/ibm1364.c : Likewise.
18557 * iconvdata/ibm930.c : Likewise.
18558 * iconvdata/ibm932.c: Likewise.
18559 * iconvdata/ibm933.c : Likewise.
18560 * iconvdata/ibm935.c : Likewise.
18561 * iconvdata/ibm937.c : Likewise.
18562 * iconvdata/ibm939.c : Likewise.
18563 * iconvdata/ibm943.c: Likewise.
18564 * iconvdata/iso_11548-1.c: Likewise.
18565 * iconvdata/iso-2022-cn.c : Likewise.
18566 * iconvdata/iso-2022-cn-ext.c : Likewise.
18567 * iconvdata/iso-2022-jp-3.c: Likewise.
18568 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18569 * iconvdata/iso-2022-kr.c : Likewise.
18570 * iconvdata/iso646.c (gconv_end): Likewise.
18571 * iconvdata/iso_6937-2.c : Likewise.
18572 * iconvdata/iso_6937.c : Likewise.
18573 * iconvdata/iso8859-1.c: Likewise.
18574 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18575 * iconvdata/shift_jisx0213.c : Likewise.
18576 * iconvdata/sjis.c : Likewise.
18577 * iconvdata/t.61.c : Likewise.
18578 * iconvdata/tcvn5712-1.c : Likewise.
18579 * iconvdata/tscii.c: Likewise.
18580 * iconvdata/uhc.c : Likewise.
18581 * iconvdata/unicode.c (gconv_end): Likewise.
18582 * iconvdata/utf-16.c (gconv_end): Likewise.
18583 * iconvdata/utf-32.c (gconv_end): Likewise.
18584 * iconvdata/utf-7.c (base64): Likewise.
18585 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18586 * iconv/gconv_close.c (__gconv_close): Likewise.
18587 * iconv/gconv_open.c (__gconv_open): Likewise.
18588 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18589 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18590 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18591 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18592 (ucs4le_internal_loop_single): Likewise.
18593 * iconv/iconv.c (iconv): Likewise.
18594 * iconv/iconv_close.c: Likewise.
18595 * iconv/loop.c (SINGLE): Likewise.
18596 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18597 * include/atomic.h: Likewise.
18598 * inet/inet6_option.c (option_alloc): Likewise.
18599 * intl/bindtextdom.c (set_binding_values): Likewise.
18600 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18601 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18602 * intl/localealias.c (read_alias_file): Likewise.
18603 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18604 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18605 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18606 * libio/fmemopen.c (fmemopen): Likewise.
18607 * libio/iofgets.c (_IO_fgets): Likewise.
18608 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18609 * libio/iofgetws.c (fgetws): Likewise.
18610 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18611 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18612 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18613 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18614 * locale/findlocale.c (_nl_find_locale): Likewise.
18615 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18616 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18618 * locale/setlocale.c (setlocale): Likewise.
18619 * login/programs/pt_chown.c (main): Likewise.
18620 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18621 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18622 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18623 (mmap, mmap64, mremap, munmap): Likewise.
18624 * math/e_exp2l.c: Likewise.
18625 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18626 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18627 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18628 * math/s_catan.c (__catan): Likewise.
18629 * math/s_catanf.c (__catanf): Likewise.
18630 * math/s_catanh.c (__catanh): Likewise.
18631 * math/s_catanhf.c (__catanhf): Likewise.
18632 * math/s_catanhl.c (__catanhl): Likewise.
18633 * math/s_catanl.c (__catanl): Likewise.
18634 * math/s_ccosh.c (__ccosh): Likewise.
18635 * math/s_ccoshf.c (__ccoshf): Likewise.
18636 * math/s_ccoshl.c (__ccoshl): Likewise.
18637 * math/s_cexp.c (__cexp): Likewise.
18638 * math/s_cexpf.c (__cexpf): Likewise.
18639 * math/s_cexpl.c (__cexpl): Likewise.
18640 * math/s_clog10.c (__clog10): Likewise.
18641 * math/s_clog10f.c (__clog10f): Likewise.
18642 * math/s_clog10l.c (__clog10l): Likewise.
18643 * math/s_clog.c (__clog): Likewise.
18644 * math/s_clogf.c (__clogf): Likewise.
18645 * math/s_clogl.c (__clogl): Likewise.
18646 * math/s_csin.c (__csin): Likewise.
18647 * math/s_csinf.c (__csinf): Likewise.
18648 * math/s_csinh.c (__csinh): Likewise.
18649 * math/s_csinhf.c (__csinhf): Likewise.
18650 * math/s_csinhl.c (__csinhl): Likewise.
18651 * math/s_csinl.c (__csinl): Likewise.
18652 * math/s_csqrt.c (__csqrt): Likewise.
18653 * math/s_csqrtf.c (__csqrtf): Likewise.
18654 * math/s_csqrtl.c (__csqrtl): Likewise.
18655 * math/s_ctan.c (__ctan): Likewise.
18656 * math/s_ctanf.c (__ctanf): Likewise.
18657 * math/s_ctanh.c (__ctanh): Likewise.
18658 * math/s_ctanhf.c (__ctanhf): Likewise.
18659 * math/s_ctanhl.c (__ctanhl): Likewise.
18660 * math/s_ctanl.c (__ctanl): Likewise.
18661 * math/w_pow.c: Likewise.
18662 * math/w_powf.c: Likewise.
18663 * math/w_powl.c: Likewise.
18664 * math/w_scalb.c (sysv_scalb): Likewise.
18665 * math/w_scalbf.c (sysv_scalbf): Likewise.
18666 * math/w_scalbl.c (sysv_scalbl): Likewise.
18667 * misc/error.c (error_tail): Likewise.
18668 * misc/pselect.c (__pselect): Likewise.
18669 * nis/nis_callback.c (__nis_create_callback): Likewise.
18670 * nis/nis_call.c (__nisfind_server): Likewise.
18671 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18672 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18673 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18674 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18675 * nis/nis_lookup.c (nis_lookup): Likewise.
18676 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18677 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18678 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18679 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18680 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18681 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18682 * nis/nss_compat/compat-initgroups.c (add_group)
18683 (internal_getgrent_r): Likewise.
18684 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18685 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18686 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18687 (internal_getspnam_r): Likewise.
18688 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18689 (_nss_nis_getaliasbyname_r): Likewise.
18690 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18691 (_nss_nis_getntohost_r): Likewise.
18692 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18693 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18694 (_nss_nis_getgrgid_r): Likewise.
18695 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18696 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18697 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18698 (_nss_nis_gethostbyname4_r): Likewise.
18699 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18700 (initgroups_netid): Likewise.
18701 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18702 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18703 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18704 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18705 (_nss_nis_getprotobynumber_r): Likewise.
18706 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18707 (_nss_nis_getsecretkey): Likewise.
18708 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18709 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18710 (_nss_nis_getpwuid_r): Likewise.
18711 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18712 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18713 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18714 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18715 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18716 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18717 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18719 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18720 (_nss_nisplus_getntohost_r): Likewise.
18721 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18722 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18723 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18724 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18726 * nis/nss_nisplus/nisplus-initgroups.c
18727 (_nss_nisplus_initgroups_dyn): Likewise.
18728 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18729 (_nss_nisplus_getnetbyaddr_r): Likewise.
18730 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18731 (_nss_nisplus_getprotobynumber_r): Likewise.
18732 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18733 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18734 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18736 * nis/nss_nisplus/nisplus-service.c
18737 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18738 (_nss_nisplus_getservbyport_r): Likewise.
18739 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18740 (_nss_nisplus_getspnam_r): Likewise.
18741 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18743 * nscd/aicache.c (addhstaiX): Likewise.
18744 * nscd/cache.c (cache_search, prune_cache): Likewise.
18745 * nscd/connections.c (register_traced_file, send_ro_fd)
18746 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18747 (main_loop_epoll): Likewise.
18748 * nscd/grpcache.c (addgrbyX): Likewise.
18749 * nscd/hstcache.c (addhstbyX): Likewise.
18750 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18751 * nscd/mem.c (gc, mempool_alloc): Likewise.
18752 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18753 (addinnetgrX): Likewise.
18754 * nscd/nscd-client.h (__nscd_acquire_maplock)
18755 (__nscd_drop_map_ref): Likewise.
18756 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18757 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18758 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18760 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18761 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18762 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18763 (__nscd_get_map_ref): Likewise.
18764 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18765 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18767 * nscd/pwdcache.c (addpwbyX): Likewise.
18768 * nscd/selinux.c (preserve_capabilities): Likewise.
18769 * nscd/servicescache.c (addservbyX): Likewise.
18770 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18771 * posix/fnmatch.c (fnmatch): Likewise.
18772 * posix/getopt.c (_getopt_internal_r): Likewise.
18773 * posix/glob.c (glob, glob_in_dir): Likewise.
18774 * posix/wordexp.c (exec_comm_child): Likewise.
18775 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18776 (getanswer_r, gaih_getanswer_slice): Likewise.
18777 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18778 * resolv/res_init.c: Likewise.
18779 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18780 * resolv/res_query.c (__libc_res_nquery): Likewise.
18781 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18783 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18784 * stdio-common/perror.c (perror): Likewise.
18785 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18786 * stdio-common/tmpnam.c (tmpnam): Likewise.
18787 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18788 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18789 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18791 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18792 * stdlib/putenv.c (putenv): Likewise.
18793 * stdlib/setenv.c (__add_to_environ): Likewise.
18794 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18795 * stdlib/strtol_l.c (INTERNAL): Likewise.
18796 * string/memmem.c (memmem): Likewise.
18797 * string/strerror.c (strerror): Likewise.
18798 * string/strnlen.c (__strnlen): Likewise.
18799 * string/test-memmem.c (simple_memmem): Likewise.
18800 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18801 * sunrpc/pm_getport.c (__get_socket): Likewise.
18802 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18803 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18804 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18805 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18807 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18808 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18809 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18810 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18811 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18812 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18814 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18816 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18817 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18818 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18819 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18820 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18821 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18822 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18823 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18824 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18825 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18826 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18827 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18829 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18831 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18833 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18834 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18835 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18836 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18837 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18838 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18839 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18840 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18841 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18842 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18843 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18845 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18846 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18847 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18848 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18850 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18852 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18854 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18856 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18858 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18860 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18861 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18862 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18863 * sysdeps/posix/sleep.c: Likewise.
18864 * sysdeps/posix/tempname.c: Likewise.
18865 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18866 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18868 * sysdeps/powerpc/powerpc32/dl-machine.h
18869 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18870 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18871 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18872 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18873 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18875 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18877 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18879 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18880 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18881 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18882 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18883 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18884 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18885 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18886 (elf_machine_lazy_rel): Likewise.
18887 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18888 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18889 (elf_machine_lazy_rel): Likewise.
18890 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18891 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18892 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18893 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18894 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18895 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18896 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18897 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18899 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18900 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18901 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18902 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18903 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18904 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18905 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18906 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18907 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18908 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18909 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18911 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18912 (__posix_fallocate64_l64): Likewise.
18913 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18914 (posix_fallocate): Likewise.
18915 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18917 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18918 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18919 (getifaddrs_internal): Likewise.
18920 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18921 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18922 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18923 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18924 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18925 (__posix_fallocate64_l64): Likewise.
18926 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18928 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18929 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18930 (__get_clockfreq): Likewise.
18931 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18932 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18933 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18934 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18935 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18936 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18937 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18938 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18940 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18941 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18942 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18943 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18944 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18945 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18946 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18948 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18949 (posix_fallocate): Likewise.
18950 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18951 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18952 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18953 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18954 (elf_machine_rela, elf_machine_rela_relative)
18955 (elf_machine_lazy_rel): Likewise.
18956 * time/asctime.c (asctime_internal): Likewise.
18957 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18958 * time/tzset.c (__tzset_parse_tz): Likewise.
18959 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18960 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18961 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18962 * wcsmbs/wcsmbsload.h: Likewise.
18965 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18967 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18968 (arena_get2): Remove THREAD_STATS conditionals.
18969 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18970 (__malloc_stats, int): Likewise.
18972 2014-02-08 Mike Frysinger <vapier@gentoo.org>
18974 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18975 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
18977 * manual/setjmp.texi: Fix typos/grammar errors.
18979 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18980 Only return early when n is <= 0. Delete unused return statement.
18982 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18983 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18984 * debug/tst-longjmp_chk3.c: New file.
18986 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18987 (test_main): Replace code with set_fortify_handler call.
18988 * debug/test-strcpy_chk.c: Likewise.
18989 * debug/tst-chk1.c: Likewise.
18990 * debug/tst-longjmp_chk.c: Likewise.
18991 * test-skeleton.c: Include fcntl.h & paths.h
18992 (set_fortify_handler): Define.
18994 * debug/tst-longjmp_chk.c: Add header comment and include
18995 ../test-skeleton.c.
18996 (do_test): Mark static.
18997 (TEST_FUNCTION): Define.
18999 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19000 (IP_PMTUDISC_INTERFACE): Likewise.
19001 (IP_MULTICAST_IF): Likewise.
19002 (IP_MULTICAST_TTL): Likewise.
19003 (IP_MULTICAST_LOOP): Likewise.
19004 (IP_ADD_MEMBERSHIP): Likewise.
19005 (IP_DROP_MEMBERSHIP): Likewise.
19006 (IP_UNBLOCK_SOURCE): Likewise.
19007 (IP_BLOCK_SOURCE): Likewise.
19008 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19009 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19010 (IP_MSFILTER): Likewise.
19011 (MCAST_JOIN_GROUP): Likewise.
19012 (MCAST_BLOCK_SOURCE): Likewise.
19013 (MCAST_UNBLOCK_SOURCE): Likewise.
19014 (MCAST_LEAVE_GROUP): Likewise.
19015 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19016 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19017 (MCAST_MSFILTER): Likewise.
19018 (IP_MULTICAST_ALL): Likewise.
19019 (IP_UNICAST_IF): Likewise.
19021 * timezone/Makefile: Delete $(have-ksh) check.
19022 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19023 * timezone/tzselect.ksh: Add +x mode bits.
19025 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19026 (ANON_INODE_FS_MAGIC): Likewise.
19027 (BDEVFS_MAGIC): Likewise.
19028 (BINFMTFS_MAGIC): Likewise.
19029 (BTRFS_TEST_MAGIC): Likewise.
19030 (CRAMFS_MAGIC_WEND): Likewise.
19031 (DEBUGFS_MAGIC): Likewise.
19032 (ECRYPTFS_SUPER_MAGIC): Likewise.
19033 (EXT3_SUPER_MAGIC): Likewise.
19034 (EXT4_SUPER_MAGIC): Likewise.
19035 (FUTEXFS_SUPER_MAGIC): Likewise.
19036 (HOSTFS_SUPER_MAGIC): Likewise.
19037 (HUGETLBFS_MAGIC): Likewise.
19038 (MINIX3_SUPER_MAGIC): Likewise.
19039 (MTD_INODE_FS_MAGIC): Likewise.
19040 (NILFS_SUPER_MAGIC): Likewise.
19041 (OPENPROM_SUPER_MAGIC): Likewise.
19042 (PIPEFS_MAGIC): Likewise.
19043 (PSTOREFS_MAGIC): Likewise.
19044 (QNX6_SUPER_MAGIC): Likewise.
19045 (RAMFS_MAGIC): Likewise.
19046 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19047 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19048 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19049 (SECURITYFS_MAGIC): Likewise.
19050 (SELINUX_MAGIC): Likewise.
19051 (SMACK_MAGIC): Likewise.
19052 (SOCKFS_MAGIC): Likewise.
19053 (SQUASHFS_MAGIC): Likewise.
19054 (STACK_END_MAGIC): Likewise.
19055 (TMPFS_MAGIC): Likewise.
19056 (USBDEVICE_SUPER_MAGIC): Likewise.
19057 (V9FS_MAGIC): Likewise.
19058 (XENFS_SUPER_MAGIC): Likewise.
19059 (CRAMFS_MAGIC): Fix typo in comment.
19060 (EXT2_SUPER_MAGIC): Update comment.
19061 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19063 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19065 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19066 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19067 * sysdeps/unix/sysv/linux/arm: Move directory from
19068 ports/sysdeps/unix/sysv/linux/arm.
19069 * README: Update listing for arm-*-linux-gnueabi.
19071 * README: Remove mention of am33.
19073 2014-02-07 Roland McGrath <roland@hack.frob.com>
19075 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19076 than the comma operator, to avoid "rhs of comma has no effect"
19078 (__sigfillset, __sigandset, __sigorset): Likewise.
19079 * include/signal.h (__sigemptyset): Likewise.
19080 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19082 2014-02-07 Allan McRae <allan@archlinux.org>
19084 * version.h (RELEASE): Set to "development".
19085 (VERSION): Set to "2.19.90"
19086 * NEWS: Add 2.20 section.
19088 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19091 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19093 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19095 * manual/contrib.texi: Update entry for Carlos O'Donell,
19096 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19098 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19100 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19102 * sysdeps/unix/sysv/linux/kernel-features.h
19103 [__LINUX_KERNEL_VERSION >= 0x020621]
19104 (__ASSUME_PROC_PID_TASK_COMM): Define.
19106 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19109 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19110 conversion when destination buffer does not have enough space.
19111 * libio/tst-ftell-partial-wide.c: New test case.
19112 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19114 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19115 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19116 Leonard and Allan McRae.
19118 2014-02-04 David S. Miller <davem@davemloft.net>
19120 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19123 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19152 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19154 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19155 * shlib-versions: Likewise.
19157 2014-02-04 Roland McGrath <roland@hack.frob.com>
19158 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19160 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19161 (abilist-pattern): New variable, set to %-le.abilist.
19163 * Makerules (abilist-pattern): New variable.
19164 (vpath): Use $(abilist-pattern) in place of %.abilist.
19165 (check-abi-% pattern rule): Likewise.
19166 (check-abi, update-abi): Likewise.
19168 2014-02-04 Eric Wong <normalperson@yhbt.net>
19170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19172 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19174 * manual/startup.texi: Add next, previous, and top entries for
19175 the `Program Arguments' and `Environment Variables' nodes.
19177 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19179 * manual/macros.texi: Add comments before MTASC-safety macros.
19181 * manual/users.texi: Document MTASC-safety properties.
19183 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19184 (pthread_getspecific, pthread_setspecific): Format with
19185 @deftypefun, and add @safety note.
19186 * manual/signal.texi: Move comments that analyze the above
19187 functions to their home place.
19189 2014-02-03 Allan McRae <allan@archlinux.org>
19191 * po/sl.po: Update Slovenian translation from translation project.
19193 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19195 * manual/time.texi (timegm): Add missing blank after @c.
19196 Reported by Joseph Myers <joseph@codesourcery.com>.
19198 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19200 * manual/check-safety.sh: New.
19201 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19203 * manual/terminal.texi: Document MTASC-safety properties.
19205 * manual/filesys.texi: Document MTASC-safety properties.
19207 * manual/errno.texi: Document MTASC-safety properties.
19209 * manual/intro.texi: Document safety identifiers and
19212 * manual/string.texi (wcstok): Fix prototype.
19213 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19215 * manual/time.texi: Document MTASC-safety properties.
19217 * manual/string.texi: Document MTASC-safety properties.
19219 * manual/threads.texi: Document MTASC-safety properties.
19221 * manual/stdio.texi: Document MTASC-safety properties.
19223 * manual/syslog.texi: Document MTASC-safety properties.
19225 * manual/sysinfo.texi: Document MTASC-safety properties.
19227 * manual/startup.texi: Document MTASC-safety properties.
19229 * manual/socket.texi: Document MTASC-safety properties.
19231 * manual/signal.texi: Document MTASC-safety properties.
19233 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19235 * manual/setjmp.texi: Document MTASC-safety properties.
19237 * manual/search.texi: Document MTASC-safety properties.
19239 * manual/resource.texi: Document MTASC-safety properties.
19241 * manual/process.texi: Document MTASC-safety properties.
19243 * manual/platform.texi: Document MTASC-safety properties.
19245 * manual/pipe.texi: Document MTASC-safety properties.
19247 * manual/pattern.texi: Document MTASC-safety properties.
19249 * manual/message.texi: Document MTASC-safety properties.
19252 * manual/memory.texi: Document MTASC-safety properties.
19254 * manual/math.texi: Document MTASC-safety properties.
19256 * manual/locale.texi: Document MTASC-safety properties.
19258 * manual/llio.texi: Document MTASC-safety properties.
19260 * manual/libdl.texi: New.
19262 * manual/lang.texi: Document MTASC-safety properties.
19264 * manual/job.texi: Document MTASC-safety properties.
19266 * manual/getopt.texi: Document MTASC-safety properties.
19268 * manual/ctype.texi: Document MTASC-safety properties.
19270 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19273 * csu/libc-tls.c (static_map): Remove variable.
19274 (__libc_setup_tls): Use main executable's link map for TLS data.
19275 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19276 casing for LM_ID_BASE and GL(dl_nns).
19277 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19278 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19279 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19280 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19281 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19283 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19286 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19288 * manual/debug.texi: Document MTASC-safety properties.
19290 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19293 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19294 of __x86_64__ when disabling x87 inline functions.
19296 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19298 * manual/charset.texi: Document MTASC-safety properties.
19300 * manual/crypt.texi: Document MTASC-safety properties.
19302 * manual/conf.texi: Document MTASC-safety properties.
19304 * manual/arith.texi: Document MTASC-safety properties.
19306 * manual/argp.texi: Document MTASC-safety properties.
19308 * manual/macros.texi: Introduce macros to document multi
19309 thread, asynchronous signal and asynchronous cancellation
19311 * manual/intro.texi: Introduce the properties themselves.
19313 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19315 * sysdeps/sh/sh4/Makefile: New file.
19317 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19319 * math/gen-libm-test.pl ($srcdir): New variable.
19320 ($auto_input): Use it.
19322 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19325 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19326 access beyond array bounds when parsing netgroups file.
19328 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19329 the old buffer before realloc.
19331 2014-01-27 Allan McRae <allan@archlinux.org>
19333 * po/fr.po: Update French translation from translation project.
19335 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19337 * sysdeps/sh/libm-test-ulps: Regenerate.
19339 2014-01-24 David S. Miller <davem@davemloft.net>
19341 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19343 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19346 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19348 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19351 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19352 string pointers after reallocation.
19354 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19356 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19357 __SH4A__ instead of __SH_FPU_ANY__.
19359 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19361 * sysdeps/sh/fpu_control.h: New file.
19362 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19363 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19364 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19365 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19366 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19367 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19368 * sysdeps/sh/sys/ucontext.h: Remove.
19369 * sysdeps/sh/sys: Remove directory.
19371 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19373 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19374 s390/sys/ucontext.h.
19375 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19376 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19378 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19381 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19383 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19386 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19387 Adjust the vDSO correctly for internal calls.
19388 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19390 2014-01-20 Allan McRae <allan@archlinux.org>
19392 * po/ca.po: Update Catalan translation from translation project.
19394 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19396 * sysdeps/s390/sotruss-lib.c: New file.
19398 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19401 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19402 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19403 local calls issues by not having a PLT stub required for IFUNC calls.
19404 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19406 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19408 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19409 * math/test-fpucw-static.c: Likewise.
19411 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19414 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19416 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19418 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19419 implementation for powerpc.
19421 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19424 * sysdeps/posix/system.c (__libc_system): Do not enable
19425 asynchronous cancellation.
19427 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19430 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19431 handling only for numbers special also in the IEEE case.
19433 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19435 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19437 2014-01-11 Allan McRae <allan@archlinux.org>
19439 * po/bg.po: Update Bulgarian translation from translation project.
19441 * po/de.po: Update German translation from translation project.
19443 2014-01-10 Roland McGrath <roland@hack.frob.com>
19445 * sysdeps/generic/gcc-compat.h: New file.
19447 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19449 * benchtests/asin-inputs: Correct slow inputs.
19450 * benchtests/acos-inputs: Likewise.
19452 2014-01-10 Allan McRae <allan@archlinux.org>
19454 * po:sv.po: Update Swedish translation from translation project.
19456 * po/vi.po: Update Vietnamese translation from translation project.
19458 * po/eo.po: Update Esperanto translation from translation project.
19460 * po/cs.po: Update Czech translation from translation project.
19462 * po/nl.po: Update Dutch translation from translation project.
19464 * po/pl.po: Update Polish translation from translation project.
19466 * po/ru.po: Update Russian translation from translation project.
19468 * po/uk.po: Update Ukrainian translation from translation project.
19470 2014-01-08 Brooks Moses <bmoses@google.com>
19472 * elf/dl-load.c: Fix comment typo.
19474 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19476 * po/header.pot: Rename to...
19477 * po/pot.header: ... this.
19478 * po/Makefile: Use pot.header.
19480 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19481 Maxim Kuvyrkov <maxim@kugelworks.com>
19484 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19485 SRC and DEST against LEN.
19487 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19490 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19492 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19494 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19498 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19501 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19502 for large positive arguments.
19504 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19506 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19508 * math/auto-libm-test-in: Mark various tests with
19509 xfail-rounding:ldbl-128ibm.
19510 * math/auto-libm-test-out: Regenerated.
19513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19514 Increase overflow threshold.
19516 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19519 * stdio-common/vfprintf.c: Check for integer overflow.
19521 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19523 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19524 the first argument and return value of __tls_get_addr_internal.
19526 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19528 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19529 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19531 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19533 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19534 * sysdeps/s390/rtld-global-offsets.sym: New file.
19535 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19537 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19538 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19539 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19541 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19542 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19548 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19549 halfs of GPRs for high_gprs contexts.
19550 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19551 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19553 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19555 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19557 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19558 for high GPRs (uc_high_gprs) and for future extensions
19560 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19561 for future extensions (__reserved).
19562 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19564 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19565 SC_HIGHGPRS offset definition.
19566 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19567 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19569 * Versions.def: Add GLIBC_2.19 for libpthread.
19570 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19571 siglongjmp for libpthread with GLIBC_2.19 symver.
19572 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19573 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19574 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19575 * sysdeps/s390/__longjmp.c: New file.
19576 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19577 * sysdeps/s390/longjmp.c: New file.
19578 * sysdeps/s390/setjmp.S: New file.
19579 * sysdeps/s390/sigjmp.S: New file.
19580 * sysdeps/s390/v1-longjmp.c: New file.
19581 * sysdeps/s390/v1-setjmp.h: New file.
19582 * sysdeps/s390/v1-sigjmp.c: New file.
19583 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19584 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19585 GLIBC_2.19 version.
19586 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19587 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19588 versioned symbols for ____longjmp_chk.
19589 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19595 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19599 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19600 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19601 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19602 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19603 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19604 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19605 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19606 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19607 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19608 * sysdeps/s390/rtld-__longjmp.c: New file.
19609 * sysdeps/s390/rtld-setjmp.S: New file.
19611 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19614 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19615 Return -__logl (x) for small positive arguments without evaluating
19618 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19620 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19622 (__ptrace_peeksiginfo_args): ... this.
19623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19624 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19625 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19627 2014-01-06 Allan McRae <allan@archlinux.org>
19629 * inet/netinet/in.h: Fix typo in comment.
19631 2014-01-05 Andreas Jaeger <aj@suse.de>
19633 * sysdeps/i386/fpu/libm-test-ulps: Update.
19635 2014-01-05 Allan McRae <allan@archlinux.org>
19637 * po/libc.pot: Regenerated.
19639 * malloc/memusagestat.c: Fix gettext call formatting.
19641 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19643 * nscd/nscd.c: Improve usage() output.
19645 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19647 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19648 * sysdeps/unix/sysv/linux/configure: Regenerated.
19649 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19650 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19652 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19655 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19656 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19658 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19660 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19661 extra tokens at end of #undef directive.
19662 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19663 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19664 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19666 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19668 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19670 * math/auto-libm-test-in: Mark various tests with
19671 xfail-rounding:ldbl-128ibm.
19672 * math/auto-libm-test-out: Regenerated.
19674 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19677 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19678 numbers with subnormal high part when calculating exponent.
19681 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19685 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19687 (__ieee754_acoshl): Use __log1pl not __log1p.
19689 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19691 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19692 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19693 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19694 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19695 (reused_arena, arena_get2): Convert to GNU style.
19696 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19697 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19698 (memalign_check, __malloc_set_state): Likewise.
19699 * malloc/mallocbug.c (main): Likewise.
19700 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19701 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19702 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19703 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19704 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19705 (__posix_memalign, malloc_info): Likewise.
19706 * malloc/malloc.h: Likewise.
19707 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19708 (mallochook, memalignhook, reallochook, mabort): Likewise.
19709 * malloc/mcheck.h: Likewise.
19710 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19711 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19712 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19713 * malloc/morecore.c (__default_morecore): Likewise.
19714 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19715 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19716 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19717 (print_and_abort): Likewise.
19718 * malloc/obstack.h: Likewise.
19719 * malloc/set-freeres.c (__libc_freeres): Likewise.
19720 * malloc/tst-mallocstate.c (main): Likewise.
19721 * malloc/tst-mtrace.c (main): Likewise.
19722 * malloc/tst-realloc.c (do_test): Likewise.
19724 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19727 * nscd/netgroupcache.c (do_notfound): New function.
19728 (addgetnetgrentX): Use it.
19731 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19732 NSS_STATUS_NOTFOUND.
19734 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19736 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19739 2014-01-01 Allan McRae <allan@archlinux.org>
19741 * scripts/update-copyrights: Update configure input file suffix.
19743 * NEWS: Update copyright year.
19744 * catgets/gencat.c: Likewise.
19745 * csu/version.c: Likewise.
19746 * debug/catchsegv.sh: Likewise.
19747 * debug/pcprofiledump.c: Likewise.
19748 * debug/xtrace.sh: Likewise.
19749 * elf/ldconfig.c: Likewise.
19750 * elf/ldd.bash.in: Likewise.
19751 * elf/pldd.c: Likewise.
19752 * elf/sotruss.ksh: Likewise.
19753 * elf/sprof.c: Likewise.
19754 * iconv/iconv_prog.c: Likewise.
19755 * iconv/iconvconfig.c: Likewise.
19756 * locale/programs/locale.c: Likewise.
19757 * locale/programs/localedef.c: Likewise.
19758 * login/programs/pt_chown.c: Likewise.
19759 * malloc/memusage.sh: Likewise.
19760 * malloc/memusagestat.c: Likewise.
19761 * malloc/mtrace.pl: Likewise.
19762 * manual/libc.texinfo: Likewise.
19763 * nscd/nscd.c: Likewise.
19764 * nss/getent.c: Likewise.
19765 * nss/makedb.c: Likewise.
19766 * posix/getconf.c: Likewise.
19767 * scripts/test-installation.pl: Likewise.
19769 * All files with FSF copyright notices: Update copyright dates
19770 using scripts/update-copyrights.
19771 * intl/plural.c: Regenerated.
19772 * locale/programs/charmap-kw.h: Likewise.
19773 * locale/programs/locfile-kw.h: Likewise.
19775 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19777 * sysdeps/unix/sysv/linux/configure: Regenerated.
19778 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19779 the linux/fanotify.h header.
19780 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19781 HAVE_LINUX_FANOTIFY_H is defined.
19783 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19785 * benchtests/cos-inputs: New inputs.
19786 * benchtests/sin-inputs: Likewise.
19788 * benchtests/atan-inputs: New inputs. Fix name of multiple
19789 precision fallback inputs.
19791 * benchtests/atanh-inputs: New inputs.
19792 * benchtests/tanh-inputs: Likewise.
19794 * benchtests/acosh-inputs: New inputs.
19795 * benchtests/asinh-inputs: Likewise.
19797 * benchtests/cosh-inputs: New inputs.
19798 * benchtests/sinh-inputs: Likewise.
19800 * benchtests/acos-inputs: Add more inputs.
19801 * benchtests/asin-inputs: Likewise.
19803 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19806 * manual/arith.texi: Fix spelling.
19807 * manual/charset.texi: Likewise.
19808 * manual/errno.texi: Likewise.
19809 * manual/filesys.texi: Likewise.
19810 * manual/lang.texi: Likewise.
19811 * manual/llio.texi: Likewise.
19812 * manual/locale.texi: Likewise.
19813 * manual/message.texi: Likewise.
19814 * manual/resource.texi: Likewise.
19815 * manual/search.texi: Likewise.
19816 * manual/setjmp.texi: Likewise.
19817 * manual/stdio.texi: Likewise.
19818 * manual/string.texi: Likewise.
19819 * manual/sysinfo.texi: Likewise.
19820 * manual/time.texi: Likewise.
19822 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19824 * po/sl.po: New file.
19826 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19828 * .gitignore: Add core/.gdbinit/.gdb_history.
19830 2013-12-27 Allan McRae <allan@archlinux.org>
19833 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19834 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19836 2013-12-24 Brooks Moses <bmoses@google.com>
19838 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19839 all compilers that claim C++98 compliance, not just GCC.
19840 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19843 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19845 * NEWS: Restore accidentally deleted bug-fix entries.
19847 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19848 Ondřej Bílka <neleai@seznam.cz>
19851 * malloc/malloc.c (_int_free): Perform sanity check only if we
19854 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19857 * manual/stdio.texi (String Input Conversions): Clarify that character
19858 classes are not supported.
19860 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19864 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19867 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19868 Calculate results for small negative arguments directly rather
19869 than using reflection formula with special underflow handling.
19871 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19872 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19873 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19874 (fchflags): Likewise.
19875 (revoke): Likewise.
19876 (setlogin): Likewise.
19877 (sigaltstack): Likewise.
19879 (sigblock): Remove.
19880 (sigsetmask): Likewise.
19882 (waitpid): Likewise.
19883 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19884 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19886 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19887 * sysdeps/unix/bsd/Makefile: ... here.
19888 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19889 * sysdeps/unix/bsd/Versions: ... here.
19890 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19891 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19892 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19893 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19894 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19895 * sysdeps/unix/bsd/sigblock.c: ... here.
19896 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19897 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19898 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19899 * sysdeps/unix/bsd/sigvec.c: ... here.
19900 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19901 * sysdeps/unix/bsd/tcdrain.c: ... here.
19902 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19903 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19904 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19905 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19906 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19907 * sysdeps/unix/bsd/wait.c: ... here.
19908 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19909 * sysdeps/unix/bsd/wait3.c: ... here.
19910 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19911 * sysdeps/unix/bsd/waitpid.c: ... here.
19913 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19916 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19917 round-to-nearest for [!USE_AS_EXPM1L].
19918 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19919 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19920 more tests of exp and exp10. Expect some exp10 tests to miss
19921 exceptions or fail in directed rounding modes.
19922 * math/auto-libm-test-out: Regenerated.
19923 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19924 (exp10_test_tonearest): New function.
19925 (exp10_towardzero_test_data): New array.
19926 (exp10_test_towardzero): New function.
19927 (exp10_downward_test_data): New array.
19928 (exp10_test_downward): New function.
19929 (exp10_upward_test_data): New array.
19930 (exp10_test_upward): New function.
19931 (main): Call the new functions.
19932 * sysdeps/i386/fpu/libm-test-ulps: Update.
19933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19935 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19937 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19938 asinh, atan, atan2, atanh, cbrt, cos and cosh.
19939 * math/auto-libm-test-out: Regenerated.
19940 * math/libm-test.inc (acosh_test_data): Add more tests.
19941 (atanh_test_data): Likewise.
19942 (ceil_test_data): Likewise.
19943 (copysign_test_data): Likewise.
19944 * sysdeps/i386/fpu/libm-test-ulps: Update.
19945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19947 * timezone/checktab.awk: Update from tzcode 2013i.
19948 * timezone/private.h: Likewise.
19949 * timezone/scheck.c: Likewise.
19950 * timezone/tzfile.h: Likewise.
19951 * timezone/tzselect.ksh: Likewise.
19952 * timezone/zdump.c: Likewise.
19953 * timezone/zic.c: Likewise.
19955 * math/auto-libm-test-in: Add tests of cpow.
19956 * math/auto-libm-test-out: Regenerated.
19957 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19958 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19960 (func_calc_desc): Add mpc_cc_c union field.
19961 (test_functions): Add cpow.
19962 (special_fill_2pi): New function.
19963 (special_real_inputs): Add 2pi.
19964 (calc_generic_results): Handle mpc_cc_c.
19965 * sysdeps/i386/fpu/libm-test-ulps: Update.
19966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19968 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19969 csqrt, ctan and ctanh.
19970 * math/auto-libm-test-out: Regenerated.
19971 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19972 (TEST_COND_x86): Likewise.
19973 (ccos_test_data): Use AUTO_TESTS_c_c.
19974 (ccosh_test_data): Likewise.
19975 (cexp_test_data): Likewise.
19976 (clog_test_data): Likewise.
19977 (csqrt_test_data): Likewise.
19978 (ctan_test_data): Likewise.
19979 (ctan_tonearest_test_data): Likewise.
19980 (ctan_towardzero_test_data): Likewise.
19981 (ctan_downward_test_data): Likewise.
19982 (ctan_upward_test_data): Likewise.
19983 (ctanh_test_data): Likewise.
19984 (ctanh_tonearest_test_data): Likewise.
19985 (ctanh_towardzero_test_data): Likewise.
19986 (ctanh_downward_test_data): Likewise.
19987 (ctanh_upward_test_data): Likewise.
19988 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19990 (func_calc_desc): Add mpc_c_c union field.
19991 (FUNC_mpc_c_c): New macro.
19992 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19993 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19995 (special_fill_min_subnorm_p120): New function.
19996 (special_real_inputs): Add min_subnorm_p120.
19997 (calc_generic_results): Handle mpc_c_c.
19998 * sysdeps/i386/fpu/libm-test-ulps: Update.
19999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20001 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20003 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20004 (do_sin_slow): New functions.
20005 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20006 (cslow2, csloww1, csloww2): Use the new functions.
20008 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20009 Use M to change sign of result instead of X. Assume X is
20011 (csloww1): Likewise.
20015 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20016 arguments A and DA.
20020 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20022 (sloww1): Don't adjust sign of DX.
20023 (csloww1): Likewise.
20024 (sloww2): Use X directly and don't adjust sign of DX.
20025 (csloww2): Likewise.
20027 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20029 * math/auto-libm-test-in: Add tests of cabs and carg.
20030 * math/auto-libm-test-out: Regenerated.
20031 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20032 (carg_test_data): Likewise.
20033 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20035 (func_calc_desc): Add mpc_c_f union field.
20036 (test_functions): Add cabs and carg.
20037 (calc_generic_results): Handle mpc_c_f.
20039 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20040 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20041 as a macro and a compat symbol.
20042 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20043 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20044 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20045 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20046 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20047 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20049 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20051 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20053 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20055 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20057 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20059 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20060 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20063 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20067 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20069 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20070 trailing whitespace removed.
20071 * scripts/config.guess: Update to version 2013-11-29.
20072 * scripts/config.sub: Update to version 2013-10-01.
20074 * math/auto-libm-test-in: Add tests of sincos.
20075 * math/auto-libm-test-out: Regenerated.
20076 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20079 (func_calc_desc): Add mpfr_f_11 union field.
20080 (test_functions): Add sincos.
20081 (calc_generic_results): Handle mpfr_f_11.
20082 * sysdeps/i386/fpu/libm-test-ulps: Update.
20083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20085 2013-12-19 Andreas Schwab <schwab@suse.de>
20087 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20089 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20090 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20091 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20093 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20095 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20096 * sysdeps/i386/fpu/libm-test-ulps: Update.
20097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20100 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20101 round-to-nearest mode when using frndint.
20102 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20103 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20104 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20106 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20108 * math/auto-libm-test-out: Regenerated.
20109 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20110 (TEST_COND_x86): Likewise.
20111 (expm1_tonearest_test_data): New array.
20112 (expm1_test_tonearest): New function.
20113 (expm1_towardzero_test_data): New array.
20114 (expm1_test_towardzero): New function.
20115 (expm1_downward_test_data): New array.
20116 (expm1_test_downward): New function.
20117 (expm1_upward_test_data): New array.
20118 (expm1_test_upward): New function.
20119 (main): Run the new test functions.
20120 * sysdeps/i386/fpu/libm-test-ulps: Update.
20121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20123 * include/features.h: Update comment documenting feature test
20124 macros. Mention _DEFAULT_SOURCE in comment.
20125 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20126 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20127 _BSD_SOURCE and _SVID_SOURCE.
20128 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20129 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20130 !_SVID_SOURCE]: Likewise.
20131 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20132 (__USE_POSIX_IMPLICITLY): Define.
20133 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20134 (_POSIX_SOURCE): Undefine and redefine.
20135 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20136 (_POSIX_C_SOURCE): Likewise.
20137 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20138 (Feature Test Macros): Update documentation of default features.
20140 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20142 * benchtests/Makefile: Add bench-strtok.
20143 * benchtests/bench-strtok.c: New file: strtok benchtest.
20145 2013-12-19 Allan McRae <allan@archlinux.org>
20147 * manual/install.texi: Suppress menu for plain text output.
20148 * INSTALL: Regenerated.
20150 2013-12-18 Brooks Moses <bmoses@google.com>
20153 * misc/getauxval.c: Include errno.h.
20154 (__getauxval): Set errno to ENOENT if the requested type is not
20156 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20157 don't declare with __attribute_const__.
20158 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20159 * manual/startup.texi: Document that getauxval sets errno.
20161 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20163 * math/auto-libm-test-in: Add tests of jn and yn.
20164 * math/auto-libm-test-out: Regenerated.
20165 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20166 (yn_test_data): Likewise.
20167 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20169 (func_calc_desc): Add mpfr_if_f union field.
20170 (FUNC_mpfr_if_f): New macro.
20171 (test_functions): Add jn and yn.
20172 (calc_generic_results): Assert type of second input for
20173 mpfr_ff_f. Handle mpfr_if_f.
20174 (output_for_one_input_case): Disable all checking for arguments
20175 fitting floating-point types in case of an integer argument.
20176 * sysdeps/i386/fpu/libm-test-ulps: Update.
20177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20180 Don't expect fegetround reference in libm.so.
20182 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20184 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20185 $(config-cflags-nofma).
20187 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20189 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20190 * math/auto-libm-test-out: Regenerated.
20193 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20194 to determine exponent and adjust argument to have exponent of -1.
20195 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20197 * math/auto-libm-test-out: Regenerated.
20198 * sysdeps/i386/fpu/libm-test-ulps: Update.
20199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20201 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20203 * manual/probes.texi: Remove cases when per-thread arenas are
20206 2013-12-18 Andreas Schwab <schwab@suse.de>
20208 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20209 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20210 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20211 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20212 * sysdeps/i386/i686/multiarch/Makefile: Update.
20213 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20215 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20217 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20218 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20220 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20223 Support TZ transition times < 00:00:00.
20224 This is needed for version-3 tz-format files; it supports time
20225 stamps past 2037 for America/Godthab (the only entry in the tz
20226 database for which this change is relevant).
20227 * manual/time.texi (TZ Variable): Document transition times
20228 from -167:59:59 through -00:00:01.
20229 * time/tzset.c (tz_rule): Time of day is now signed.
20230 (__tzset_parse_tz): Parse negative time of day.
20232 Document TZ transition times >= 25:00:00.
20233 * manual/time.texi (TZ Variable): Document transition times from
20234 25:00:00 through 167:59:59. These are already supported, and this
20235 support will help with version-3 tz-format files.
20237 * manual/time.texi (TZ Variable): Modernize North America example
20238 to reflect current (i.e., 2007-and-later) daylight saving rules.
20240 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20242 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20244 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20245 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20246 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20247 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20248 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20249 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20250 * sysdeps/unix/bsd/clock.c: Likewise.
20251 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20252 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20253 * sysdeps/unix/bsd/init-posix.c: Likewise.
20254 * sysdeps/unix/bsd/poll.c: Likewise.
20255 * sysdeps/unix/bsd/ptsname.c: Likewise.
20256 * sysdeps/unix/bsd/seekdir.c: Likewise.
20257 * sysdeps/unix/bsd/setegid.c: Likewise.
20258 * sysdeps/unix/bsd/seteuid.c: Likewise.
20259 * sysdeps/unix/bsd/setgid.c: Likewise.
20260 * sysdeps/unix/bsd/setrgid.c: Likewise.
20261 * sysdeps/unix/bsd/setruid.c: Likewise.
20262 * sysdeps/unix/bsd/setsid.c: Likewise.
20263 * sysdeps/unix/bsd/setuid.c: Likewise.
20264 * sysdeps/unix/bsd/sigaction.c: Likewise.
20265 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20266 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20267 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20268 * sysdeps/unix/bsd/telldir.c: Likewise.
20269 * sysdeps/unix/bsd/times.c: Likewise.
20270 * sysdeps/unix/bsd/usleep.c: Likewise.
20272 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20273 ($(objpfx)libbsd-compat.a): Remove rule.
20275 * include/features.h (__FAVOR_BSD): Do not define.
20276 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20277 features conflicting with POSIX.
20278 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20279 (_BSD_SOURCE): Remove description of not being a subset of other
20280 feature test macros.
20281 * manual/job.texi (getpgrp): Do not document BSD version.
20282 (getpgid): Do not document by reference to BSD getpgrp.
20283 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20284 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20285 * signal/signal.h [__FAVOR_BSD]: Likewise.
20286 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20287 instead of making contents conditional on [__FAVOR_BSD].
20288 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20290 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20294 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20297 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20298 values below 2**-450, not 2**-500.
20299 * math/auto-libm-test-in: Don't allow spurious underflow from
20301 * math/auto-libm-test-out: Regenerated.
20305 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20306 values of ha and hb and sort them after adjusting subnormal
20308 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20310 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20311 values of ea and eb and sort them after adjusting subnormal
20313 * math/auto-libm-test-in: Do not expect some hypot tests of
20314 subnormals to fail. Add more hypot tests.
20315 * math/auto-libm-test-out: Regenerated.
20317 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20320 * sysdeps/sh/s_fma.c: New file.
20321 * sysdeps/sh/s_fmaf.c: New file.
20322 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20324 * sysdeps/sh/Implies: Add sh/soft-fp.
20326 2013-12-16 Roland McGrath <roland@hack.frob.com>
20328 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20329 level of indirection to members `objname', `errstring', `malloced'.
20330 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20331 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20332 it as the __longjmp argument (just pass 1 instead).
20333 (_dl_catch_error): Initialize C with argument pointers and address of
20334 volatile local ERRCODE rather than copying values out of C at return.
20336 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20338 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20339 * math/auto-libm-test-out: Regenerated.
20340 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20341 (hypot_test_data): Likewise.
20342 (pow_test_data): Likewise.
20343 (pow_tonearest_test_data): Likewise.
20344 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20346 (func_calc_desc): Add mpfr_ff_f union field.
20347 (FUNC_mpfr_ff_f): New macro.
20348 (test_functions): Add atan2, hypot and pow.
20349 (special_fill_min): New function.
20350 (special_fill_minus_min): Likewise.
20351 (special_fill_min_subnorm): Likewise.
20352 (special_fill_minus_min_subnorm): Likewise.
20353 (special_real_inputs): Add min, -min, min_subnorm and
20355 (calc_generic_results): Handle mpfr_ff_f.
20356 * sysdeps/i386/fpu/libm-test-ulps: Update.
20357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20359 2013-12-16 Will Newton <will.newton@linaro.org>
20361 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20362 (Aligned Memory Blocks): Add documentation for aligned_alloc
20363 and suggest it as an alternative to posix_memalign.
20364 (Hooks for Malloc): Document __memalign_hook is also called
20365 for aligned_alloc. (Summary of Malloc): Add summary for
20366 aligned alloc. Document __memalign_hook is also called
20369 2013-12-16 Will Newton <will.newton@linaro.org>
20371 * manual/memory.texi (Malloc Examples): Clarify default
20372 alignment documentation. Suggest posix_memalign rather
20373 than memalign or valloc.
20374 (Aligned Memory Blocks): Remove suggestion to use memalign
20375 or valloc. Remove obsolete comment about BSD.
20376 Document memalign errno values and mark the function obsolete.
20377 Document posix_memalign returned error codes. Mark valloc
20378 as obsolete. (Hooks for Malloc): __memalign_hook is also
20379 called for posix_memalign and valloc.
20380 (Summary of Malloc): Add posix_memalign to function summary.
20381 __memalign_hook is also called for posix_memalign and valloc.
20383 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20385 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20389 (sloww): Use mynumber union. Expand ternary operator into
20390 if-else statements.
20391 (cslow): use mynumber union.
20393 2013-12-16 Allan McRae <allan@archlinux.org>
20395 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20396 * configure: Regenerated.
20398 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20401 * configure.ac: Added --enable-maintainer-mode. Check for
20402 autoconf when enabled.
20403 * configure: Regenerated.
20405 * nscd/nscd.service: New file.
20406 * nscd/nscd.tmpfiles: New file.
20408 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20411 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20412 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20413 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20414 (strstr): Add __strstr_sse2_unaligned ifunc.
20415 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20416 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20417 (strcasestr): Remove __strcasestr_sse42 ifunc.
20418 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20420 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20422 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20424 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20425 * sysdeps/sh/bits/fenv.h: ... here.
20426 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20428 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20430 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20432 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20433 hypotf multiarch implementations.
20434 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20435 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20436 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20437 multiarch hypot for PPC64.
20438 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20439 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20440 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20441 multiarch hypotf for PPC64.
20443 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20444 modff multiarch implementations.
20445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20448 multiarch modf for PPC64.
20449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20452 multiarch modff for PPC64.
20454 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20455 and logl multiarch implementations.
20456 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20459 multiarch logb for PPC64.
20460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20463 multiarch logb for PPC64.
20464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20466 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20467 multiarch logb for PPC64.
20469 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20470 isinff multiarch implementation.
20471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20475 multiarch isinf for PPC64.
20476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20479 multiarch isinff for PPC64.
20481 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20482 finitef multiarch implementation.
20483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20487 multiarch finite for PPC64.
20488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20491 multiarch finitef for PPC64.
20493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20494 lrint multiarch implementation.
20495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20499 multiarch llrint for PPC64.
20500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20501 multiarch lrint for PPC64.
20503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20504 copysignf multiarch implementation.
20505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20510 multiarch copysign for PPC64.
20511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20512 multiarch copysignf for PPC64.
20514 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20515 multiarch implementation.
20516 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20520 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20524 multiarch llround for PPC64.
20525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20526 multiarch trunc for PPC64.
20527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20528 multiarch truncf for PPC64.
20530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20531 multiarch implementation.
20532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20536 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20538 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20540 multiarch llround for PPC64.
20541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20542 multiarch round for PPC64.
20543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20544 multiarch roundf for PPC64.
20546 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20547 multiarch implementation.
20548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20552 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20556 multiarch llround for PPC64.
20557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20558 multiarch floor for PPC64.
20559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20560 multiarch floorf for PPC64.
20562 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20563 multiarch implementation.
20564 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20572 multiarch llround for PPC64.
20573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20574 multiarch ceil for PPC64.
20575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20576 multiarch ceilf for PPC64.
20578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20579 multiarch implementation.
20580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20587 multiarch llround for PPC64.
20588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20589 multiarch lround for PPC64.
20591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20592 multiarch implementation.
20593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20600 multiarch isnan for PPC64.
20601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20602 multiarch isnanf for PPC64.
20604 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20605 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20606 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20607 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20608 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20611 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20612 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20613 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20614 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20616 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20617 multiarch implementations.
20618 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20619 (__libc_ifunc_impl_list): Likewise.
20620 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20621 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20622 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20623 multiarch stpcpy for PPC64.
20625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20626 multiarch implementations.
20627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20628 (__libc_ifunc_impl_list): Likewise.
20629 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20630 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20631 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20632 multiarch strcpy for PPC64.
20634 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20635 redefine function name.
20636 (_wordcopy_fwd_dest_aligned): Likewise.
20637 (_wordcopy_bwd_aligned): Likewise.
20638 (_wordcopy_bwd_dest_aligned): Likewise.
20639 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20640 multiarch implementations.
20641 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20642 (__libc_ifunc_impl_list): Likewise.
20643 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20644 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20645 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20646 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20647 multiarch wcscpy for PPC64.
20649 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20650 multiarch implementations.
20651 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20652 (__libc_ifunc_impl_list): Likewise.
20653 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20654 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20655 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20656 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20657 multiarch wcscpy for PPC64.
20659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20660 multiarch implementations.
20661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20662 (__libc_ifunc_impl_list): Likewise.
20663 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20664 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20665 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20666 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20667 multiarch wcsrchr for PPC64.
20669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20670 multiarch implementations.
20671 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20672 (__libc_ifunc_impl_list): Likewise.
20673 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20674 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20675 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20676 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20677 multiarch wcschr for PPC64.
20679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20680 multiarch implementations.
20681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20682 (__libc_ifunc_impl_list): Likewise.
20683 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20684 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20685 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20686 multiarch strchrnul for PPC64.
20688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20691 (__libc_ifunc_impl_list): Likewise.
20692 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20693 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20694 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20695 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20698 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20700 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20701 (__libc_ifunc_impl_list): Likewise.
20702 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20703 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20704 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20705 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20708 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20709 multiarch implementations.
20710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20711 (__libc_ifunc_impl_list): Likewise.
20712 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20713 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20714 strncasecmp for PPC64.
20715 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20716 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20717 multiarch strncasecmp_l for PPC64.
20719 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20720 multiarch implementations.
20721 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20722 (__libc_ifunc_impl_list): Likewise.
20723 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20724 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20725 multiarch strcasecmp for PPC64.
20726 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20728 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20729 multiarch strcasecmp_l for PPC64.
20731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20734 (__libc_ifunc_impl_list): Likewise.
20735 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20736 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20737 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20743 (__libc_ifunc_impl_list): Likewise.
20744 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20745 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20746 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20752 (__libc_ifunc_impl_list): Likewise.
20753 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20754 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20755 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20756 rawmemrchr for PPC64.
20758 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20760 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20761 (__libc_ifunc_impl_list): Likewise.
20762 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20763 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20764 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20767 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20769 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20770 (__libc_ifunc_impl_list): Likewise.
20771 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20772 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20773 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20779 (__libc_ifunc_impl_list): Likewise.
20780 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20781 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20782 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20785 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20786 avoid cretion of __bzero symbol.
20787 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20789 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20791 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20793 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20794 multiarch implementations.
20795 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20796 (__libc_ifunc_impl_list): Likewise.
20797 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20798 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20799 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20800 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20802 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20803 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20804 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20805 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20806 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20808 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20810 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20811 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20814 (__libc_ifunc_impl_list): Likewise.
20815 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20816 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20817 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20818 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20822 multiarch for POWER/PPC64.
20823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20824 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20825 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20827 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20829 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20830 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20831 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20834 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20835 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20836 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20837 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20838 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20839 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20840 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20841 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20842 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20843 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20844 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20845 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20846 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20847 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20848 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20857 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20859 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20861 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20863 * benchtests/Makefile (bench): Add exp2 and log2.
20864 (LDLIBS-bench-exp2): Add -lm.
20865 (LDLIBS-bench-log2): Likewise.
20866 * benchtests/exp2-inputs: New inputs file.
20867 * benchtests/log2-inputs: New inputs file.
20868 * benchtests/log-inputs: Add new inputs.
20869 * benchtests/tan-inputs: Likewise.
20871 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20873 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20875 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20876 (csloww2): ... from here.
20878 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20879 instead of structures.
20880 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20881 (POLYNOMIAL): Likewise.
20882 (TAYLOR_SLOW): Likewise.
20888 (sloww1); Likewise.
20889 (sloww2): Likewise.
20890 (bsloww1): Likewise.
20891 (bsloww2): Likewise.
20892 (cslow2): Likewise.
20893 (csloww): Likewise.
20894 (csloww1): Likewise.
20895 (csloww2): Likewise.
20897 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20899 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20900 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20901 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20902 * malloc/hooks.c (realloc_check): Likewise.
20904 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20905 * malloc/arena.c: Remove PER_THREAD conditional.
20906 [!PER_THREAD]: Remove code.
20907 (ptmalloc_unlock_all2): Likewise.
20908 (ptmalloc_init): Likewise.
20909 (_int_new_arena): Likewise.
20910 (arena_get2): Likewise.
20911 * malloc/hooks.c (__malloc_get_state): Likewise.
20912 (__malloc_set_state): Likewise.
20913 * malloc/malloc.c: Likewise.
20914 (struct malloc_state): Likewise.
20915 (struct malloc_par): Likewise.
20916 (__libc_realloc): Likewise.
20917 (__libc_mallopt): Likewise.
20919 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20921 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20923 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20925 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20926 macro to a function. Check for zero perturb_byte.
20927 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20929 * malloc/malloc.c: (force_reg): Remove.
20930 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20931 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20932 force_reg by atomic_forced_read.
20933 * malloc/arena.c (ptmalloc_init): Likewise.
20934 * malloc/hooks.c (top_check): Likewise.
20936 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20940 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
20942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20944 2013-12-08 Joseph Myers <joseph@codesourcery.com>
20946 * math/auto-libm-test-in: Add tests of lgamma.
20947 * math/auto-libm-test-out: Regenerated.
20948 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20949 (M_LOG_2_SQRT_PIl): Likewise.
20950 (lgamma_test_data): Use AUTO_TESTS_f_f1.
20951 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20953 (func_calc_desc): Add mpfr_f_f1 union field.
20954 (ARGS1): New macro.
20962 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20963 (test_functions): Add lgamma.
20964 (calc_generic_results): Handle mpfr_f_f1.
20965 * sysdeps/i386/fpu/libm-test-ulps: Update.
20966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20968 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20970 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20971 __mpn_add_n for PowerPC64/POWER7.
20972 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20973 __mpn_sub_n for PowerPC64/POWER7.
20975 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20976 __mpn_addmul_1 for PowerPC64.
20977 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20978 __mpn_submul_1 for PowerPC64.
20979 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20981 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20984 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
20987 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20989 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20991 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20993 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20994 add multiarch folders.
20995 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20996 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20997 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20998 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20999 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21000 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21001 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21002 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21003 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21004 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21005 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21014 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21020 multiarch __ieee754_hypot for PowerPC32.
21021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21026 multiarch __ieee754_hypotf for PowerPC32.
21028 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21029 long_double_symbol only if __logbl is defined.
21030 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21031 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21032 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21033 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21034 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21035 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21036 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21037 path for implementation.
21038 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21039 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21041 logb, and logbl multiarch implementations for PowerPC32.
21042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21047 multiarch logb for PowerPC32.
21048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21053 multiarch logbf for PowerPC32.
21054 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21058 multiarch logbl implementation for PowerPC32.
21060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21061 and modff multiarch implementations.
21062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21064 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21067 multiarch modf for PowerPC32.
21068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21073 multiarch modff for PowerPC32.
21075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21076 and lrintf multiarch implementations.
21077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21082 multiarch lrint for PowerPC32.
21083 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21084 file: multiarch lrintf for PowerPC32.
21086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21087 and lroundf multiarch implementations.
21088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21095 multiarch lround for PowerPC32.
21096 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21097 file: multiarch lroundf for PowerPC32.
21099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21100 copysign and copysignf multiarch implementations.
21101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21106 file: multiarch copysign for PowerPC32.
21107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21108 file: multiarch copysignf for PowerPC32.
21110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21111 and truncf multiarch implementations.
21112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21117 multiarch trunc for PowerPC32.
21118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21123 multiarch truncf for PowerPC32.
21125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21126 and roundf multiarch implementations.
21127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21132 multiarch round for PowerPC32.
21133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21138 multiarch roundf for PowerPC32.
21140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21141 and floorf multiarch implementations.
21142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21147 multiarch floor for PowerPC32.
21148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21153 multiarch floorf for PowerPC32.
21155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21156 and ceilf multiarch implementations.
21157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21162 multiarch ceil for PowerPC32.
21163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21168 multiarch ceilf for PowerPC32.
21170 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21172 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21173 FINITEF is defined.
21174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21175 and finitef multiarch implementations.
21176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21181 multiarch finite for PowerPC32.
21182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21185 file: multiarch finitef for PowerPC32.
21187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21188 and isinff multiarch implementations.
21189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21194 multiarch isinf for PowerPC32.
21195 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21198 multiarch isinff for PowerPC32.
21200 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21201 alias when __isnan is defined.
21202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21203 and isnanf multiarch implementations.
21204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21210 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21213 multiarch isnan for PowerPC32.
21214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21219 multiarch isnanf for PowerPC32.
21221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21222 and sqrtf multiarch implementations.
21223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21228 multiarch sqrt for PowerPC32.
21229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21234 multiarch sqrtf for PowerPC32.
21236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21237 and llroundf multiarch implementations.
21238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21245 file: multiarch llround for PowerPC32.
21246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21247 file: multiarch llroundf for PowerPC32.
21249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21250 multiarch PowerPC32 fpu implementations.
21251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21256 multiarch llrint for PowerPC32.
21257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21259 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21266 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21268 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21270 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21272 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21273 multiarch wordcopy for PPC32.
21274 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21276 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21277 (__libc_ifunc_impl_list): Likewise.
21278 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21279 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21280 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21281 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21282 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21283 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21285 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21286 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21288 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21290 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21292 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21293 multiarch wcscpy for PPC32.
21294 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21296 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21297 (__libc_ifunc_impl_list): Likewise.
21298 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21299 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21300 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21301 sysdeps/powerpc/power6/wcscpy.c.
21303 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21304 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21306 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21308 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21310 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21311 multiarch wcsrchr for PPC32.
21312 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21314 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21315 (__libc_ifunc_impl_list): Likewise.
21316 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21317 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21318 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21319 sysdeps/powerpc/power6/wcsrchr.c.
21321 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21323 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21325 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21326 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21327 multiarch wcschr for PPc32.
21328 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21330 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21331 (__libc_ifunc_impl_list): Likewise.
21332 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21333 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21334 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21335 sysdeps/powerpc/power6/wcschr.c.
21337 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21338 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21340 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21341 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21342 file: multiarch strchr for PPC32.
21343 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21345 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21346 (__libc_ifunc_impl_list): Likewise.
21348 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21350 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21352 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21354 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21355 multiarch strchrnul for PPC32.
21356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21359 (__libc_ifunc_impl_list): Likewise.
21361 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21363 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21364 multiarch strncasecmp for PPC32.
21365 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21367 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21368 multiarch strncasecmp_l for PPC32.
21369 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21370 strncasecmp multiarch objects.
21371 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21372 (__libc_ifunc_impl_list): Likewise.
21374 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21376 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21377 multiarch strncasecmp for PPC32.
21378 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21380 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21381 multiarch strcasecmp_l for PPC32.
21382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21385 (__libc_ifunc_impl_list): Likewise.
21387 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21389 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21391 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21392 multiarch strncmp for PPC32.
21393 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21395 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21396 (__libc_ifunc_impl_list): Likewise.
21398 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21399 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21401 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21402 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21403 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21405 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21406 (__libc_ifunc_impl_list): Likewise.
21408 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21410 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21412 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21413 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21415 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21416 (__libc_ifunc_impl_list): Likewise.
21418 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21420 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21422 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21423 multiarch rawmemchr for PPC32.
21424 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21426 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21427 (__libc_ifunc_impl_list): Likewise.
21429 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21431 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21433 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21434 file: memrchr multiarch for PPC32.
21435 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21437 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21438 (__libc_ifunc_impl_list): Likewise.
21440 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21441 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21443 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21444 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21445 multiarch memchr for PPC32.
21446 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21448 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21449 (__libc_ifunc_impl_list): Likewise.
21451 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21452 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21454 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21456 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21457 file: multiarch mempcpy for PPC32.
21458 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21460 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21461 (__libc_ifunc_impl_list): Likewise.
21463 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21465 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21466 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21467 multiarch bzero for PPC32.
21468 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21470 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21472 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21473 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21474 file: multiarch memset for PPC32.
21475 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21476 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21477 memset multiarch objects.
21478 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21479 (__libc_ifunc_impl_list): Likewise.
21481 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21483 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21484 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21486 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21487 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21489 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21490 (__libc_ifunc_impl_list): Likewise.
21492 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21493 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21494 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21496 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21500 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21501 multiarch memcpy for PPC32.
21502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21504 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21505 (__libc_ifunc_impl_list): Likewise.
21507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21508 support multiarch for POWER/PPC32.
21509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21511 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21513 Implies file to make multiarch folder appers before the fpu and
21514 default folder for power4 configuration.
21516 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21518 * scripts/bench.pl: Append volatile keyword to type.
21520 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21522 * sysdeps/sh/sotruss-lib.c: New file.
21523 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21525 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21529 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21532 * math/w_tgamma.c: Include <errno.h>.
21533 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21534 * math/w_tgammaf.c: Include <errno.h>.
21535 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21536 * math/w_tgammal.c: Include <errno.h>.
21537 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21538 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21539 underflow. Add more tgamma tests.
21540 * math/auto-libm-test-out: Regenerated.
21541 * sysdeps/i386/fpu/libm-test-ulps: Update.
21542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21544 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21545 sin, sinh, tan, tanh, tgamma, y0 and y1.
21546 * math/auto-libm-test-out: Regenerated.
21547 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21548 (TEST_COND_x86): Likewise.
21549 (M_E2l): Remove macro.
21551 (M_2_SQRT_PIl): Likewise.
21552 (M_SQRT_PIl): Likewise.
21553 (M_1_DIV_El): Likewise.
21554 (log_test_data): Use AUTO_TESTS_f_f.
21555 (log10_test_data): Likewise.
21556 (log1p_test_data): Likewise.
21557 (log2_test_data): Likewise.
21558 (sin_test_data): Likewise.
21559 (sin_tonearest_test_data): Likewise.
21560 (sin_towardzero_test_data): Likewise.
21561 (sin_downward_test_data): Likewise.
21562 (sin_upward_test_data): Likewise.
21563 (sinh_test_data): Likewise.
21564 (sinh_tonearest_test_data): Likewise.
21565 (sinh_towardzero_test_data): Likewise.
21566 (sinh_downward_test_data): Likewise.
21567 (sinh_upward_test_data): Likewise.
21568 (tan_test_data): Likewise.
21569 (tan_tonearest_test_data): Likewise.
21570 (tan_towardzero_test_data): Likewise.
21571 (tan_downward_test_data): Likewise.
21572 (tan_upward_test_data): Likewise.
21573 (tanh_test_data): Likewise.
21574 (tgamma_test_data): Likewise.
21575 (y0_test_data): Likewise.
21576 (y1_test_data): Likewise.
21577 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21578 (special_real_inputs): Add pi/4.
21579 * sysdeps/i386/fpu/libm-test-ulps: Update.
21580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21582 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21584 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21585 "longjmp_target" static probes.
21586 (__longjmp): Rename to __longjmp_symbol.
21587 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21588 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21589 on which longjmp to generate.
21590 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21591 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21593 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21594 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21595 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21596 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21597 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21598 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21600 __longjmp_symbol based on which __longjmp to generate.
21601 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21603 (setjmp): Rename to setjmp_symbol.
21604 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21605 (_setjmp): Rename to _setjmp_symbol.
21606 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21607 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21608 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21609 which setjmp to generate.
21610 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21611 "longjmp_target" static probes.
21613 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21615 * benchtests/README: Add note about output arguments.
21616 * benchtests/bench-sincos.c: Remove file.
21617 * benchtests/sincos-inputs: New file.
21618 * scripts/bench.pl: Identify output arguments and define
21619 static variables for them.
21621 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21624 * Makefile (INSTALL): Add install-plain.texi as the primary
21626 * manual/install-plain.texi: New file.
21627 * manual/install.texi: Include node directive only for
21628 non-plaintext output.
21630 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21632 * stdlib/longlong.h: Update from GCC.
21636 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21637 * math/w_j0f.c (y0f): Likewise.
21638 * math/w_j0l.c (__y0l): Likewise.
21639 * math/w_j1.c (y1): Likewise.
21640 * math/w_j1f.c (y1f): Likewise.
21641 * math/w_j1l.c (__y1l): Likewise
21642 * math/w_jn.c (yn): Likewise.
21643 * math/w_jnf.c (ynf): Likewise.
21644 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21645 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21646 value for Bessel function domain errors outside _SVID_ mode.
21647 Adjust sign of return value for yn (negative integer, 0).
21648 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21649 by zero in return for negative x and set sign appropriately for
21651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21652 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21653 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21654 expectations in error cases.
21655 (y1_test_data): Likewise.
21656 (yn_test_data): Likewise.
21657 * sysdeps/i386/fpu/libm-test-ulps: Update.
21658 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21660 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21662 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21663 "64" to "64-v1". Add "64-v2".
21664 (abi-64-options): Rename to ...
21665 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21666 (abi-64-condition): Rename to ...
21667 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21668 (abi-64-ld-soname): Rename to ...
21669 (abi-64-v1-ld-soname): ... this.
21670 (abi-64-v2-options): Define.
21671 (abi-64-v2-condition): Likewise.
21672 (abi-64-v2-ld-soname): Likewise.
21673 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21674 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21679 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21680 Alan Modra <amodra@gmail.com>
21682 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21683 New versions for use with the ELFv2 ABI.
21684 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21685 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21687 (struct La_ppc64v2_retval): Likewise.
21688 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21689 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21690 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21691 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21692 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21693 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21694 Do not save or restore CR.
21695 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21696 (_dl_profile_resolve): Do no save or restore CR. Support extended
21697 return values for ELFv2 ABI. Fix location of FPR return registers.
21698 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21699 updated values for _CALL_ELF == 2.
21700 (La_regs, La_retval, int_retval): Likewise.
21702 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21704 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21705 (FRAME_MIN_SIZE_PARM): Likewise.
21706 (FRAME_BACKCHAIN): Likewise.
21707 (FRAME_CR_SAVE): Likewise.
21708 (FRAME_LR_SAVE): Likewise.
21709 (FRAME_TOC_SAVE): Likewise.
21710 (FRAME_PARM_SAVE): Likewise.
21711 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21712 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21713 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21714 (call_mcount_parm_offset): New macro.
21715 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21716 (PROF): Use symbolic stack frame offsets.
21717 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21718 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21719 Redefine in terms of FRAME_MIN_SIZE.
21720 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21721 (_dl_profile_resolve): Likewise. Update comment.
21722 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21723 symbols stack frame offsets.
21724 (__sigsetjmp): Likewise.
21725 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21726 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21727 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21728 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21731 (FRAME_BACKCHAIN): Remove.
21732 (FRAME_CR_SAVE): Likewise.
21733 (FRAME_LR_SAVE): Likewise.
21734 (FRAME_COMPILER_DW): Likewise.
21735 (FRAME_LINKER_DW): Likewise.
21736 (FRAME_TOC_SAVE): Likewise.
21737 (FRAME_PARM_SAVE): Likewise.
21738 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21739 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21740 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21742 (CHECK_SP): Use symbolic stack frame offsets.
21743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21744 zone" instead of caller's parameter save area for temp storage.
21745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21746 Likewise. Also, use symbolic stack frame offsets.
21747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21748 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21749 our own stack frame instead of the caller's.
21750 (__socket): Use symbolic stack frame offsets.
21752 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21753 Alan Modra <amodra@gmail.com>
21755 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21757 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21758 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21759 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21761 (elf_machine_fixup_plt): Call it.
21762 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21764 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21765 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21766 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21767 r2 before calling target.
21769 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21770 Alan Modra <amodra@gmail.com>
21772 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21773 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21774 versions of macros to support ELFv2 ABI.
21775 (LOCALENTRY): New macro.
21776 (ENTRY, EALIGN): Use it.
21777 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21778 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21779 fall through into ENTRY entry point.
21780 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21781 Only define if _CALL_ELF != 2.
21783 (elf_machine_matches_host): Verify ABI version matches.
21784 (RTLD_START): Use LOCALENTRY.
21785 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21786 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21787 (PLT_ENTRY_WORDS): New macro.
21788 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21789 (elf_machine_runtime_setup): Support ELFv2 ABI.
21790 (elf_machine_fixup_plt): Likewise.
21791 (elf_machine_plt_conflict): Likewise.
21792 (resolve_ifunc): Likewise.
21793 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21794 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21797 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21799 (makecontext): Support ELFv2 ABI.
21800 * elf/elf.h (EF_PPC64_ABI): Define.
21802 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21804 * sysdeps/powerpc/powerpc64/sysdep.h
21805 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21806 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21807 (ENTRY) [ASSEMBLER]: ... but instead here ...
21808 (EALIGN) [ASSEMBLER]: ... and here.
21809 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21810 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21811 (ENTRY_2) [!ASSEMBLER]: Use it.
21812 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21813 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21814 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21815 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21816 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21818 Use PPC64_LOAD_FUNCPTR.
21820 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21822 2013-12-04 Alan Modra <amodra@gmail.com>
21824 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21825 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21826 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21827 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21829 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21830 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21831 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21832 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21833 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21834 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21836 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21839 (__makecontext): Fix incorrect CFI when backtracing out of
21840 context created via makecontext.
21841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21842 (__setcontext): Fix incorrect CFI during switch to new context.
21843 (__novec_setcontext): Likewise.
21845 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21848 * time/strptime_l.c (__strptime_internal): Allow modifiers
21850 * time/tst-strptime.c (day_tests): Add testcase.
21852 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21854 * scripts/bench.pl: Skip over blank lines.
21856 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21859 * manual/time.texi (Calendar Time): Clarify what timezone functions
21862 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21866 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21868 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21870 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21871 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21872 * debug/memset_chk.c (__memset_chk): Likewise.
21873 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21874 * debug/strncpy_chk.c: Likewise.
21876 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21880 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21881 (__ieee754_exp): For possibly underflowing results, check size of
21882 result and force underflow exception if required.
21883 * math/auto-libm-test-in: Add more tests of exp.
21884 * math/auto-libm-test-out: Regenerated.
21885 * sysdeps/i386/fpu/libm-test-ulps: Update.
21886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21889 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21890 * math/w_exp2f.c (__exp2f): Likewise.
21891 * math/w_exp2l.c (__exp2l): Likewise.
21892 * math/auto-libm-test-in: Do not allow missing errno on exp2
21894 * math/auto-libm-test-out: Regenerated.
21896 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21899 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21900 handle filename validation.
21901 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21904 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21907 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21908 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21909 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21911 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21912 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21913 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21914 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21915 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21916 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21917 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21918 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21919 Add more erfc tests.
21920 * math/auto-libm-test-out: Regenerated.
21921 * sysdeps/i386/fpu/libm-test-ulps: Update.
21922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21924 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21925 exp2, expm1, j0 and j1.
21926 * math/auto-libm-test-out: Regenerated.
21927 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21928 (erfc_test_data): Likewise.
21929 (exp_test_data): Likewise.
21930 (exp_tonearest_test_data): Likewise.
21931 (exp_towardzero_test_data): Likewise.
21932 (exp_downward_test_data): Likewise.
21933 (exp_upward_test_data): Likewise.
21934 (exp10_test_data): Likewise.
21935 (exp2_test_data): Likewise.
21936 (expm1_test_data): Likewise.
21937 (j0_test_data): Likewise.
21938 (j1_test_data): Likewise.
21939 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21940 (input_flag_type): Add flag_xfail_rounding.
21941 (input_flags): Add xfail-rounding.
21942 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21943 (output_for_one_input_case): Handle flag_xfail_rounding.
21944 * sysdeps/i386/fpu/libm-test-ulps: Update.
21945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21947 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
21950 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21953 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
21956 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21957 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21958 (STAP_PROBE0): New macro.
21959 (STAP_PROBE1): Likewise.
21960 (STAP_PROBE2): Likewise.
21961 (STAP_PROBE3): Likewise.
21962 (STAP_PROBE4): Likewise.
21964 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
21966 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21968 2013-12-02 Steve Ellcey <sellcey@mips.com>
21970 * benchtests/Makefile (bench): Add sqrt.
21971 (LDLIBS-bench-sqrt): New.
21972 * benchtests/sqrt-input: New.
21974 2013-12-02 Pavel Simerda <psimerda@redhat.com>
21976 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21977 (GAIH_EAI): Likewise.
21978 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21979 (gaih_inet): Likewise.
21980 (getaddrinfo): Don't use GAIH_EAI.
21982 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21983 (struct gaih): Remove definition.
21985 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21987 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21988 Use HERRNOP directly.
21990 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21992 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21994 2013-11-30 Joseph Myers <joseph@codesourcery.com>
21996 * math/gen-auto-libm-tests.c (test_functions): Add more
21997 single-argument functions.
21998 (special_fill_pi_2): New function.
21999 (special_fill_minus_pi_2): Likewise.
22000 (special_fill_pi_6): Likewise.
22001 (special_fill_minus_pi_6): Likewise.
22002 (special_fill_pi_3): Likewise.
22003 (special_fill_2pi_3): Likewise.
22004 (special_fill_e): Likewise.
22005 (special_fill_1_e): Likewise.
22006 (special_fill_e_minus_1): Likewise.
22007 (special_real_inputs): Add more special inputs.
22008 (output_for_one_input_case): Do not require ERANGE on underflow to
22009 zero if round-to-nearest result does not underflow to zero, unless
22010 exact results required.
22011 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22012 atan, atanh, cbrt, cos and cosh.
22013 * math/auto-libm-test-out: Regenerated.
22014 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22015 (acos_tonearest_test_data): Likewise.
22016 (acos_towardzero_test_data): Likewise.
22017 (acos_downward_test_data): Likewise.
22018 (acos_upward_test_data): Likewise.
22019 (acosh_test_data): Likewise.
22020 (asin_test_data): Likewise.
22021 (asin_tonearest_test_data): Likewise.
22022 (asin_towardzero_test_data): Likewise.
22023 (asin_upward_test_data): Likewise.
22024 (asinh_test_data): Likewise.
22025 (atan_test_data): Likewise.
22026 (atanh_test_data): Likewise.
22027 (cbrt_test_data): Likewise.
22028 (cos_test_data): Likewise.
22029 (cos_tonearest_test_data): Likewise.
22030 (cos_towardzero_test_data): Likewise.
22031 (cos_downward_test_data): Likewise.
22032 (cos_upward_test_data): Likewise.
22033 (cosh_test_data): Likewise.
22034 (cosh_tonearest_test_data): Likewise.
22035 (cosh_towardzero_test_data): Likewise.
22036 (cosh_downward_test_data): Likewise.
22037 (cosh_upward_test_data): Likewise.
22038 * sysdeps/i386/fpu/libm-test-ulps: Update.
22039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22041 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22044 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22045 * math/w_exp10f.c (__exp10f): Likewise.
22046 * math/w_exp10l.c (__exp10l): Likewise.
22047 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22048 errno settings in existing tests.
22051 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22052 precision control set to double precision.
22053 * sysdeps/i386/fpu/w_sqrt.c: New file.
22054 * math/auto-libm-test-in: Add more tests.
22055 * math/auto-libm-test-out: Update.
22057 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22058 (sqrt_test_tonearest): New function.
22059 (sqrt_towardzero_test_data): New variable.
22060 (sqrt_test_towardzero): New function.
22061 (sqrt_downward_test_data): New variable.
22062 (sqrt_test_downward): New function.
22063 (sqrt_upward_test_data): New variable.
22064 (sqrt_test_upward): New function.
22065 (main): Call the new functions.
22067 * math/gen-auto-libm-tests.c: New file.
22068 * math/auto-libm-test-in: Likewise.
22069 * math/auto-libm-test-out: New generated file.
22070 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22072 (%beautify): Add generated representations of zero.
22073 (top level): Set $auto_input and call parse_auto_input.
22074 (beautify): Remove trailing "f" from hex float constants.
22075 (parse_args): Handle XFAIL_TEST.
22076 (convert_condition): New function.
22077 (or_value): Likewise.
22078 (or_cond_value): Likewise.
22079 (generate_testfile): Handle AUTO_TESTS_* lines.
22080 (parse_auto_input): New function.
22081 * math/libm-test.inc (XFAIL_TEST): New macro.
22082 (ERRNO_UNCHANGED): Update value.
22083 (ERRNO_EDOM): Likewise.
22084 (ERRNO_ERANGE): Likewise.
22085 (IGNORE_RESULT): Likewise.
22086 (TEST_COND_flt_32): New macro.
22087 (TEST_COND_dbl_64): Likewise.
22088 (TEST_COND_ldbl_96_intel): Likewise.
22089 (TEST_COND_ldbl_96_m68k): Likewise.
22090 (TEST_COND_ldbl_128): Likewise.
22091 (TEST_COND_ldbl_128ibm): Likewise.
22092 (TEST_COND_long32): Likewise.
22093 (TEST_COND_long64): Likewise.
22094 (TEST_COND_before_rounding): Likewise.
22095 (TEST_COND_after_rounding): Likewise.
22096 (enable_test): Handle XFAIL_TEST flag.
22097 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22098 with finite results.
22099 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22100 auto-libm-test-out.
22102 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22103 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22106 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22107 __tls_get_addr_internal instead of __tls_get_offset in order to
22108 avoid GOT pointer dependency. Make rtld export
22109 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22110 __tls_get_addr since we are a __tls_get_offset platform.
22111 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22112 GOT pointer being set up before.
22113 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22115 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22117 * manual/math.texi (Errors in Math Functions): Document accuracy
22121 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22122 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22123 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22124 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22125 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22126 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22127 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22128 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22129 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22132 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22133 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22134 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22138 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22139 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22140 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22141 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22142 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22144 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22146 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22148 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22149 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22150 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22151 atomic-feupdateenv and flt-rounds.
22152 * sysdeps/powerpc/nofpu/Versions (libc): Add
22153 __atomic_feholdexcept, __atomic_feclearexcept,
22154 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22155 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22156 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22157 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22158 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22163 * manual/arith.texi (FP Exceptions): Document that exceptions may
22164 not be raised when matherr is used.
22165 (Math Error Reporting): Document overflow in directed rounding
22166 modes. Document that errno may not be set when finite values are
22167 returned on overflow. Document intent to set errno on underflow
22168 only for underflow to zero.
22171 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22172 round-to-nearest then adjust result for other rounding modes.
22173 * include/fenv.h (fegetround): Use libm_hidden_proto.
22174 * math/fegetround.c (fegetround): Use libm_hidden_def.
22175 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22176 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22177 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22178 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22180 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22181 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22182 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22183 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22185 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22188 * nss/Versions (libnss_files): Add
22189 _nss_files_gethostbyname3_r.
22190 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22192 (HOST_DB_LOOKUP): Remove macro.
22193 (_nss_files_gethostbyname_r): Implement function without the
22194 HOST_DB_LOOKUP macro.
22195 (_nss_files_gethostbyname2_r): Likewise.
22197 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22199 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22201 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22203 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22204 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22207 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22209 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22210 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22211 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22212 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22213 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22214 __fe_nomask_env_priv and attribute_hidden.
22215 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22216 (libc_feupdateenv_test_ppc): Likewise.
22217 (libc_feresetround_ppc): Likewise.
22218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22219 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22220 compat_symbol macro.
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22222 (__fe_nomask_env): Likewise.
22223 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22225 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22227 * string/Makefile: Remove ifunc tests.
22228 * string/test-string.h: Define TEST_IFUNC.
22229 * string/test-bcopy-ifunc.c: Remove.
22230 * string/test-bzero-ifunc.c: Likewise.
22231 * string/test-memccpy-ifunc.c: Likewise.
22232 * string/test-memchr-ifunc.c: Likewise.
22233 * string/test-memcmp-ifunc.c: Likewise.
22234 * string/test-memcpy-ifunc.c: Likewise.
22235 * string/test-memmem-ifunc.c: Likewise.
22236 * string/test-memmove-ifunc.c: Likewise.
22237 * string/test-mempcpy-ifunc.c: Likewise.
22238 * string/test-memrchr-ifunc.c: Likewise.
22239 * string/test-memset-ifunc.c: Likewise.
22240 * string/test-rawmemchr-ifunc.c: Likewise.
22241 * string/test-stpcpy-ifunc.c: Likewise.
22242 * string/test-stpncpy-ifunc.c: Likewise.
22243 * string/test-strcasecmp-ifunc.c: Likewise.
22244 * string/test-strcasestr-ifunc.c: Likewise.
22245 * string/test-strcat-ifunc.c: Likewise.
22246 * string/test-strchr-ifunc.c: Likewise.
22247 * string/test-strchrnul-ifunc.c: Likewise.
22248 * string/test-strcmp-ifunc.c: Likewise.
22249 * string/test-strcpy-ifunc.c: Likewise.
22250 * string/test-strcspn-ifunc.c: Likewise.
22251 * string/test-strlen-ifunc.c: Likewise.
22252 * string/test-strncasecmp-ifunc.c: Likewise.
22253 * string/test-strncat-ifunc.c: Likewise.
22254 * string/test-strncmp-ifunc.c: Likewise.
22255 * string/test-strncpy-ifunc.c: Likewise.
22256 * string/test-strnlen-ifunc.c: Likewise.
22257 * string/test-strpbrk-ifunc.c: Likewise.
22258 * string/test-strrchr-ifunc.c: Likewise.
22259 * string/test-strspn-ifunc.c: Likewise.
22260 * string/test-strstr-ifunc.c: Likewise.
22262 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22264 * benchtests/Makefile: Remove ifunc tests.
22265 * benchtests/bench-string.h: Define TEST_IFUNC.
22266 * benchtests/bench-bcopy-ifunc.c: Remove.
22267 * benchtests/bench-bzero-ifunc.c: Likewise.
22268 * benchtests/bench-memccpy-ifunc.c: Likewise.
22269 * benchtests/bench-memchr-ifunc.c: Likewise.
22270 * benchtests/bench-memcmp-ifunc.c: Likewise.
22271 * benchtests/bench-memcpy-ifunc.c: Likewise.
22272 * benchtests/bench-memmem-ifunc.c: Likewise.
22273 * benchtests/bench-memmove-ifunc.c: Likewise.
22274 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22275 * benchtests/bench-memrchr-ifunc.c: Likewise.
22276 * benchtests/bench-memset-ifunc.c: Likewise.
22277 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22278 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22279 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22280 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22281 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22282 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22283 * benchtests/bench-strcat-ifunc.c: Likewise.
22284 * benchtests/bench-strchr-ifunc.c: Likewise.
22285 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22286 * benchtests/bench-strcmp-ifunc.c: Likewise.
22287 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22288 * benchtests/bench-strcpy-ifunc.c: Likewise.
22289 * benchtests/bench-strcspn-ifunc.c: Likewise.
22290 * benchtests/bench-strlen-ifunc.c: Likewise.
22291 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22292 * benchtests/bench-strncat-ifunc.c: Likewise.
22293 * benchtests/bench-strncmp-ifunc.c: Likewise.
22294 * benchtests/bench-strncpy-ifunc.c: Likewise.
22295 * benchtests/bench-strnlen-ifunc.c: Likewise.
22296 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22297 * benchtests/bench-strrchr-ifunc.c: Likewise.
22298 * benchtests/bench-strsep-ifunc.c: Likewise.
22299 * benchtests/bench-strspn-ifunc.c: Likewise.
22300 * benchtests/bench-strstr-ifunc.c: Likewise.
22302 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22304 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22306 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22308 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22309 * rt/aio.h: Likewise.
22310 * sysdeps/gnu/bits/utmp.h: Likewise.
22311 * sysdeps/gnu/bits/utmpx.h: Likewise.
22312 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22313 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22314 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22315 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22316 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22317 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22318 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22319 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22320 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22321 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22322 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22323 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22324 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22326 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22327 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22328 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22329 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22330 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22331 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22332 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22333 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22334 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22335 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22336 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22337 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22338 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22339 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22340 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22341 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22342 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22343 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22344 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22345 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22346 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22347 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22348 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22349 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22350 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22351 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22352 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22353 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22355 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22358 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22359 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22361 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22363 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22364 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22367 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22369 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22370 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22371 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22372 (__fesetround): Remove define.
22373 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22374 rounding and exceptions handling.
22375 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22376 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22377 (__fe_nomask_env): Likewise.
22378 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22379 __fegetround instead of fegetround.
22380 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22381 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22383 2013-11-21 Roland McGrath <roland@hack.frob.com>
22385 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22388 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22390 2013-11-21 Meador Inge <meadori@codesourcery.com>
22393 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22394 (encrypt_r): Likewise.
22395 * malloc/obstack.h (obstack_free): Likewise.
22396 * posix/unistd.h (encrypt): Likewise.
22398 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22400 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22401 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22402 DL_CALL_DT_FINI() that call the functions directly.
22403 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22404 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22405 * elf/dl-fini.c: Likewise.
22407 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22409 * malloc/hooks.c (memalign_check): Add alignment rounding.
22410 * malloc/malloc.c (_mid_memalign): New function.
22411 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22412 Implement by calling _mid_memalign.
22413 * manual/probes.texi (Memory Allocation Probes): Remove
22414 memory_valloc_retry and memory_pvalloc_retry.
22416 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22418 * locale/programs/locarchive.c (open_archive): Add const
22419 qualifier to ARCHIVEFNAME and copy default fname to
22423 * libio/tst-widetext.input: Rename Oriya to Odia.
22424 * locale/iso-639.def: Likewise.
22426 * manual/probes.texi (Mathematical Function Probes): Add
22427 documentation for sin, cos, asin and acos probes.
22428 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22429 (__sin32): Add slowasin probe.
22430 (__cos32): Add slowacos probe.
22431 (__mpsin): Add slowsin probe.
22432 (__mpcos): Add slowcos probe.
22434 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22437 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22438 thread-local __sim_exceptions_thread and global
22439 __sim_exceptions_global.
22440 (__sim_disabled_exceptions): Change to thread-local
22441 __sim_disabled_exceptions_thread and global
22442 __sim_disabled_exceptions_global.
22443 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22444 and global __sim_round_mode_global.
22445 (__simulate_exceptions): Use thread-local floating-point state and
22446 set global state from it as needed.
22447 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22448 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22449 __sim_round_mode_thread.
22450 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22451 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22452 and global __sim_exceptions_global.
22453 (__sim_disabled_exceptions): Change to thread-local
22454 __sim_disabled_exceptions_thread and global
22455 __sim_disabled_exceptions_global.
22456 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22457 and global __sim_round_mode_global.
22458 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22459 (SIM_SET_GLOBAL): Likewise.
22460 * sysdeps/powerpc/soft-fp/sfp-machine.h
22461 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22462 __sim_round_mode_thread.
22463 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22464 __sim_disabled_exceptions_thread.
22465 (__sim_exceptions): Change to __sim_exceptions_thread.
22466 (__sim_disabled_exceptions): Change to
22467 __sim_disabled_exceptions_thread.
22468 (__sim_round_mode): Change to __sim_round_mode_thread.
22469 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22470 thread-local floating-point state and set global state from it as
22472 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22473 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22474 (__sim_disabled_exceptions): Remove extern declaration.
22475 (feenableexcept): Use thread-local floating-point state and set
22476 global state from it as needed.
22477 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22478 extern declaration.
22479 (__sim_disabled_exceptions): Likewise.
22480 (__sim_round_mode): Likewise.
22481 (__fegetenv): Use thread-local floating-point state.
22482 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22483 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22484 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22485 floating-point state and set global state from it as needed.
22486 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22487 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22488 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22490 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22491 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22493 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22494 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22495 Use __sim_round_mode_thread.
22496 * math/test-fenv-tls.c: New file.
22497 * math/Makefile (tests): Add test-fenv-tls.
22498 ($(objpfx)test-fenv-tls): Depend on
22499 $(common-objpfx)nptl/libpthread.so.
22501 2013-11-19 Andreas Schwab <schwab@suse.de>
22503 * locale/programs/locale.c (show_info): Decode wordarray elements.
22504 * locale/categories.def (LC_MONETARY): Add element for
22505 _NL_MONETARY_CRNCYSTR.
22506 * locale/C-monetary.c (conversion_rate): New variable.
22507 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22510 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22512 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22513 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22515 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22517 * elf/Makefile (tst-auxv): New test.
22518 * elf/tst-auxv.c: New
22519 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22521 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22523 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22524 (hidden_proto): Caller changed.
22525 (hidden_tls_proto): New macro.
22526 (libc_hidden_tls_proto): Likewise.
22527 (rtld_hidden_tls_proto): Likewise.
22528 (libm_hidden_tls_proto): Likewise.
22529 (libresolv_hidden_tls_proto): Likewise.
22530 (librt_hidden_tls_proto): Likewise.
22531 (libdl_hidden_tls_proto): Likewise.
22532 (libnss_files_hidden_tls_proto): Likewise.
22533 (libnsl_hidden_tls_proto): Likewise.
22534 (libnss_nisplus_hidden_tls_proto): Likewise.
22535 (libutil_hidden_tls_proto): Likewise.
22537 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22540 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22541 (decompose_rpath): Defer expansion to fillin_rpath.
22542 (_dl_init_paths): Pass linkmap to fillin_rpath.
22544 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22546 * benchtests/Makefile: Add strsep.
22547 * benchtests/bench-strsep.c: New file: strsep benchtest.
22548 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22550 2013-11-18 Andreas Schwab <schwab@suse.de>
22552 * locale/programs/locale.c (show_info) [case byte]: Check for
22553 '\377' instead of '\177'.
22554 * locale/C-monetary.c (not_available): Always use "\377".
22555 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22556 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22557 detect unavailable sign_posn locale elements.
22558 * locale/localeconv.c (__localeconv): For grouping and
22559 mon_grouping handle "\177" and "\377" like no grouping.
22560 (INT_ELEM): New macro. Use it to set all numeric members.
22561 * locale/programs/ld-monetary.c (monetary_read)
22562 <tok_mon_grouping>: Normalize single -1 to the empty string.
22563 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22566 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22569 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22570 when we match (nil).
22571 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22573 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22575 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22576 (NO_TEST_INLINE): Update value.
22577 (ERRNO_UNCHANGED): Likewise.
22578 (ERRNO_EDOM): Likewise.
22579 (ERRNO_ERANGE): Likewise.
22580 (IGNORE_RESULT): Likewise.
22581 (check_float_internal): Check signs of NaN results if
22582 TEST_NAN_SIGN used.
22583 (check_complex): Pass TEST_NAN_SIGN flag through to second
22584 check_float_internal call.
22585 (copysign_test_data): Add tests with quiet NaNs as second
22586 argument. Use TEST_NAN_SIGN.
22587 (fabs_test_data): Add test of negative quiet NaN argument. Use
22589 (signbit_test_data): Add tests of quiet NaN argument.
22590 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22592 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22594 (parse_args): Handle function results specified as IGNORE.
22595 * math/libm-test.inc (IGNORE_RESULT): New macro.
22596 (check_float_internal): Do not check numerical result if flag
22598 (check_complex): Pass through IGNORE_RESULT to second
22599 check_float_internal call.
22600 (check_int): Do not check numerical result if flag IGNORE_RESULT
22602 (check_long): Likewise.
22603 (check_bool): Likewise.
22604 (check_longlong): Likewise.
22605 (lrint_test_data): Add tests of infinite and NaN arguments.
22606 (lrint_tonearest_test_data): Likewise.
22607 (lrint_towardzero_test_data): Likewise.
22608 (lrint_downward_test_data): Likewise.
22609 (lrint_upward_test_data): Likewise.
22610 (llrint_test_data): Likewise.
22611 (llrint_tonearest_test_data): Likewise.
22612 (llrint_towardzero_test_data): Likewise.
22613 (llrint_downward_test_data): Likewise.
22614 (llrint_upward_test_data): Likewise.
22615 (lround_test_data): Likewise.
22616 (llround_test_data): Likewise.
22618 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22619 (ERRNO_UNCHANGED): Update value.
22620 (ERRNO_EDOM): Likewise.
22621 (ERRNO_ERANGE): Likewise.
22622 (NO_TEST_INLINE_FLOAT): New macro.
22623 (NO_TEST_INLINE_DOUBLE): Likewise.
22624 (enable_test): New function.
22625 (RUN_TEST_f_f): Check enable_test before running test.
22626 (RUN_TEST_2_f): Likewise.
22627 (RUN_TEST_fff_f): Likewise.
22628 (RUN_TEST_c_f): Likewise.
22629 (RUN_TEST_f_f1): Likewise.
22630 (RUN_TEST_fF_f1): Likewise.
22631 (RUN_TEST_fI_f1): Likewise.
22632 (RUN_TEST_ffI_f1): Likewise.
22633 (RUN_TEST_c_c): Likewise.
22634 (RUN_TEST_cc_c): Likewise.
22635 (RUN_TEST_f_i): Likewise.
22636 (RUN_TEST_f_i_tg): Likewise.
22637 (RUN_TEST_ff_i_tg): Likewise.
22638 (RUN_TEST_f_b): Likewise.
22639 (RUN_TEST_f_b_tg): Likewise.
22640 (RUN_TEST_f_l): Likewise.
22641 (RUN_TEST_f_L): Likewise.
22642 (RUN_TEST_fFF_11): Likewise.
22643 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22645 (cosh_test_data): Likewise.
22646 (exp_test_data): Likewise.
22647 (expm1_test_data): Likewise.
22648 (hypot_test_data): Likewise.
22649 (pow_test_data): Likewise.
22650 (sinh_test_data): Likewise.
22651 (tanh_test_data): Likewise.
22652 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22655 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22656 tests with quiet NaN input and output.
22657 (acosh_test_data): Likewise.
22658 (asin_test_data): Likewise.
22659 (asinh_test_data): Likewise.
22660 (atan_test_data): Likewise.
22661 (atanh_test_data): Likewise.
22662 (atan2_test_data): Likewise.
22663 (cbrt_test_data): Likewise.
22664 (cos_test_data): Likewise.
22665 (cosh_test_data): Likewise.
22666 (erf_test_data): Likewise.
22667 (erfc_test_data): Likewise.
22668 (exp_test_data): Likewise.
22669 (exp10_test_data): Likewise.
22670 (exp2_test_data): Likewise.
22671 (expm1_test_data): Likewise.
22672 (hypot_test_data): Likewise.
22673 (j0_test_data): Likewise.
22674 (j1_test_data): Likewise.
22675 (jn_test_data): Likewise.
22676 (lgamma_test_data): Likewise.
22677 (log_test_data): Likewise.
22678 (log10_test_data): Likewise.
22679 (log1p_test_data): Likewise.
22680 (log2_test_data): Likewise.
22681 (pow_test_data): Likewise.
22682 (scalb_test_data): Likewise.
22683 (sin_test_data): Likewise.
22684 (sincos_test_data): Likewise.
22685 (sinh_test_data): Likewise.
22686 (tan_test_data): Likewise.
22687 (tanh_test_data): Likewise.
22688 (tgamma_test_data): Likewise.
22689 (y0_test_data): Likewise.
22690 (y1_test_data): Likewise.
22691 (yn_test_data): Likewise.
22694 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22695 argument being NaN and avoid computations with second argument in
22697 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22698 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22699 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22701 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22703 * locale/iso-639.def: Add Chitwani Tharu (the).
22705 2013-11-14 Andreas Schwab <schwab@suse.de>
22707 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22708 word instead of empty string.
22710 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22713 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22715 (__fe_nomask_env): Likewise.
22717 2013-11-13 Steve Ellcey <sellcey@mips.com>
22719 * benchtests/bench-timing.h: Include time.h.
22721 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22724 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22726 * sysdeps/unix/sysv/linux/configure: Regenerated.
22728 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22731 * stdlib/strtod_l.c (round_and_return): Do not consider
22732 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22733 exponent one less than half the least subnormal exponent.
22734 * stdlib/test-strtod-round-data: Add more tests.
22735 * stdlib/tst-strtod-round.c (tests): Regenerated.
22737 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22740 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22741 (__fe_mask_env): Likewise.
22742 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22743 libm_hidden_proto and add function prototype.
22744 (__fe_mask_env): Add function prototype.
22745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22746 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22748 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22750 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22752 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22754 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22755 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22757 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22759 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22760 of htab_find_slot().
22762 2013-11-11 David S. Miller <davem@davemloft.net>
22765 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22766 symbol in the non-vis3 case in static builds.
22767 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22768 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22769 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22770 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22772 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22775 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22778 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22780 * benchtests/Makefile: Add bench-strtod.
22781 * benchtests/bench-strtod.c: New file: strtod benchtest
22783 2013-11-11 Andreas Schwab <schwab@suse.de>
22786 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22787 terminating NUL in key length.
22789 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22791 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22792 Add artificial ODP entry for vDSO symbol for PPC64.
22793 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22794 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22796 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22799 * nss/getent.c (services_keys): Recognize services starting with digit.
22801 2013-11-06 David S. Miller <davem@davemloft.net>
22804 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22805 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22807 2013-11-06 Will Newton <will.newton@linaro.org>
22809 * manual/memory.texi (Malloc Examples): Remove register
22810 keyword from examples.
22812 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22814 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22816 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22819 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22820 depending on [__GCC_IEC_559 > 0].
22821 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22822 depending on [__GCC_IEC_559_COMPLEX > 0].
22824 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22826 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22829 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22831 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22833 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22836 * malloc/malloc (malloc_info): Do not handle first bin as
22839 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22841 * locale/iso-639.def: Add Central Nahuatl (nhn).
22843 2013-11-01 Bruno Haible <bruno@clisp.org>
22846 * manual/math.texi (BSD Random): Specify range upper bound as
22849 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22851 * locale/iso-639.def: Add Meadow Mari (mhr).
22853 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22855 [BZ #14752], [BZ #15763]
22856 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22858 * rt/tst_shm.c: Add test for escaping directory.
22860 2013-10-31 Andreas Schwab <schwab@suse.de>
22863 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22864 followed by 'x' as part of digit sequence.
22865 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22867 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22870 * configure.ac: allow GNU Make 4.0 and greater.
22871 * configure: Regenerated.
22873 2013-10-30 Will Newton <will.newton@linaro.org>
22876 * malloc/hooks.c (memalign_check): Limit alignment to the
22877 maximum representable power of two.
22878 * malloc/malloc.c (__libc_memalign): Likewise.
22879 * malloc/tst-memalign.c (do_test): Add test for very
22880 large alignment values.
22881 * malloc/tst-posix_memalign.c (do_test): Likewise.
22883 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22886 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22887 (munmap_chunk): Likewise.
22888 (mremap_chunk): Likewise.
22890 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22893 * stdlib/div.c (div): Remove obsolete code.
22894 * stdlib/ldiv.c (ldiv): Likewise.
22895 * stdlib/lldiv.c (lldiv): Likewise.
22897 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22900 * nss/nss_files/files-XXX.c (get_contents_ret): New
22902 (get_contents): New function.
22903 (internal_getent): Use it. Expand size of LINEBUFLEN.
22905 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22907 * configure.in: Moved to ...
22908 * configure.ac: ... here. Change reference to configure.in
22910 * sysdeps/arm/preconfigure.ac: ... here.
22911 configure.in to configure.ac.
22912 * sysdeps/gnu/configure.in: Moved to ...
22913 * sysdeps/gnu/configure.ac: ... here.
22914 * sysdeps/i386/configure.in: Moved to ...
22915 * sysdeps/i386/configure.ac: ... here.
22916 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22917 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22918 * sysdeps/mach/configure.in: Moved to ...
22919 * sysdeps/mach/configure.ac: ... here.
22920 * sysdeps/mach/hurd/configure.in: Moved to ...
22921 * sysdeps/mach/hurd/configure.ac: ... here.
22922 * sysdeps/powerpc/configure.in: Moved to ...
22923 * sysdeps/powerpc/configure.ac: ... here.
22924 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22925 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22926 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22927 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22928 * sysdeps/s390/s390-32/configure.in: Moved to ...
22929 * sysdeps/s390/s390-32/configure.ac: ... here.
22930 * sysdeps/s390/s390-64/configure.in: Moved to ...
22931 * sysdeps/s390/s390-64/configure.ac: ... here.
22932 * sysdeps/sh/configure.in: Moved to ...
22933 * sysdeps/sh/configure.ac: ... here.
22934 * sysdeps/sparc/configure.in: Moved to ...
22935 * sysdeps/sparc/configure.ac: ... here.
22936 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22937 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22938 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22939 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22940 * sysdeps/x86_64/configure.in: Moved to ...
22941 * sysdeps/x86_64/configure.ac: ... here.
22942 * sysdeps/x86_64/preconfigure.in: Moved to ...
22943 * sysdeps/x86_64/preconfigure.ac: ... here.
22944 * aclocal.m4: Change reference to configure.in to configure.ac.
22945 * config.h.in: Likewise.
22946 * manual/install.texi: Likewise.
22947 * manual/maint.texi: Likewise.
22948 * Makefile: Likewise.
22949 * malloc/Makefile: Likewise.
22950 * nscd/Makefile: Likewise.
22951 * Makeconfig: Change reference to configure.in and
22952 preconfigure.in to configure.ac and preconfigure.ac
22954 * INSTALL: Regenerated.
22955 * configure: Likewise.
22956 * sysdeps/gnu/configure: Likewise.
22957 * sysdeps/i386/configure: Likewise.
22958 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22959 * sysdeps/mach/configure: Likewise.
22960 * sysdeps/mach/hurd/configure: Likewise.
22961 * sysdeps/powerpc/configure: Likewise.
22962 * sysdeps/powerpc/powerpc32/configure: Likewise.
22963 * sysdeps/powerpc/powerpc64/configure: Likewise.
22964 * sysdeps/s390/s390-32/configure: Likewise.
22965 * sysdeps/s390/s390-64/configure: Likewise.
22966 * sysdeps/sh/configure: Likewise.
22967 * sysdeps/sparc/configure: Likewise.
22968 * sysdeps/unix/sysv/linux/configure: Likewise.
22969 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22970 * sysdeps/x86_64/configure: Likewise.
22971 * sysdeps/x86_64/preconfigure: Likewise.
22973 2013-10-29 Andreas Schwab <schwab@suse.de>
22975 * stdio-common/Makefile (tst-swscanf-ENV): Define.
22977 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22979 * benchtests/pow-inputs: Add new inputs.
22981 * benchtests/exp-inputs: Add new inputs.
22983 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22984 conditional check for return value.
22985 (__cos32): Likewise.
22987 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22989 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22990 to provide a boost for large inputs with word alignment.
22991 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22992 implementation based on optimized PPC64 strcpy.
22993 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22994 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22995 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22996 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22998 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23001 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23003 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23006 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23007 * time/tst-strptime.c (day_tests): Add testcase.
23009 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23012 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23014 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23017 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23018 MAP_FAILED on error.
23020 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23023 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23024 heap for large requests.
23026 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23029 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23030 result if the result has no associated interface.
23031 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23032 interface for all 127.X.Y.Z addresses.
23034 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23036 * locale/iso-639.def: Add Ligurian (lij)
23038 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23041 * sunrpc/rpc_main.c: Document rpcgen -5.
23043 2013-10-19 Michael Stahl <mstahl@redhat.com>
23045 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23047 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23050 * posix/glob.c: Match only directories when trailing slash is present.
23051 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23052 (main): Add testcase.
23054 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23057 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23059 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23061 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23062 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23063 AUTH_DES and cindex for FIPS 140-2.
23064 (DES Encryption): Add cindex FIPS 46-3.
23066 * locale/locarchive.h (struct locarhandle): Add fname.
23067 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23068 if an optional argument was specified to --list-archive,
23070 * locale/programs/locarchive.c (show_archive_content): Take new
23071 argument fname and pass it via ah.fname to open_archive.
23072 * locale/programs/localedef.h: Update decl.
23073 (open_archive): If AH->fname is non-null, open that file
23074 rather than the default file name, and don't ignore ENOENT.
23075 (create_archive): Set AH.fname to NULL.
23076 (delete_locales_from_archive): Likewise.
23077 (add_locales_to_archive): Likewise.
23078 * locale/programs/locfile.c (write_all_categories): Likewise.
23080 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23081 Aldy Hernandez <aldyh@redhat.com>
23083 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23084 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23085 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23086 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23087 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23088 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23089 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23090 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23091 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23092 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23093 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23094 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23095 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23096 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23097 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23099 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23101 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23103 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23105 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23106 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23108 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23109 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23110 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23111 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23113 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23114 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23115 * sysdeps/powerpc/preconfigure: Likewise.
23116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23118 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23119 Replace contents of file by #include of <fenv_libc.h>.
23120 * sysdeps/powerpc/soft-fp/sfp-machine.h
23121 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23123 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23124 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23125 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23126 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23127 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23128 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23129 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23130 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23131 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23132 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23133 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23134 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23136 Allow copysignl PLT reference to be missing.
23138 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23139 Joseph Myers <joseph@codesourcery.com
23142 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23144 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23146 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23148 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23149 * elf/tst-tls1.c: Likewise.
23150 * elf/tst-tls10.h: Likewise.
23151 * elf/tst-tls14.c: Likewise.
23152 * elf/tst-tls2.c: Likewise.
23153 * elf/tst-tls3.c: Likewise.
23154 * elf/tst-tls4.c: Likewise.
23155 * elf/tst-tls5.c: Likewise.
23156 * elf/tst-tls6.c: Likewise.
23157 * elf/tst-tls7.c: Likewise.
23158 * elf/tst-tls8.c: Likewise.
23159 * elf/tst-tls9.c: Likewise.
23160 * elf/tst-tlsmod1.c: Likewise.
23161 * elf/tst-tlsmod13.c: Likewise.
23162 * elf/tst-tlsmod13a.c: Likewise.
23163 * elf/tst-tlsmod14a.c: Likewise.
23164 * elf/tst-tlsmod16a.c: Likewise.
23165 * elf/tst-tlsmod16b.c: Likewise.
23166 * elf/tst-tlsmod2.c: Likewise.
23167 * elf/tst-tlsmod3.c: Likewise.
23168 * elf/tst-tlsmod4.c: Likewise.
23169 * elf/tst-tlsmod5.c: Likewise.
23170 * elf/tst-tlsmod6.c: Likewise.
23172 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23175 * malloc/malloc.c: remove checks for statistics.
23177 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23180 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23181 * inet/tst-network.c: Add testcase.
23183 2013-10-17 Andreas Schwab <schwab@suse.de>
23186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23187 to determine canonical name.
23189 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23191 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23192 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23193 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23194 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23196 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23197 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23198 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23199 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23200 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23201 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23202 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23203 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23204 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23205 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23206 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23207 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23208 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23209 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23210 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23211 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23212 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23213 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23214 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23215 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23216 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23217 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23218 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23219 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23220 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23221 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23222 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23223 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23224 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23225 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23226 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23227 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23228 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23229 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23230 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23231 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23232 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23233 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23234 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23235 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23236 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23237 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23238 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23239 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23240 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23241 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23242 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23243 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23244 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23245 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23246 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23247 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23248 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23250 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23253 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23254 make result into a quiet NaN.
23256 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23258 * soft-fp/adddf3.c: Fix horizontal whitespace.
23259 * soft-fp/addsf3.c: Likewise.
23260 * soft-fp/addtf3.c: Likewise.
23261 * soft-fp/divdf3.c: Likewise.
23262 * soft-fp/divsf3.c: Likewise.
23263 * soft-fp/divtf3.c: Likewise.
23264 * soft-fp/double.h: Likewise.
23265 * soft-fp/eqdf2.c: Likewise.
23266 * soft-fp/eqsf2.c: Likewise.
23267 * soft-fp/eqtf2.c: Likewise.
23268 * soft-fp/extenddftf2.c: Likewise.
23269 * soft-fp/extended.h: Likewise.
23270 * soft-fp/extendsfdf2.c: Likewise.
23271 * soft-fp/extendsftf2.c: Likewise.
23272 * soft-fp/extendxftf2.c: Likewise.
23273 * soft-fp/fixdfdi.c: Likewise.
23274 * soft-fp/fixdfsi.c: Likewise.
23275 * soft-fp/fixdfti.c: Likewise.
23276 * soft-fp/fixsfdi.c: Likewise.
23277 * soft-fp/fixsfsi.c: Likewise.
23278 * soft-fp/fixsfti.c: Likewise.
23279 * soft-fp/fixtfdi.c: Likewise.
23280 * soft-fp/fixtfsi.c: Likewise.
23281 * soft-fp/fixtfti.c: Likewise.
23282 * soft-fp/fixunsdfdi.c: Likewise.
23283 * soft-fp/fixunsdfsi.c: Likewise.
23284 * soft-fp/fixunsdfti.c: Likewise.
23285 * soft-fp/fixunssfdi.c: Likewise.
23286 * soft-fp/fixunssfsi.c: Likewise.
23287 * soft-fp/fixunssfti.c: Likewise.
23288 * soft-fp/fixunstfdi.c: Likewise.
23289 * soft-fp/fixunstfsi.c: Likewise.
23290 * soft-fp/fixunstfti.c: Likewise.
23291 * soft-fp/floatdidf.c: Likewise.
23292 * soft-fp/floatdisf.c: Likewise.
23293 * soft-fp/floatditf.c: Likewise.
23294 * soft-fp/floatsidf.c: Likewise.
23295 * soft-fp/floatsisf.c: Likewise.
23296 * soft-fp/floatsitf.c: Likewise.
23297 * soft-fp/floattidf.c: Likewise.
23298 * soft-fp/floattisf.c: Likewise.
23299 * soft-fp/floattitf.c: Likewise.
23300 * soft-fp/floatundidf.c: Likewise.
23301 * soft-fp/floatundisf.c: Likewise.
23302 * soft-fp/floatunditf.c: Likewise.
23303 * soft-fp/floatunsidf.c: Likewise.
23304 * soft-fp/floatunsisf.c: Likewise.
23305 * soft-fp/floatunsitf.c: Likewise.
23306 * soft-fp/floatuntidf.c: Likewise.
23307 * soft-fp/floatuntisf.c: Likewise.
23308 * soft-fp/floatuntitf.c: Likewise.
23309 * soft-fp/fmadf4.c: Likewise.
23310 * soft-fp/fmasf4.c: Likewise.
23311 * soft-fp/fmatf4.c: Likewise.
23312 * soft-fp/gedf2.c: Likewise.
23313 * soft-fp/gesf2.c: Likewise.
23314 * soft-fp/getf2.c: Likewise.
23315 * soft-fp/ledf2.c: Likewise.
23316 * soft-fp/lesf2.c: Likewise.
23317 * soft-fp/letf2.c: Likewise.
23318 * soft-fp/muldf3.c: Likewise.
23319 * soft-fp/mulsf3.c: Likewise.
23320 * soft-fp/multf3.c: Likewise.
23321 * soft-fp/negdf2.c: Likewise.
23322 * soft-fp/negsf2.c: Likewise.
23323 * soft-fp/negtf2.c: Likewise.
23324 * soft-fp/op-1.h: Likewise.
23325 * soft-fp/op-2.h: Likewise.
23326 * soft-fp/op-4.h: Likewise.
23327 * soft-fp/op-8.h: Likewise.
23328 * soft-fp/op-common.h: Likewise.
23329 * soft-fp/quad.h: Likewise.
23330 * soft-fp/single.h: Likewise.
23331 * soft-fp/soft-fp.h: Likewise.
23332 * soft-fp/sqrtdf2.c: Likewise.
23333 * soft-fp/sqrtsf2.c: Likewise.
23334 * soft-fp/sqrttf2.c: Likewise.
23335 * soft-fp/subdf3.c: Likewise.
23336 * soft-fp/subsf3.c: Likewise.
23337 * soft-fp/subtf3.c: Likewise.
23338 * soft-fp/truncdfsf2.c: Likewise.
23339 * soft-fp/trunctfdf2.c: Likewise.
23340 * soft-fp/trunctfsf2.c: Likewise.
23341 * soft-fp/trunctfxf2.c: Likewise.
23342 * soft-fp/unorddf2.c: Likewise.
23343 * soft-fp/unordsf2.c: Likewise.
23344 * soft-fp/unordtf2.c: Likewise.
23346 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23348 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23349 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23351 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23353 * elf/dl-libc.c: Clear initfini list after freeing.
23355 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23357 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23358 * soft-fp/addsf3.c: Likewise.
23359 * soft-fp/addtf3.c: Likewise.
23360 * soft-fp/divdf3.c: Likewise.
23361 * soft-fp/divsf3.c: Likewise.
23362 * soft-fp/divtf3.c: Likewise.
23363 * soft-fp/double.h: Likewise.
23364 * soft-fp/eqdf2.c: Likewise.
23365 * soft-fp/eqsf2.c: Likewise.
23366 * soft-fp/eqtf2.c: Likewise.
23367 * soft-fp/extenddftf2.c: Likewise.
23368 * soft-fp/extended.h: Likewise.
23369 * soft-fp/extendsfdf2.c: Likewise.
23370 * soft-fp/extendsftf2.c: Likewise.
23371 * soft-fp/extendxftf2.c: Likewise.
23372 * soft-fp/fixdfdi.c: Likewise.
23373 * soft-fp/fixdfsi.c: Likewise.
23374 * soft-fp/fixdfti.c: Likewise.
23375 * soft-fp/fixsfdi.c: Likewise.
23376 * soft-fp/fixsfsi.c: Likewise.
23377 * soft-fp/fixsfti.c: Likewise.
23378 * soft-fp/fixtfdi.c: Likewise.
23379 * soft-fp/fixtfsi.c: Likewise.
23380 * soft-fp/fixtfti.c: Likewise.
23381 * soft-fp/fixunsdfdi.c: Likewise.
23382 * soft-fp/fixunsdfsi.c: Likewise.
23383 * soft-fp/fixunsdfti.c: Likewise.
23384 * soft-fp/fixunssfdi.c: Likewise.
23385 * soft-fp/fixunssfsi.c: Likewise.
23386 * soft-fp/fixunssfti.c: Likewise.
23387 * soft-fp/fixunstfdi.c: Likewise.
23388 * soft-fp/fixunstfsi.c: Likewise.
23389 * soft-fp/fixunstfti.c: Likewise.
23390 * soft-fp/floatdidf.c: Likewise.
23391 * soft-fp/floatdisf.c: Likewise.
23392 * soft-fp/floatditf.c: Likewise.
23393 * soft-fp/floatsidf.c: Likewise.
23394 * soft-fp/floatsisf.c: Likewise.
23395 * soft-fp/floatsitf.c: Likewise.
23396 * soft-fp/floattidf.c: Likewise.
23397 * soft-fp/floattisf.c: Likewise.
23398 * soft-fp/floattitf.c: Likewise.
23399 * soft-fp/floatundidf.c: Likewise.
23400 * soft-fp/floatundisf.c: Likewise.
23401 * soft-fp/floatunsidf.c: Likewise.
23402 * soft-fp/floatunsisf.c: Likewise.
23403 * soft-fp/floatuntidf.c: Likewise.
23404 * soft-fp/floatuntisf.c: Likewise.
23405 * soft-fp/floatuntitf.c: Likewise.
23406 * soft-fp/fmadf4.c: Likewise.
23407 * soft-fp/fmasf4.c: Likewise.
23408 * soft-fp/fmatf4.c: Likewise.
23409 * soft-fp/gedf2.c: Likewise.
23410 * soft-fp/gesf2.c: Likewise.
23411 * soft-fp/getf2.c: Likewise.
23412 * soft-fp/ledf2.c: Likewise.
23413 * soft-fp/lesf2.c: Likewise.
23414 * soft-fp/letf2.c: Likewise.
23415 * soft-fp/muldf3.c: Likewise.
23416 * soft-fp/mulsf3.c: Likewise.
23417 * soft-fp/multf3.c: Likewise.
23418 * soft-fp/negdf2.c: Likewise.
23419 * soft-fp/negsf2.c: Likewise.
23420 * soft-fp/negtf2.c: Likewise.
23421 * soft-fp/op-1.h: Likewise.
23422 * soft-fp/op-2.h: Likewise.
23423 * soft-fp/op-4.h: Likewise.
23424 * soft-fp/op-8.h: Likewise.
23425 * soft-fp/op-common.h: Likewise.
23426 * soft-fp/quad.h: Likewise.
23427 * soft-fp/single.h: Likewise.
23428 * soft-fp/soft-fp.h: Likewise.
23429 * soft-fp/sqrtdf2.c: Likewise.
23430 * soft-fp/sqrtsf2.c: Likewise.
23431 * soft-fp/sqrttf2.c: Likewise.
23432 * soft-fp/subdf3.c: Likewise.
23433 * soft-fp/subsf3.c: Likewise.
23434 * soft-fp/subtf3.c: Likewise.
23435 * soft-fp/truncdfsf2.c: Likewise.
23436 * soft-fp/trunctfdf2.c: Likewise.
23437 * soft-fp/trunctfsf2.c: Likewise.
23438 * soft-fp/trunctfxf2.c: Likewise.
23439 * soft-fp/unorddf2.c: Likewise.
23440 * soft-fp/unordsf2.c: Likewise.
23441 * soft-fp/unordtf2.c: Likewise.
23443 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23446 * misc/error.c (error_tail): Fix possible buffer overflow.
23448 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23451 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23454 2013-10-14 P. J. McDermott <pj@pehjota.net>
23457 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23458 testing pipefail option.
23460 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23462 * soft-fp/double.h: Indent preprocessor directives inside #if.
23463 * soft-fp/extended.h: Likewise.
23464 * soft-fp/op-2.h: Likewise.
23465 * soft-fp/op-4.h: Likewise.
23466 * soft-fp/op-common.h: Likewise.
23467 * soft-fp/quad.h: Likewise.
23468 * soft-fp/single.h: Likewise.
23469 * soft-fp/soft-fp.h: Likewise.
23471 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23473 * iconv/iconv_prog.c: Fix typos.
23474 * stdio-common/psiginfo-data.h: Likewise.
23476 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23479 * locale/setlocale.c: Fix typo.
23481 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23484 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23485 signaling NaN arguments.
23486 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23487 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23490 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23491 unordered operands.
23492 * soft-fp/gesf2.c (__gesf2): Likewise.
23493 * soft-fp/getf2.c (__getf2): Likewise.
23494 * soft-fp/ledf2.c (__ledf2): Likewise.
23495 * soft-fp/lesf2.c (__lesf2): Likewise.
23496 * soft-fp/letf2.c (__letf2): Likewise.
23498 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23499 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23500 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23501 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23502 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23503 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23504 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23505 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23506 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23507 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23508 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23509 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23510 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23511 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23512 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23513 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23514 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23515 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23516 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23517 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23518 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23519 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23520 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23521 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23522 * soft-fp/floattidf.c (__floattidf): Likewise.
23523 * soft-fp/floattisf.c (__floattisf): Likewise.
23524 * soft-fp/floattitf.c (__floattitf): Likewise.
23525 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23526 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23527 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23528 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23529 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23530 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23531 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23532 * soft-fp/gesf2.c (__gesf2): Likewise.
23533 * soft-fp/getf2.c (__getf2): Likewise.
23534 * soft-fp/ledf2.c (__ledf2): Likewise.
23535 * soft-fp/lesf2.c (__lesf2): Likewise.
23536 * soft-fp/letf2.c (__letf2): Likewise.
23538 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23539 Undefine and redefine.
23540 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23541 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23542 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23543 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23544 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23545 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23546 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23547 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23548 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23549 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23550 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23551 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23552 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23553 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23554 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23557 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23558 without decrementing exponent if mantissa >= that for the
23559 denominator, not >.
23560 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23561 denominator, not >. Decrement exponent in < case instead of
23562 incrementing in >= case.
23563 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23564 without decrementing exponent if mantissa >= that for the
23565 denominator, not >.
23567 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23568 computing saturated result for unsigned overflow.
23570 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23571 Jeff Law <law@redhat.com>
23573 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23574 (atan2Mp): Add systemtap probe marker.
23575 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23576 (__ieee754_log): Add systemtap probe marker.
23577 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23578 (atanMp): Add systemtap probe marker.
23579 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23580 (tanMp): Add systemtap probe marker.
23581 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23582 (__slowexp): Add systemtap probe marker.
23583 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23584 (__slowpow): Add systemtap probe marker.
23585 * manual/probes.texi: Document probes.
23587 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23590 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23592 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23594 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23595 written to buffer but not flushed.
23596 * libio/iofwrite_u.c: Likewise.
23597 * libio/iopadn.c: Return bytes returned even if EOF was
23599 * libio/iowpadn.c: Likewise.
23600 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23601 if _IO_padn does not write the whole buffer.
23602 [!COMPILE_WPRINTF] (PAD): Likewise.
23604 2013-10-10 David S. Miller <davem@davemloft.net>
23606 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23609 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23611 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23612 instead of FSF address.
23613 * soft-fp/fixdfti.c: Likewise.
23614 * soft-fp/fixsfti.c: Likewise.
23615 * soft-fp/fixtfti.c: Likewise.
23616 * soft-fp/fixunsdfti.c: Likewise.
23617 * soft-fp/fixunssfti.c: Likewise.
23618 * soft-fp/fixunstfti.c: Likewise.
23619 * soft-fp/floattidf.c: Likewise.
23620 * soft-fp/floattisf.c: Likewise.
23621 * soft-fp/floattitf.c: Likewise.
23622 * soft-fp/floatuntidf.c: Likewise.
23623 * soft-fp/floatuntisf.c: Likewise.
23624 * soft-fp/floatuntitf.c: Likewise.
23625 * soft-fp/trunctfxf2.c: Likewise.
23627 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23628 * soft-fp/fixdfti.c: Likewise.
23629 * soft-fp/fixsfti.c: Likewise.
23630 * soft-fp/fixtfti.c: Likewise.
23631 * soft-fp/fixunsdfti.c: Likewise.
23632 * soft-fp/fixunssfti.c: Likewise.
23633 * soft-fp/fixunstfti.c: Likewise.
23634 * soft-fp/floattidf.c: Likewise.
23635 * soft-fp/floattisf.c: Likewise.
23636 * soft-fp/floattitf.c: Likewise.
23637 * soft-fp/floatuntidf.c: Likewise.
23638 * soft-fp/floatuntisf.c: Likewise.
23639 * soft-fp/floatuntitf.c: Likewise.
23640 * soft-fp/trunctfxf2.c: Likewise.
23642 2013-10-10 David S. Miller <davem@davemloft.net>
23644 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23646 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23648 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23649 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23650 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23651 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23652 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23653 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23654 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23656 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23657 for NaNs before doing comparisons on argument.
23658 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23661 2013-10-10 Will Newton <will.newton@linaro.org>
23663 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23664 passed to _int_memalign does not overflow.
23666 2013-10-10 Torvald Riegel <triegel@redhat.com>
23668 * scripts/bench.pl: Add include-sources directive.
23669 * benchtests/README: Update documentation.
23671 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23673 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23674 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23675 instead of FP_INIT_ROUNDMODE.
23676 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23677 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23680 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23681 copy class of input value.
23682 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23683 not handle exceptions.
23684 * soft-fp/negsf2.c (__negsf2): Likewise.
23685 * soft-fp/negtf2.c (__negtf2): Likewise.
23686 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23688 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23690 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23691 semicolon. From Linux kernel.
23693 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23695 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23697 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23700 * manual/socket.texi: Added statement about buffer
23701 for gethostbyname2_r.
23703 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23705 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23706 Use .p2align directive instead, throughout.
23707 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23708 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23709 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23710 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23711 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23712 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23713 * sysdeps/x86_64/strchr.S: Likewise.
23714 * sysdeps/x86_64/strrchr.S: Likewise.
23716 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23718 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23720 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23722 * sysdeps/generic/math_private.h (__mpsin1): Remove
23724 (__mpcos1): Likewise.
23725 (__mpsin): New argument __range_reduce.
23726 (__mpcos): Likewise.
23727 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23728 (slow): Use __mpsin and __mpcos.
23732 (sloww1): Likewise.
23733 (sloww2): Likewise.
23734 (bsloww): Likewise.
23735 (bsloww1): Likewise.
23736 (bsloww2): Likewise.
23737 (cslow2): Likewise.
23738 (csloww): Likewise.
23739 (csloww1): Likewise.
23740 (csloww2): Likewise.
23741 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23742 range_reduce. Merge in __mpsin1.
23743 (__mpcos): Likewise.
23744 (__mpsin1): Remove.
23745 (__mpcos1): Likewise.
23747 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23749 * locale/loadlocale.c (_nl_intern_locale_data): Use
23751 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23752 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23753 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23754 obstack data is appropriately aligned.
23755 (obstack_int32_grow_fast): Likewise.
23756 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23757 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23758 (add_locale_uint32_array): Likewise.
23760 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23762 * benchtests/Makefile: Remove ARGLIST and RET variables.
23763 ($(objpfx)bench-%.c): Pass only function name to the script.
23764 * benchtests/README: Update documentation.
23765 * benchtests/acos-inputs: Add new directives.
23766 * benchtests/acosh-inputs: Likewise.
23767 * benchtests/asin-inputs: Likewise.
23768 * benchtests/asinh-inputs: Likewise.
23769 * benchtests/atan-inputs: Likewise.
23770 * benchtests/atanh-inputs: Likewise.
23771 * benchtests/cos-inputs: Likewise.
23772 * benchtests/cosh-inputs: Likewise.
23773 * benchtests/exp-inputs: Likewise.
23774 * benchtests/log-inputs: Likewise.
23775 * benchtests/pow-inputs: Likewise.
23776 * benchtests/rint-inputs: Likewise.
23777 * benchtests/sin-inputs: Likewise.
23778 * benchtests/sinh-inputs: Likewise.
23779 * benchtests/tan-inputs: Likewise.
23780 * benchtests/tanh-inputs: Likewise.
23781 * scripts/bench.pl: Add support for new directives.
23783 2013-10-07 Alan Modra <amodra@gmail.com>
23785 * README: Fix careless merge.
23787 2013-10-05 Alan Modra <amodra@gmail.com>
23789 * NEWS: Mention powerpc64le support and bugs fixed.
23790 * README: Both big-endian and little-endian powerpc64 supported.
23792 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23794 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23795 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23796 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23797 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23799 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23801 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23804 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23806 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23807 Move -mhard-float appending from
23808 ports/sysdeps/powerpc/powerpc32/Makefile.
23809 [$(with-fp) = yes] (ASFLAGS): Likewise.
23810 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23811 * sysdeps/powerpc/nofpu: Move directory from
23812 ports/sysdeps/powerpc/nofpu.
23813 * sysdeps/powerpc/soft-fp: Move directory from
23814 ports/sysdeps/powerpc/soft-fp.
23815 * sysdeps/powerpc/powerpc32/405: Move directory from
23816 ports/sysdeps/powerpc/powerpc32/405.
23817 * sysdeps/powerpc/powerpc32/440: Move directory from
23818 ports/sysdeps/powerpc/powerpc32/440.
23819 * sysdeps/powerpc/powerpc32/464: Move directory from
23820 ports/sysdeps/powerpc/powerpc32/464.
23821 * sysdeps/powerpc/powerpc32/476: Move directory from
23822 ports/sysdeps/powerpc/powerpc32/476.
23823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23824 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23826 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23828 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23830 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23832 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23833 * README: Update for powerpc-*-linux-gnu software floating point
23836 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23837 case to powerpc/powerpc32*.
23838 * sysdeps/unix/sysv/linux/configure: Regenerated.
23840 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23841 (_FPU_MASK_OM): Define as 0x04.
23842 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23843 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23845 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23847 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23850 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23853 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23856 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23857 and setcontext_e500.
23859 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23861 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23863 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23865 * manual/threads.texi (Default Thread Attributes): Fix typo.
23867 2013-10-04 Will Newton <will.newton@linaro.org>
23869 * malloc/Makefile: Add tst-memalign.
23870 * malloc/tst-memalign.c: New file.
23872 * malloc/tst-posix_memalign.c: Add comments.
23873 (do_test): Add comments and call free on all potentially
23874 allocated pointers. Add space after cast.
23876 * malloc/tst-pvalloc.c: Add comments.
23877 (do_test): Add comments and call free on all potentially
23878 allocated pointers. Remove duplicate check for NULL pointer.
23879 Add space after cast.
23881 * malloc/tst-valloc.c: Add comments.
23882 (do_test): Add comments and call free on all potentially
23883 allocated pointers. Remove duplicate check for NULL pointer.
23884 Add space after cast.
23886 2013-10-04 Alan Modra <amodra@gmail.com>
23888 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23889 Use stdint types in rather than __attribute__((mode())).
23890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23892 2013-10-04 Alan Modra <amodra@gmail.com>
23894 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23895 Correct handling of unaligned relocs for little-endian.
23896 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23898 2013-10-04 Alan Modra <amodra@gmail.com>
23900 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23901 * configure: Regenerate.
23902 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23903 * shlib-versions: Likewise.
23905 2013-10-04 Alan Modra <amodra@gmail.com>
23907 * string/tester.c (test_memrchr): Increment reported test cycle.
23909 2013-10-04 Alan Modra <amodra@gmail.com>
23911 * string/test-memcpy.c (do_one_test): When reporting errors, print
23912 string address and don't overrun end of string.
23914 2013-10-04 Alan Modra <amodra@gmail.com>
23916 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23917 insrdi. Make better use of reg selection to speed exit slightly.
23918 Schedule entry path a little better. Remove useless "are we done"
23919 checks on entry to main loop. Handle wrapping around zero address.
23920 Correct main loop count. Handle single left-over word from main
23921 loop inline rather than by using loop_small. Remove extra word
23922 case in loop_small caused by wrong loop count. Add little-endian
23924 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23925 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23928 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23929 support. Avoid rlwimi.
23930 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23932 2013-10-04 Alan Modra <amodra@gmail.com>
23934 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23935 insrdi. Formatting.
23936 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23937 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23938 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23939 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23940 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23941 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23943 2013-10-04 Alan Modra <amodra@gmail.com>
23945 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23946 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23947 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23948 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23949 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23950 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23951 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23952 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23953 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
23954 use of regs. Use power7 mtocrf. Tidy function tails.
23956 2013-10-04 Alan Modra <amodra@gmail.com>
23958 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23959 Formatting. Consistently use rXXX register defines or rN defines.
23960 Use early exit labels that avoid restoring unused non-volatile regs.
23961 Make cr field use more consistent with rWORDn compares. Rename
23962 regs used as shift registers for unaligned loop, using rN defines
23963 for short lifetime/multiple use regs.
23964 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23965 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
23966 addi 1,1,64 to pop stack frame. Simplify return value code.
23967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23969 2013-10-04 Alan Modra <amodra@gmail.com>
23971 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23972 support. Correct typos, formatting. Optimize tail. Use insrdi
23973 rather than rlwimi.
23974 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23975 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23976 little-endian support. Correct typos.
23977 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
23978 rather than rlwimi.
23979 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
23980 in loop and entry code to keep "and." results.
23981 (strchr): Add little-endian support. Comment. Move cntlzd
23983 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23985 2013-10-04 Alan Modra <amodra@gmail.com>
23987 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23988 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23989 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23990 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23992 2013-10-04 Alan Modra <amodra@gmail.com>
23994 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23995 (rTMP): Define as r11.
23996 (strcmp): Add little-endian support. Optimise tail.
23997 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23998 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23999 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24000 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24001 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24002 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24003 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24005 2013-10-04 Alan Modra <amodra@gmail.com>
24007 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24008 little-endian support. Remove unnecessary "are we done" tests.
24009 Handle "s" wrapping around zero and extremely large "size".
24010 Correct main loop count. Handle single left-over word from main
24011 loop inline rather than by using small_loop. Correct comments.
24012 Delete "zero" tail, use "end_max" instead.
24013 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24015 2013-10-04 Alan Modra <amodra@gmail.com>
24017 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24018 support. Don't branch over align.
24019 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24020 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24021 support. Rearrange tmp reg use to suit. Comment.
24022 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24024 2013-10-04 Alan Modra <amodra@gmail.com>
24026 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24028 2013-10-04 Alan Modra <amodra@gmail.com>
24030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24031 conditional form of branch and link when obtaining pc.
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24034 2013-10-04 Alan Modra <amodra@gmail.com>
24036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24041 2013-10-04 Alan Modra <amodra@gmail.com>
24043 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24044 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24045 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24046 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24047 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24048 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24049 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24050 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24051 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24052 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24054 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24055 Alistair Popple <alistair@ozlabs.au.ibm.com>
24056 Alan Modra <amodra@gmail.com>
24059 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24060 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24061 _dl_hwcap access for little-endian.
24062 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24063 destroy vmx regs when saving unaligned.
24064 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24065 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24066 destroy vmx regs when saving unaligned.
24068 2013-10-04 Alan Modra <amodra@gmail.com>
24070 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24071 Don't use a union to pack hi/low value.
24073 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24075 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24077 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24078 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24079 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24080 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24081 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24083 2013-10-04 Alan Modra <amodra@gmail.com>
24085 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24086 constants to usual value for .cst8 section, and remove redundant
24088 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24089 constant for 0x1p52. Load little-endian words of double from
24090 correct stack offsets.
24092 2013-10-04 Alan Modra <amodra@gmail.com>
24094 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24095 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24096 words of double from correct stack offsets.
24097 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24098 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24099 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24100 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24101 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24102 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24103 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24104 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24105 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24106 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24107 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24108 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24109 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24110 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24111 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24112 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24113 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24115 2013-10-04 Alan Modra <amodra@gmail.com>
24117 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24118 64-bit int/double union.
24119 (_FPU_SETCW): Likewise.
24120 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24121 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24123 2013-10-04 Alan Modra <amodra@gmail.com>
24125 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24126 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24128 2013-10-04 Alan Modra <amodra@gmail.com>
24130 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24131 use vector int constants.
24132 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24134 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24136 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24137 array with long long.
24138 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24139 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24140 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24141 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24142 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24143 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24144 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24145 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24146 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24147 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24148 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24149 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24150 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24152 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24154 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24155 (__signbit): Likewise. Correct for little-endian.
24156 (__signbitl): Call __signbit.
24157 (lrint): Correct for little-endian.
24158 (lrintf): Call lrint.
24160 2013-10-04 Alan Modra <amodra@gmail.com>
24162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24163 union 32-bit int array member with 64-bit int array.
24164 (t515, tm256): Double rather than long double.
24165 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24167 2013-10-04 Alan Modra <amodra@gmail.com>
24169 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24171 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24172 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24173 version of math_ldbl.h.
24175 2013-10-04 Alan Modra <amodra@gmail.com>
24177 [BZ #15734], [BZ #15735]
24178 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24179 all uses of ieee875 long double macros and unions. Simplify test
24180 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24181 ldbl_extract_mantissa value for ix,iy exponents. Properly
24182 normalize after ldbl_extract_mantissa, and don't add hidden bit
24183 already handled. Don't treat low word of ieee854 mantissa like
24184 low word of IBM long double and mask off bit when testing for
24186 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24187 all uses of ieee875 long double macros and unions. Simplify tests
24188 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24189 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24190 two1022, instead use their values. Recognise that tests for large
24191 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24192 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24193 Rewrite all uses of ieee875 long double macros and unions. Simplify
24194 test for 0.0L and nan. Correct negation.
24195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24196 ieee875 long double macros and unions. Correct output for large
24197 magnitude x. Correct absolute value calculation.
24198 (__erfcl): Likewise.
24199 * math/libm-test.inc: Add tests for errors discovered in IBM long
24200 double versions of fmodl, remainderl, erfl and erfcl.
24202 2013-10-04 Alan Modra <amodra@gmail.com>
24204 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24205 all uses of ieee854 long double macros and unions. Simplify tests
24206 for long doubles that are fully specified by the high double.
24207 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24209 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24210 Remove dead code too.
24211 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24212 (__ieee754_ynl): Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24215 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24216 Remove dead code too.
24217 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24218 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24219 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24220 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24222 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24224 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24225 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24226 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24227 Comment on variable precision.
24228 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24229 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24231 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24234 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24235 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24237 2013-10-04 Alan Modra <amodra@gmail.com>
24239 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24240 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24241 all uses of ieee854 long double macros and unions.
24242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24243 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24244 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24245 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24246 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24247 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24250 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24251 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24253 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24254 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24255 Simplify sign and nan test too.
24256 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24257 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24258 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24259 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24261 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24262 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24264 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24265 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24266 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24267 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24268 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24269 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24271 2013-10-04 Alan Modra <amodra@gmail.com>
24273 * stdio-common/printf_size.c (__printf_size): Don't use
24274 union ieee854_long_double in fpnum union.
24275 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24276 signbit macro to retrieve sign from long double.
24277 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24278 retrieve sign from long double.
24279 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24280 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24281 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24282 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24283 * math/test-misc.c (main): Don't use union ieee854_long_double.
24285 2013-10-04 Alan Modra <amodra@gmail.com>
24288 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24289 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24290 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24291 calculation. Remove unnecessary test for denormal exponent.
24292 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24293 Correct handling of denormals. Avoid undefined shift behaviour.
24294 Correct normalisation of low mantissa when low double is denormal.
24295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24296 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24297 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24298 Correct normalisation of low mantissa. Test for overflow of high
24299 mantissa and normalise.
24300 (ldbl_nearbyint): Use more readable constant for two52.
24301 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24302 (__mpn_construct_long_double): Fix test for overflow of high
24303 mantissa and correct normalisation. Avoid undefined shift.
24305 2013-10-04 Alan Modra <amodra@gmail.com>
24307 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24308 (union ibm_extended_long_double): Define as an array of ieee754_double.
24309 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24310 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24311 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24312 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24313 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24314 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24315 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24316 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24317 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24319 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24321 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24323 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24324 page size instead of calling getpagesize.
24326 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24327 (LOCFILE_ALIGN_MASK): Likewise.
24328 (LOCFILE_ALIGN_UP): Likewise.
24329 (LOCFILE_ALIGNED_P): Likewise.
24330 * locale/programs/ld-collate.c (collate_output): Use the new
24331 macros instead of __alignof__ (int32_t).
24332 * locale/weight.h (findidx): Likewise.
24334 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24337 * manual/string.texi: Fix strncat and wcsncat.
24339 2013-10-03 Brooks Moses <bmoses@google.com>
24342 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24343 * Makerules: ...here, and adjust associated comments.
24345 2013-10-02 Will Newton <will.newton@linaro.org>
24347 * malloc/Makefile: Add tst-pvalloc.
24348 * malloc/tst-pvalloc.c: New file.
24350 2013-10-02 Will Newton <will.newton@linaro.org>
24352 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24353 improve test coverage.
24355 2013-10-02 Will Newton <will.newton@linaro.org>
24357 * malloc/Makefile: Add tst-posix_memalign.
24358 * malloc/tst-posix_memalign.c: New file.
24360 2013-10-01 Eric Blake <eblake@redhat.com>
24362 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24363 Use __THROWNL rather than __THROW on static functions.
24365 2013-09-30 Petr Machata <pmachata@redhat.com>
24367 * elf/elf.h (R_AARCH64_ABS16): New macro.
24368 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24369 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24370 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24371 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24372 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24373 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24374 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24375 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24376 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24377 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24378 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24379 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24380 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24381 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24382 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24383 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24384 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24385 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24386 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24387 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24388 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24389 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24390 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24391 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24392 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24393 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24394 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24395 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24396 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24397 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24398 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24399 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24400 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24401 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24402 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24403 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24404 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24405 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24406 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24407 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24408 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24409 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24410 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24411 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24412 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24413 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24414 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24415 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24416 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24417 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24418 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24419 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24420 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24421 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24422 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24423 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24424 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24425 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24426 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24427 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24428 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24429 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24430 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24431 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24432 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24433 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24434 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24435 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24436 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24437 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24438 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24439 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24440 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24441 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24442 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24443 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24444 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24445 (R_AARCH64_TLSDESC_LDR): Likewise.
24446 (R_AARCH64_TLSDESC_ADD): Likewise.
24447 (R_AARCH64_TLSDESC_CALL): Likewise.
24449 2013-09-30 Andreas Schwab <schwab@suse.de>
24452 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24453 the nss database lookup.
24454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24457 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24459 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24461 2013-09-28 P. J. McDermott <pj@pehjota.net>
24463 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24464 ${Bash-specific parameter/pattern/string} parameter expansion.
24465 * sysdeps/unix/make-syscalls.sh: Likewise.
24467 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24469 * sysdeps/sh/stackguard-macros.h: New file.
24471 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24473 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24474 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24475 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24476 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24477 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24478 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24480 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24482 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24483 Fix thread ID register.
24485 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24487 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24488 [POSIX || UNIX98]: Require rather than permitting all symbols from
24490 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24491 element of struct sched_param.
24492 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24493 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24494 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24495 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24498 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24500 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24501 argument calculation.
24503 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24505 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24507 [POSIX] (pthread_attr_t): Do not require type.
24508 [POSIX] (pthread_cond_t): Likewise.
24509 [POSIX] (pthread_condattr_t): Likewise.
24510 [POSIX] (pthread_key_t): Likewise.
24511 [POSIX] (pthread_mutex_t): Likewise.
24512 [POSIX] (pthread_mutexattr_t): Likewise.
24513 [POSIX] (pthread_once_t): Likewise.
24514 [POSIX] (pthread_t): Likewise.
24515 [POSIX-based standards] (pthread_atfork): Expect function.
24517 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24518 Richard Sandiford <richard@codesourcery.com>
24520 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24521 (swap_endianness_p): New extern variable.
24522 (set_big_endian): New inline function.
24523 (maybe_swap_uint32): Likewise.
24524 (maybe_swap_uint32_array): Likewise.
24525 (maybe_swap_uint32_obstack): Likewise.
24526 * locale/programs/locfile.c: Include <stdbool.h>.
24527 (swap_endianness_p): New variable.
24528 (add_locale_uint32): Call maybe_swap_uint32.
24529 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24530 (write_locale_data): Call maybe_swap_uint32_array.
24531 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24533 (obstack_int32_grow_fast): Likewise.
24534 (output_weightwc): Call maybe_swap_uint32_obstack.
24535 (collate_output): Likewise.
24536 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24537 (OPT_LITTLE_ENDIAN): Likewise.
24538 (options): Add --little-endian and --big-endian options.
24539 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24540 * locale/programs/locarchive.c: Include "locfile.h".
24544 (create_archive): Use the new macros to access fields of
24545 structures directly mapped from or written to locale archives.
24546 (oldlocrecentcmp): Likewise.
24547 (enlarge_archive): Likewise.
24548 (insert_name): Likewise.
24549 (add_alias): Likewise.
24550 (add_locale): Likewise.
24551 (delete_locales_from_archive): Likewise.
24552 (show_archive_content): Likewise.
24553 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24556 2013-09-24 Roland McGrath <roland@hack.frob.com>
24558 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24559 http://www.gnu.org/doc/freemanuals.texi.
24560 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24562 2013-09-24 Will Newton <will.newton@linaro.org>
24564 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24567 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24569 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24572 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24574 * manual/threads.texi (POSIX Threads): Fix a typo.
24576 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24579 * string/tst-strcoll-overflow.c: New test case.
24580 * string/Makefile (xtests): Add tst-strcoll-overflow.
24581 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24582 cache if string sizes may cause integer overflow.
24585 * string/strcoll_l.c (coll_seq): New members rule, idx,
24586 save_idx and back_us.
24587 (get_next_seq_nocache): New function.
24588 (do_compare_nocache): New function.
24589 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24592 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24595 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24596 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24597 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24600 * elf/Makefile (tests): Add tst-ptrguard1.
24601 (tests-static): Add tst-ptrguard1-static.
24602 (tst-ptrguard1-ARGS): Define.
24603 (tst-ptrguard1-static-ARGS): Define.
24604 * elf/tst-ptrguard1.c: New file.
24605 * elf/tst-ptrguard1-static.c: New file.
24606 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24607 * sysdeps/i386/stackguard-macros.h: Likewise.
24608 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24609 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24610 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24611 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24612 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24613 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24615 2013-09-23 Hector Marco <hecmargi@upv.es>
24616 Ismael Ripoll <iripoll@disca.upv.es>
24617 Carlos O'Donell <carlos@redhat.com>
24620 * sysdeps/generic/stackguard-macros.h: Define
24621 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24622 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24623 Define __pointer_chk_guard_local.
24624 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24625 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24627 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24630 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24632 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24634 * include/string.h (__ffs): Declare as hidden.
24635 * string/ffs.c (__ffs): Define as hidden.
24636 * sysdeps/i386/ffs.c (__ffs): Likewise.
24637 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24638 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24639 * sysdeps/s390/ffs.c (__ffs): Likewise.
24640 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24642 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24644 * NEWS: Mention malloc probes.
24646 * malloc/arena.c (new_heap): New memory_heap_new probe.
24647 (grow_heap): New memory_heap_more probe.
24648 (shrink_heap): New memory_heap_less probe.
24649 (heap_trim): New memory_heap_free probe.
24650 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24651 (systrim): New memory_sbrk_less probe.
24652 * manual/probes.texi: Document them.
24654 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24655 * manual/probes.texi: Document it.
24657 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24658 (__libc_realloc): Add memory_realloc_retry probe.
24659 (__libc_memalign): Add memory_memalign_retry probe.
24660 (__libc_valloc): Add memory_valloc_retry probe.
24661 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24662 (__libc_calloc): Add memory_calloc_retry probe.
24663 * manual/probes.texi: Document them.
24665 * malloc/arena.c (get_free_list): Add probe
24666 memory_arena_reuse_free_list.
24667 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24668 and memory_arena_reuse.
24669 (arena_get2) [!PER_THREAD]: Likewise.
24670 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24671 memory_arena_reuse_realloc.
24672 * manual/probes.texi: Document them.
24674 * malloc/malloc.c (__libc_free): Add
24675 memory_mallopt_free_dyn_thresholds probe.
24676 (__libc_mallopt): Add multiple memory_mallopt probes.
24677 * manual/probes.texi: Document them.
24679 * malloc/malloc.c: Include stap-probe.h.
24680 (__libc_mallopt): Add memory_mallopt probe.
24681 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24682 * manual/probes.texi: New.
24683 * manual/Makefile (chapters): Add probes.
24684 * manual/threads.texi: Set next node.
24686 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24688 [BZ #15963, #13985]
24689 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24690 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24691 Add `Chinese' to `nan' entry name.
24693 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24695 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24696 (POLYNOMIAL): Likewise.
24697 (TAYLOR_SINCOS): Likewise.
24698 (TAYLOR_SLOW): Likewise.
24699 (__sin): Use TAYLOR_SINCOS.
24701 (slow): Use TAYLOR_SLOW.
24703 (bsloww): Likewise.
24704 (csloww): Likewise.
24706 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24708 * stdlib/strtod_l.c: Fix buffer overrun.
24710 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24712 * benchtests/Makefile (bench): Add sincos.
24713 * benchtests/bench-sincos.c: New file.
24715 * math/libm-test.inc (cos_test_data): New test inputs.
24716 (sin_test_data): Likewise.
24718 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24724 (sloww1): Likewise.
24725 (sloww2): Likewise.
24726 (bsloww1): Likewise.
24727 (bsloww2): Likewise.
24728 (cslow2): Likewise.
24729 (csloww1): Likewise.
24730 (csloww2): Likewise.
24732 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24737 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24741 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24743 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24744 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24745 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24746 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24747 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24748 * elf/cache.c (print_entry): Handle the new cache flags.
24750 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24751 Aldy Hernandez <aldyh@redhat.com>
24753 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24754 Change condition to [_SOFT_FLOAT].
24755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24756 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24758 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24759 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24760 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24761 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24762 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24763 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24764 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24765 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24766 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24767 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24768 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24769 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24770 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24773 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24775 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24776 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24777 (__longjmp): Use LOAD_GP to load saved GPRs.
24778 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24779 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24780 (__sigsetjmp): Use SAVE_GP to save GPRs.
24782 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24783 Do not append -msoft-float.
24784 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24786 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24788 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24790 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24793 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24794 (_FPU_GETCW): Use initial "__" on variable and field names but not
24795 on macro parameter name.
24796 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24797 parentheses around reference to macro parameter.
24799 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24801 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24803 (ctype_startup): Use uint32_t in cast and sizeof for
24806 2013-09-11 Jia Liu <proljc@gmail.com>
24808 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24810 [__FreeBSD__]: Likewise.
24812 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24814 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24815 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24816 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24817 (strchr): Remove __strchr_sse42 ifunc selection.
24818 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24819 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24821 2013-09-11 Will Newton <will.newton@linaro.org>
24823 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24824 parameter to RES. Remove hardcoded 1000 value.
24825 * benchtests/bench-skeleton.c (main): Pass RES parameter
24826 to TIMING_INIT and multiply result by 1000.
24828 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24832 2013-09-11 Andreas Schwab <schwab@suse.de>
24834 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24836 (O_TMPFILE) [__USE_GNU]: Define.
24837 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24840 2013-09-11 Will Newton <will.newton@linaro.org>
24843 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24846 2013-09-11 Will Newton <will.newton@linaro.org>
24849 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24852 2013-09-11 Will Newton <will.newton@linaro.org>
24855 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24858 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24860 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24861 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24864 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24866 2013-09-10 Allan McRae <allan@archlinux.org>
24869 * manual/arith.texi (Parsing of Floats): Clarify
24873 * manual/install.texi (Running make install): Mention
24875 * INSTALL: Regenerated.
24877 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24879 * csu/init-first.c (_init): Remove the !SHARED condition around
24880 FPU control word initialization.
24881 * elf/dl-support.c (_dl_fpu_control): New variable.
24882 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24883 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24884 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24885 * math/test-fpucw-static.c: New file.
24886 * math/test-fpucw-ieee.c: New file.
24887 * math/test-fpucw-ieee-static.c: New file.
24888 * math/Makefile (tests): Add `test-fpucw-ieee' and
24890 (tests-static): New variable.
24891 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24893 [($(build-shared),yes)]
24894 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24896 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24899 2013-09-09 Allan McRae <allan@archlinux.org>
24902 * manual/string.texi (Collation Functions): Fix typo in
24904 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24907 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24910 * libio/memstream.c (open_memstream): Fix memory leak.
24911 * libio/wmemstream.c (open_wmemstream): Likewise.
24914 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24916 2013-09-09 Will Newton <will.newton@linaro.org>
24918 * malloc/Makefile: Add tst-realloc to tests.
24919 * malloc/tst-realloc.c: New file.
24921 2013-09-09 Allan McRae <allan@archlinux.org>
24924 * COPYING: Update from GNU website to fix FSF address.
24925 * COPYING.LIB: Likewise.
24927 2013-09-06 David S. Miller <davem@davemloft.net>
24929 * po/zh_TW.po: Update Chinese (traditional) translation from
24930 translation project.
24932 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24933 Joseph Myers <joseph@codesourcery.com>
24935 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24937 (obstack_chunk_alloc): New macro.
24938 (obstack_chunk_free): Likewise.
24939 (record_offset): New function.
24940 (init_locale_data): Likewise.
24941 (align_locale_data): Likewise.
24942 (add_locale_empty): Likewise.
24943 (add_locale_raw_data): Likewise.
24944 (add_locale_raw_obstack): Likewise.
24945 (add_locale_string): Likewise.
24946 (add_locale_wstring): Likewise.
24947 (add_locale_uint32): Likewise.
24948 (add_locale_uint32_array): Likewise.
24949 (add_locale_char): Likewise.
24950 (start_locale_structure): Likewise.
24951 (end_locale_structure): Likewise.
24952 (start_locale_prelude): Likewise.
24953 (end_locale_prelude): Likewise.
24954 (write_locale_data): Take locale_file structure rather than an
24956 * locale/programs/locfile.h: Include "obstack.h".
24957 (struct locale_file): Change to store locale file contents instead
24959 (init_locale_data): New prototype.
24960 (align_locale_data): Likewise.
24961 (add_locale_empty): Likewise.
24962 (add_locale_raw_data): Likewise.
24963 (add_locale_raw_obstack): Likewise.
24964 (add_locale_string): Likewise.
24965 (add_locale_wstring): Likewise.
24966 (add_locale_uint32): Likewise.
24967 (add_locale_uint32_array): Likewise.
24968 (add_locale_char): Likewise.
24969 (start_locale_structure): Likewise.
24970 (end_locale_structure): Likewise.
24971 (start_locale_prelude): Likewise.
24972 (end_locale_prelude): Likewise.
24973 (write_locale_data): Update prototype.
24974 * locale/programs/3level.h (struct TABLE): Remove result field.
24975 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24976 Use new locale_file interface.
24977 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24978 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24979 * locale/programs/ld-address.c (address_output): Use new
24980 locale_file interface.
24981 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24983 (collate_finish): Don't call collseq_table_finalize.
24984 (collate_output): Use new locale_file interface.
24985 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24987 (NO_FINALIZE): Change to NO_ADD_LOCALE.
24988 (TABLE): Move defines earlier in file.
24989 (ELEMENT): Likewise.
24990 (DEFAULT): Likewise.
24991 (wctrans_table_add): Move macro and inline function earlier in
24993 (struct wctype_table): Move type earlier in file.
24994 (add_locale_wctype_table): New static prototype.
24995 (struct locale_ctype_t): Use logical types instead of struct iovec
24996 pointers for members.
24997 (ctype_output): Use new locale_file interface.
24998 (wctype_table_finalize): Change to add_locale_wctype_table. Use
24999 new locale_file interface.
25000 (allocate_arrays): Update for use of new locale_file interface.
25001 * locale/programs/ld-identification.c (identification_output): Use
25002 new locale_file interface.
25003 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25004 * locale/programs/ld-messages.c (messages_output): Likewise.
25005 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25006 * locale/programs/ld-name.c (name_output): Likewise.
25007 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25008 * locale/programs/ld-paper.c (paper_output): Likewise.
25009 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25010 * locale/programs/ld-time.c (time_output): Likewise.
25012 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25014 * benchtests/Makefile: Add memrchr benchmark.
25015 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25016 benchmark as memrchr.
25017 * benchtests/bench-memrchr-ifunc.c: New file.
25018 * benchtests/bench-memrchr.c: New file.
25020 2013-09-06 Will Newton <will.newton@linaro.org>
25022 * benchtests/Makefile (string-bench): Add memcpy.
25024 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25025 Cong Wang <amwang@redhat.com>
25028 * sysdeps/unix/sysv/linux/bits/in.h
25029 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25030 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25031 before __USE_KERNEL_IPV6_DEFS uses.
25032 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25034 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25035 sockaddr_in6, or ipv6_mreq.
25037 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25039 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25040 memory access for final bytes in some large inputs.
25041 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25043 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25045 * string/test-memrchr.c: New file.
25046 * string/test-memrchr-ifunc.c: New file.
25047 * string/Makefile: Add new memrchr testcase.
25049 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25051 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25052 fanotify_init returns EPERM.
25054 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25056 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25058 (top level): Treat second token from macro or constant entries for
25059 allowed headers as allowed.
25060 * include/complex.h: Condition internal declarations on
25062 * include/fenv.h: Condition include of <stdbool.h> and internal
25063 declarations on [!_ISOMAC].
25065 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25068 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25070 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25072 * configure.in (--enable-versioning): Remove configure option.
25073 (libc_cv_asm_symver_directive): Remove configure test.
25074 (libc_cv_ld_version_script_option): Likewise.
25075 (VERSIONING): Remove variable and AC_SUBST.
25076 (DO_VERSIONING): Remove AC_DEFINE.
25077 * configure: Regenerated.
25078 * config.h.in (DO_VERSIONING): Remove macro.
25079 * Makerules [$(versioning) = yes]: Change conditionals to
25080 [$(build-shared) = yes].
25081 * config.make.in (versioning): Remove variable.
25082 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25083 [$(build-shared) = yes].
25084 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25085 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25086 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25087 [$(build-shared) = yes].
25088 * extra-lib.mk [$(versioning) = yes]: Likewise.
25089 * hurd/Makefile [$(versioning) = yes]: Likewise.
25090 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25092 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25094 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25095 [SHARED && !NO_HIDDEN].
25096 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25098 [SHARED && DO_VERSIONING]: Likewise..
25099 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25100 [$(build-shared) = yes].
25101 * manual/install.texi (--disable-versioning): Remove
25103 * INSTALL: Regenerated.
25104 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25106 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25107 [$(build-shared) = yes].
25108 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25109 * sysdeps/i386/i686/multiarch/strstr-c.c
25110 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25111 [SHARED && !NO_HIDDEN].
25112 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25113 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25114 * sysdeps/powerpc/powerpc32/dl-machine.c
25115 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25116 * sysdeps/powerpc/powerpc32/sysdep.h
25117 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25118 to [SHARED && PIC && !NO_HIDDEN].
25119 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25120 conditional to [SHARED].
25122 2013-09-04 Will Newton <will.newton@linaro.org>
25124 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25125 * benchtests/bench-string.h: Include bench-timing.h instead
25126 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25127 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25128 call to HP_TIMING_DIFF_INIT.
25129 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25130 instead of hp-timing.h macros.
25131 * benchtests/bench-memchr.c: Likewise.
25132 * benchtests/bench-memcmp.c: Likewise.
25133 * benchtests/bench-memcpy.c: Likewise.
25134 * benchtests/bench-memmem.c: Likewise.
25135 * benchtests/bench-memmove.c: Likewise.
25136 * benchtests/bench-memset.c: Likewise.
25137 * benchtests/bench-rawmemchr.c: Likewise.
25138 * benchtests/bench-strcasecmp.c: Likewise.
25139 * benchtests/bench-strcasestr.c: Likewise.
25140 * benchtests/bench-strcat.c: Likewise.
25141 * benchtests/bench-strchr.c: Likewise.
25142 * benchtests/bench-strcmp.c: Likewise.
25143 * benchtests/bench-strcpy.c: Likewise.
25144 * benchtests/bench-strcpy_chk.c: Likewise.
25145 * benchtests/bench-strlen.c: Likewise.
25146 * benchtests/bench-strncasecmp.c: Likewise.
25147 * benchtests/bench-strncat.c: Likewise.
25148 * benchtests/bench-strncmp.c: Likewise.
25149 * benchtests/bench-strncpy.c: Likewise.
25150 * benchtests/bench-strnlen.c: Likewise.
25151 * benchtests/bench-strpbrk.c: Likewise.
25152 * benchtests/bench-strrchr.c: Likewise.
25153 * benchtests/bench-strspn.c: Likewise.
25154 * benchtests/bench-strstr.c: Likewise.
25156 2013-09-04 Will Newton <will.newton@linaro.org>
25158 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25160 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25163 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25164 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25165 * math/libm-test.inc (lgamma_test_data): Add more tests.
25166 * sysdeps/i386/fpu/libm-test-ulps: Update.
25167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25169 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25171 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25175 Add strcmp-sse2-unaligned
25176 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25178 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25180 * Versions.def (libc): Add GLIBC_2.19.
25182 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25184 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25185 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25187 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25190 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25191 intermediate calculations in recurrence.
25192 (__ieee754_ynf): Likewise.
25193 * math/libm-test.inc (jn_test_data): Do not allow spurious
25194 underflow exception. Add more tests.
25195 (yn_test_data): Add more tests.
25196 * sysdeps/i386/fpu/libm-test-ulps: Update.
25197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25199 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25201 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25203 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25205 * csu/init-first.c: Fix then/than typos.
25206 * locale/programs/ld-collate.c: Likewise.
25207 * locale/programs/linereader.h: Likewise.
25208 * manual/charset.texi: Likewise.
25209 * manual/filesys.texi: Likewise.
25210 * manual/stdio.texi: Likewise.
25211 * manual/string.texi: Likewise.
25212 * stdlib/fmtmsg.c: Likewise.
25213 * sysdeps/i386/stpncpy.S: Likewise.
25214 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25215 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25216 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25217 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25219 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25221 * elf/dl-open.c: Fix typos.
25222 * iconvdata/gbbig5.c: Likewise.
25223 * iconvdata/iso-2022-jp.c: Likewise.
25224 * iconv/gconv_int.h: Likewise.
25225 * iconv/loop.c: Likewise.
25226 * nis/rpcsvc/nis.h: Likewise.
25227 * resolv/ns_name.c: Likewise.
25228 * stdio-common/vfscanf.c: Likewise.
25229 * streams/stropts.h: Likewise.
25230 * sunrpc/rpc_thread.c: Likewise.
25231 * sysdeps/i386/strpbrk.S: Likewise.
25232 * sysdeps/ieee754/k_standard.c: Likewise.
25233 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25235 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25236 * sysdeps/mach/hurd/profil.c: Likewise.
25237 * sysdeps/s390/dl-procinfo.h: Likewise.
25238 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25239 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25240 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25241 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25242 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25244 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25246 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25247 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25249 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25251 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25252 aix specific files.
25253 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25254 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25255 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25256 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25257 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25258 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25259 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25260 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25262 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25263 Roland McGrath <roland@hack.frob.com>
25265 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25266 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25268 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25270 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25271 __executable_start symbol instead of _start.
25273 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25275 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25276 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25278 * sysdeps/gnu/ldsodefs.h: ... this new file.
25280 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25281 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25282 instead of ELFOSABI_LINUX.
25284 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25285 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25286 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25287 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25289 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25290 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25291 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25293 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25294 (ibm_extended_long_double): Add ieee_nan member.
25295 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25296 (do_test): New function.
25298 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25300 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25301 functions, renamed from truncdfsf_test, trunctfsf_test,
25303 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25305 (do_test): Run all these.
25307 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25309 * argp/argp-help.c: Fix typos.
25310 * argp/argp-parse.c: Likewise.
25311 * debug/backtracesyms.c: Likewise.
25312 * elf/elf.h: Likewise.
25313 * malloc/malloc.c: Likewise.
25314 * nis/nis_print.c: Likewise.
25315 * resolv/res_comp.c: Likewise.
25316 * stdlib/stdlib.h: Likewise.
25317 * sunrpc/clnt_tcp.c: Likewise.
25318 * sunrpc/clnt_udp.c: Likewise.
25319 * sunrpc/clnt_unix.c: Likewise.
25320 * sysdeps/unix/bsd/ptsname.c: Likewise.
25321 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25322 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25329 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25331 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25333 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25334 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25336 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25339 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25340 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25341 ($(objpfx)bug-dl-leaf): New rule.
25342 ($(objpfx)bug-dl-leaf.so): Likewise.
25343 ($(objpfx)bug-dl-leaf.out): Likewise.
25344 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25345 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25346 * dlfcn/bug-dl-leaf.c: New test.
25347 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25348 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25349 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25350 (dlclose): Likewise.
25351 (dlmopen): Likewise.
25353 2013-08-27 Roland McGrath <roland@hack.frob.com>
25355 * include/netdb.h [!_ISOMAC]:
25356 Don't include <tls.h>.
25357 (h_errno, __libc_h_errno): Move declaration and macros out of
25360 * include/resolv.h [_RESOLV_H_]:
25361 Don't include <tls.h>.
25362 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25363 * resolv/res_libc.c: Don't include <tls.h>.
25364 (_res): Use __attribute__ ((nocommon)) in place of
25365 __attribute__ ((section (".bss"))).
25367 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25368 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25370 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25372 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25373 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25375 * resolv/res_mkquery.c: Include <sys/time.h>.
25377 * inet/ifreq.c: Moved to ...
25378 * sysdeps/unix/ifreq.c: ... here.
25379 * inet/ifreq.c: New file, true stub version.
25381 * socket/sa_len.c: New file.
25382 * socket/Makefile (aux): Add it.
25383 * sysdeps/unix/sysv/linux/Makefile
25384 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25385 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25386 and #include <socket/sa_len.c>.
25387 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25388 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25390 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25391 * bits/socket.h: ... here.
25393 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25394 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25395 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25397 2013-08-27 Andreas Schwab <schwab@suse.de>
25400 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25401 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25402 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25403 * string/test-strcasecmp.c (test_main): Run tests in several
25405 * string/test-strncasecmp.c (test_main): Likewise.
25407 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25408 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25409 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25410 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25411 (__strncasecmp_ssse3) [PIC]: Likewise.
25413 2013-08-26 Roland McGrath <roland@hack.frob.com>
25415 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25417 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25418 instead of explicitly declaring xdecrypt.
25419 * nis/nss_nis/nis-publickey.c: Likewise.
25421 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25424 * nscd/aicache.c: Include res_hconf.h.
25425 (addhstaiX): Initialize res_hconf.
25427 2013-08-26 Andreas Schwab <schwab@suse.de>
25429 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25430 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25432 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25434 * nscd/aicache.c (addhstaiX): Fix indentation.
25436 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25438 * configure.ac: Quote $build_pt_chown test.
25439 * configure: Regenerated.
25441 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25444 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25445 * math/s_cexpf.c (__cexpf): Likewise.
25446 * math/s_cexpl.c (__cexpl): Likewise.
25447 * math/libm-test.inc (cexp_test_data): Correct expected return
25448 value for NaN + i0. Add another test.
25450 2013-08-22 David S. Miller <davem@davemloft.net>
25452 * po/ca.po: Update Catalan translation from translation project.
25453 * po/uk.po: Add Ukrainian translations from translation project.
25455 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25458 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25459 is infinite, not alongside NaN test.
25460 * math/s_fdimf.c (__fdimf): Likewise.
25461 * math/s_fdiml.c (__fdiml): Likewise.
25462 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25463 errno is unchanged.
25465 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25467 * argp/argp-help.c: Fix typos.
25468 * crypt/speeds.c: Likewise.
25469 * csu/check_fds.c: Likewise.
25470 * elf/dl-load.c: Likewise.
25471 * elf/dl-open.c: Likewise.
25472 * elf/reldep3.c: Likewise.
25473 * elf/reldep.c: Likewise.
25474 * elf/sprof.c: Likewise.
25475 * iconv/iconv_charmap.c: Likewise.
25476 * iconv/skeleton.c: Likewise.
25477 * iconv/strtab.c: Likewise.
25478 * io/lockf64.c: Likewise.
25479 * libio/libioP.h: Likewise.
25480 * resolv/gai_notify.c: Likewise.
25481 * resolv/ns_name.c: Likewise.
25482 * resolv/ns_samedomain.c: Likewise.
25483 * resolv/res_send.c: Likewise.
25484 * stdlib/random.c: Likewise.
25485 * sunrpc/rpc/xdr.h: Likewise.
25486 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25487 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25488 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25489 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25491 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25492 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25493 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25494 * sysdeps/mach/hurd/check_fds.c: Likewise.
25495 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25496 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25497 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25499 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25500 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25501 * sysdeps/pthread/aio_notify.c: Likewise.
25502 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25503 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25504 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25505 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25506 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25508 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25510 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25511 version if bit_Slow_SSE4_2 is set.
25512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25513 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25515 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25518 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25519 trampoline stack frame information.
25520 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25521 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25522 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25523 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25524 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25525 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25526 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25527 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25529 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25530 interrupting a syscall and set with option SA_SIGINFO.
25532 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25535 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25536 argument is infinite.
25537 * math/s_cprojf.c (__cprojf): Likewise.
25538 * math/s_cprojl.c (__cprojl): Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25540 * math/libm-test.inc (cproj_test_data): Add more tests.
25542 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25544 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25545 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25546 size. Use __ffs to determine corresponding shift.
25548 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25549 Roland McGrath <roland@hack.frob.com>
25551 * Makefile (INSTALL): Remove trailing blank lines from output of
25554 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25556 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25557 Align 32 bit compat elf_greg to 8 bytes.
25559 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25561 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25563 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25565 * string/strcoll_l.c (coll_seq): New structure.
25566 (get_next_seq_cached): New function.
25567 (get_next_seq): New function.
25568 (do_compare): New function.
25569 (STRCOLL): Use GNU style definition. Simplify implementation
25570 by using get_next_seq, get_next_seq_cached and do_compare.
25572 2013-08-16 Florian Weimer <fweimer@redhat.com>
25576 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25578 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25580 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25581 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25582 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25584 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25585 GETDENTS_64BIT_ALIGNED.
25586 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25587 * manual/filesys.texi (Reading/Closing Directory): Document
25588 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25590 * manual/conf.texi (Limits for Files): Add portability note to
25591 NAME_MAX, PATH_MAX.
25592 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25594 2013-08-13 Andreas Schwab <schwab@suse.de>
25597 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25599 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25600 LDBL_MAX_EXP >= 16384]: Add tests for it.
25602 2013-08-12 David S. Miller <davem@davemloft.net>
25604 * version.h (RELEASE): Set to "development".
25605 (VERSION): Set to "2.18.90".
25606 * NEWS: Add 2.19 section.
25608 2013-08-03 David S. Miller <davem@davemloft.net>
25610 * po/ko.po: Update Korean translation from translation project.
25612 2013-08-01 David S. Miller <davem@davemloft.net>
25614 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25615 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25618 2013-07-30 David S. Miller <davem@davemloft.net>
25620 * po/fr.po: Update French translation from translation project.
25622 2013-07-28 David S. Miller <davem@davemloft.net>
25624 * po/cs.po: Update Czech translation from translation project.
25626 * po/sv.po: Update Swedish translation from translation project.
25628 2013-07-27 David S. Miller <davem@davemloft.net>
25630 * po/eo.po: Update Esperanto translation from translation project.
25632 * po/vi.po: Update Vietnamese translation from translation project.
25634 * po/de.po: Update German translation from translation project.
25636 2013-07-26 David S. Miller <davem@davemloft.net>
25638 * po/bg.po: Update Bulgarian translation from translation project.
25640 * po/nl.po: Update Dutch translation from translation project.
25641 * po/pl.po: Update Polish translation from translation project.
25642 * po/ru.po: Update Russian translation from translation project.
25644 2013-07-24 David S. Miller <davem@davemloft.net>
25646 * po/libc.pot: Update.
25648 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25650 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25651 variable page size.
25652 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25653 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25654 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25656 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25658 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25660 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25661 Andreas Schwab <schwab@suse.de>
25662 Roland McGrath <roland@hack.frob.com>
25663 Joseph Myers <joseph@codesourcery.com>
25664 Carlos O'Donell <carlos@redhat.com>
25667 * config.h.in: Define HAVE_PT_CHOWN.
25668 * config.make.in (build-pt-chown): New variable.
25669 * configure.in (--enable-pt_chown): New configure option.
25670 * configure: Regenerate.
25671 * login/Makefile: Include Makeconfig. Build pt_chown only if
25672 build-pt-chown is enabled.
25673 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25674 pt_chown to fix pty ownership.
25675 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25677 * manual/install.texi (Configuring and compiling): Mention
25678 --enable-pt_chown. Add @findex for grantpt.
25679 * INSTALL: Regenerate.
25681 2013-07-20 David S. Miller <davem@davemloft.net>
25683 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25684 difference between 32-bit and 64-bit.
25686 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25689 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25690 Avoid system header dependency with -ffreestanding.
25691 ($(objpfx)bits/syscall%d): Likewise.
25693 2013-07-13 David S. Miller <davem@davemloft.net>
25695 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25696 underflows from atanl/atan2l due to bug 15319.
25697 (casinh_test_data): Likewise.
25699 2013-07-07 David S. Miller <davem@davemloft.net>
25701 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25703 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25705 * sysdeps/i386/fpu/libm-test-ulps: Update.
25706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25708 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25710 * configure.in (--enable-lock-elision): Fix message text.
25711 * INSTALL: Regenerate.
25712 * configure: Regenerate.
25714 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25718 2013-07-03 Andreas Jaeger <aj@suse.de>
25720 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25722 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25723 (ptrace_peeksiginfo_args): Add.
25724 (__ptrace_peeksiginfo_flags): Add.
25725 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25726 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25727 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25729 2013-07-03 Allan McRae <allan@archlinux.org>
25731 * sysdeps/i386/fpu/libm-test-ulps: Update.
25733 2013-07-02 David S. Miller <davem@davemloft.net>
25735 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25737 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25739 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25741 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25743 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25746 2013-07-02 Andi Kleen <ak@linux.intel.com>
25748 * config.h.in (ENABLE_LOCK_ELISION): Add.
25749 * configure.in (--enable-lock-elision): Add option.
25750 * manual/install.texi: Document --enable lock elision.
25751 * configure: Regenerate
25752 * INSTALL: Regenerate.
25754 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25756 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25757 SSE4.2 strcasecmp for libc.a.
25758 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25760 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25763 * soft-fp/op-common.h (_FP_FMA): New macro.
25764 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25765 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25766 (_FP_MUL_MEAT_1_imm): ... here.
25767 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25768 (_FP_MUL_MEAT_1_wide): ... here.
25769 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25770 (_FP_MUL_MEAT_1_hard): ... here.
25771 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25772 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25773 (_FP_MUL_MEAT_2_wide): ... here.
25774 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25775 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25776 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25777 (_FP_MUL_MEAT_2_gmp): ... here.
25778 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25779 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25780 (_FP_MUL_MEAT_4_wide): ... here.
25781 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25782 (_FP_MUL_MEAT_4_gmp): ... here.
25783 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25784 (_FP_WFRACBITS_DW_S): Likewise.
25785 (_FP_WFRACXBITS_DW_S): Likewise.
25786 (_FP_HIGHBIT_DW_S): Likewise.
25787 (FP_FMA_S): Likewise.
25788 (_FP_FRAC_HIGH_DW_S): Likewise.
25789 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25790 (_FP_WFRACBITS_DW_D): Likewise.
25791 (_FP_WFRACXBITS_DW_D): Likewise.
25792 (_FP_HIGHBIT_DW_D): Likewise.
25793 (FP_FMA_D): Likewise.
25794 (_FP_FRAC_HIGH_DW_D): Likewise.
25795 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25796 (_FP_WFRACBITS_DW_E): Likewise.
25797 (_FP_WFRACXBITS_DW_E): Likewise.
25798 (_FP_HIGHBIT_DW_E): Likewise.
25799 (FP_FMA_E): Likewise.
25800 (_FP_FRAC_HIGH_DW_E): Likewise.
25801 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25802 (_FP_WFRACBITS_DW_Q): Likewise.
25803 (_FP_WFRACXBITS_DW_Q): Likewise.
25804 (_FP_HIGHBIT_DW_Q): Likewise.
25805 (FP_FMA_Q): Likewise.
25806 (_FP_FRAC_HIGH_DW_Q): Likewise.
25807 * soft-fp/fmasf4.c: New file.
25808 * soft-fp/fmadf4.c: Likewise.
25809 * soft-fp/fmatf4.c: Likewise.
25811 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25813 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25814 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25816 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25818 (index_Slow_SSE4_2): Likewise.
25819 (index_Prefer_PMINUB_for_stringop): Likewise.
25820 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25821 bit_Slow_SSE4_2 is set.
25822 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25823 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25825 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25827 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25828 rtld_global._dl_hwcap2.
25829 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25831 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25832 POWER8 feature descriptions defined in _dl_hwcap2.
25833 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25834 string handling for POWER8 feature bits.
25835 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25836 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25837 _dl_powerpc_cap_flags.
25838 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25839 * sysdeps/powerpc/rtld-global-offsets.sym
25840 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25841 _dl_hwcap2 in the rtld_global_ro structure.
25843 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25845 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25846 hardware capabilities in support of AT_HWCAP2.
25847 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25848 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25850 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25851 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25852 explicitly the unknown a_type display mechanism is used.
25853 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25854 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25856 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25857 to macro prototype for AT_HWCAP2 support.
25858 * sysdeps/i386/dl-procinfo.h: Likewise.
25859 * sysdeps/s390/dl-procinfo.h: Likewise.
25860 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25861 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25862 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25863 return -1 for unknown a_type display fallback.
25864 * sysdeps/sparc/dl-procinfo.h: Likewise.
25865 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25866 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25868 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25870 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25871 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25873 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25876 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25877 mprotect making __stack_prot writable.
25879 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25880 Joseph Myers <joseph@codesourcery.com>
25882 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25883 as being properly aligned.
25885 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25887 * dlfcn/modstatic5.c: New file.
25888 * dlfcn/tststatic5.c: New file.
25889 * dlfcn/Makefile (tests): Add tststatic5.
25890 (tests-static): Likewise.
25891 (modules-names): Add modstatic5.
25892 (tststatic5-ENV): New variable.
25893 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25896 * elf/dl-support.c (_dl_main_map): New variable.
25897 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25898 (_dl_nns, _dl_load_adds): Set to 1.
25899 (_dl_initial_searchlist): Refer to _dl_main_map.
25900 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25901 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25902 call to _dl_get_origin.
25903 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25905 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25906 * dlfcn/modstatic3.c: New file.
25907 * dlfcn/tststatic3.c: New file.
25908 * dlfcn/tststatic4.c: New file.
25909 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25910 (tests-static): Likewise.
25911 (modules-names): Add modstatic3.
25912 (tststatic3-ENV, tststatic4-ENV): New variables.
25913 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25914 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25916 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25918 * configure.in (CC): Require GCC version 4.4 or later.
25919 * configure: Regenerated.
25920 * manual/install.texi (Tools for Compilation): Update GCC version
25922 * INSTALL: Regenerated.
25924 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25927 * string/test-memcmp.c (check2): New.
25928 (main): Call check2.
25930 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25932 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25935 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25937 (dl_open_worker) [!SHARED]: ... here.
25939 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25941 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25943 2013-06-25 Richard Henderson <rth@redhat.com>
25945 * locale/programs/locarchive.c: Include <libc-internal.h>
25947 2013-06-25 Joseph Myers <joseph@codesourcery.com>
25949 * manual/texinfo.tex: Update to version 2013-06-21.17, with
25950 trailing whitespace removed.
25952 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25955 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25956 * locale/programs/locarchive.c: Include libc-mmap.h.
25957 (prepare_address_space): Take two new outputs (the mmap base and len).
25958 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
25960 (create_archive): Declare new mmap base and len values for
25961 prepare_address_space, and store the result in ah.
25962 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25963 (enlarge_archive): If ah->mmap_base is not NULL, use that and
25964 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25965 Declare new mmap base and len values for
25966 prepare_address_space, and store the result in new_ah.
25967 (open_archive): Declare new mmap base and len values for
25968 prepare_address_space, and store the result in ah.
25969 (close_archive): If ah->mmap_base is not NULL, use that and
25970 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25971 * sysdeps/generic/libc-mmap.h: New file.
25973 2013-06-24 Mike Frysinger <vapier@gentoo.org>
25975 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25976 (ALIGN_UP): Likewise.
25977 (PTR_ALIGN_DOWN): Likewise.
25978 (PTR_ALIGN_UP): Likewise.
25980 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25982 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25983 entry mapped to PPC_PLATFORM_POWER8.
25984 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25986 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25987 (_dl_string_platform): Add case for exporting platform position for
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25990 search path to sysdeps/powerpc/powerpc32/power8 directory.
25991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25992 search path to sysdeps/powerpc/powerpc64/power8 directory.
25993 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25994 power7 directories.
25995 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25996 power7 directories.
25998 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26000 * INSTALL: Regenerate.
26002 * nscd/connections.c (nscd_init): Fix comment.
26004 2013-06-22 Joseph Myers <joseph@codesourcery.com>
26006 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26009 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26010 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26012 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26014 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26016 (DL_DST_REQ_STATIC): Remove macro.
26018 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26021 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26022 with a shift of 0 bits.
26024 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26026 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26029 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26032 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26034 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26036 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26037 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26038 accepts -fno-tree-loop-distribute-patterns.
26039 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26040 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26042 * string/memset.c (memset): Likewise.
26043 * string/test-memmove.c (simple_memmove): Disable loop transformation
26045 * string/test-memset.c (simple_memset): Likewise.
26046 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26047 * benchtests/bench-memset.c (simple_memset): Likewise.
26048 * configure: Regenerated.
26050 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26052 * math/test-misc.c (main): Ignore fesetround failure when failures
26053 of subsequent rounding tests would be ignored.
26056 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26057 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26058 * math/fegetenv.c (__fegetenv): Return 0.
26059 * math/fegetexcept.c (fegetexcept): Return 0.
26060 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26062 * math/feholdexcpt.c (feholdexcept): Return 0.
26063 * math/fesetenv.c (__fesetenv): Return 0.
26064 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26065 argument FE_TONEAREST.
26066 * math/feupdateenv.c (__feupdateenv): Return 0.
26067 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26069 2013-06-18 Roland McGrath <roland@hack.frob.com>
26071 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26072 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26073 ($(objpfx)rtld-%.os rules): Use them.
26075 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26077 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26080 2013-06-17 Roland McGrath <roland@hack.frob.com>
26082 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26083 length of target pattern, then descending length of dependency pattern.
26084 * configure.in (AWK): Require gawk 3.1.2 or newer.
26085 * manual/install.texi (Tools for Compilation): Say that we do.
26086 * configure: Regenerated.
26088 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26089 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26090 * scripts/sysd-rules.awk: ... this new script.
26091 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26092 than a glob-style pattern.
26094 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26096 * math/test-misc.c (main): Do not treat incorrectly rounded
26097 conversions as failure unless ROUNDING_TESTS passes.
26099 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26102 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26103 restore exception state around main square root computation, then
26104 check for inexactness explicitly.
26106 * math/libm-test.inc (fma_test_data): Add another test.
26108 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26110 * manual/threads.texi (Non-POSIX Extensions): New document
26111 node. Document pthread_getattr_default_np and
26112 pthread_setattr_default_np.
26114 * Versions.def (libpthread): Add GLIBC_2.18.
26115 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26124 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26132 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26135 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26138 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26140 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26141 H.J. Lu <hjl.tools@gmail.com>
26144 * sysdeps/x86_64/rtld-memset.c: Remove file.
26145 * sysdeps/x86_64/rtld-memset.S: New file.
26147 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26149 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26150 (test_in_one_mode): Take arguments for whether the rounding mode
26151 is supported for each floating-point type.
26152 (do_test): Pass new arguments to test_in_one_mode using
26155 2013-06-13 Roland McGrath <roland@hack.frob.com>
26157 * posix/tst-waitid.c (do_test): Distinguish different instances of
26158 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26159 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26160 before entering the kernel for waitpid.
26162 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26164 * NEWS: Fix note on clock function precision. Text by Roland
26167 2013-06-13 Roland McGrath <roland@hack.frob.com>
26169 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26170 it into place only when and if the sanity check passes.
26172 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26174 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26175 output for whether conversion result is exact. Take argument
26176 indicating whether type is IBM long double.
26177 (round_for_all): Change need_exact field to ibm_ld.
26178 * stdlib/tst-strtod-round.c (struct exactness): New type.
26179 (struct test): Change bool ld_ok field to struct exactness exact.
26180 (TEST): Update all definitions for change to field.
26181 (tests): Regenerate array contents.
26182 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26183 field value. Check for IBM long double here.
26184 (do_test): Update calls to test_in_one_mode.
26186 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26189 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26190 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26192 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26195 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26196 generated by the compiler on loop optimizations.
26197 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26198 general definitions.
26200 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26202 * math/bug-nextafter.c: Include <math-tests.h>.
26203 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26205 * math/bug-nexttoward.c: Include <math-tests.h>.
26206 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26208 * math/test-misc.c: Include <math-tests.h>.
26209 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26212 2013-06-12 Andreas Jaeger <aj@suse.de>
26214 * po/ia.po: Update Interlingua translation from translation
26217 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26219 * include/fenv.h: Include stdbool.h.
26220 (struct rm_ctx): New structure.
26221 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26223 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26224 (SET_RESTORE_ROUNDF): Likewise.
26225 (SET_RESTORE_ROUNDL): Likewise.
26226 (SET_RESTORE_ROUND_NOEX): Likewise.
26227 (SET_RESTORE_ROUND_NOEXF): Likewise.
26228 (SET_RESTORE_ROUND_NOEXL): Likewise.
26229 (SET_RESTORE_ROUND_53BIT): Likewise.
26230 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26231 (libc_feresetround_noexf_ctx): Likewise.
26232 (libc_feresetround_noexl_ctx): Likewise.
26233 (libc_feholdsetround_53bit_ctx): Likewise.
26234 (libc_feresetround_53bit_ctx): Likewise.
26235 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26236 (libc_feholdexcept_setround_sse_ctx): New function.
26237 (libc_fesetenv_sse_ctx): Likewise.
26238 (libc_feupdateenv_sse_ctx): Likewise.
26239 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26240 (libc_feholdexcept_setround_387_ctx): Likewise.
26241 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26242 (libc_feholdsetround_387_prec_ctx): Likewise.
26243 (libc_feholdsetround_387_ctx): Likewise.
26244 (libc_feholdsetround_387_53bit_ctx): Likewise.
26245 (libc_feholdsetround_sse_ctx): Likewise.
26246 (libc_feresetround_sse_ctx): Likewise.
26247 (libc_feresetround_387_ctx): Likewise.
26248 (libc_feupdateenv_387_ctx): Likewise.
26249 (libc_feholdexcept_setroundf_ctx): Define macro.
26250 (libc_fesetenvf_ctx): Likewise.
26251 (libc_feupdateenvf_ctx): Likewise.
26252 (libc_feholdsetroundf_ctx): Likewise.
26253 (libc_feresetroundf_ctx): Likewise.
26254 (libc_feholdexcept_setround_ctx): Likewise.
26255 (libc_fesetenv_ctx): Likewise.
26256 (libc_feupdateenv_ctx): Likewise.
26257 (libc_feholdsetround_ctx): Likewise.
26258 (libc_feresetround_ctx): Likewise.
26259 (libc_feholdexcept_setroundl_ctx): Likewise.
26260 (libc_feupdateenvl_ctx): Likewise.
26261 (libc_feholdsetroundl_ctx): Likewise.
26262 (libc_feresetroundl_ctx): Likewise.
26263 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26264 (libc_feresetround_53bit_ctx): Likewise.
26266 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26268 * locale/iso-639.def: Convert to UTF-8.
26270 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26272 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26273 (EXCEPTION_TESTS_double): Likewise.
26274 (EXCEPTION_TESTS_long_double): Likewise.
26275 (EXCEPTION_TESTS): Likewise.
26276 * math/libm-test.inc (test_exceptions): Only test exceptions if
26277 EXCEPTION_TESTS (FLOAT).
26279 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26281 * benchtests/Makefile (string-bench): Add strcpy_chk and
26283 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26284 * benchtests/bench-stpcpy_chk.c: New file.
26285 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26286 * benchtests/bench-strcpy_chk.c: New file.
26287 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26289 (do_test): Likewise.
26291 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26293 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26294 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26295 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26296 with tabs where appropriate.
26297 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26299 [PPC_PLATFORM_PPC440]: Likewise.
26300 [PPC_PLATFORM_PPC464]: Likewise.
26301 [PPC_PLATFORM_PPC476]: Likewise.
26302 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26303 ppc464, and ppc476 platform strings merging from ports/
26306 2013-06-11 Andreas Schwab <schwab@suse.de>
26309 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26310 (from_ucs4_idx): Regenerate.
26311 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26312 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26313 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26314 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26315 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26316 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26317 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26318 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26319 from FROM_LOOP and TO_LOOP specific macros.
26320 (BODY): Handle combining characters.
26321 * iconvdata/BIG5HKSCS.irreversible: Update.
26322 * iconvdata/BIG5HKSCS.precomposed: New file.
26323 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26325 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26327 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26329 * include/sys/time.h: Fix indentation and add copyright header.
26331 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26332 (do_test): Likewise.
26333 * string/test-memchr.c (do_one_test): Likewise.
26334 (do_test): Likewise.
26335 * string/test-memcmp.c (do_one_test): Likewise.
26336 (do_test): Likewise.
26337 * string/test-memcpy.c (do_one_test): Likewise.
26338 (do_test): Likewise.
26339 * string/test-memmem.c (do_one_test): Likewise.
26340 (do_test): Likewise.
26341 (do_random_tests): Likewise.
26342 * string/test-memmove.c (do_one_test): Likewise.
26343 (do_test): Likewise.
26344 * string/test-memset.c (do_one_test): Likewise.
26345 (do_test): Likewise.
26346 * string/test-rawmemchr.c (do_one_test): Likewise.
26347 (do_test): Likewise.
26348 * string/test-strcasecmp.c (do_one_test): Likewise.
26349 (do_test): Likewise.
26350 * string/test-strcasestr.c (do_one_test): Likewise.
26351 (do_test): Likewise.
26352 * string/test-strcat.c (do_one_test): Likewise.
26353 (do_test): Likewise.
26354 * string/test-strchr.c (do_one_test): Likewise.
26355 (do_test): Likewise.
26356 * string/test-strcmp.c (do_one_test): Likewise.
26357 (do_test): Likewise.
26358 * string/test-strcpy.c (do_one_test): Likewise.
26359 (do_test): Likewise.
26360 * string/test-string.h: Likewise.
26361 (test_init): Likewise.
26362 * string/test-strlen.c (do_one_test): Likewise.
26363 (do_test): Likewise.
26364 * string/test-strncasecmp.c (do_one_test): Likewise.
26365 (do_test): Likewise.
26366 * string/test-strncat.c (do_one_test): Likewise.
26367 (do_test): Likewise.
26368 * string/test-strncmp.c (do_one_test): Likewise.
26369 (do_test_limit): Likewise.
26370 (do_test): Likewise.
26371 * string/test-strncpy.c (do_one_test): Likewise.
26372 (do_test): Likewise.
26373 * string/test-strnlen.c (do_one_test): Likewise.
26374 (do_test): Likewise.
26375 * string/test-strpbrk.c (do_one_test): Likewise.
26376 (do_test): Likewise.
26377 * string/test-strrchr.c (do_one_test): Likewise.
26378 (do_test): Likewise.
26379 * string/test-strspn.c (do_one_test): Likewise.
26380 (do_test): Likewise.
26381 * string/test-strstr.c (do_one_test): Likewise.
26382 (do_test): Likewise.
26384 * benchtests/Makefile (string-bench): Add string benchmarks.
26385 * benchtests/bench-bcopy-ifunc.c: New file.
26386 * benchtests/bench-bcopy.c: New file.
26387 * benchtests/bench-bzero-ifunc.c: New file.
26388 * benchtests/bench-bzero.c: New file.
26389 * benchtests/bench-memccpy-ifunc.c: New file.
26390 * benchtests/bench-memccpy.c: New file.
26391 * benchtests/bench-memchr-ifunc.c: New file.
26392 * benchtests/bench-memchr.c: New file.
26393 * benchtests/bench-memcmp-ifunc.c: New file.
26394 * benchtests/bench-memcmp.c: New file.
26395 * benchtests/bench-memmem-ifunc.c: New file.
26396 * benchtests/bench-memmem.c: New file.
26397 * benchtests/bench-memmove-ifunc.c: New file.
26398 * benchtests/bench-memmove.c: New file.
26399 * benchtests/bench-mempcpy-ifunc.c: New file.
26400 * benchtests/bench-mempcpy.c: New file.
26401 * benchtests/bench-memset-ifunc.c: New file.
26402 * benchtests/bench-memset.c: New file.
26403 * benchtests/bench-rawmemchr-ifunc.c: New file.
26404 * benchtests/bench-rawmemchr.c: New file.
26405 * benchtests/bench-stpcpy-ifunc.c: New file.
26406 * benchtests/bench-stpcpy.c: New file.
26407 * benchtests/bench-stpncpy-ifunc.c: New file.
26408 * benchtests/bench-stpncpy.c: New file.
26409 * benchtests/bench-strcasecmp-ifunc.c: New file.
26410 * benchtests/bench-strcasecmp.c: New file.
26411 * benchtests/bench-strcasestr-ifunc.c: New file.
26412 * benchtests/bench-strcasestr.c: New file.
26413 * benchtests/bench-strcat-ifunc.c: New file.
26414 * benchtests/bench-strcat.c: New file.
26415 * benchtests/bench-strchr-ifunc.c: New file.
26416 * benchtests/bench-strchr.c: New file.
26417 * benchtests/bench-strchrnul-ifunc.c: New file.
26418 * benchtests/bench-strchrnul.c: New file.
26419 * benchtests/bench-strcmp-ifunc.c: New file.
26420 * benchtests/bench-strcmp.c: New file.
26421 * benchtests/bench-strcpy-ifunc.c: New file.
26422 * benchtests/bench-strcpy.c: New file.
26423 * benchtests/bench-strcspn-ifunc.c: New file.
26424 * benchtests/bench-strcspn.c: New file.
26425 * benchtests/bench-strlen-ifunc.c: New file.
26426 * benchtests/bench-strlen.c: New file.
26427 * benchtests/bench-strncasecmp-ifunc.c: New file.
26428 * benchtests/bench-strncasecmp.c: New file.
26429 * benchtests/bench-strncat-ifunc.c: New file.
26430 * benchtests/bench-strncat.c: New file.
26431 * benchtests/bench-strncmp-ifunc.c: New file.
26432 * benchtests/bench-strncmp.c: New file.
26433 * benchtests/bench-strncpy-ifunc.c: New file.
26434 * benchtests/bench-strncpy.c: New file.
26435 * benchtests/bench-strnlen-ifunc.c: New file.
26436 * benchtests/bench-strnlen.c: New file.
26437 * benchtests/bench-strpbrk-ifunc.c: New file.
26438 * benchtests/bench-strpbrk.c: New file.
26439 * benchtests/bench-strrchr-ifunc.c: New file.
26440 * benchtests/bench-strrchr.c: New file.
26441 * benchtests/bench-strspn-ifunc.c: New file.
26442 * benchtests/bench-strspn.c: New file.
26443 * benchtests/bench-strstr-ifunc.c: New file.
26444 * benchtests/bench-strstr.c: New file.
26446 * benchtests/Makefile: Disable parallel execution of targets.
26447 (string-bench): Add memcpy.
26448 (benchset): New variable to store a list of benchmark sets.
26449 (bench-func): Renamed from bench.
26450 (bench-set): New target.
26451 (bench): Depend on bench-func and bench-set.
26452 * benchtests/README: Add section on benchmark sets.
26453 * benchtests/bench-memcpy-ifunc.c: New file.
26454 * benchtests/bench-memcpy.c: New file.
26455 * benchtests/bench-string.h: New file.
26457 2013-06-11 Andreas Schwab <schwab@suse.de>
26460 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26461 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26462 values in the triple.
26463 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26464 terminator in the group key.
26466 2013-06-11 Andreas Jaeger <aj@suse.de>
26468 * po/zh_TW.po: Update Chinese (traditional) translation from
26469 translation project.
26471 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26473 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26474 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26475 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26476 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26477 (clock_getcpuclockid): Likewise.
26478 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26479 Add weak_alias and libc_hidden_def.
26480 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26481 * rt/clock_gettime.c (clock_gettime): Rename to
26482 __clock_gettime. Add weak_alias and libc_hidden_def.
26483 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26484 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26485 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26486 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26487 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26489 * rt/clock_settime.c (clock_settime): Rename to
26490 __clock_settime. Add weak_alias and libc_hidden_def.
26491 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26493 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26495 * mach/err_boot.sub: Remove trailing whitespace.
26496 * mach/err_ipc.sub: Likewise.
26497 * mach/err_mach.sub: Likewise.
26499 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26500 (ROUNDING_TESTS_double): Likewise.
26501 (ROUNDING_TESTS_long_double): Likewise.
26502 (ROUNDING_TESTS): Likewise.
26503 * math/libm-test.inc: Include <math-tests.h>.
26504 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26505 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26506 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26507 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26509 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26511 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26514 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26516 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26517 otherwise empty TRANS lines.
26518 * sysdeps/gnu/errlist.c: Regenerated.
26520 * catgets/gencat.c (error_print): Use (void) in function
26522 * crypt/crypt_util.c (__init_des): Likewise.
26523 * crypt/speeds.c (Stop): Likewise.
26525 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26526 * inet/ruserpass.c (token): Likewise.
26527 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26528 * intl/localealias.c (extend_alias_table): Likewise.
26529 * intl/plural-exp.c (init_germanic_plural): Likewise.
26530 * libio/fcloseall.c (__fcloseall): Likewise.
26531 * libio/genops.c (_IO_flush_all): Likewise.
26532 (_IO_flush_all_linebuffered): Likewise.
26533 (_IO_cleanup): Likewise.
26534 (_IO_iter_begin): Likewise.
26535 (_IO_iter_end): Likewise.
26536 (_IO_list_lock): Likewise.
26537 (_IO_list_unlock): Likewise.
26538 (_IO_list_resetlock): Likewise.
26539 * libio/getchar.c (getchar): Likewise.
26540 * libio/getchar_u.c (getchar_unlocked): Likewise.
26541 * libio/getwchar.c (getwchar): Likewise.
26542 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26543 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26544 * login/getpt.c (__getpt): Likewise.
26545 * login/tst-utmp.c (main): Likewise.
26546 * malloc/hooks.c (__malloc_check_init): Likewise.
26547 * malloc/malloc.c (__malloc_stats): Likewise.
26548 * malloc/mtrace.c (tr_break): Likewise.
26549 (mtrace): Likewise.
26550 (muntrace): Likewise.
26551 * misc/fstab.c (endfsent): Likewise.
26552 * misc/getclktck.c (__getclktck): Likewise.
26553 * misc/getdtsz.c (__getdtablesize): Likewise.
26554 * misc/gethostid.c (gethostid): Likewise.
26555 * misc/getpagesize.c (__getpagesize): Likewise.
26556 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26557 (__get_nprocs): Likewise.
26558 (__get_phys_pages): Likewise.
26559 (__get_avphys_pages): Likewise.
26560 * misc/getttyent.c (getttyent): Likewise.
26561 (setttyent): Likewise.
26562 (endttyent): Likewise.
26563 * misc/getusershell.c (getusershell): Likewise.
26564 (endusershell): Likewise.
26565 (setusershell): Likewise.
26566 (initshells): Likewise.
26567 * misc/hsearch.c (__hdestroy): Likewise.
26568 * misc/sync.c (sync): Likewise.
26569 * misc/syslog.c (closelog_internal): Likewise.
26570 (closelog): Likewise.
26571 * misc/ttyslot.c (ttyslot): Likewise.
26572 * misc/vhangup.c (vhangup): Likewise.
26573 * posix/fork.c (__fork): Likewise.
26574 * posix/getegid.c (__getegid): Likewise.
26575 * posix/geteuid.c (__geteuid): Likewise.
26576 * posix/getgid.c (__getgid): Likewise.
26577 * posix/getpid.c (__getpid): Likewise.
26578 * posix/getppid.c (__getppid): Likewise.
26579 * posix/getuid.c (__getuid): Likewise.
26580 * posix/pause.c (pause): Likewise.
26581 * posix/setpgrp.c (setpgrp): Likewise.
26582 * posix/setsid.c (__setsid): Likewise.
26583 * posix/test-vfork.c (noop): Likewise.
26584 * resolv/gethnamaddr.c (_endhtent): Likewise.
26585 (_gethtent): Likewise.
26586 (ht_endhostent): Likewise.
26587 (gethostent): Likewise.
26588 (dns_service): Likewise.
26589 * stdlib/drand48.c (drand48): Likewise.
26590 * stdlib/lrand48.c (lrand48): Likewise.
26591 * stdlib/mrand48.c (mrand48): Likewise.
26592 * stdlib/rand.c (rand): Likewise.
26593 * stdlib/random.c (__random): Likewise.
26594 * stdlib/setenv.c (clearenv): Likewise.
26595 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26596 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26597 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26598 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26599 (__get_nprocs): Likewise.
26600 (__get_phys_pages): Likewise.
26601 (__get_avphys_pages): Likewise.
26602 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26603 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26604 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26605 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26606 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26607 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26608 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26609 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26610 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26611 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26612 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26613 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26614 * sysdeps/posix/clock.c (clock): Likewise.
26615 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26616 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26617 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26618 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26619 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26620 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26621 (__get_nprocs_conf): Likewise.
26622 (__get_phys_pages): Likewise.
26623 (__get_avphys_pages): Likewise.
26624 * time/clock.c (clock): Likewise.
26625 * time/tzset.c (__tzname_max): Likewise.
26627 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26629 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26630 (__bswap_32): Do not use "register".
26631 * crypt/crypt.c (_ufc_doit_r): Likewise.
26632 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26633 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26634 * gmon/gmon.c (__monstartup): Likewise.
26635 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26636 * hurd/hurdmalloc.c (more_memory): Likewise.
26637 (malloc): Likewise.
26639 (realloc): Likewise.
26640 (malloc_fork_prepare): Likewise.
26641 (malloc_fork_parent): Likewise.
26642 (malloc_fork_child): Likewise.
26643 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26644 (_svcauth_des): Likewise.
26645 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26646 * inet/inet_net.c (inet_network): Likewise.
26647 * inet/inet_netof.c (inet_netof): Likewise.
26648 * inet/rcmd.c (__validuser2_sa): Likewise.
26649 * io/fts.c (fts_open): Likewise.
26650 (fts_load): Likewise.
26651 (fts_close): Likewise.
26652 (fts_read): Likewise.
26653 (fts_children): Likewise.
26654 (fts_build): Likewise.
26655 (fts_stat): Likewise.
26656 (fts_sort): Likewise.
26657 (fts_alloc): Likewise.
26658 (fts_lfree): Likewise.
26659 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26660 (_IO_file_xsgetn): Likewise.
26661 (_IO_file_xsgetn_mmap): Likewise.
26662 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26663 (_IO_cookie_write): Likewise.
26664 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26665 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26666 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26667 * malloc/obstack.c (_obstack_begin): Likewise.
26668 (_obstack_begin_1): Likewise.
26669 (_obstack_newchunk): Likewise.
26670 (_obstack_allocated_p): Likewise.
26671 (obstack_free): Likewise.
26672 (_obstack_memory_used): Likewise.
26673 * misc/getttyent.c (getttynam): Likewise.
26674 (getttyent): Likewise.
26677 * misc/getusershell.c (initshells): Likewise.
26678 * misc/syslog.c (__vsyslog_chk): Likewise.
26679 * misc/ttyslot.c (ttyslot): Likewise.
26680 * nis/nis_hash.c (__nis_hash): Likewise.
26681 * posix/fnmatch_loop.c (FCT): Likewise.
26682 * posix/getconf.c (print_all): Likewise.
26684 * posix/getopt.c (exchange): Likewise.
26685 * posix/glob.c (globfree): Likewise.
26686 (prefix_array): Likewise.
26687 (__glob_pattern_type): Likewise.
26688 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26689 (NS_GET32): Likewise.
26690 (NS_PUT16): Likewise.
26691 (NS_PUT32): Likewise.
26692 * resolv/gethnamaddr.c (getanswer): Likewise.
26693 (gethostbyname2): Likewise.
26694 (gethostbyaddr): Likewise.
26695 (_gethtent): Likewise.
26696 (_gethtbyname2): Likewise.
26697 (_gethtbyaddr): Likewise.
26698 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26699 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26700 * resolv/res_init.c (__res_vinit): Likewise.
26701 (net_mask): Likewise.
26702 * resolv/res_mkquery.c (outchar): Likewise.
26704 * stdio-common/printf_fp.c (outchar): Likewise.
26706 * stdio-common/printf_fphex.c (outchar): Likewise.
26708 * stdio-common/printf_size.c (outchar): Likewise.
26710 * stdio-common/test_rdwr.c (main): Likewise.
26711 * stdio-common/tfformat.c (matches): Likewise.
26712 * stdio-common/vfprintf.c (outchar): Likewise.
26713 (printf_unknown): Likewise.
26714 (buffered_vfprintf): Likewise.
26715 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26716 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26717 (ReadFile): Likewise.
26718 * stdlib/qsort.c (SWAP): Likewise.
26719 (_quicksort): Likewise.
26720 * stdlib/setenv.c (__add_to_environ): Likewise.
26721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26722 * stdlib/strtol_l.c (__strtol_l): Likewise.
26723 * stdlib/tst-strtod.c (main): Likewise.
26724 * stdlib/tst-strtol.c (main): Likewise.
26725 * stdlib/tst-strtoll.c (main): Likewise.
26726 * string/bits/string2.h (__strcmp_cc): Likewise.
26727 (__strcmp_cg): Likewise.
26728 (__strcspn_c1): Likewise.
26729 (__strcspn_c2): Likewise.
26730 (__strcspn_c3): Likewise.
26731 (__strspn_c1): Likewise.
26732 (__strspn_c2): Likewise.
26733 (__strspn_c3): Likewise.
26734 (__strsep_1c): Likewise.
26735 (__strsep_2c): Likewise.
26736 (__strsep_3c): Likewise.
26737 * string/memccpy.c (__memccpy): Likewise.
26738 * string/stpcpy.c (__stpcpy): Likewise.
26739 * string/strcmp.c (strcmp): Likewise.
26740 * string/strrchr.c (strrchr): Likewise.
26741 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26743 * sysdeps/mach/hurd/getcwd.c
26744 (_hurd_canonicalize_directory_name_internal): Likewise.
26745 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26746 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26747 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26748 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26749 Likewise, in both definitions.
26750 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26752 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26753 64] (__bswap_64): Likewise.
26754 * time/test_time.c (main): Likewise.
26755 * time/tzfile.c (__tzfile_read): Likewise.
26756 (__tzfile_compute): Likewise.
26757 * time/tzset.c (__tzset_parse_tz): Likewise.
26758 (tzset_internal): Likewise.
26759 (compute_change): Likewise.
26760 * wcsmbs/wcscat.c (__wcscat): Likewise.
26761 * wcsmbs/wcschr.c (wcschr): Likewise.
26762 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26763 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26764 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26765 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26766 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26767 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26768 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26769 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26770 * wcsmbs/wmemset.c (wmemset): Likewise.
26772 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26774 * scripts/config.guess: Update to version 2013-05-16.
26775 * scripts/config.sub: Update to version 2013-04-24.
26776 * scripts/install-sh: Update to version 2011-11-20.07.
26777 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26778 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26780 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26782 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26783 * elf/sln.c: Likewise.
26784 * hurd/hurd/ioctl.h: Likewise.
26785 * hurd/hurdmalloc.c: Likewise.
26786 * hurd/xattr.c: Likewise.
26787 * include/shlib-compat.h: Likewise.
26788 * inet/ruserpass.c: Likewise.
26789 * libio/iofgets_u.c: Likewise.
26790 * libio/iofgetws_u.c: Likewise.
26791 * locale/programs/ld-identification.c: Likewise.
26792 * locale/programs/ld-time.c: Likewise.
26793 * mach/msg-destroy.c: Likewise.
26794 * nss/nss_files/files-netgrp.c: Likewise.
26795 * resolv/res_data.c: Likewise.
26796 * soft-fp/op-1.h: Likewise.
26797 * soft-fp/op-2.h: Likewise.
26798 * soft-fp/op-4.h: Likewise.
26799 * soft-fp/op-common.h: Likewise.
26800 * stdio-common/printf_fphex.c: Likewise.
26801 * stdlib/strtod_l.c: Likewise.
26802 * sunrpc/rpc/clnt.h: Likewise.
26803 * sysdeps/generic/framestate.c: Likewise.
26804 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26805 * sysdeps/i386/bsd-setjmp.S: Likewise.
26806 * sysdeps/i386/__longjmp.S: Likewise.
26807 * sysdeps/i386/setjmp.S: Likewise.
26808 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26809 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26810 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26815 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26816 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26818 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26819 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26821 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26824 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26825 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26826 * sysdeps/ieee754/support.c: Likewise.
26827 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26828 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26829 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26830 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26831 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26832 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26833 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26834 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26835 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26836 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26837 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26838 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26839 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26840 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26841 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26842 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26843 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26846 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26848 * posix/transbug.c: Remove executable mode.
26850 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26852 * crypt/speeds.c: Remove trailing whitespace.
26853 * dlfcn/default.c: Likewise.
26854 * elf/ifuncdep2.c: Likewise.
26855 * elf/ifuncmain1.c: Likewise.
26856 * elf/ifuncmain1vis.c: Likewise.
26857 * elf/testobj.h: Likewise.
26858 * elf/tst-stackguard1.c: Likewise.
26859 * gmon/sys/gmon.h: Likewise.
26860 * hurd/hurdmsg.c: Likewise.
26861 * hurd/new-fd.c: Likewise.
26862 * hurd/ports-get.c: Likewise.
26863 * iconvdata/ibm1008_420.c: Likewise.
26864 * inet/tst-getni1.c: Likewise.
26865 * inet/tst-getni2.c: Likewise.
26866 * libio/ioungetc.c: Likewise.
26867 * libio/wfiledoalloc.c: Likewise.
26868 * manual/libm-err-tab.pl: Likewise.
26869 * math/w_dremf.c: Likewise.
26870 * misc/ftruncate.c: Likewise.
26871 * posix/bug-glob2.c: Likewise.
26872 * posix/tst-pcre.c: Likewise.
26873 * posix/wait4.c: Likewise.
26874 * resolv/README: Likewise.
26875 * resolv/res_debug.h: Likewise.
26876 * resolv/tst-inet_ntop.c: Likewise.
26877 * setjmp/bug269-setjmp.c: Likewise.
26878 * soft-fp/extended.h: Likewise.
26879 * soft-fp/op-1.h: Likewise.
26880 * soft-fp/op-2.h: Likewise.
26881 * soft-fp/op-4.h: Likewise.
26882 * soft-fp/op-8.h: Likewise.
26883 * soft-fp/testit.c: Likewise.
26884 * stdio-common/bug16.c: Likewise.
26885 * stdlib/random.c: Likewise.
26886 * sunrpc/rpcsvc/rquota.x: Likewise.
26887 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26888 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26889 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26890 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26891 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26892 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26893 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26894 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26895 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26896 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26897 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26901 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26902 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26904 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26907 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26908 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26910 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26912 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26914 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26915 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26916 * sysdeps/ieee754/s_lib_version.c: Likewise.
26917 * sysdeps/mach/hurd/check_fds.c: Likewise.
26918 * sysdeps/mach/hurd/getsockname.c: Likewise.
26919 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26920 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26921 * sysdeps/powerpc/bits/link.h: Likewise.
26922 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26923 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26924 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26925 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26926 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26927 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26928 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26929 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26930 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26931 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26932 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26933 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26934 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26935 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26936 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26937 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26938 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26939 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26940 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26941 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26942 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26943 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26944 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26945 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26946 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26947 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26948 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26949 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26950 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26951 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26952 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26953 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26954 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26955 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26956 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26957 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26958 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26959 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26960 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26961 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26962 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26963 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26964 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26965 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26966 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26967 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26968 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26969 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26970 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26971 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26972 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26973 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26974 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26975 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26976 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26977 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26978 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26979 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26980 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26981 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26982 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26983 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26984 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26985 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26986 * sysdeps/powerpc/sysdep.h: Likewise.
26987 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26988 * sysdeps/s390/s390-64/sub_n.S: Likewise.
26989 * sysdeps/sh/dl-trampoline.S: Likewise.
26990 * sysdeps/sh/memset.S: Likewise.
26991 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26992 * sysdeps/sh/strlen.S: Likewise.
26993 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26994 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26995 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26996 * sysdeps/sparc/sparc32/rem.S: Likewise.
26997 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26998 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26999 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27000 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27001 * sysdeps/sparc/sparc32/urem.S: Likewise.
27002 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27003 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27004 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27005 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27006 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27007 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27008 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27009 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27010 * sysdeps/unix/bsd/times.c: Likewise.
27011 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27012 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27016 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27017 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27018 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27019 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27020 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27021 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27022 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27023 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27024 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27025 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27026 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27027 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27028 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27029 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27030 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27031 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27032 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27033 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27034 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27035 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27036 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27037 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27038 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27039 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27040 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27041 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27042 * sysdeps/x86_64/strcspn.S: Likewise.
27044 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27046 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27047 generated file. Regenerate properly from gen-translit.pl.
27048 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27049 locale/C-translit.h.
27051 2013-06-05 Andreas Schwab <schwab@suse.de>
27054 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27055 week as 6 instead of -1.
27056 * time/tst-strptime.c (day_tests): Add test case.
27058 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27060 * sysdeps/generic/math_private.h
27061 (libc_feholdexcept_setround_53bit): Replace with
27062 libc_feholdsetround_53bit.
27063 (libc_feupdateenv_53bit): Replace with
27064 libc_feresetround_53bit.
27065 (SET_RESTORE_ROUND_53BIT): Adjust.
27067 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27069 * string/test-strchrnul.c: Add copyright header.
27071 * posix/tst-getaddrinfo4.c: Increase test timeout.
27073 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27076 * math/libm-test.inc (MAX_EXP): Remove
27078 (ulp): Use MIN_EXP - MANT_DIG.
27079 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27081 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27083 * po/be.po: Revert last change.
27084 * po/zh_CN.po: Likewise.
27085 * po/header.pot: Likewise.
27087 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27089 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27090 link-libc-deps to empty as target-specific variable.
27091 * Makerules (link-libc-args): New variable.
27092 (libc-for-link): Likewise.
27093 (link-libc-deps): Likewise.
27094 (lib%.so): Depend on $(link-libc-deps). Link with
27096 (build-module): Link with $(link-libc-args).
27097 (build-module-asneeded): Likewise.
27098 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27100 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27101 target-specific variable.
27102 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27103 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27104 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27106 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27108 ($(objpfx)libpcprofile.so): Likewise.
27109 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27111 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27112 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27113 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27115 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27116 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27117 * login/Makefile ($(objpfx)libutil.so): Likewise.
27118 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27119 * math/Makefile ($(objpfx)libm.so): Likewise.
27120 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27121 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27122 variable instead of depending directly on libc.
27123 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27124 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27126 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27128 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27129 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27130 ($(objpfx)libanl.so): Likewise.
27131 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27133 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27135 * sysdeps/i386/fpu/Makefile: Remove file.
27136 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27137 ($(objpfx)libm.so): Remove dependency on ld.so.
27139 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27142 * nis/yp_xdr.c (XDRMAXNAME): Define.
27143 (XDRMAXRECORD): Define.
27144 (xdr_domainname): Use XDRMAXNAME.
27145 (xdr_mapname): Likewise.
27146 (xdr_peername): Likewise.
27147 (xdr_keydat): Use XDRMAXRECORD.
27148 (xdr_valdat): Likewise.
27150 2013-05-30 Jeff Law <law@redhat.com>
27153 * manual/errno.texi (ESTALE): Update to account for more than
27154 just NFS file systems.
27155 * sysdeps/gnu/errlist.c: Regenerated.
27157 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27160 * elf/Makefile (tests): Add tst-null-argv.
27161 (modules-names): Add tst-null-argv-lib.
27162 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27163 (tst-null-argv-ENV): Set environment for tst-null-argv.
27164 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27165 (RTLD_PROGNAME): New macro.
27166 * elf/tst-null-argv.c: New test case.
27167 * elf/tst-null-argv-lib.c: Library for test case.
27168 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27169 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27170 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27171 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27172 * elf/dl-init.c (call_init): Likewise.
27173 (_dl_init): Likewise.
27174 * elf/dl-load.c (print_search_path): Likewise.
27175 (_dl_map_object): Likewise.
27176 * elf/dl-lookup.c (do_lookup_x): Likewise.
27177 (add_dependency): Likewise.
27178 (_dl_lookup_symbol_x): Likewise.
27179 (_dl_debug_bindings): Likewise.
27180 * elf/dl-open.c (_dl_show_scope): Likewise.
27181 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27182 * elf/dl-version.c (match_symbol): Likewise.
27183 (_dl_check_map_versions): Likewise.
27184 * elf/rtld.c (dl_main): Likewise.
27185 (print_unresolved): Use RTLD_PROGNAME.
27186 (print_missing_version): Likewise.
27187 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27188 (elf_machine_rela): Likewise.
27189 * sysdeps/powerpc/powerpc32/dl-machine.c
27190 (__process_machine_rela): Likewise.
27191 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27193 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27195 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27197 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27198 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27200 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27202 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27204 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27206 * po/be.po: Add descriptive title.
27207 * po/zh_CN.po: Likewise.
27208 * po/header.pot: Likewise.
27210 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27212 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27214 (enlarge_archive): Likewise.
27216 2013-05-28 Ben North <ben@redfrontdoor.org>
27218 * manual/arith.texi (frexp): It is the magnitude of the return
27219 value which lies in [0.5, 1), not the return value itself.
27221 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27225 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27227 * stdio-common/bug26.c (main): Correct fscanf template.
27229 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27230 declare _dl_skip_args.
27232 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27235 * manual/platform.texi: Add missing @end deftypefun.
27237 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27240 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27241 bit of mantissa of 2^16382.
27242 * math/libm-test.inc (hypot_test_data): Add more tests.
27244 * math/libm-test.inc: Add drem and pow10 to list of tested
27246 (pow10_test): New function.
27247 (drem_test): Likewise.
27248 (drem_test_tonearest): Likewise.
27249 (drem_test_towardzero): Likewise.
27250 (drem_test_downward): Likewise.
27251 (drem_test_upward): Likewise.
27252 (main): Call the new functions.
27254 * math/libm-test.inc (finite_test_data): Remove.
27255 (finite_test): Run tests from isfinite_test_data.
27256 (gamma_test_data): Remove.
27257 (gamma_test): Run tests from lgamma_test_data.
27258 * sysdeps/i386/fpu/libm-test-ulps: Update.
27259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27261 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27263 * manual/platform.texi: Add PowerPC PPR function set documentation.
27264 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27267 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27269 * math/libm-test.inc (MAX_EXP): Define.
27271 (ulp): New function.
27272 (check_float_internal): Use ULPDIFF.
27273 (cpow_test): Disable failing test.
27274 (check_ulp): Test ulp() implemetnation.
27275 (main): Call check_ulp before starting tests.
27277 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27279 * math/gen-libm-test.pl (generate_testfile): Do not handle
27280 START_DATA and END_DATA.
27281 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27283 (acos_tonearest_test_data): Likewise.
27284 (acos_towardzero_test_data): Likewise.
27285 (acos_downward_test_data): Likewise.
27286 (acos_upward_test_data): Likewise.
27287 (acosh_test_data): Likewise.
27288 (asin_test_data): Likewise.
27289 (asin_tonearest_test_data): Likewise.
27290 (asin_towardzero_test_data): Likewise.
27291 (asin_downward_test_data): Likewise.
27292 (asin_upward_test_data): Likewise.
27293 (asinh_test_data): Likewise.
27294 (atan_test_data): Likewise.
27295 (atanh_test_data): Likewise.
27296 (atan2_test_data): Likewise.
27297 (cabs_test_data): Likewise.
27298 (cacos_test_data): Likewise.
27299 (cacosh_test_data): Likewise.
27300 (carg_test_data): Likewise.
27301 (casin_test_data): Likewise.
27302 (casinh_test_data): Likewise.
27303 (catan_test_data): Likewise.
27304 (catanh_test_data): Likewise.
27305 (cbrt_test_data): Likewise.
27306 (ccos_test_data): Likewise.
27307 (ccosh_test_data): Likewise.
27308 (ceil_test_data): Likewise.
27309 (cexp_test_data): Likewise.
27310 (cimag_test_data): Likewise.
27311 (clog_test_data): Likewise.
27312 (clog10_test_data): Likewise.
27313 (conj_test_data): Likewise.
27314 (copysign_test_data): Likewise.
27315 (cos_test_data): Likewise.
27316 (cos_tonearest_test_data): Likewise.
27317 (cos_towardzero_test_data): Likewise.
27318 (cos_downward_test_data): Likewise.
27319 (cos_upward_test_data): Likewise.
27320 (cosh_test_data): Likewise.
27321 (cosh_tonearest_test_data): Likewise.
27322 (cosh_towardzero_test_data): Likewise.
27323 (cosh_downward_test_data): Likewise.
27324 (cosh_upward_test_data): Likewise.
27325 (cpow_test_data): Likewise.
27326 (cproj_test_data): Likewise.
27327 (creal_test_data): Likewise.
27328 (csin_test_data): Likewise.
27329 (csinh_test_data): Likewise.
27330 (csqrt_test_data): Likewise.
27331 (ctan_test_data): Likewise.
27332 (ctan_tonearest_test_data): Likewise.
27333 (ctan_towardzero_test_data): Likewise.
27334 (ctan_downward_test_data): Likewise.
27335 (ctan_upward_test_data): Likewise.
27336 (ctanh_test_data): Likewise.
27337 (ctanh_tonearest_test_data): Likewise.
27338 (ctanh_towardzero_test_data): Likewise.
27339 (ctanh_downward_test_data): Likewise.
27340 (ctanh_upward_test_data): Likewise.
27341 (erf_test_data): Likewise.
27342 (erfc_test_data): Likewise.
27343 (exp_test_data): Likewise.
27344 (exp_tonearest_test_data): Likewise.
27345 (exp_towardzero_test_data): Likewise.
27346 (exp_downward_test_data): Likewise.
27347 (exp_upward_test_data): Likewise.
27348 (exp10_test_data): Likewise.
27349 (exp2_test_data): Likewise.
27350 (expm1_test_data): Likewise.
27351 (fabs_test_data): Likewise.
27352 (fdim_test_data): Likewise.
27353 (finite_test_data): Likewise.
27354 (floor_test_data): Likewise.
27355 (fma_test_data): Likewise.
27356 (fma_towardzero_test_data): Likewise.
27357 (fma_downward_test_data): Likewise.
27358 (fma_upward_test_data): Likewise.
27359 (fmax_test_data): Likewise.
27360 (fmin_test_data): Likewise.
27361 (fmod_test_data): Likewise.
27362 (fpclassify_test_data): Likewise.
27363 (frexp_test_data): Likewise.
27364 (gamma_test_data): Likewise.
27365 (hypot_test_data): Likewise.
27366 (ilogb_test_data): Likewise.
27367 (isfinite_test_data): Likewise.
27368 (isgreater_test_data): Likewise.
27369 (isgreaterequal_test_data): Likewise.
27370 (isinf_test_data): Likewise.
27371 (isless_test_data): Likewise.
27372 (islessequal_test_data): Likewise.
27373 (islessgreater_test_data): Likewise.
27374 (isnan_test_data): Likewise.
27375 (isnormal_test_data): Likewise.
27376 (issignaling_test_data): Likewise.
27377 (isunordered_test_data): Likewise.
27378 (j0_test_data): Likewise.
27379 (j1_test_data): Likewise.
27380 (jn_test_data): Likewise.
27381 (ldexp_test_data): Likewise.
27382 (lgamma_test_data): Likewise.
27383 (lrint_test_data): Likewise.
27384 (lrint_tonearest_test_data): Likewise.
27385 (lrint_towardzero_test_data): Likewise.
27386 (lrint_downward_test_data): Likewise.
27387 (lrint_upward_test_data): Likewise.
27388 (llrint_test_data): Likewise.
27389 (llrint_tonearest_test_data): Likewise.
27390 (llrint_towardzero_test_data): Likewise.
27391 (llrint_downward_test_data): Likewise.
27392 (llrint_upward_test_data): Likewise.
27393 (log_test_data): Likewise.
27394 (log10_test_data): Likewise.
27395 (log1p_test_data): Likewise.
27396 (log2_test_data): Likewise.
27397 (logb_test_data): Likewise.
27398 (logb_downward_test_data): Likewise.
27399 (lround_test_data): Likewise.
27400 (llround_test_data): Likewise.
27401 (modf_test_data): Likewise.
27402 (nearbyint_test_data): Likewise.
27403 (nextafter_test_data): Likewise.
27404 (nexttoward_test_data): Likewise.
27405 (pow_test_data): Likewise.
27406 (pow_tonearest_test_data): Likewise.
27407 (pow_towardzero_test_data): Likewise.
27408 (pow_downward_test_data): Likewise.
27409 (pow_upward_test_data): Likewise.
27410 (remainder_test_data): Likewise.
27411 (remainder_tonearest_test_data): Likewise.
27412 (remainder_towardzero_test_data): Likewise.
27413 (remainder_downward_test_data): Likewise.
27414 (remainder_upward_test_data): Likewise.
27415 (remquo_test_data): Likewise.
27416 (rint_test_data): Likewise.
27417 (rint_tonearest_test_data): Likewise.
27418 (rint_towardzero_test_data): Likewise.
27419 (rint_downward_test_data): Likewise.
27420 (rint_upward_test_data): Likewise.
27421 (round_test_data): Likewise.
27422 (scalb_test_data): Likewise.
27423 (scalbn_test_data): Likewise.
27424 (scalbln_test_data): Likewise.
27425 (signbit_test_data): Likewise.
27426 (sin_test_data): Likewise.
27427 (sin_tonearest_test_data): Likewise.
27428 (sin_towardzero_test_data): Likewise.
27429 (sin_downward_test_data): Likewise.
27430 (sin_upward_test_data): Likewise.
27431 (sincos_test_data): Likewise.
27432 (sinh_test_data): Likewise.
27433 (sinh_tonearest_test_data): Likewise.
27434 (sinh_towardzero_test_data): Likewise.
27435 (sinh_downward_test_data): Likewise.
27436 (sinh_upward_test_data): Likewise.
27437 (sqrt_test_data): Likewise.
27438 (tan_test_data): Likewise.
27439 (tan_tonearest_test_data): Likewise.
27440 (tan_towardzero_test_data): Likewise.
27441 (tan_downward_test_data): Likewise.
27442 (tan_upward_test_data): Likewise.
27443 (tanh_test_data): Likewise.
27444 (tgamma_test_data): Likewise.
27445 (trunc_test_data): Likewise.
27446 (y0_test_data): Likewise.
27447 (y1_test_data): Likewise.
27448 (yn_test_data): Likewise.
27449 (significand_test_data): Likewise.
27451 * math/gen-libm-test.pl (@functions): Remove variable.
27452 (generate_testfile): Don't handle START and END lines.
27453 * math/libm-test.inc (START): New macro.
27455 (END_COMPLEX): Likewise.
27456 (acos_test): Use END macro without arguments.
27457 (acos_test_tonearest): Likewise.
27458 (acos_test_towardzero): Likewise.
27459 (acos_test_downward): Likewise.
27460 (acos_test_upward): Likewise.
27461 (acosh_test): Likewise.
27462 (asin_test): Likewise.
27463 (asin_test_tonearest): Likewise.
27464 (asin_test_towardzero): Likewise.
27465 (asin_test_downward): Likewise.
27466 (asin_test_upward): Likewise.
27467 (asinh_test): Likewise.
27468 (atan_test): Likewise.
27469 (atanh_test): Likewise.
27470 (atan2_test): Likewise.
27471 (cabs_test): Likewise.
27472 (cacos_test): Use END_COMPLEX macro without arguments.
27473 (cacosh_test): Likewise.
27474 (carg_test): Use END macro without arguments.
27475 (casin_test): Use END_COMPLEX macro without arguments.
27476 (casinh_test): Likewise.
27477 (catan_test): Likewise.
27478 (catanh_test): Likewise.
27479 (cbrt_test): Use END macro without arguments.
27480 (ccos_test): Use END_COMPLEX macro without arguments.
27481 (ccosh_test): Likewise.
27482 (ceil_test): Use END macro without arguments.
27483 (cexp_test): Use END_COMPLEX macro without arguments.
27484 (cimag_test): Use END macro without arguments.
27485 (clog_test): Use END_COMPLEX macro without arguments.
27486 (clog10_test): Likewise.
27487 (conj_test): Likewise.
27488 (copysign_test): Use END macro without arguments.
27489 (cos_test): Likewise.
27490 (cos_test_tonearest): Likewise.
27491 (cos_test_towardzero): Likewise.
27492 (cos_test_downward): Likewise.
27493 (cos_test_upward): Likewise.
27494 (cosh_test): Likewise.
27495 (cosh_test_tonearest): Likewise.
27496 (cosh_test_towardzero): Likewise.
27497 (cosh_test_downward): Likewise.
27498 (cosh_test_upward): Likewise.
27499 (cpow_test): Use END_COMPLEX macro without arguments.
27500 (cproj_test): Likewise.
27501 (creal_test): Use END macro without arguments.
27502 (csin_test): Use END_COMPLEX macro without arguments.
27503 (csinh_test): Likewise.
27504 (csqrt_test): Likewise.
27505 (ctan_test): Likewise.
27506 (ctan_test_tonearest): Likewise.
27507 (ctan_test_towardzero): Likewise.
27508 (ctan_test_downward): Likewise.
27509 (ctan_test_upward): Likewise.
27510 (ctanh_test): Likewise.
27511 (ctanh_test_tonearest): Likewise.
27512 (ctanh_test_towardzero): Likewise.
27513 (ctanh_test_downward): Likewise.
27514 (ctanh_test_upward): Likewise.
27515 (erf_test): Use END macro without arguments.
27516 (erfc_test): Likewise.
27517 (exp_test): Likewise.
27518 (exp_test_tonearest): Likewise.
27519 (exp_test_towardzero): Likewise.
27520 (exp_test_downward): Likewise.
27521 (exp_test_upward): Likewise.
27522 (exp10_test): Likewise.
27523 (exp2_test): Likewise.
27524 (expm1_test): Likewise.
27525 (fabs_test): Likewise.
27526 (fdim_test): Likewise.
27527 (finite_test): Likewise.
27528 (floor_test): Likewise.
27529 (fma_test): Likewise.
27530 (fma_test_towardzero): Likewise.
27531 (fma_test_downward): Likewise.
27532 (fma_test_upward): Likewise.
27533 (fmax_test): Likewise.
27534 (fmin_test): Likewise.
27535 (fmod_test): Likewise.
27536 (fpclassify_test): Likewise.
27537 (frexp_test): Likewise.
27538 (gamma_test): Likewise.
27539 (hypot_test): Likewise.
27540 (ilogb_test): Likewise.
27541 (isfinite_test): Likewise.
27542 (isgreater_test): Likewise.
27543 (isgreaterequal_test): Likewise.
27544 (isinf_test): Likewise.
27545 (isless_test): Likewise.
27546 (islessequal_test): Likewise.
27547 (islessgreater_test): Likewise.
27548 (isnan_test): Likewise.
27549 (isnormal_test): Likewise.
27550 (issignaling_test): Likewise.
27551 (isunordered_test): Likewise.
27552 (j0_test): Likewise.
27553 (j1_test): Likewise.
27554 (jn_test): Likewise.
27555 (ldexp_test): Likewise.
27556 (lgamma_test): Likewise.
27557 (lrint_test): Likewise.
27558 (lrint_test_tonearest): Likewise.
27559 (lrint_test_towardzero): Likewise.
27560 (lrint_test_downward): Likewise.
27561 (lrint_test_upward): Likewise.
27562 (llrint_test): Likewise.
27563 (llrint_test_tonearest): Likewise.
27564 (llrint_test_towardzero): Likewise.
27565 (llrint_test_downward): Likewise.
27566 (llrint_test_upward): Likewise.
27567 (log_test): Likewise.
27568 (log10_test): Likewise.
27569 (log1p_test): Likewise.
27570 (log2_test): Likewise.
27571 (logb_test): Likewise.
27572 (logb_test_downward): Likewise.
27573 (lround_test): Likewise.
27574 (llround_test): Likewise.
27575 (modf_test): Likewise.
27576 (nearbyint_test): Likewise.
27577 (nextafter_test): Likewise.
27578 (nexttoward_test): Likewise.
27579 (pow_test): Likewise.
27580 (pow_test_tonearest): Likewise.
27581 (pow_test_towardzero): Likewise.
27582 (pow_test_downward): Likewise.
27583 (pow_test_upward): Likewise.
27584 (remainder_test): Likewise.
27585 (remainder_test_tonearest): Likewise.
27586 (remainder_test_towardzero): Likewise.
27587 (remainder_test_downward): Likewise.
27588 (remainder_test_upward): Likewise.
27589 (remquo_test): Likewise.
27590 (rint_test): Likewise.
27591 (rint_test_tonearest): Likewise.
27592 (rint_test_towardzero): Likewise.
27593 (rint_test_downward): Likewise.
27594 (rint_test_upward): Likewise.
27595 (round_test): Likewise.
27596 (scalb_test): Likewise.
27597 (scalbn_test): Likewise.
27598 (scalbln_test): Likewise.
27599 (signbit_test): Likewise.
27600 (sin_test): Likewise.
27601 (sin_test_tonearest): Likewise.
27602 (sin_test_towardzero): Likewise.
27603 (sin_test_downward): Likewise.
27604 (sin_test_upward): Likewise.
27605 (sincos_test): Likewise.
27606 (sinh_test): Likewise.
27607 (sinh_test_tonearest): Likewise.
27608 (sinh_test_towardzero): Likewise.
27609 (sinh_test_downward): Likewise.
27610 (sinh_test_upward): Likewise.
27611 (sqrt_test): Likewise.
27612 (tan_test): Likewise.
27613 (tan_test_tonearest): Likewise.
27614 (tan_test_towardzero): Likewise.
27615 (tan_test_downward): Likewise.
27616 (tan_test_upward): Likewise.
27617 (tanh_test): Likewise.
27618 (tgamma_test): Likewise.
27619 (trunc_test): Likewise.
27620 (y0_test): Likewise.
27621 (y1_test): Likewise.
27622 (yn_test): Likewise.
27623 (significand_test): Likewise.
27625 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27628 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27630 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27633 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27634 __ppc_mdoio and __ppc_mdoom.
27635 * manual/platform.texi: Document new functions __ppc_yield,
27636 __ppc_mdoio and __ppc_mdoom.
27638 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27640 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27641 (main): Mention "tls" pseudo-hwcap is legacy.
27642 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27644 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27646 * math/gen-libm-test.pl (parse_args): Output only string of
27647 arguments as text for test name, not full call or descriptions of
27648 tests for extra outputs.
27649 (generate_testfile): Do not pass function name to parse_args.
27650 Generate this_func variable from START.
27651 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27653 (struct test_ff_f_data): Likewise.
27654 (test_ff_f_data_nexttoward): Likewise.
27655 (struct test_fi_f_data): Likewise.
27656 (struct test_fl_f_data): Likewise.
27657 (struct test_if_f_data): Likewise.
27658 (struct test_fff_f_data): Likewise.
27659 (struct test_c_f_data): Likewise.
27660 (struct test_f_f1_data): Likewise. Remove field extra_name.
27661 (struct test_fF_f1_data): Likewise.
27662 (struct test_ffI_f1_data): Likewise.
27663 (struct test_c_c_data): Rename test_name field to arg_str.
27664 (struct test_cc_c_data): Likewise.
27665 (struct test_f_i_data): Likewise.
27666 (struct test_ff_i_data): Likewise.
27667 (struct test_f_l_data): Likewise.
27668 (struct test_f_L_data): Likewise.
27669 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27671 (COMMON_TEST_SETUP): New macro.
27672 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27673 (COMMON_TEST_CLEANUP): Likewise.
27674 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27675 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27677 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27678 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27680 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27681 (RUN_TEST_fff_f): Take argument string. Call new setup and
27683 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27684 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27686 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27687 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27689 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27690 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27692 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27693 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27695 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27696 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27698 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27699 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27701 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27702 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27704 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27705 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27707 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27708 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27710 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27711 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27713 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27714 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27716 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27717 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27719 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27720 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27722 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27723 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27725 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27726 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27728 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27730 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27732 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27733 to _sifields.sigfault.
27734 (si_addr_lsb): Define new macro.
27735 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27736 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27737 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27739 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27742 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27744 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27746 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27747 loading the domain.
27749 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27751 * math/gen-libm-test.pl (parse_args): Do not include expected
27752 result in test name.
27753 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27754 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27755 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27756 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27757 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27760 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27762 * benchtests/Makefile: Sort function entries.
27764 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27765 tanh, asinh, acosh, atanh.
27766 * benchtests/acos-inputs: New file.
27767 * benchtests/acosh-inputs: New file.
27768 * benchtests/asin-inputs: New file.
27769 * benchtests/asinh-inputs: New file.
27770 * benchtests/atanh-inputs: New file.
27771 * benchtests/cosh-inputs: New file.
27772 * benchtests/log-inputs: New file.
27773 * benchtests/sinh-inputs: New file.
27774 * benchtests/tanh-inputs: New file.
27776 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27779 * posix/tst-getaddrinfo4.c: New test.
27780 * posix/Makefile (tests): Add it.
27782 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27785 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27786 when no services were used.
27787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27788 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27790 2013-05-21 Andreas Schwab <schwab@suse.de>
27793 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27794 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27796 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27797 redundant variable declarations and reallocation of buffer when
27798 parsing as IPv6 address. Always set NSS status when called from
27799 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27800 buffer too small. Correct computation of needed size.
27801 * nss/Makefile (tests): Add test-digits-dots.
27802 * nss/test-digits-dots.c: New test.
27804 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27806 * benchtests/Makefile: Remove instructions for adding
27808 * benchtests/README: New file to explain how to execute and
27809 enhance the benchmark tests.
27811 2013-05-21 Andreas Schwab <schwab@suse.de>
27814 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27815 * setjmp/tst-sigsetjmp.c: New test.
27817 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27819 * sysdeps/x86_64/memset.S (memset): New implementation.
27820 (__bzero): Likewise.
27821 (__memset_tail): New function.
27823 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27825 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27826 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27827 __memcpy_sse2_unaligned ifunc selection.
27828 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27829 Add memcpy-sse2-unaligned.S.
27830 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27831 Add: __memcpy_sse2_unaligned.
27833 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27836 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27837 math_force_eval before restoring floating-point envrionment.
27838 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27839 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27841 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27843 (__nearbyintl): Use math_force_eval before restoring
27844 floating-point environment.
27845 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27847 * math/gen-libm-test.pl (special_functions): Remove.
27848 (parse_args): Don't handle TEST_extra. Handle functions with no
27850 * math/libm-test.inc (struct test_sincos_data): Replace with
27851 struct test_fFF_11_data.
27852 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27853 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27854 (sincos_test_data): Change element type to struct
27855 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27856 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27857 RUN_TEST_LOOP_sincos.
27858 * math/README.libm-test: Don't mention special handling of
27859 individual functions.
27860 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27861 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27862 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27863 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27864 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27867 * math/gen-libm-test.pl (get_variable): Remove function.
27868 (parse_args): Don't show pointer parameters to call in test
27869 names. Use "extra output N" in test names for extra outputs
27870 rather than naming variables.
27872 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27875 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27876 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27877 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27879 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27881 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27884 * math/gen-libm-test.pl (@tests): Remove variable.
27885 ($count): Likewise.
27886 (new_test): Remove function.
27887 (show_exceptions): New function.
27888 (special_functions): Use show_exceptions instead of new_test.
27889 (parse_args): Likewise.
27890 (generate_testfile): Pass only function name in generated call to
27891 print_max_error or print_complex_max_error.
27892 (get_ulps): Do not handle complex tests specially.
27893 (output_test): Rename to ...
27894 (get_all_ulps_for_test): ... this. Return a string rather than
27895 printing to a file. Require ulps to be present.
27896 (output_ulps): Generate arrays rather than #defines.
27897 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27898 (struct ulp_data): New type.
27899 (BUILD_COMPLEX_ULP): Remove macro.
27900 (compare_ulp_data): New function.
27901 (find_ulps): Likewise.
27902 (find_test_ulps): Likewise.
27903 (find_function_ulps): Likewise.
27904 (find_complex_function_ulps): Likewise.
27905 (print_max_error): Determine allowed ulps using
27906 find_function_ulps.
27907 (print_complex_max_error): Determine allowed ulps using
27908 find_complex_function_ulps.
27909 (check_float_internal): Determine max ulps using find_test_ulps.
27910 (check_float): Do not take max_ulp parameter. Update call to
27911 check_float_internal.
27912 (check_complex): Likewise.
27913 (check_int): Do not take max_ulp parameter.
27914 (check_long): Likewise.
27915 (check_bool): Likewise.
27916 (check_longlong): Likewise.
27917 (struct test_f_f_data): Remove max_ulp field.
27918 (struct test_ff_f_data): Likewise.
27919 (struct test_ff_f_data_nexttoward): Likewise.
27920 (struct test_fi_f_data): Likewise.
27921 (struct test_fl_f_data): Likewise.
27922 (struct test_if_f_data): Likewise.
27923 (struct test_fff_f_data): Likewise.
27924 (struct test_c_f_data): Likewise.
27925 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27926 (struct test_fF_f1_data): Likewise.
27927 (struct test_ffI_f1_data): Likewise.
27928 (struct test_c_c_data): Remove max_ulp field.
27929 (struct test_cc_c_data): Likewise.
27930 (struct test_f_i_data): Likewise.
27931 (struct test_ff_i_data): Likewise.
27932 (struct test_f_l_data): Likewise.
27933 (struct test_f_L_data): Likewise.
27934 (struct test_sincos_data): Likewise.
27935 (RUN_TEST_f_f): Do not handle ulps.
27936 (RUN_TEST_LOOP_f_f): Likewise.
27937 (RUN_TEST_2_f): Likewise.
27938 (RUN_TEST_LOOP_2_f): Likewise.
27939 (RUN_TEST_fff_f): Likewise.
27940 (RUN_TEST_LOOP_fff_f): Likewise.
27941 (RUN_TEST_c_f): Likewise.
27942 (RUN_TEST_LOOP_c_f): Likewise.
27943 (RUN_TEST_f_f1): Likewise.
27944 (RUN_TEST_LOOP_f_f1): Likewise.
27945 (RUN_TEST_fF_f1): Likewise.
27946 (RUN_TEST_LOOP_fF_f1): Likewise.
27947 (RUN_TEST_fI_f1): Likewise.
27948 (RUN_TEST_LOOP_fI_f1): Likewise.
27949 (RUN_TEST_ffI_f1): Likewise.
27950 (RUN_TEST_LOOP_ffI_f1): Likewise.
27951 (RUN_TEST_c_c): Likewise.
27952 (RUN_TEST_LOOP_c_c): Likewise.
27953 (RUN_TEST_cc_c): Likewise.
27954 (RUN_TEST_LOOP_cc_c): Likewise.
27955 (RUN_TEST_f_i): Likewise.
27956 (RUN_TEST_LOOP_f_i): Likewise.
27957 (RUN_TEST_f_i_tg): Likewise.
27958 (RUN_TEST_LOOP_f_i_tg): Likewise.
27959 (RUN_TEST_ff_i_tg): Likewise.
27960 (RUN_TEST_LOOP_ff_i_tg): Likewise.
27961 (RUN_TEST_f_b): Likewise.
27962 (RUN_TEST_LOOP_f_b): Likewise.
27963 (RUN_TEST_f_b_tg): Likewise.
27964 (RUN_TEST_LOOP_f_b_tg): Likewise.
27965 (RUN_TEST_f_l): Likewise.
27966 (RUN_TEST_LOOP_f_l): Likewise.
27967 (RUN_TEST_f_L): Likewise.
27968 (RUN_TEST_LOOP_f_L): Likewise.
27969 (RUN_TEST_sincos): Likewise.
27970 (RUN_TEST_LOOP_sincos): Likewise.
27972 2013-05-17 Joseph Myers <joseph@codesourcery.com>
27976 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27977 main case of finite arguments, set rounding mode to FE_TONEAREST
27978 and discard exceptions.
27979 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27981 (remainder_tonearest_test_data): New variable.
27982 (remainder_test_tonearest): New function.
27983 (remainder_towardzero_test_data): New variable.
27984 (remainder_test_towardzero): New function.
27985 (remainder_downward_test_data): New variable.
27986 (remainder_test_downward): New function.
27987 (remainder_upward_test_data): New variable.
27988 (remainder_test_upward): New function.
27989 (main): Call the new test functions.
27991 * math/libm-test.inc (struct test_f_f1_data): Remove field
27993 (struct test_fF_f1_data): Likewise.
27994 (struct test_ffI_f1_data): Likewise.
27995 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
27996 based on value of EXTRA_EXPECTED.
27997 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27998 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
27999 EXTRA_VAR based on value of EXTRA_EXPECTED.
28000 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28001 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28002 EXTRA_VAR based on value of EXTRA_EXPECTED.
28003 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28004 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28005 EXTRA_VAR based on value of EXTRA_EXPECTED.
28006 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28007 * math/gen-libm-test.pl (parse_args): Don't output initializers
28008 for extra output values.
28010 * math/libm-test.inc (check_int): Expect result to be exactly
28011 equal to expected value and do not handle ulps.
28012 (check_long): Likewise.
28013 (check_longlong): Likewise.
28015 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28017 (cimag_test_data): Likewise.
28018 (conj_test_data): Likewise.
28019 (copysign_test_data): Likewise.
28020 (cproj_test_data): Likewise.
28021 (creal_test_data): Likewise.
28022 (fabs_test_data): Likewise.
28023 (fdim_test_data): Likewise.
28024 (finite_test_data): Likewise.
28025 (floor_test_data): Likewise.
28026 (fmax_test_data): Likewise.
28027 (fmin_test_data): Likewise.
28028 (fmod_test_data): Likewise.
28029 (fpclassify_test_data): Likewise.
28030 (frexp_test_data): Likewise.
28031 (ilogb_test_data): Likewise.
28032 (isfinite_test_data): Likewise.
28033 (isgreater_test_data): Likewise.
28034 (isgreaterequal_test_data): Likewise.
28035 (isinf_test_data): Likewise.
28036 (isless_test_data): Likewise.
28037 (islessequal_test_data): Likewise.
28038 (islessgreater_test_data): Likewise.
28039 (isnan_test_data): Likewise.
28040 (isnormal_test_data): Likewise.
28041 (issignaling_test_data): Likewise.
28042 (isunordered_test_data): Likewise.
28043 (ldexp_test_data): Likewise.
28044 (lrint_test_data): Likewise.
28045 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28046 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28047 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28048 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28049 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28050 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28052 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28053 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28054 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28055 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28057 (lrint_downward_test_data): Test for "inexact" exceptions.
28058 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28059 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28060 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28062 (lrint_upward_test_data): Test for "inexact" exceptions.
28063 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28065 (llrint_test_data): Test for "inexact" exceptions.
28066 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28067 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28068 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28069 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28070 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28071 (llrint_downward_test_data): Test for "inexact" exceptions.
28072 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28073 (llrint_upward_test_data): Test for "inexact" exceptions.
28074 (logb_test_data): Likewise.
28075 (logb_downward_test_data): Likewise.
28076 (nextafter_test_data): Likewise.
28077 (nexttoward_test_data): Likewise.
28078 (remainder_test_data): Likewise.
28079 (remquo_test_data): Likewise.
28080 (scalbn_test_data): Likewise.
28081 (scalbln_test_data): Likewise.
28082 (signbit_test_data): Likewise.
28083 (sqrt_test_data): Likewise.
28084 (significand_test_data): Likewise.
28086 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28089 * benchtests/bench-modf.c (struct args): Mark arg0 as
28091 * scripts/bench.pl: Mark members of struct args as volatile.
28093 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28096 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28097 negative infinity on POWER6 or lower.
28098 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28100 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28103 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28104 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28105 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28106 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28107 (_FP_SETQNAN): New macro.
28108 (_FP_SETQNAN_SEMIRAW): Likewise.
28109 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28110 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28111 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28112 (FP_EXTEND): Use _FP_FRAC_SNANP.
28113 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28114 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28116 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28118 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28121 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28123 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28124 with DIVIDE_BY_ZERO_EXCEPTION.
28125 (gamma_test_data): Likewise.
28126 (lgamma_test_data): Likewise.
28127 (log_test_data): Likewise.
28128 (log10_test_data): Likewise.
28129 (log2_test_data): Likewise.
28130 (tgamma_test_data): Likewise.
28132 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28133 (acos_test_tonearest): Likewise.
28134 (acos_test_towardzero): Likewise.
28135 (acos_test_downward): Likewise.
28136 (acos_test_upward): Likewise.
28137 (acosh_test): Likewise.
28138 (asin_test): Likewise.
28139 (asin_test_tonearest): Likewise.
28140 (asin_test_towardzero): Likewise.
28141 (asin_test_downward): Likewise.
28142 (asin_test_upward): Likewise.
28143 (asinh_test): Likewise.
28144 (atan_test): Likewise.
28145 (atanh_test): Likewise.
28146 (atan2_test): Likewise.
28147 (cabs_test): Likewise.
28148 (cacos_test): Likewise.
28149 (cacosh_test): Likewise.
28150 (casin_test): Likewise.
28151 (casinh_test): Likewise.
28152 (catan_test): Likewise.
28153 (catanh_test): Likewise.
28154 (cbrt_test): Likewise.
28155 (ccos_test): Likewise.
28156 (ccosh_test): Likewise.
28157 (cexp_test): Likewise.
28158 (clog_test): Likewise.
28159 (clog10_test): Likewise.
28160 (cos_test): Likewise.
28161 (cos_test_tonearest): Likewise.
28162 (cos_test_towardzero): Likewise.
28163 (cos_test_downward): Likewise.
28164 (cos_test_upward): Likewise.
28165 (cosh_test): Likewise.
28166 (cosh_test_tonearest): Likewise.
28167 (cosh_test_towardzero): Likewise.
28168 (cosh_test_downward): Likewise.
28169 (cosh_test_upward): Likewise.
28170 (cpow_test): Likewise.
28171 (csin_test): Likewise.
28172 (csinh_test): Likewise.
28173 (csqrt_test): Likewise.
28174 (ctan_test): Likewise.
28175 (ctan_test_tonearest): Likewise.
28176 (ctan_test_towardzero): Likewise.
28177 (ctan_test_downward): Likewise.
28178 (ctan_test_upward): Likewise.
28179 (ctanh_test): Likewise.
28180 (ctanh_test_tonearest): Likewise.
28181 (ctanh_test_towardzero): Likewise.
28182 (ctanh_test_downward): Likewise.
28183 (ctanh_test_upward): Likewise.
28184 (erf_test): Likewise.
28185 (erfc_test): Likewise.
28186 (exp_test): Likewise.
28187 (exp_test_tonearest): Likewise.
28188 (exp_test_towardzero): Likewise.
28189 (exp_test_downward): Likewise.
28190 (exp_test_upward): Likewise.
28191 (exp10_test): Likewise.
28192 (exp2_test): Likewise.
28193 (expm1_test): Likewise.
28194 (fmod_test): Likewise.
28195 (gamma_test): Likewise.
28196 (hypot_test): Likewise.
28197 (j0_test): Likewise.
28198 (j1_test): Likewise.
28199 (jn_test): Likewise.
28200 (lgamma_test): Likewise.
28201 (log_test): Likewise.
28202 (log10_test): Likewise.
28203 (log1p_test): Likewise.
28204 (log2_test): Likewise.
28205 (logb_test_downward): Likewise.
28206 (pow_test): Likewise.
28207 (pow_test_tonearest): Likewise.
28208 (pow_test_towardzero): Likewise.
28209 (pow_test_downward): Likewise.
28210 (pow_test_upward): Likewise.
28211 (remainder_test): Likewise.
28212 (remquo_test): Likewise.
28213 (sin_test): Likewise.
28214 (sin_test_tonearest): Likewise.
28215 (sin_test_towardzero): Likewise.
28216 (sin_test_downward): Likewise.
28217 (sin_test_upward): Likewise.
28218 (sincos_test): Likewise.
28219 (sinh_test): Likewise.
28220 (sinh_test_tonearest): Likewise.
28221 (sinh_test_towardzero): Likewise.
28222 (sinh_test_downward): Likewise.
28223 (sinh_test_upward): Likewise.
28224 (sqrt_test): Likewise.
28225 (tan_test): Likewise.
28226 (tan_test_tonearest): Likewise.
28227 (tan_test_towardzero): Likewise.
28228 (tan_test_downward): Likewise.
28229 (tan_test_upward): Likewise.
28230 (tanh_test): Likewise.
28231 (tgamma_test): Likewise.
28232 (y0_test): Likewise.
28233 (y1_test): Likewise.
28234 (yn_test): Likewise.
28236 * math/gen-libm-test.pl (adjust_arg): Remove function.
28237 (special_function): Remove argument $in_func. Only handle
28238 generating output for tables of tests, not inside functions.
28239 (parse_args): Likewise.
28240 (generate_testfile): Remove variable $in_func. Update call to
28242 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28243 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28244 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28245 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28246 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28247 (MAX_VALUE_INIT): Rename macro to max_value.
28248 (MIN_VALUE_INIT): Rename macro to min_value.
28249 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28250 (plus_zero): Remove variable.
28251 (minus_zero): Likewise.
28252 (plus_infty): Likewise.
28253 (minus_infty): Likewise.
28254 (qnan_value): Likewise.
28255 (max_value): Likewise.
28256 (min_value): Likewise.
28257 (min_subnorm_value): Likewise.
28259 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28261 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28262 uint64_t or uint32_t usage.
28263 * crypt/sha256-block.c: Likewise.
28264 * crypt/sha256-crypt.c: Likewise.
28265 * crypt/sha256.c: Likewise.
28266 * crypt/sha512-block.c: Likewise.
28267 * crypt/sha512-crypt.c: Likewise.
28268 * crypt/sha512.c: Likewise.
28269 * debug/backtrace-tst.c: Likewise.
28270 * debug/pcprofiledump.c: Likewise.
28271 * elf/cache.c: Likewise.
28272 * elf/dl-cache.c: Likewise.
28273 * elf/dl-misc.c: Likewise.
28274 * elf/dl-profile.c: Likewise.
28275 * elf/dl-support.c: Likewise.
28276 * elf/ldconfig.c: Likewise.
28277 * elf/sprof.c: Likewise.
28278 * iconv/dummy-repertoire.c: Likewise.
28279 * iconv/iconv_charmap.c: Likewise.
28280 * iconv/skeleton.c: Likewise.
28281 * iconvdata/8bit-generic.c: Likewise.
28282 * iconvdata/cp737.h: Likewise.
28283 * iconvdata/cp775.h: Likewise.
28284 * iconvdata/ibm1008.h: Likewise.
28285 * iconvdata/ibm1025.h: Likewise.
28286 * iconvdata/ibm1046.h: Likewise.
28287 * iconvdata/ibm1097.h: Likewise.
28288 * iconvdata/ibm1112.h: Likewise.
28289 * iconvdata/ibm1122.h: Likewise.
28290 * iconvdata/ibm1123.h: Likewise.
28291 * iconvdata/ibm1124.h: Likewise.
28292 * iconvdata/ibm1129.h: Likewise.
28293 * iconvdata/ibm1130.h: Likewise.
28294 * iconvdata/ibm1132.h: Likewise.
28295 * iconvdata/ibm1133.h: Likewise.
28296 * iconvdata/ibm1137.h: Likewise.
28297 * iconvdata/ibm1140.h: Likewise.
28298 * iconvdata/ibm1141.h: Likewise.
28299 * iconvdata/ibm1142.h: Likewise.
28300 * iconvdata/ibm1143.h: Likewise.
28301 * iconvdata/ibm1144.h: Likewise.
28302 * iconvdata/ibm1145.h: Likewise.
28303 * iconvdata/ibm1146.h: Likewise.
28304 * iconvdata/ibm1147.h: Likewise.
28305 * iconvdata/ibm1148.h: Likewise.
28306 * iconvdata/ibm1149.h: Likewise.
28307 * iconvdata/ibm1153.h: Likewise.
28308 * iconvdata/ibm1154.h: Likewise.
28309 * iconvdata/ibm1155.h: Likewise.
28310 * iconvdata/ibm1156.h: Likewise.
28311 * iconvdata/ibm1157.h: Likewise.
28312 * iconvdata/ibm1158.h: Likewise.
28313 * iconvdata/ibm1160.h: Likewise.
28314 * iconvdata/ibm1161.h: Likewise.
28315 * iconvdata/ibm1162.h: Likewise.
28316 * iconvdata/ibm1163.h: Likewise.
28317 * iconvdata/ibm1164.h: Likewise.
28318 * iconvdata/ibm1166.h: Likewise.
28319 * iconvdata/ibm1167.h: Likewise.
28320 * iconvdata/ibm12712.h: Likewise.
28321 * iconvdata/ibm1390.h: Likewise.
28322 * iconvdata/ibm1399.h: Likewise.
28323 * iconvdata/ibm16804.h: Likewise.
28324 * iconvdata/ibm4517.h: Likewise.
28325 * iconvdata/ibm4899.h: Likewise.
28326 * iconvdata/ibm4909.h: Likewise.
28327 * iconvdata/ibm4971.h: Likewise.
28328 * iconvdata/ibm5347.h: Likewise.
28329 * iconvdata/ibm803.h: Likewise.
28330 * iconvdata/ibm856.h: Likewise.
28331 * iconvdata/ibm901.h: Likewise.
28332 * iconvdata/ibm902.h: Likewise.
28333 * iconvdata/ibm9030.h: Likewise.
28334 * iconvdata/ibm9066.h: Likewise.
28335 * iconvdata/ibm921.h: Likewise.
28336 * iconvdata/ibm922.h: Likewise.
28337 * iconvdata/ibm9448.h: Likewise.
28338 * iconvdata/isiri-3342.h: Likewise.
28339 * iconvdata/jis0201.h: Likewise.
28340 * include/link.h: Likewise.
28341 * include/netdb.h: Likewise.
28342 * inet/check_native.c: Likewise.
28343 * inet/check_pf.c: Likewise.
28344 * inet/getipv4sourcefilter.c: Likewise.
28345 * inet/getnameinfo.c: Likewise.
28346 * inet/getsourcefilter.c: Likewise.
28347 * inet/htonl.c: Likewise.
28348 * inet/setipv4sourcefilter.c: Likewise.
28349 * inet/setsourcefilter.c: Likewise.
28350 * inet/test-inet6_opt.c: Likewise.
28351 * inet/tst-network.c: Likewise.
28352 * locale/C-collate.c: Likewise.
28353 * locale/C-ctype.c: Likewise.
28354 * locale/C-time.c: Likewise.
28355 * locale/C-translit.h: Likewise.
28356 * locale/loadarchive.c: Likewise.
28357 * locale/programs/3level.h: Likewise.
28358 * locale/programs/charmap.c: Likewise.
28359 * locale/programs/charmap.h: Likewise.
28360 * locale/programs/ld-address.c: Likewise.
28361 * locale/programs/ld-collate.c: Likewise.
28362 * locale/programs/ld-ctype.c: Likewise.
28363 * locale/programs/ld-identification.c: Likewise.
28364 * locale/programs/ld-measurement.c: Likewise.
28365 * locale/programs/ld-messages.c: Likewise.
28366 * locale/programs/ld-monetary.c: Likewise.
28367 * locale/programs/ld-name.c: Likewise.
28368 * locale/programs/ld-numeric.c: Likewise.
28369 * locale/programs/ld-paper.c: Likewise.
28370 * locale/programs/ld-telephone.c: Likewise.
28371 * locale/programs/ld-time.c: Likewise.
28372 * locale/programs/linereader.c: Likewise.
28373 * locale/programs/locale.c: Likewise.
28374 * locale/programs/locarchive.c: Likewise.
28375 * locale/programs/locfile.h: Likewise.
28376 * locale/programs/repertoire.c: Likewise.
28377 * locale/programs/simple-hash.c: Likewise.
28378 * locale/programs/simple-hash.h: Likewise.
28379 * malloc/memusage.c: Likewise.
28380 * malloc/memusagestat.c: Likewise.
28381 * nis/nis_defaults.c: Likewise.
28382 * nis/nis_hash.c: Likewise.
28383 * nis/nis_print.c: Likewise.
28384 * nis/nis_xdr.c: Likewise.
28385 * nscd/connections.c: Likewise.
28386 * nscd/hstcache.c: Likewise.
28387 * nscd/nscd_gethst_r.c: Likewise.
28388 * nscd/nscd_getserv_r.c: Likewise.
28389 * nscd/nscd_helper.c: Likewise.
28390 * nscd/servicescache.c: Likewise.
28391 * nss/makedb.c: Likewise.
28392 * nss/nss_db/db-XXX.c: Likewise.
28393 * nss/nss_db/db-initgroups.c: Likewise.
28394 * nss/nss_db/db-netgrp.c: Likewise.
28395 * nss/nss_files/files-network.c: Likewise.
28396 * nss/nss_files/files-parse.c: Likewise.
28397 * posix/bug-regex5.c: Likewise.
28398 * posix/fnmatch_loop.c: Likewise.
28399 * posix/regcomp.c: Likewise.
28400 * posix/regexec.c: Likewise.
28401 * posix/tst-rfc3484-2.c: Likewise.
28402 * posix/tst-rfc3484-3.c: Likewise.
28403 * posix/tst-rfc3484.c: Likewise.
28404 * resolv/nss_dns/dns-canon.c: Likewise.
28405 * resolv/nss_dns/dns-network.c: Likewise.
28406 * resolv/res_init.c: Likewise.
28407 * resolv/res_mkquery.c: Likewise.
28408 * resolv/tst-aton.c: Likewise.
28409 * stdlib/cxa_atexit.c: Likewise.
28410 * stdlib/cxa_finalize.c: Likewise.
28411 * stdlib/gen-fpioconst.c: Likewise.
28412 * stdlib/strtol_l.c: Likewise.
28413 * string/tst-endian.c: Likewise.
28414 * sunrpc/auth_des.c: Likewise.
28415 * sunrpc/clnt_udp.c: Likewise.
28416 * sunrpc/rtime.c: Likewise.
28417 * sunrpc/svcauth_des.c: Likewise.
28418 * sunrpc/xdr.c: Likewise.
28419 * sunrpc/xdr_intXX_t.c: Likewise.
28420 * sunrpc/xdr_rec.c: Likewise.
28421 * sysdeps/generic/ldconfig.h: Likewise.
28422 * sysdeps/generic/ldsodefs.h: Likewise.
28423 * sysdeps/generic/memusage.h: Likewise.
28424 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28425 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28426 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28427 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28428 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28430 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28431 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28432 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28433 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28434 * sysdeps/posix/getaddrinfo.c: Likewise.
28435 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28436 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28437 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28438 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28439 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28440 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28441 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28442 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28443 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28444 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28445 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28446 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28447 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28448 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28449 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28450 * sysdeps/x86_64/dl-tls.h: Likewise.
28451 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28452 * time/alt_digit.c: Likewise.
28453 * time/era.c: Likewise.
28454 * wcsmbs/tst-c16c32-1.c: Likewise.
28456 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28458 * math/libm-test.inc (struct test_sincos_data): New type.
28459 (RUN_TEST_LOOP_sincos): New macro.
28460 (sincos_test_data): New variable.
28461 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28463 2013-05-16 Richard Henderson <rth@redhat.com>
28465 * math/atest-exp2.c (LIMB64): New macro.
28466 (CONSTSZ): New macro.
28467 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28469 (print_mpn_fp): ... to function scope.
28470 (read_mpn_hex): Remove.
28471 (get_log2): Remove.
28472 (exp2_mpn): Use mp_log2.
28473 (main): Use mp_exp1.
28475 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28477 * math/libm-test.inc: Remove comment about not testing "inexact"
28479 (INEXACT_EXCEPTION): New macro.
28480 (NO_INEXACT_EXCEPTION): Likewise.
28481 (INVALID_EXCEPTION_OK): Update value.
28482 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28483 (OVERFLOW_EXCEPTION_OK): Likewise.
28484 (UNDERFLOW_EXCEPTION_OK): Likewise.
28485 (IGNORE_ZERO_INF_SIGN): Likewise.
28486 (ERRNO_UNCHANGED): Likewise.
28487 (ERRNO_EDOM): Likewise.
28488 (ERRNO_ERANGE): Likewise.
28489 (test_exceptions): Handle testing "inexact" exceptions.
28490 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28491 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28492 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28493 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28495 (rint_towardzero_test_data): Likewise.
28496 (rint_downward_test_data): Likewise.
28497 (rint_upward_test_data): Likewise.
28499 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28500 with OVERFLOW_EXCEPTION.
28501 (exp10_test_data): Likewise.
28502 (exp2_test_data): Likewise.
28503 (expm1_test_data): Likewise.
28504 (lgamma_test_data): Likewise.
28505 (pow_test_data): Likewise.
28506 (tgamma_test_data): Likewise.
28507 (yn_test_data): Remove duplicate test of overflow.
28509 * math/libm-test.inc (struct test_cc_c_data): New type.
28510 (RUN_TEST_LOOP_cc_c): New macro.
28511 (cpow_test_data): New variable.
28512 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28514 * math/libm-test.inc (struct test_f_L_data): New type.
28515 (RUN_TEST_LOOP_f_L): New macro.
28516 (llrint_test_data): New variable.
28517 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28518 (llrint_tonearest_test_data): New variable.
28519 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28520 (llrint_towardzero_test_data): New variable.
28521 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28522 (llrint_downward_test_data): New variable.
28523 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28524 (llrint_upward_test_data): New variable.
28525 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28526 (llround_test_data): New variable.
28527 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28529 2013-05-13 Peter Collingbourne <pcc@google.com>
28531 * math/atest-exp2.c (get_log2): Remove const attribute.
28533 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28535 * math/libm-test.inc (struct test_f_l_data): New type.
28536 (RUN_TEST_LOOP_f_l): New macro.
28537 (lrint_test_data): New variable.
28538 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28539 (lrint_tonearest_test_data): New variable.
28540 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28541 (lrint_towardzero_test_data): New variable.
28542 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28543 (lrint_downward_test_data): New variable.
28544 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28545 (lrint_upward_test_data): New variable.
28546 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28547 (lround_test_data): New variable.
28548 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28550 2013-05-15 Peter Collingbourne <pcc@google.com>
28552 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28553 (EXTRACT_WORDS64) Use where appropriate.
28554 (INSERT_WORDS64) Likewise.
28556 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28557 constraints with x constraints.
28558 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28560 * malloc/obstack.c (_obstack_compat): Add initializer.
28562 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28564 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28565 si_trapno and add si_addr_lsb to _sifields.sigfault.
28566 (si_trapno): Remove macro.
28567 (si_addr_lsb): Define new macro.
28568 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28570 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28572 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28573 instead of TEST_f_l.
28574 (llrint_test_tonearest): Likewise.
28575 (llrint_test_towardzero): Likewise.
28576 (llrint_test_downward): Likewise.
28577 (llrint_test_upward): Likewise.
28578 (llround_test): Likewise.
28580 * math/libm-test.inc (struct test_f_i_data): Add comment.
28581 (RUN_TEST_LOOP_f_b): New macro.
28582 (RUN_TEST_LOOP_f_b_tg): Likewise.
28583 (finite_test_data): New variable.
28584 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28585 (isfinite_test_data): New variable.
28586 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28587 (isinf_test_data): New variable.
28588 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28589 (isnan_test_data): New variable.
28590 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28591 (isnormal_test_data): New variable.
28592 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28593 (issignaling_test_data): New variable.
28594 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28595 (signbit_test_data): New variable.
28596 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28598 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28599 with INVALID_EXCEPTION.
28600 (acosh_test_data): Likewise.
28601 (asin_test_data): Likewise.
28602 (atanh_test_data): Likewise.
28603 (fmod_test_data): Likewise.
28604 (log_test_data): Likewise.
28605 (log10_test_data): Likewise.
28606 (log2_test_data): Likewise.
28607 (pow_test_data): Likewise.
28608 (sqrt_test_data): Likewise.
28609 (y0_test_data): Likewise.
28610 (y1_test_data): Likewise.
28611 (yn_test_data): Likewise.
28613 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28616 * math/libm-test.inc (struct test_ff_i_data): New type.
28617 (RUN_TEST_LOOP_ff_i_tg): New macro.
28618 (isgreater_test_data): New variable.
28619 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28620 (isgreaterequal_test_data): New variable.
28621 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28622 (isless_test_data): New variable.
28623 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28624 (islessequal_test_data): New variable.
28625 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28626 (islessgreater_test_data): New variable.
28627 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28628 (isunordered_test_data): New variable.
28629 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28631 2013-05-14 David S. Miller <davem@davemloft.net>
28633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28635 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28637 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28639 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28641 (struct test_f_i_data): Change type of max_ulp to int.
28643 * math/libm-test.inc (test_ffI_f1_data): New type.
28644 (RUN_TEST_LOOP_ffI_f1): New macro.
28645 (remquo_test_data): New variable.
28646 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28648 * setjmp/tst-setjmp-fp.c: New file.
28649 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28650 (link-libm): New variable.
28651 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28653 * math/libm-test.inc (struct test_f_i_data): New type.
28654 (RUN_TEST_LOOP_f_i): New macro.
28655 (RUN_TEST_LOOP_f_i_tg): Likewise.
28656 (fpclassify_test_data): New variable.
28657 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28658 (ilogb_test_data): New variable.
28659 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28661 * math/libm-test.inc (scalbln_test): Correct function name in END
28664 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28665 (RUN_TEST_LOOP_fI_f1): New macro.
28666 (frexp_test_data): New variable.
28667 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28669 * math/libm-test.inc (struct test_fF_f1_data): New type.
28670 (RUN_TEST_LOOP_fF_f1): New macro.
28671 (modf_test_data): New variable.
28672 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28674 * math/libm-test.inc (struct test_f_f1_data): New type.
28675 (RUN_TEST_LOOP_f_f1): New macro.
28676 (gamma_test_data): New variable.
28677 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28678 (lgamma_test_data): New variable.
28679 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28681 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28683 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28684 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28685 (main): Comment "tls" pseudo-hwcap.
28687 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28689 * math/libm-test.inc (struct test_fl_f_data): New type.
28690 (RUN_TEST_LOOP_fl_f): New variable.
28691 (scalbln_test_data): New variable.
28692 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28694 * math/libm-test.inc (struct test_fi_f_data): New type.
28695 (RUN_TEST_LOOP_fi_f): New macro.
28696 (ldexp_test_data): New variable.
28697 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28698 (scalbn_test_data): New variable.
28699 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28701 * math/libm-test.inc (struct test_c_f_data): New type.
28702 (RUN_TEST_LOOP_c_f): New macro.
28703 (cabs_test_data): New variable.
28704 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28705 (carg_test_data): New variable.
28706 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28707 (cimag_test_data): New variable.
28708 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28709 (creal_test_data): New variable.
28710 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28712 * math/libm-test.inc (struct test_if_f_data): New type.
28713 (RUN_TEST_LOOP_if_f): New macro.
28714 (jn_test_data): New variable.
28715 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28716 (yn_test_data): New variable.
28717 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28719 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28721 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28723 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28724 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28726 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28728 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28729 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28730 (bench-deps): Add bench-timing.h.
28731 * benchtests-bench-skeleton.c: Include bench-timing.h.
28732 (main): Use TIMING_* macros instead of clock_gettime.
28733 * benchtests/bench-timing.h: New file.
28736 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28737 Renamed from _LIB_VERSION.
28738 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28740 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28742 * math/libm-test.inc (struct test_fff_f_data): New type.
28743 (RUN_TEST_LOOP_fff_f): New macro.
28744 (fma_test_data): New variable.
28745 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28746 (fma_towardzero_test_data): New variable.
28747 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28748 (fma_downward_test_data): New variable.
28749 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28750 (fma_upward_test_data): New variable.
28751 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28753 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28754 (struct test_c_c_data): New type.
28755 (RUN_TEST_LOOP_c_c): New macro.
28756 (cacos_test_data): New variable.
28757 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28758 (cacosh_test_data): New variable.
28759 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28760 (casin_test_data): New variable.
28761 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28762 (casinh_test_data): New variable.
28763 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28764 (catan_test_data): New variable.
28765 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28766 (catanh_test_data): New variable.
28767 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28768 (ccos_test_data): New variable.
28769 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28770 (ccosh_test_data): New variable.
28771 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28772 (cexp_test_data): New variable.
28773 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28774 (clog_test_data): New variable.
28775 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28776 (clog10_test_data): New variable.
28777 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28778 (conj_test_data): New variable.
28779 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28780 (cproj_test_data): New variable.
28781 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28782 (csin_test_data): New variable.
28783 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28784 (csinh_test_data): New variable.
28785 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28786 (csqrt_test_data): New variable.
28787 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28788 (ctan_test_data): New variable.
28789 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28790 (ctan_tonearest_test_data): New variable.
28791 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28792 (ctan_towardzero_test_data): New variable.
28793 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28794 (ctan_downward_test_data): New variable.
28795 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28796 (ctan_upward_test_data): New variable.
28797 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28798 (ctanh_test_data): New variable.
28799 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28800 (ctanh_tonearest_test_data): New variable.
28801 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28802 (ctanh_towardzero_test_data): New variable.
28803 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28804 (ctanh_downward_test_data): New variable.
28805 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28806 (ctanh_upward_test_data): New variable.
28807 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28808 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28811 * math/libm-test.inc (struct test_ff_f_data): New type.
28812 (struct test_ff_f_data_nexttoward): Likewise.
28813 (RUN_TEST_LOOP_2_f): New macro.
28814 (RUN_TEST_LOOP_ff_f): Likewise.
28815 (atan2_test_data): New variable.
28816 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28817 (copysign_test_data): New variable.
28818 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28819 (fdim_test_data): New variable.
28820 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28821 (fmax_test_data): New variable.
28822 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28823 (fmin_test_data): New variable.
28824 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28825 (fmod_test_data): New variable.
28826 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28827 (hypot_test_data): New variable.
28828 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28829 (nextafter_test_data): New variable.
28830 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28831 (nexttoward_test_data): New variable.
28832 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28833 (pow_test_data): New variable.
28834 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28835 (pow_tonearest_test_data): New variable.
28836 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28837 (pow_towardzero_test_data): New variable.
28838 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28839 (pow_downward_test_data): New variable.
28840 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28841 (pow_upward_test_data): New variable.
28842 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28843 (remainder_test_data): New variable.
28844 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28845 (scalb_test_data): New variable.
28846 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28847 * sysdeps/i386/fpu/libm-test-ulps: Update.
28849 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28851 * math/libm-test.inc (fma_test): Use max_value instead of local
28853 (nextafter_test): Likewise.
28855 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28856 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28857 (acos_downward_test_data): New variable.
28858 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28859 (acos_upward_test_data): New variable.
28860 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28861 (acosh_test_data): New variable.
28862 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28863 (asin_test_data): New variable.
28864 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28865 (asin_tonearest_test_data): New variable.
28866 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28867 (asin_towardzero_test_data): New variable.
28868 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28869 (asin_downward_test_data): New variable.
28870 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28871 (asin_upward_test_data): New variable.
28872 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28873 (asinh_test_data): New variable.
28874 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28875 (atan_test_data): New variable.
28876 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28877 (atanh_test_data): New variable.
28878 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28879 (cbrt_test_data): New variable.
28880 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28881 (ceil_test_data): New variable.
28882 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28883 (cos_test_data): New variable.
28884 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28885 (cos_tonearest_test_data): New variable.
28886 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28887 (cos_towardzero_test_data): New variable.
28888 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28889 (cos_downward_test_data): New variable.
28890 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28891 (cos_upward_test_data): New variable.
28892 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28893 (cosh_test_data): New variable.
28894 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28895 (cosh_tonearest_test_data): New variable.
28896 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28897 (cosh_towardzero_test_data): New variable.
28898 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28899 (cosh_downward_test_data): New variable.
28900 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28901 (cosh_upward_test_data): New variable.
28902 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28903 (erf_test_data): New variable.
28904 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28905 (erfc_test_data): New variable.
28906 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28907 (exp_test_data): New variable.
28908 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28909 (exp_tonearest_test_data): New variable.
28910 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28911 (exp_towardzero_test_data): New variable.
28912 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28913 (exp_downward_test_data): New variable.
28914 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28915 (exp_upward_test_data): New variable.
28916 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28917 (exp10_test_data): New variable.
28918 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28919 (exp2_test_data): New variable.
28920 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28921 (expm1_test_data): New variable.
28922 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28923 (fabs_test_data): New variable.
28924 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28925 (floor_test_data): New variable.
28926 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28927 (j0_test_data): New variable.
28928 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28929 (j1_test_data): New variable.
28930 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28931 (log_test_data): New variable.
28932 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28933 (log10_test_data): New variable.
28934 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28935 (log1p_test_data): New variable.
28936 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28937 (log2_test_data): New variable.
28938 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28939 (logb_test_data): New variable.
28940 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28941 (logb_downward_test_data): New variable.
28942 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28943 (nearbyint_test_data): New variable.
28944 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28945 (rint_test_data): New variable.
28946 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28947 (rint_tonearest_test_data): New variable.
28948 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28949 (rint_towardzero_test_data): New variable.
28950 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28951 (rint_downward_test_data): New variable.
28952 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28953 (rint_upward_test_data): New variable.
28954 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28955 (round_test_data): New variable.
28956 (round_test): Run tests with RUN_TEST_LOOP_f_f.
28957 (sin_test_data): New variable.
28958 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28959 (sin_tonearest_test_data): New variable.
28960 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28961 (sin_towardzero_test_data): New variable.
28962 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28963 (sin_downward_test_data): New variable.
28964 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28965 (sin_upward_test_data): New variable.
28966 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28967 (sinh_test_data): New variable.
28968 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28969 (sinh_tonearest_test_data): New variable.
28970 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28971 (sinh_towardzero_test_data): New variable.
28972 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28973 (sinh_downward_test_data): New variable.
28974 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28975 (sinh_upward_test_data): New variable.
28976 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28977 (sqrt_test_data): New variable.
28978 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28979 (tan_test_data): New variable.
28980 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28981 (tan_tonearest_test_data): New variable.
28982 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28983 (tan_towardzero_test_data): New variable.
28984 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28985 (tan_downward_test_data): New variable.
28986 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28987 (tan_upward_test_data): New variable.
28988 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28989 (tanh_test_data): New variable.
28990 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28991 (tgamma_test_data): New variable.
28992 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28993 (trunc_test_data): New variable.
28994 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28995 (y0_test_data): New variable.
28996 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28997 (y1_test_data): New variable.
28998 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28999 (significand_test_data): New variable.
29000 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29002 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29005 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29007 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29009 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29011 2013-05-10 Andreas Jaeger <aj@suse.de>
29014 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29015 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29017 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29019 * math/gen-libm-test.pl (adjust_arg): New function.
29020 (special_functions): Handle generating output in both functions
29022 (parse_args): Likewise.
29023 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29024 $in_func argument to parse_args.
29025 * math/libm-test.inc (struct test_f_f_data): New type.
29026 (IF_ROUND_INIT_): New macro.
29027 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29028 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29029 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29030 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29031 (ROUND_RESTORE_): Likewise.
29032 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29033 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29034 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29035 (ROUND_RESTORE_FE_UPWARD): Likewise.
29036 (RUN_TEST_LOOP_f_f): New macro.
29037 (acos_test_data): New variable.
29038 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29039 (acos_tonearest_test_data): New variable.
29040 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29042 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29044 * benchtests/bench-skeleton.c (startup): Fix coding style.
29046 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29049 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29050 negative infinity argument.
29051 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29052 negative infinity argument.
29053 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29054 negative infinity argument.
29055 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29058 2013-05-10 Florian Weimer <fweimer@redhat.com>
29060 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29061 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29062 * iconv/iconv_prog.c (main): Likewise.
29063 * locale/programs/charmap-dir.c (charmap_readdir)
29064 (fopen_uncompressed): Likewise.
29065 * locale/programs/locfile.c (siblings_uncached)
29066 (write_locale_data): Use lstat64 instead of lstat.
29067 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29070 2013-05-10 Andreas Jaeger <aj@suse.de>
29073 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29075 Include <locale.h>.
29077 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29079 * elf/dl-close.c (_dl_close_worker): Add comments.
29081 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29084 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29086 (__ieee754_rem_pio2l): Update comments.
29089 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29091 (__ieee754_rem_pio2l): Update comments.
29093 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29094 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29096 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29099 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29100 (M_PI_34_LOG10El): Likewise.
29101 (M_PI2_LOG10El): Likewise.
29102 (M_PI4_LOG10El): Likewise.
29103 (M_PI_LOG10El): Likewise.
29105 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29109 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29111 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29112 (MINUS_ZERO_INIT): Likewise.
29113 (PLUS_INFTY_INIT): Likewise.
29114 (MINUS_INFTY_INIT): Likewise.
29115 (QNAN_VALUE_INIT): Likewise.
29116 (MAX_VALUE_INIT): Likewise.
29117 (MIN_VALUE_INIT): Likewise.
29118 (MIN_SUBNORM_VALUE_INIT): Likewise.
29119 (plus_zero): Initialize with PLUS_ZERO_INIT.
29120 (minus_zero): Initialize with MINUS_ZERO_INIT.
29121 (plus_infty): Initialize with PLUS_INFTY_INIT.
29122 (minus_infty): Initialize with MINUS_INFTY_INIT.
29123 (qnan_value): Initialize with QNAN_VALUE_INIT.
29124 (max_value): Initialize with MAX_VALUE_INIT.
29125 (min_value): Initialize with MIN_VALUE_INIT.
29126 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29128 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29129 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29130 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29131 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29133 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29134 (RUN_TEST_2_f): Likewise.
29135 (RUN_TEST_ff_f): Likewise.
29136 (RUN_TEST_fi_f): Likewise.
29137 (RUN_TEST_fl_f): Likewise.
29138 (RUN_TEST_fff_f): Likewise.
29139 (RUN_TEST_c_f): Likewise.
29140 (RUN_TEST_f_f1): Likewise.
29141 (RUN_TEST_fF_f1): Likewise.
29142 (RUN_TEST_fI_f1): Likewise.
29143 (RUN_TEST_ffI_f1): Likewise.
29144 (RUN_TEST_c_c): Likewise.
29145 (RUN_TEST_cc_c): Likewise.
29146 (RUN_TEST_f_i): Likewise.
29147 (RUN_TEST_f_i_tg): Likewise.
29148 (RUN_TEST_ff_i_tg): Likewise.
29149 (RUN_TEST_f_b): Likewise.
29150 (RUN_TEST_f_b_tg): Likewise.
29151 (RUN_TEST_f_l): Likewise.
29152 (RUN_TEST_f_L): Likewise.
29153 (RUN_TEST_sincos): Likewise.
29154 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29155 whether to show exceptions. Do not include ");\n" in return
29157 (special_functions): Output call to RUN_TEST_sincos instead of
29158 check_float calls. Update calls to new_test.
29159 (parse_args): Output call to single RUN_TEST_* macro instead of
29160 check_* calls and other assignments. Update calls to new_test.
29166 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29167 input to result for tgamma overflow.
29168 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29169 (gamma_coeff): New variable.
29170 (NCOEFF): New macro.
29171 (gamma_positive): New function.
29172 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29173 underflow here. Use gamma_positive instead of exp (lgamma) for
29175 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29176 (gamma_coeff): New variable.
29177 (NCOEFF): New macro.
29178 (gammaf_positive): New function.
29179 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29180 underflow here. Use gamma_positive instead of exp (lgamma) for
29182 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29183 (gamma_coeff): New variable.
29184 (NCOEFF): New macro.
29185 (gammal_positive): New function.
29186 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29187 underflow here. Use gamma_positive instead of exp (lgamma) for
29189 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29190 (gamma_coeff): New variable.
29191 (NCOEFF): New macro.
29192 (gammal_positive): New function.
29193 (__ieee754_gammal_r): Handle positive infinity, overflow and
29194 underflow here. Handle NaN the same as positive infinity. Remove
29195 check x < 0xffffffff for negative integers. Use gamma_positive
29196 instead of exp (lgamma) for other arguments.
29197 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29198 (gamma_coeff): New variable.
29199 (NCOEFF): New macro.
29200 (gammal_positive): New function.
29201 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29202 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29203 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29204 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29205 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29206 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29207 * sysdeps/generic/math_private.h (__gamma_productf): New
29209 (__gamma_product): Likewise.
29210 (__gamma_productl): Likewise.
29211 * math/Makefile (libm-calls): Add gamma_product.
29212 * math/libm-test.inc (tgamma_test): Add more tests.
29213 * sysdeps/i386/fpu/libm-test-ulps: Update.
29214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29216 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29218 * benchtests/bench-skeleton.c (main): Preheat CPU.
29220 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29222 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29224 2013-05-07 Roland McGrath <roland@hack.frob.com>
29226 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29227 and _dl_skip_args_internal.
29229 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29231 * manual/message.texi (Message Translation): Talk about users.
29232 Message to key mapping impacts design.
29234 2013-05-06 Roland McGrath <roland@hack.frob.com>
29236 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29238 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29240 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29241 * sysdeps/wordsize-64/glob64.c: ... here.
29243 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29244 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29247 * debug/getlogin_r_chk.c: Moved to ...
29248 * login/getlogin_r_chk.c: ... here.
29249 * debug/Makefile (routines): Move getlogin_r_chk to ...
29250 * login/Makefile (routines): ... here.
29251 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29252 * login/Versions (libc: GLIBC_2.4): ... here.
29254 * io/poll.c (__poll): Renamed from poll.
29255 Add libc_hidden_def.
29256 (poll): Define as weak alias.
29258 * debug/ptsname_r_chk.c: Moved to ...
29259 * login/ptsname_r_chk.c: ... here.
29260 * debug/Makefile (routines): Move ptsname_r_chk to ...
29261 * login/Makefile (routines): ... here.
29262 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29263 * login/Versions (libc: GLIBC_2.4): ... here.
29265 * posix/getlogin.c: Moved to ...
29266 * login/getlogin.c: ... here.
29267 * posix/getlogin_r.c: Moved to ...
29268 * login/getlogin_r.c: ... here.
29269 * posix/getlogin_r.c: Moved to ...
29270 * login/getlogin_r.c: ... here.
29271 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29272 * login/Makefile (routines): ... here.
29273 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29274 * login/Versions (libc: GLIBC_2.0): ... here.
29276 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29277 (setrlimit): Define as weak alias.
29279 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29280 Call __ names for open, ftruncate, and close.
29281 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29282 (truncate): Define as weak alias.
29284 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29286 * math/gen-libm-test.pl (parse_args): Initialize x before each
29287 test of frexp, modf and remquo.
29289 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29290 test signgam value.
29292 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29296 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29298 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29300 2013-05-06 Roland McGrath <roland@hack.frob.com>
29302 * elf/dl-writev.h: New file.
29303 * elf/dl-misc.c: Include it.
29304 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29305 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29307 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29309 * math/libm-test.inc (noXFails): Remove variable.
29310 (noXPasses): Likewise.
29311 (BUILD_COMPLEX_INT): Remove macro.
29312 (print_screen): Remove xfail argument.
29313 (print_screen_max_error): Likewise.
29314 (update_stats): Likewise.
29315 (print_max_error): Likewise. Update calls to other affected
29317 (print_complex_max_error): Likewise.
29318 (test_single_exception): Update calls to print_screen.
29319 (test_single_errno): Likewise.
29320 (check_float_internal): Remove xfail argument. Update calls to
29321 other affected functions.
29322 (check_float): Likewise.
29323 (check_complex): Likewise.
29324 (check_int): Likewise.
29325 (check_long): Likewise.
29326 (check_bool): Likewise.
29327 (check_longlong): Likewise.
29328 (main): Don't print noXFails and noXPasses.
29329 * math/gen-libm-test.pl (top level): Don't mention expected
29330 failure handling in comment.
29331 (new_test): Don't handle expected failures.
29332 (parse_args): Don't mention expected failure handling in comment.
29333 (generate_testfile): Don't handle expected failures.
29334 (parse_ulps): Likewise.
29335 (print_ulps_file): Likewise.
29336 (get_failure): Remove function.
29337 (output_test): Don't handle expected failures.
29338 * make/README.libm-test: Don't mention expected failure handling.
29340 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29341 (minus_zero): Likewise.
29342 (plus_infty): Likewise.
29343 (minus_infty): Likewise.
29344 (qnan_value): Likewise.
29345 (max_value): Likewise.
29346 (min_value): Likewise.
29347 (min_subnorm_value): Likewise.
29348 (initialize): Do not initialize those variables dynamically.
29350 2013-05-03 Roland McGrath <roland@hack.frob.com>
29352 * io/open.c (__open_2): Moved to ...
29353 * io/open_2.c: ... this new file.
29354 * io/open64.c (__open64_2): Moved to ...
29355 * io/open64_2.c: ... this new file.
29356 * io/openat.c (__openat_2): Moved to ...
29357 * io/openat_2.c: ... this new file.
29358 * io/openat64.c (__openat64_2): Moved to ...
29359 * io/openat64_2.c: ... this new file.
29360 * io/Makefile (routines): Add them.
29361 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29362 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29363 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29364 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29365 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29366 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29367 (__openat64): Add hidden_ver.
29368 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29369 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29371 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29372 Separately conditionalize setting of GLRO(dl_sysinfo) so
29373 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29374 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29376 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29378 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29379 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29381 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29382 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29383 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29384 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29385 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29387 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29389 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29390 test signgam value.
29392 * math/libm-test.inc (hypot_test): Do not use
29393 IGNORE_ZERO_INF_SIGN.
29395 2013-05-03 Andreas Jaeger <aj@suse.de>
29397 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29399 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29400 (PF_MAX): Adjust for VSOCK change.
29402 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29406 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29409 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29410 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29411 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29413 2013-05-02 David S. Miller <davem@davemloft.net>
29415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29417 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29419 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29421 2013-05-01 Roland McGrath <roland@hack.frob.com>
29423 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29425 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29428 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29429 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29430 Use __attribute__ ((__gnu_inline__)).
29431 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29432 Don't use __attribute__ ((__gnu_inline__)).
29434 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29437 * math/s_catan.c (__catan): Handle small real or imaginary part of
29438 input specially to avoid spurious underflow.
29439 * math/s_catanf.c (__catanf): Likewise.
29440 * math/s_catanh.c (__catanh): Likewise.
29441 * math/s_catanhf.c (__catanhf): Likewise.
29442 * math/s_catanhl.c (__catanhl): Likewise.
29443 * math/s_catanl.c (__catanl): Likewise.
29444 * math/libm-test.inc (catan_test): Add more tests.
29445 (catanh_test): Likewise.
29446 * sysdeps/i386/fpu/libm-test-ulps: Update.
29447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29449 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29453 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29456 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29457 accurately for denominator in atan2.
29458 * math/s_catanf.c (__catanf): Likewise.
29459 * math/s_catanh.c (__catanh): Likewise.
29460 * math/s_catanhf.c (__catanhf): Likewise.
29461 * math/s_catanhl.c (__catanhl): Likewise.
29462 * math/s_catanl.c (__catanl): Likewise.
29463 * math/libm-test.inc (catan_test): Add more tests.
29464 (catanh_test): Likewise.
29465 * sysdeps/i386/fpu/libm-test-ulps: Update.
29466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29468 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29470 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29472 * benchtests/Makefile (bench): Remove slow benchmarks.
29473 * benchtests/atan-inputs: Add slow benchmark inputs.
29474 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29475 (BENCH_FUNC): Accept variant offset.
29477 * benchtests/bench-skeleton.c (main): Run benchmark for each
29479 * benchtests/cos-inputs: Add slow benchmark inputs.
29480 * benchtests/exp-inputs: Likewise.
29481 * benchtests/pow-inputs: Likewise.
29482 * benchtests/sin-inputs: Likewise.
29483 * benchtests/slowatan-inputs: Remove.
29484 * benchtests/slowatan.c: Remove.
29485 * benchtests/slowcos-inputs: Remove.
29486 * benchtests/slowcos.c: Remove.
29487 * benchtests/slowexp-inputs: Remove.
29488 * benchtests/slowexp.c: Remove.
29489 * benchtests/slowpow-inputs: Remove.
29490 * benchtests/slowpow.c: Remove.
29491 * benchtests/slowsin-inputs: Remove.
29492 * benchtests/slowsin.c: Remove.
29493 * benchtests/slowtan-inputs: Remove.
29494 * benchtests/slowtan.c: Remove.
29495 * benchtests/tan-inputs: Add slow benchmark inputs.
29496 * scripts/bench.pl: Parse comments and directives.
29498 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29500 ($(objpfx)bench-%.c): Remove *-ITER.
29501 * benchtests/bench-modf.c: Remove definition of ITER.
29502 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29503 (main): Loop for DURATION seconds instead of fixed number of
29505 * scripts/bench.pl: Don't expect iterations in parameters.
29507 2013-04-29 Roland McGrath <roland@hack.frob.com>
29509 * io/fchdir.c (__fchdir): Renamed from fchdir.
29510 (fchdir): Define as weak alias.
29512 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29514 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29515 (ERRNO_EDOM): Likewise.
29516 (ERRNO_ERANGE): Likewise.
29517 (noErrnoTests): New variable.
29518 (init_max_error): Set errno to 0.
29519 (test_single_errno): New function.
29520 (test_errno): Likewise.
29521 (check_float_internal): Call test_errno. Set errno to 0.
29522 (check_complex): Refer to errno tests in comment.
29523 (check_int): Call test_errno. Set errno to 0.
29524 (check_long): Likewise.
29525 (check_bool): Likewise.
29526 (check_longlong): Likewise.
29527 (cos_test): Use ERRNO_* flags for errno tests instead of
29529 (expm1_test): Likewise.
29530 (fmod_test): Likewise.
29531 (ilogb_test): Likewise.
29532 (lgamma_test): Likewise.
29533 (pow_test): Likewise.
29534 (remainder_test): Likewise.
29535 (sin_test): Likewise.
29536 (tan_test): Likewise.
29537 (yn_test): Likewise.
29538 (initialize): Set errno to 0.
29539 (main): Print number of errno tests.
29540 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29542 2013-04-29 Andreas Jaeger <aj@suse.de>
29545 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29549 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29550 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29554 * stdlib/random.c (__initstate): Return NULL if
29558 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29559 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29562 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29566 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29568 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29569 of individual tests.
29570 (casin_test): Likewise.
29571 (casinh_test): Likewise.
29573 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29576 * math/s_catan.c (__catan): Handle arguments with large real or
29577 imaginary part separately without squaring.
29578 * math/s_catanf.c (__catanf): Likewise.
29579 * math/s_catanh.c (__catanh): Likewise.
29580 * math/s_catanhf.c (__catanhf): Likewise.
29581 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29583 (__catanhl): Handle arguments with large real or imaginary part
29584 separately without squaring.
29585 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29587 (__catanl): Handle arguments with large real or imaginary part
29588 separately without squaring.
29589 * math/libm-test.inc (catan_test): Add more tests.
29590 (catanh_test): Likewise.
29591 * sysdeps/i386/fpu/libm-test-ulps: Update.
29592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29594 2013-04-27 Andreas Jaeger <aj@suse.de>
29597 * stdlib/stdlib.h: Update guards for qecvt.
29598 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29601 2013-04-27 Allan McRae <allan@archlinux.org>
29603 * sysdeps/i386/fpu/libm-test-ulps: Update.
29605 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29608 * math/s_catan.c: Include <float.h>.
29609 (__catan): Ensure underflow exception occurs for underflowed
29611 * math/s_catanf.c: Include <float.h>.
29612 (__catanf): Ensure underflow exception occurs for underflowed
29614 * math/s_catanh.c: Include <float.h>.
29615 (__catanh): Ensure underflow exception occurs for underflowed
29617 * math/s_catanhf.c: Include <float.h>.
29618 (__catanhf): Ensure underflow exception occurs for underflowed
29620 * math/s_catanhl.c: Include <float.h>.
29621 (__catanhl): Ensure underflow exception occurs for underflowed
29623 * math/s_catanl.c: Include <float.h>.
29624 (__catanl): Ensure underflow exception occurs for underflowed
29626 * math/libm-test.inc (catan_test): Add more tests.
29627 (catanh_test): Likewise.
29630 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29631 underflowed result.
29632 * math/s_ccoshf.c (__ccoshf): Likewise.
29633 * math/s_ccoshl.c (__ccoshl): Likewise.
29634 * math/s_csin.c (__csin): Likewise.
29635 * math/s_csinf.c (__csinf): Likewise.
29636 * math/s_csinh.c (__csinh): Likewise.
29637 * math/s_csinhf.c (__csinhf): Likewise.
29638 * math/s_csinhl.c (__csinhl): Likewise.
29639 * math/s_csinl.c (__csinl): Likewise.
29640 * math/libm-test.inc (ccos_test): Add more tests.
29641 (ccosh_test): Likewise.
29642 (csin_test): Likewise.
29643 (csinh_test): Likewise.
29645 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29647 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29648 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29649 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29650 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29651 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29652 powerpc/power5+/fpu folders.
29653 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29656 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29660 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29662 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29663 additions to variable.
29664 [$(config-machine) = x86_64] (modules-names): Likewise.
29665 ($(objpfx)tst-audit3): Remove dependency.
29666 ($(objpfx)tst-audit3.out): Likewise.
29667 ($(objpfx)tst-audit4): Likewise.
29668 ($(objpfx)tst-audit4.out): Likewise.
29669 ($(objpfx)tst-audit5): Likewise.
29670 ($(objpfx)tst-audit5.out): Likewise.
29671 ($(objpfx)tst-audit6): Likewise.
29672 ($(objpfx)tst-audit6.out): Likewise.
29673 ($(objpfx)tst-audit7): Likewise.
29674 ($(objpfx)tst-audit7.out): Likewise.
29675 (tst-audit3-ENV): Remove variable.
29676 (tst-audit4-ENV): Likewise.
29677 (tst-audit5-ENV): Likewise.
29678 (tst-audit6-ENV): Likewise.
29679 (tst-audit7-ENV): Likewise.
29680 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29681 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29682 addition to variable.
29683 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29684 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29685 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29686 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29687 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29688 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29689 tst-audit3, tst-audit4 and tst-audit5.
29690 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29691 tst-audit6 and tst-audit7.
29692 [$(subdir) = elf] (modules-names): Add audit modules for those
29694 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29695 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29696 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29697 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29698 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29699 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29700 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29701 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29702 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29703 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29704 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29705 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29706 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29707 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29708 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29709 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29711 [$(subdir) = elf && $(config-cflags-avx) = yes]
29712 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29713 [$(subdir) = elf && $(config-cflags-avx) = yes]
29714 (CFLAGS-tst-auditmod4a.c): Likewise.
29715 [$(subdir) = elf && $(config-cflags-avx) = yes]
29716 (CFLAGS-tst-auditmod4b.c): Likewise.
29717 [$(subdir) = elf && $(config-cflags-avx) = yes]
29718 (CFLAGS-tst-auditmod6b.c): Likewise.
29719 [$(subdir) = elf && $(config-cflags-avx) = yes]
29720 (CFLAGS-tst-auditmod6c.c): Likewise.
29721 [$(subdir) = elf && $(config-cflags-avx) = yes]
29722 (CFLAGS-tst-auditmod7b.c): Likewise.
29723 * elf/tst-audit3.c: Move to ...
29724 * sysdeps/x86_64/tst-audit3.c: ... here.
29725 * elf/tst-audit4.c: Move to ...
29726 * sysdeps/x86_64/tst-audit4.c: ... here.
29727 * elf/tst-audit5.c: Move to ...
29728 * sysdeps/x86_64/tst-audit5.c: ... here.
29729 * elf/tst-audit6.c: Move to ...
29730 * sysdeps/x86_64/tst-audit6.c: ... here.
29731 * elf/tst-audit7.c: Move to ...
29732 * sysdeps/x86_64/tst-audit7.c: ... here.
29733 * elf/tst-auditmod3a.c: Move to ...
29734 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29735 * elf/tst-auditmod3b.c: Move to ...
29736 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29737 * elf/tst-auditmod4a.c: Move to ...
29738 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29739 * elf/tst-auditmod4b.c: Move to ...
29740 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29741 * elf/tst-auditmod5a.c: Move to ...
29742 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29743 * elf/tst-auditmod5b.c: Move to ...
29744 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29745 * elf/tst-auditmod6a.c: Move to ...
29746 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29747 * elf/tst-auditmod6b.c: Move to ...
29748 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29749 * elf/tst-auditmod6c.c: Move to ...
29750 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29751 * elf/tst-auditmod7a.c: Move to ...
29752 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29753 * elf/tst-auditmod7b.c: Move to ...
29754 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29756 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29759 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29760 define unconditionally.
29761 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29762 define unconditionally.
29763 (INT8_C, INT16_C, etc.): Likewise.
29765 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29767 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29768 __ehdr_start with hidden visibility.
29770 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29772 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29774 * math/libm-test.inc (cos_test): Use accurate hex constants.
29775 (sincost_test): Likewise.
29777 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29779 * math/libm-test.inc (catan_test): Add more tests.
29780 (catanh_test): Likewise.
29782 * math/s_catanf.c (__catanf): Use suffixed floating-point
29784 * math/s_catanhf.c (__catanhf): Likewise.
29785 * math/s_catanhl.c (__catanhl): Likewise.
29786 * math/s_catanl.c (__catanl): Likewise.
29789 * math/s_catan.c (__catan): Calculate imaginary part of result
29790 with log1p not log unless computing log of number close to 0.
29791 * math/s_catanf.c (__catanf): Likewise.
29792 * math/s_catanl.c (__catanl): Likewise.
29793 * math/s_catanh.c (__catanh): Calculate real part of result with
29794 log1p not log unless computing log of number close to 0.
29795 * math/s_catanhf.c (__catanhf): Likewise.
29796 * math/s_catanhl.c (__catanhl): Likewise.
29797 * math/libm-test.inc (catan_test): Add more tests.
29798 (catanh_test): Likewise.
29799 * sysdeps/i386/fpu/libm-test-ulps: Update.
29800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29802 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29804 * benchtests/Makefile: Mention files in which fast and slow
29805 paths of math functions are implemented.
29807 2013-04-23 Roland McGrath <roland@hack.frob.com>
29809 * sysdeps/posix/timespec_get.c: New file.
29811 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29813 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29815 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29817 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29818 powerpc/power5/fpu folders.
29819 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29820 * benchtests/Makefile: Add modf testcase.
29821 * benchtests/bench-modf.c: New file: Benchmark test for mo
29823 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29826 * time/Makefile (tests): Add tst-strptime-whitespace.
29827 * time/strptime_l.c (get_number): Use ISSPACE.
29828 (__strptime_internal): Likewise.
29829 * time/tst-strptime-whitespace.c: New test case.
29831 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29833 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29835 (_nss_files_init): Set it here.
29837 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29839 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29840 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29843 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29845 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29847 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29852 2013-04-21 David S. Miller <davem@davemloft.net>
29854 * po/ru.po: Update Russion translation from translation project.
29856 2013-04-17 Adam Conrad <adconrad@0c3.net>
29858 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29861 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29863 * configure.in: Remove i386 configure warning. Remove i386 case.
29864 * configure: Regenerate.
29865 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29866 Add example to error message.
29867 * sysdeps/i386/configure: Regenerate.
29869 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29871 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29873 * benchtests/cos-inputs: New file.
29874 * benchtests/slowcos-inputs: New file.
29875 * benchtests/slowcos.c: New file.
29876 * benchtests/slowtan-inputs: New file.
29877 * benchtests/slowtan.c: New file.
29878 * benchtests/tan-inputs: New file.
29880 2013-04-16 Roland McGrath <roland@hack.frob.com>
29882 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29885 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29887 * benchtests/Makefile: Include cppflags-iterator.mk to add
29888 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29890 * Makefile.in (bench-clean): New target.
29891 * benchtests/Makefile (bench-clean): Likewise.
29893 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29895 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29897 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29899 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29901 2013-04-15 Andreas Schwab <schwab@suse.de>
29903 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29904 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29905 * nscd/pwdcache.c (cache_addpw): Likewise.
29906 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29909 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29911 * benchtests/Makefile (bench): Write all output to
29912 bench-out.tmp together.
29914 2013-04-15 Andreas Schwab <schwab@suse.de>
29916 * nscd/nscd.c (main): Don't fork again after closing files.
29918 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29920 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29922 * benchtests/Rules (bench-deps): Collect dependencies into a
29923 single variable. Add Makefile to dependencies.
29924 ($(objpfx)bench-%.c): Depend on bench-deps.
29926 2013-04-12 Roland McGrath <roland@hack.frob.com>
29927 Xavier Roche <roche+kml2@exalead.com>
29930 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29931 just that it's a file descriptor.
29932 * manual/llio.texi (Synchronizing AIO Operations): Update description
29933 for EBADF error from aio_fsync.
29935 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29937 * Rules (bench): Move target definition...
29938 * benchtests/Makefile: ... here.
29940 2013-04-11 Carlos O'Donell <carlos@redhat.com>
29942 * math/libm-test.inc (cos_test): Fix PI/2 test.
29943 (sincos_test): Likewise.
29944 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29945 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29947 2013-04-11 Andreas Schwab <schwab@suse.de>
29950 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29951 accept exponent character only when digits were seen.
29952 * stdio-common/Makefile (tests): Add bug26.
29953 * stdio-common/bug26.c: New file.
29956 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29959 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
29961 * Makeconfig (rtld-prefix): Define built linker prefix.
29962 * Rules (run-bench): Use it.
29963 * math/Makefile (run-regen-ulps): Likewise.
29965 * Rules (bench): Remove eval.
29967 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29968 Roland McGrath <roland@hack.frob.com>
29969 Ondrej Bilka <neleai@seznam.cz>
29972 * time/getdate.c: Include ctype.h and alloca.h.
29973 (__getdate_r): Trim leading and trailing spaces of input.
29974 * time/tst-getdate.c (tests): Add tests with leading and
29977 2013-04-08 Roland McGrath <roland@hack.frob.com>
29980 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29981 when computing value.
29983 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29985 * math/README.libm-test (How can I generate "libm-test-ulps"?):
29986 Use testrun.sh to run libm tests.
29989 * elf/dl-open.c (dl_open_worker): memset all of seen array.
29991 2013-04-06 Marko Myllynen <myllynen@redhat.com>
29994 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29996 2013-04-06 Carlos O'Donell <carlos@redhat.com>
29998 * Makefile.in (regen-ulps): New target.
29999 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30000 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30001 [ifneq (no,$(PERL)] (regen-ulps): New target.
30002 [ifeq (no,$(PERL)] (regen-ulps): New target.
30003 * math/libm-test.inc (ulps_file_name): Define.
30004 (output_dir): New variable.
30005 (options): Add "output-dir" option.
30006 (parse_opt): Handle 'o' case.
30007 (main): If output_dir is non-NULL use it as a prefix
30009 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30011 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30013 [BZ #10060, #10062]
30014 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30015 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30016 fail configure if __sync_val_compare_and_swap is not inlined.
30017 * sysdeps/i386/configure: Regenerate.
30018 * configure.in: Build for i686 when configured for i386.
30019 * configure: Regenerate.
30020 * README: Remove i386 reference.
30022 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30024 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30025 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30027 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30029 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30030 (lmsnanval): New variables.
30031 (F): Add conversion tests.
30032 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30033 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30035 * stdio-common/tstdiomisc.c (F): Properly collect individual
30038 [BZ #14686, #15336]
30039 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30040 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30041 Instead, use input NaN values or generate a qNaN by arithmetic
30042 operation. Also fix bugs to comply with the standard.
30043 * math/libm-test.inc (remainder_test): Add more tests.
30045 [BZ #15335, #15342]
30046 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30047 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30048 input NaN values or generate a qNaN by arithmetic operation.
30050 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30053 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30056 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30059 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30060 underflowed result.
30061 * math/s_cexpf.c (__cexpf): Likewise.
30062 * math/s_cexpl.c (__cexpl): Likewise.
30063 * math/libm-test.inc (cexp_test): Add more tests.
30065 2013-04-03 Andreas Schwab <schwab@suse.de>
30068 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30069 order arrays from heap if bigger than alloca cutoff.
30071 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30073 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30074 (SNAN_TESTS_double): Refer to GCC PR56831.
30075 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30078 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30080 * Rules (bench): Move bench.out after the run is complete.
30082 * Rules (bench): Echo currently running benchmark.
30084 * benchtests/Makefile (bench): Add atan and slowatan.
30085 * benchtests/atan-inputs: New file.
30086 * benchtests/slowatan-inputs: New file.
30087 * benchtests/slowatan.c: New file.
30089 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30090 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30094 * sysdeps/unix/sysv/linux/kernel-features.h
30095 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30096 __ASSUME_XFS_RESTRICTED_CHOWN.
30097 * sysdeps/unix/sysv/linux/pathconf.c
30098 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30099 Save and restore errno.
30101 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30104 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30105 arguments using __kernel_casinh.
30106 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30107 arguments using __kernel_casinhf.
30108 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30109 arguments using __kernel_casinhl.
30110 * math/libm-test.inc (cacosh_test): Add more tests.
30111 * sysdeps/i386/fpu/libm-test-ulps: Update.
30112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30114 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30116 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30117 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30119 * bench/Makefile (bench): Add sin and slowsin.
30120 * benchtests/sin-inputs: New file.
30121 * benchtests/slowsin-inputs: New file.
30122 * benchtests/slowsin.c: New file.
30124 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30125 (bench): Add slowexp and slowpow.
30126 (exp-ITER): Increase iterations.
30127 (pow-ITER): Likewise.
30128 * benchtests/exp-inputs: Change input.
30129 * benchtests/pow-inputs: Likewise.
30130 * benchtests/slowexp-inputs: New file.
30131 * benchtests/slowexp.c: New file.
30132 * benchtests/slowpow-inputs: New file.
30133 * benchtests/slowpow.c: New file.
30135 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30137 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30139 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30140 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30141 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30142 * benchtests/Makefile: Add rint benchtest.
30143 * benchtests/rint-inputs: Input for rint benchtest.
30145 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30147 * Versions.def (libm): Add GLIBC_2.18.
30148 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30149 hidden libm prototypes.
30150 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30151 * math/Makefile (libm-calls): Add s_issignaling.
30152 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30153 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30154 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30156 * math/math.h [__USE_GNU] (issignaling): New macro.
30157 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30158 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30159 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30160 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30161 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30162 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30163 * manual/arith.texi (issignaling): New section.
30164 * manual/libm-err-tab.pl (@all_functions): Update comment.
30165 * math/gen-libm-test.pl (parse_args): Apply special handling for
30167 * math/libm-test.inc (print_float, issignaling_test): New
30169 (check_float_internal): Add issignaling checks.
30170 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30171 default definition.
30172 * sysdeps/powerpc/math-tests.h: New file.
30173 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30175 * math/test-snan.c (TEST_FUNC): Likewise.
30177 2013-03-30 David S. Miller <davem@davemloft.net>
30179 * po/de.po: Update from translation team.
30181 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30184 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30185 imaginary part less than 1.0 and real part less than 0.5
30187 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30188 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30189 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30190 (cacos_test): Add more tests.
30191 (casin_test): Likewise.
30192 (casinh_test): Likewise.
30193 * sysdeps/i386/fpu/libm-test-ulps: Update.
30194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30196 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30198 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30199 ONE with its value.
30201 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30202 (__pow_mp): Replace ONE and MONE with their values.
30203 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30206 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30207 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30208 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30210 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30212 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30213 (__pow_mp): Replace ZERO and MZERO with their values.
30214 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30215 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30216 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30217 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30218 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30219 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30222 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30224 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30226 2013-03-28 Roland McGrath <roland@hack.frob.com>
30228 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30229 Declare with __attribute__ ((weak)).
30230 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30231 Call __call_tls_dtors only if it's not NULL.
30233 2013-03-28 Roland McGrath <roland@hack.frob.com>
30235 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30236 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30237 magic __ehdr_start linker symbol if it's defined.
30238 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30239 them up here if it was already done.
30241 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30242 (_dl_aux_init): Use const in cast when setting it.
30243 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30244 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30245 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30247 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30249 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30250 * csu/libc-tls.c: Nor here.
30251 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30253 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30254 (__libc_message): Never call vsyslog.
30256 2013-03-28 Alan Modra <amodra@gmail.com>
30258 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30260 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30263 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30266 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30270 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30273 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30274 Don't add gid passed as argument.
30276 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30278 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30281 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30282 imaginary part between 1.0 and 1.5 and real part less than 0.5
30284 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30285 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30286 * math/libm-test.inc (cacos_test): Add more tests.
30287 (casin_test): Likewise.
30288 (casinh_test): Likewise.
30289 * sysdeps/i386/fpu/libm-test-ulps: Update.
30290 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30292 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30294 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30297 (denorm): Likewise.
30298 (__dbl_mp): Likewise.
30299 (add_magnitudes): Likewise.
30300 (sub_magnitudes): Likewise.
30308 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30310 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30311 (__dubcos): Likewise.
30312 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30313 (__ieee754_acos): Likewise.
30314 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30315 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30316 (__exp1): Likewise.
30317 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30318 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30320 (my_log2): Likewise.
30321 (checkint): Likewise.
30322 * sysdeps/ieee754/dbl-64/e_remainder.c
30323 (__ieee754_remainder): Likewise.
30324 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30325 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30326 (bsloww): Likewise.
30327 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30329 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30330 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30331 MANTISSA_STORE_T to store computations on mantissa. Use
30332 macros for rounding and division.
30333 (denorm): Likewise.
30334 (__dbl_mp): Likewise.
30335 (add_magnitudes): Likewise.
30336 (sub_magnitudes): Likewise.
30339 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30340 powers of two in terms of TWOPOW macro.
30341 (mp_no): Make type of mantissa as MANTISSA_T.
30342 [!RADIXI]: Define RADIXI.
30343 [!TWO52]: Define TWO52.
30344 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30346 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30348 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30349 llroundl symbol when building for PPC32.
30351 2013-03-24 Mark H Weaver <mhw@netris.org>
30353 * manual/arith.texi (Normalization Functions): Fix prototypes for
30354 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30356 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30360 high value to check if expl overflow.
30361 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30362 to check for underflow and overflow.
30363 * math/libm-test.inc: Add exp test.
30365 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30368 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30371 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30373 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30376 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30378 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30379 wrap blocks consisting of several statements.
30381 * sysdeps/generic/math-tests.h: New file.
30382 * sysdeps/i386/fpu/math-tests.h: Likewise.
30383 * math/test-snan.c: Include it.
30384 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30386 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30389 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30390 (__ieee754_j0l): Do not improve calculations using cos of twice
30391 input for inputs above LDBL_MAX / 2.0L.
30392 (__ieee754_y0l): Likewise.
30393 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30394 (__ieee754_j1l): Do not improve calculations using cos of twice
30395 input for inputs above LDBL_MAX / 2.0L.
30396 (__ieee754_y1l): Likewise.
30397 * math/libm-test.inc (j0_test): Add another test.
30398 (j1_test): Likewise.
30399 (y0_test): Likewise.
30400 (y1_test): Likewise.
30401 * sysdeps/i386/fpu/libm-test-ulps: Update.
30403 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30405 * Rules ($(objpfx)bench-%.c): Include code from a C source
30408 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30411 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30412 imaginary part 1.0 and real part less than 0.5 specially.
30413 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30414 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30415 * math/libm-test.inc (cacos_test): Add more tests.
30416 (casin_test): Likewise.
30417 (casinh_test): Likewise.
30418 * sysdeps/i386/fpu/libm-test-ulps: Update.
30419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30421 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30423 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30424 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30426 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30428 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30429 * config.make.in (config-cflags-sse4): Remove variable.
30430 (config-cflags-avx): Likewise.
30431 (config-cflags-sse2avx): Likewise.
30432 (config-cflags-novzeroupper): Likewise.
30433 (config-asflags-i686): Likewise.
30434 (have-mfma4): Likewise.
30435 (have-as-vis3): Likewise.
30437 * configure.in (MIG): Do not AC_SUBST.
30438 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30439 (libc_cv_cc_sse4): Do not AC_SUBST.
30440 (libc_cv_cc_avx): Likewise.
30441 (libc_cv_cc_sse2avx): Likewise.
30442 (libc_cv_cc_novzeroupper): Likewise.
30443 (libc_cv_cc_fma4): Likewise.
30444 (libc_cv_as_i686): Likewise.
30445 (libc_cv_sparc_as_vis3): Likewise.
30446 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30448 (config-asflags-i686): Likewise.
30449 (config-cflags-avx): Likewise.
30450 (config-cflags-sse2avx): Likewise.
30451 (have-mfma4): Likewise.
30452 (config-cflags-novzeroupper): Likewise.
30453 * sysdeps/mach/configure.in (MIG): Likewise.
30454 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30455 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30457 (config-cflags-avx): Likewise.
30458 (config-cflags-sse2avx): Likewise.
30459 (have-mfma4): Likewise.
30460 (config-cflags-novzeroupper): Likewise.
30461 * configure: Regenerated.
30462 * sysdeps/i386/configure: Likewise.
30463 * sysdeps/mach/configure: Likewise.
30464 * sysdeps/sparc/configure: Likewise.
30465 * sysdeps/x86_64/configure: Likewise.
30467 2013-03-20 Roland McGrath <roland@hack.frob.com>
30470 * locale/programs/localedef.c (options): Put N_ translation marker
30471 on argument names, not just descriptions.
30473 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30475 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30477 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30480 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30482 2013-03-19 Roland McGrath <roland@hack.frob.com>
30484 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30485 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30486 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30487 [!BEFORE_ABORT] (before_abort): New function.
30488 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30489 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30490 (writev_for_fatal): New function.
30491 (WRITEV_FOR_FATAL): New macro; call that.
30492 (backtrace_and_maps): New function.
30493 (BEFORE_ABORT): New macro; call that.
30494 (struct str_list): Type removed.
30495 (__libc_message, __libc_fatal): Functions removed.
30496 Include <sysdeps/posix/libc_fatal.c> instead.
30498 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30500 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30502 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30505 2013-03-19 Andreas Schwab <schwab@suse.de>
30507 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30508 * sysdeps/gnu/configure: Regenerate.
30510 * configure.in: Substitute libc_cv_rtlddir.
30511 * configure: Regenerate.
30512 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30513 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30514 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30515 * elf/Makefile (install-others, CFLAGS-interp.c)
30516 (ldso_install, common-ldd-rewrite): Likewise.
30517 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30518 $(inst_slibdir)/$(rtld-installed-name).
30519 * scripts/rellns-sh: Add -p option.
30520 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30523 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30525 * manual/nptl.texi: Renamed to ...
30526 * manual/threads.texi: ... this.
30527 * manual/Makefile (chapters): Update.
30529 2013-03-18 Roland McGrath <roland@hack.frob.com>
30532 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30533 on argument names, not just descriptions.
30534 * malloc/memusagestat.c (options): Likewise.
30535 * nss/getent.c (options): Likewise.
30537 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30540 * iconv/iconv_prog.c (options): Put N_ translation marker
30541 on argument names, not just descriptions.
30542 * iconv/iconvconfig.c (options): Likewise.
30544 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30546 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30547 implementation which is faster on all x86_64 architectures.
30548 Tested on AMD, Intel Nehalem, SNB, IVB.
30549 * sysdeps/x86_64/strnlen.S: Likewise.
30551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30552 Remove all multiarch strlen and strnlen versions.
30553 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30554 Remove strlen and strnlen related parts.
30556 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30557 Inline strlen part.
30558 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30560 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30561 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30562 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30563 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30564 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30565 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30567 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30569 * manual/memory.texi (Malloc Tunable Parameters):
30570 Sort parameters alphabetically. Add comments for missing entries.
30572 2013-03-17 David S. Miller <davem@davemloft.net>
30574 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30576 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30579 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30580 for arguments at most half maximum finite value.
30581 * math/libm-test.inc (j0_test): Add more tests.
30582 (j1_test): Likewise.
30583 (y0_test): Likewise.
30584 (y1_test): Likewise.
30585 * sysdeps/i386/fpu/libm-test-ulps: Update.
30586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30589 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30590 1 / x and functions P and Q for arguments above 0x1p256L.
30591 (__ieee754_y0l): Likewise.
30592 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30593 (__ieee754_y1l): Likewise.
30594 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30595 (j1_test): Likewise.
30596 (y0_test): Likewise.
30597 (y1_test): Likewise.
30599 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30601 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30604 2013-03-15 Roland McGrath <roland@hack.frob.com>
30606 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30607 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30608 zero since it's initialized to EXEC_PAGESIZE.
30610 * sysdeps/unix/sysv/linux/ldsodefs.h
30611 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30612 * sysdeps/generic/ldsodefs.h: ... here.
30614 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30616 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30618 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30620 * math/test-snan.c: Renamed from
30621 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30622 * math/Makefile (tests): Add test-snan.
30623 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30626 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30627 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30629 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30630 __builtin_nan family of functions.
30631 * math/libm-test.inc (initialize): Initialize qnan_value with
30632 __builtin_nan family of functions.
30633 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30635 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30637 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30638 storage class. Initialize qNaN_var and sNaN_var with
30639 __builtin_nan and __builtin_nans families of functions,
30642 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30643 (sqrt_test): Remove duplicate test with qNaN input.
30644 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30645 (round_test, signbit_test, significand_test): Note missing +/-Inf
30646 as well as qNaN tests.
30648 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30649 qNaN_var. Fix a few strings, too.
30650 * math/libm-test.inc (nan_value): Rename to qnan_value.
30651 * math/gen-libm-test.pl (%beautify): Adjust to that.
30652 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30653 * math/test-misc.c (main): Likewise.
30654 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30655 to __qnan_bytes, and __qnan_union, respectively.
30656 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30658 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30659 and lqnanval, respectively.
30660 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30661 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30662 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30663 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30665 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30666 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30669 * math/test-misc.c (main): Fix copy'n'pastos.
30670 * misc/tst-efgcvt.c (special): Likewise.
30672 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30673 Remove declarations.
30675 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30677 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30678 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30679 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30680 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30682 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30684 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30685 macro to return vdso values correctly in IFUNC implementations.
30686 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30687 Optimization by using IFUNC.
30689 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30690 Richard Henderson <rth@redhat.com>
30691 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30693 * Makefile.in (bench): New target.
30694 * NEWS: Mention the benchmark framework.
30695 * Rules (bench): Likewise.
30696 (binaries-bench): Generate binaries for functions to
30698 * benchtests/Makefile: New makefile for benchmark tests.
30699 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30701 * benchtests/exp-inputs: New input file for EXP function.
30702 * benchtests/pow-inputs: New input file for POW function.
30703 * scripts/bench.pl: New script to generate source files for
30704 benchmark programs.
30706 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30708 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30709 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30710 computations on mantissa. Use macros for rounding and
30712 (denorm): Likewise.
30713 (__dbl_mp): Likewise.
30714 (add_magnitudes): Likewise.
30715 (sub_magnitudes): Likewise.
30718 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30719 powers of two in terms of TWOPOW macro.
30720 (mp_no): Make type of mantissa as MANTISSA_T.
30721 [!RADIXI]: Define RADIXI.
30722 [!TWO52]: Define TWO52.
30723 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30725 * manual/nptl.texi (cindex): Modify threads to pthreads.
30727 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30729 * sysdeps/x86_64/preconfigure: Regenerated.
30731 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30734 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30736 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30737 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30739 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30740 * math/libm-test.inc (j0_test): Do not allow one spurious
30741 underflow exception.
30742 (y1_test): Likewise.
30744 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30746 * manual/Makefile (chapters): Add nptl.
30747 * manual/debug.texi (Debugging Support): Add link to Threads
30749 * manual/nptl.texi: New file.
30751 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30753 2013-03-14 Petr Baudis <pasky@ucw.cz>
30755 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30756 for non-NULL pointer before the memory validity test. Pointed
30757 out by Holger Brunck <holger.brunck@keymile.com>.
30759 2013-03-13 Andreas Schwab <schwab@suse.de>
30761 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30764 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30766 * timezone/zic.c: Update from tzcode 2013b.
30768 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30770 * manual/install.texi (Configuring and compiling):
30771 Mention i686 and i586.
30772 * INSTALL: Regenerate.
30774 2013-03-12 Roland McGrath <roland@hack.frob.com>
30776 * sysdeps/init_array/elf-init.c: New file.
30778 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30779 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30781 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30782 __gmon_start__ as global, but as static with a .preinit_array pointer.
30783 * sysdeps/init_array/gmon-start.c: New file. Use that.
30784 * sysdeps/init_array/crti.S: New file, empty except for comments.
30785 * sysdeps/init_array/crtn.S: Likewise.
30787 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30789 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30792 Remove Prefer_SSE_for_memop.
30793 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30794 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30795 HAS_PREFER_SSE_FOR_MEMOP.
30796 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30798 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30799 Remove bzero, memset ifunc support.
30800 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30801 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30802 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30803 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30805 2013-03-11 Andreas Schwab <schwab@suse.de>
30808 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30810 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30811 (GLIBC_2.16): Remove pthread_atfork.
30813 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30815 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30816 (ptestcases.h): Likewise.
30818 2013-03-08 Roland McGrath <roland@hack.frob.com>
30820 * Makeconfig ($(common-objpfx)config.status): Depend on
30821 sysdeps/*/preconfigure{,.in} too.
30823 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30825 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30826 (__free_hook): Use void * instead of __malloc_ptr_t.
30827 (__malloc_hook): Likewise.
30828 (__realloc_hook): Likewise.
30829 (__memalign_hook): Likewise.
30830 (__after_morecore_hook): Likewise.
30831 * malloc/arena.c (save_malloc_hook): Likewise.
30832 (save_free_hook): Likewise.
30833 * malloc/hooks.c (malloc_hook_ini): Likewise.
30834 (realloc_hook_ini): Likewise.
30835 (memalign_hook_ini): Likewise.
30836 * malloc/malloc.c (malloc_hook_ini): Likewise.
30837 (realloc_hook_ini): Likewise.
30838 (memalign_hook_ini): Likewise.
30839 (__free_hook): Likewise.
30840 (__malloc_hook): Likewise.
30841 (__realloc_hook): Likewise.
30842 (__memalign_hook): Likewise.
30843 (__libc_malloc): Likewise.
30844 (__libc_free): Likewise.
30845 (__libc_realloc): Likewise.
30846 (__libc_memalign): Likewise.
30847 (__libc_valloc): Likewise.
30848 (__libc_pvalloc): Likewise.
30849 (__libc_calloc): Likewise.
30850 (__posix_memalign): Likewise.
30851 * malloc/morecore.c (__sbrk): Likewise.
30852 (__default_morecore): Likewise.
30854 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30856 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30857 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30858 __malloc_ptrdiff_t.
30860 * malloc/malloc.h (__malloc_size_t): Remove macro.
30861 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30863 (old_memalign_hook): Likewise.
30864 (old_realloc_hook): Likewise.
30865 (struct hdr): Likewise.
30867 (mallochook): Likewise.
30868 (memalignhook): Likewise.
30869 (reallochook): Likewise.
30870 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30871 (tr_old_realloc_hook): Likewise.
30872 (tr_old_memalign_hook): Likewise.
30873 (tr_mallochook): Likewise.
30874 (tr_reallochook): Likewise.
30875 (tr_memalignhook): Likewise.
30877 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30879 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30880 default_ldbl_pack and using as default implementation.
30881 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30883 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30884 redundant definition.
30885 (ldbl_insert_mantissa): Likewise.
30886 (ldbl_canonicalize): Likewise.
30887 (ldbl_nearbyint): Likewise.
30888 (ldbl_pack): Rename to ldbl_pack_ppc.
30889 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30890 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30891 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30893 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30896 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30897 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30898 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30899 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30900 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30901 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30902 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30904 2013-03-07 Andreas Jaeger <aj@suse.de>
30906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30909 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30911 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30912 Include mpa.h and declare __MPEXP.
30913 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30914 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30915 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30916 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30917 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30918 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30919 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30921 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30922 (__slowpow): Use long double EXPL and LOGL functions to
30924 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30925 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30926 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30927 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30928 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30929 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30931 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30932 intermediate variable to calculate exponent.
30934 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30938 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30939 [!NO__SQR]: Define __sqr.
30940 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30941 and NO__SQR. Remove all code except __mul and __sqr. Include
30942 sysdeps/ieee754/dbl-64/mpa.c.
30943 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30946 * posix/Makefile (tests): Add tst-pathconf.
30947 * posix/tst-pathconf.c: New test case.
30948 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30950 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30952 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
30954 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30956 2013-03-06 Andreas Jaeger <aj@suse.de>
30958 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30959 definition via __MAP_ANONYMOUS.
30961 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30962 it's not part of Linux headers.
30964 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30965 (MAP_HUGE_MASK): Define.
30967 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30969 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30970 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30972 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30973 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30975 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30976 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30978 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30980 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30981 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30982 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30983 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30984 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30985 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30987 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30990 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30991 Handle f2fs and efivarfs.
30993 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30996 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30997 (EFIVARFS_MAGIC): Add.
30998 (F2FS_LINK_MAX): Add.
31000 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31002 * stdio-common/vfprintf.c: Replace __builtin_expect with
31005 2013-03-06 Joseph Myers <joseph@codesourcery.com>
31008 * sysdeps/generic/bp-sym.h: Remove file.
31009 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31010 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31011 <bp-sym.h> and <bp-asm.h>.
31012 (__longjmp): Don't use BP_SYM.
31013 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31015 (memcpy): Don't use BP_SYM.
31016 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31017 <bp-sym.h> and <bp-asm.h>.
31018 (memcpy): Don't use BP_SYM.
31019 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31021 (memcpy): Don't use BP_SYM.
31022 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31024 (memset): Don't use BP_SYM.
31025 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31026 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31027 (__bzero): Don't use BP_SYM.
31028 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31029 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31030 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31031 <bp-sym.h> and <bp-asm.h>.
31032 (memcmp): Don't use BP_SYM. Remove comment about bounded
31034 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31035 <bp-sym.h> and <bp-asm.h>.
31036 (memcpy): Don't use BP_SYM.
31037 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31038 <bp-sym.h> and <bp-asm.h>.
31039 (memset): Don't use BP_SYM.
31040 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31041 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31042 (__bzero): Don't use BP_SYM.
31043 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31044 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31045 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31046 <bp-sym.h> and <bp-asm.h>.
31047 (strncmp): Don't use BP_SYM. Remove comment about bounded
31049 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31050 <bp-sym.h> and <bp-asm.h>.
31051 (memcpy): Don't use BP_SYM.
31052 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31053 <bp-sym.h> and <bp-asm.h>.
31054 (memset): Don't use BP_SYM.
31055 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31056 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31057 (__bzero): Don't use BP_SYM.
31058 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31059 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31060 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31061 <bp-sym.h> and <bp-asm.h>.
31062 (__memchr): Don't use BP_SYM.
31063 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31064 <bp-sym.h> and <bp-asm.h>.
31065 (memcmp): Don't use BP_SYM. Remove comment about bounded
31067 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31068 <bp-sym.h> and <bp-asm.h>.
31069 (memcpy): Don't use BP_SYM.
31070 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31071 <bp-sym.h> and <bp-asm.h>.
31072 (__mempcpy): Don't use BP_SYM.
31073 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31074 <bp-sym.h> and <bp-asm.h>.
31075 (__memrchr): Don't use BP_SYM.
31076 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31077 <bp-sym.h> and <bp-asm.h>.
31078 (memset): Don't use BP_SYM.
31079 (__bzero): Likewise.
31080 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31081 <bp-sym.h> and <bp-asm.h>.
31082 (__rawmemchr): Don't use BP_SYM.
31083 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31084 <bp-sym.h> and <bp-asm.h>.
31085 (__STRCMP): Don't use BP_SYM.
31086 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31087 <bp-sym.h> and <bp-asm.h>.
31088 (strchr): Don't use BP_SYM.
31089 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31090 <bp-sym.h> and <bp-asm.h>.
31091 (__strchrnul): Don't use BP_SYM.
31092 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31093 <bp-sym.h> and <bp-asm.h>.
31094 (strlen): Don't use BP_SYM.
31095 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31096 <bp-sym.h> and <bp-asm.h>.
31097 (strncmp): Don't use BP_SYM. Remove comment about bounded
31099 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31100 <bp-sym.h> and <bp-asm.h>.
31101 (__strnlen): Don't use BP_SYM.
31102 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31103 <bp-sym.h> and <bp-asm.h>.
31104 (__GI__setjmp): Don't use BP_SYM.
31105 (_setjmp): Likewise.
31106 (__sigsetjmp): Likewise.
31107 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31108 (L(start_addresses)): Don't use BP_SYM.
31109 (_start): Likewise.
31110 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31112 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31113 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31114 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31115 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31116 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31118 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31119 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31120 about bounded pointers.
31121 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31122 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31123 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31125 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31126 about bounded pointers. Remove GKM FIXME comments.
31127 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31128 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31130 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31131 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31132 Remove GKM FIXME comments.
31133 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31134 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31135 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31137 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31138 about bounded pointers. Remove GKM FIXME comment.
31139 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31141 (strncmp): Don't use BP_SYM. Remove comment about bounded
31143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31144 <bp-sym.h> and <bp-asm.h>.
31145 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31147 <bp-sym.h> and <bp-asm.h>.
31148 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31151 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31153 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31156 2013-03-05 David S. Miller <davem@davemloft.net>
31158 * po/es.po: Update from translation team.
31160 2013-03-05 Andreas Jaeger <aj@suse.de>
31162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31163 <bits/mman-linux.h>.
31164 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31166 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31167 <bits/mman-linux.h> to end of file.
31168 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31170 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31171 <bits/mman-linux.h> to end of file.
31172 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31174 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31175 <bits/mman-linux.h> to end of file.
31177 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31178 (MCL_CURRENT, MCL_FUTURE): Define here.
31180 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31183 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31185 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31187 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31189 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31190 fourth parameter needed for rt_sigprocmask syscall.
31191 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31192 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31193 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31194 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31195 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31196 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31198 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31201 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31202 comment about bounded pointers.
31203 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31204 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31206 2013-03-04 Andreas Jaeger <aj@suse.de>
31208 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31209 common definitions.
31211 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31212 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31213 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31214 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31215 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31216 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31218 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31221 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31222 __ieee754_sqrl instead of __sqrl.
31224 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31226 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31227 * sysdeps/powerpc/fpu_control.h: ... here.
31228 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31229 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31230 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31231 * sysdeps/powerpc/bits/mathinline.h: ... here.
31233 2013-03-01 Roland McGrath <roland@hack.frob.com>
31235 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31236 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31237 to just [NEED_DL_SYSINFO_DSO].
31238 * elf/dl-support.c: Likewise.
31239 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31240 * elf/rtld.c (dl_main): Likewise.
31241 * elf/setup-vdso.h (setup_vdso): Likewise.
31242 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31243 * sysdeps/unix/sysv/linux/dl-sysdep.c
31244 (_dl_discover_osversion): Likewise.
31246 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31248 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31249 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31251 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31253 * NEWS: Mention libm performance improvements and non-x86 PI
31256 * csu/libc-start.c (__pthread_initialize_minimal): Change
31257 function arguments.
31258 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31260 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31263 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31264 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31265 <bp-sym.h> and <bp-asm.h>.
31266 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31267 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31269 (memcpy): Don't use BP_SYM.
31270 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31272 (__mpn_add_n): Don't use BP_SYM.
31273 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31274 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31276 (__mpn_addmul_1): Don't use BP_SYM.
31277 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31278 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31280 (_setjmp): Don't use BP_SYM.
31281 (__novmx_setjmp): Likewise.
31282 (__GI__setjmp): Likewise.
31283 (__vmx_setjmp): Likewise.
31284 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31286 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31287 (__bzero): Don't use BP_SYM.
31288 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31289 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31290 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31291 <bp-sym.h> and <bp-asm.h>.
31292 (memcpy): Don't use BP_SYM.
31293 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31294 <bp-sym.h> and <bp-asm.h>.
31295 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31296 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31297 <bp-sym.h> and <bp-asm.h>.
31298 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31299 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31301 (__mpn_lshift): Don't use BP_SYM.
31302 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31303 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31305 (memset): Don't use BP_SYM.
31306 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31307 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31308 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31310 (__mpn_mul_1): Don't use BP_SYM.
31311 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31313 <bp-sym.h> and <bp-asm.h>.
31314 (memcmp): Don't use BP_SYM.
31315 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31316 <bp-sym.h> and <bp-asm.h>.
31317 (memcpy): Don't use BP_SYM.
31318 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31319 <bp-sym.h> and <bp-asm.h>.
31320 (memset): Don't use BP_SYM.
31321 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31322 <bp-sym.h> and <bp-asm.h>.
31323 (strncmp): Don't use BP_SYM.
31324 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31325 <bp-sym.h> and <bp-asm.h>.
31326 (memcpy): Don't use BP_SYM.
31327 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31328 <bp-sym.h> and <bp-asm.h>.
31329 (memset): Don't use BP_SYM.
31330 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31331 <bp-sym.h> and <bp-asm.h>.
31332 (__memchr): Don't use BP_SYM.
31333 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31334 <bp-sym.h> and <bp-asm.h>.
31335 (memcmp): Don't use BP_SYM.
31336 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31337 <bp-sym.h> and <bp-asm.h>.
31338 (memcpy): Don't use BP_SYM.
31339 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31340 <bp-sym.h> and <bp-asm.h>.
31341 (__mempcpy): Don't use BP_SYM.
31342 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31343 <bp-sym.h> and <bp-asm.h>.
31344 (__memrchr): Don't use BP_SYM.
31345 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31346 <bp-sym.h> and <bp-asm.h>.
31347 (memset): Don't use BP_SYM.
31348 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31349 <bp-sym.h> and <bp-asm.h>.
31350 (__rawmemchr): Don't use BP_SYM.
31351 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31352 <bp-sym.h> and <bp-asm.h>.
31353 (__STRCMP): Don't use BP_SYM.
31354 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31355 <bp-sym.h> and <bp-asm.h>.
31356 (strchr): Don't use BP_SYM.
31357 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31358 <bp-sym.h> and <bp-asm.h>.
31359 (__strchrnul): Don't use BP_SYM.
31360 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31361 <bp-sym.h> and <bp-asm.h>.
31362 (strlen): Don't use BP_SYM.
31363 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31364 <bp-sym.h> and <bp-asm.h>.
31365 (strncmp): Don't use BP_SYM.
31366 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31367 <bp-sym.h> and <bp-asm.h>.
31368 (__strnlen): Don't use BP_SYM.
31369 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31371 (__mpn_rshift): Don't use BP_SYM.
31372 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31373 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31374 <bp-sym.h> and <bp-asm.h>.
31375 (__sigsetjmp): Don't use BP_SYM.
31376 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31377 (L(start_addresses)): Don't use BP_SYM.
31378 (_start): Likewise.
31379 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31381 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31382 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31383 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31384 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31386 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31387 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31388 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31389 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31391 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31393 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31394 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31396 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31398 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31399 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31400 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31402 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31404 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31406 (strncmp): Don't use BP_SYM,
31407 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31409 (__mpn_sub_n): Don't use BP_SYM.
31410 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31411 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31413 (__mpn_submul_1): Don't use BP_SYM.
31414 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31416 <bp-sym.h> and <bp-asm.h>.
31417 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31419 <bp-sym.h> and <bp-asm.h>.
31420 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31423 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31425 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31426 Use ZK to minimize writes to Z.
31427 (sub_magnitudes): Simplify code a bit.
31428 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31429 Use ZK to minimize writes to Z.
31430 (sub_magnitudes): Simplify code a bit.
31432 2013-02-27 Roland McGrath <roland@hack.frob.com>
31434 * csu/gmon-start.c: Add special exception to license text.
31436 2013-02-27 Richard Henderson <rth@redhat.com>
31438 * scripts/config.guess: Update from config.git.
31439 * scripts/config.sub: Likewise.
31441 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31443 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31445 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31447 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31449 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31451 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31453 2013-02-26 Roland McGrath <roland@hack.frob.com>
31455 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31456 [$(build-shared = yes].
31458 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31460 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31461 (__mul): Reduce iterations for calculating mantissa.
31463 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31465 (__mpranred): Likewise.
31468 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31469 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31471 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31473 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31474 Define __attribute__.
31476 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31478 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31480 * posix/regex_internal.h (__attribute): Remove.
31481 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31482 (re_string_context_at): Likewise.
31483 (bitset_not): Use __attribute__ and mark function as possibly
31485 (bitset_merge): Likewise.
31486 (bitset_mask): Likewise.
31487 (re_string_char_size_at): Likewise.
31488 (re_string_wchar_at): Likewise.
31489 (re_string_elem_size_at): Likewise.
31491 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31493 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31497 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31501 (denorm): Likewise.
31502 (__dbl_mp): Likewise.
31503 (add_magnitudes): Likewise.
31504 (sub_magnitudes): Likewise.
31508 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31511 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31514 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31518 up changes with default code.
31519 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31522 2013-02-24 Allan McRae <allan@archlinux.org>
31524 * manual/socket.texi (The Internet Namespace): Order menu items
31525 to match that in the file.
31527 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31528 node listing of the info page menu.
31530 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31533 * sysdeps/i386/bp-asm.h: Remove file.
31534 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31535 (PARMS): Do not use macros from bp-asm.h.
31539 (__mpn_add_n): Do not use BP_SYM
31540 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31542 (PARMS): Do not use macros from bp-asm.h.
31545 (__mpn_addmul_1): Do not use BP_SYM
31546 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31548 (PARMS): Do not use macros from bp-asm.h.
31549 (SIGMSK): Likewise.
31550 (_setjmp): Likewise. Do not use BP_SYM.
31551 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31553 (PARMS): Do not use macros from bp-asm.h.
31554 (SIGMSK): Likewise.
31555 (setjmp): Likewise. Do not use BP_SYM.
31556 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31558 (PARMS): Do not use macros from bp-asm.h.
31559 (__frexp): Do not use BP_SYM.
31561 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31563 (PARMS): Do not use macros from bp-asm.h.
31564 (__frexpf): Do not use BP_SYM.
31565 (frexpf): Likewise.
31566 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31568 (PARMS): Do not use macros from bp-asm.h.
31569 (__frexpl): Do not use BP_SYM.
31570 (frexpl): Likewise.
31571 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31573 (PARMS): Do not use macros from bp-asm.h.
31574 (__remquo): Do not use BP_SYM.
31575 (remquo): Likewise.
31576 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31578 (PARMS): Do not use macros from bp-asm.h.
31579 (__remquof): Do not use BP_SYM.
31580 (remquof): Likewise.
31581 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31583 (PARMS): Do not use macros from bp-asm.h.
31584 (__remquol): Do not use BP_SYM.
31585 (remquol): Likewise.
31586 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31588 (PARMS): Do not use macros from bp-asm.h.
31591 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31592 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31594 (PARMS): Do not use macros from bp-asm.h.
31595 (strlen): Do not use BP_SYM.
31596 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31598 (PARMS): Do not use macros from bp-asm.h.
31602 (__mpn_add_n): Do not use BP_SYM.
31603 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31605 (PARMS): Do not use macros from bp-asm.h.
31608 (__mpn_addmul_1): Do not use BP_SYM.
31609 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31612 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31614 (PARMS): Do not use macros from bp-asm.h.
31617 (__mpn_lshift): Do not use BP_SYM.
31618 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31620 (PARMS): Do not use macros from bp-asm.h.
31624 (memcpy): Likewise. Do not use BP_SYM.
31625 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31626 libc_hidden_def and weak_alias.
31627 (mempcpy): Do not use BP_SYM in weak_alias.
31628 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31630 (PARMS): Do not use macros from bp-asm.h.
31633 [!BZERO_P] (CHR): Likewise.
31634 (memset): Likewise. Do not use BP_SYM.
31635 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31637 (PARMS): Do not use macros from bp-asm.h.
31640 (__mpn_mul_1): Do not use BP_SYM.
31641 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31643 (PARMS): Do not use macros from bp-asm.h.
31646 (__mpn_rshift): Do not use BP_SYM.
31647 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31649 (PARMS): Do not use macros from bp-asm.h.
31652 (strchr): Likewise. Do not use BP_SYM.
31653 (index): Do not use BP_SYM in weak_alias.
31654 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31656 (PARMS): Do not use macros from bp-asm.h.
31659 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31660 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31662 (PARMS): Do not use macros from bp-asm.h.
31663 (strlen): Do not use BP_SYM.
31664 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31666 (PARMS): Do not use macros from bp-asm.h.
31670 (__mpn_sub_n): Do not use BP_SYM.
31671 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31673 (PARMS): Do not use macros from bp-asm.h.
31676 (__mpn_submul_1): Do not use BP_SYM.
31677 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31679 (PARMS): Do not use macros from bp-asm.h.
31683 (__mpn_add_n): Do not use BP_SYM.
31684 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31687 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31689 (PARMS): Do not use macros from bp-asm.h.
31692 (memcmp): Do not use BP_SYM.
31693 (bcmp): Do not use BP_SYM in weak_alias.
31694 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31696 (PARMS): Do not use macros from bp-asm.h.
31700 (memcpy): Likewise. Do not use BP_SYM.
31701 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31703 (PARMS): Do not use macros from bp-asm.h.
31707 (memmove): Likewise. Do not use BP_SYM.
31708 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31710 (PARMS): Do not use macros from bp-asm.h.
31714 (__mempcpy): Likewise. Do not use BP_SYM.
31715 (mempcpy): Do not use BP_SYM in weak_alias.
31716 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31718 (PARMS): Do not use macros from bp-asm.h.
31721 [!BZERO_P] (CHR): Likewise.
31722 (memset): Likewise. Do not use BP_SYM.
31723 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31725 (PARMS): Do not use macros from bp-asm.h.
31727 (strcmp): Do not use BP_SYM.
31728 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31730 (PARMS): Do not use macros from bp-asm.h.
31733 [USE_AS_STRTOK_R] (SAVE): Likewise.
31734 (FUNCTION): Likewise. Do not use BP_SYM.
31735 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31737 (strtok_r): Likewise.
31738 (__GI___strtok_r): Likewise.
31739 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31740 (PARMS): Do not use macros from bp-asm.h.
31743 (__mpn_lshift): Do not use BP_SYM.
31744 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31745 (PARMS): Do not use macros from bp-asm.h.
31748 (__memchr): Do not use BP_SYM.
31749 (memchr): Do not use BP_SYM in weak_alias.
31750 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31751 (PARMS): Do not use macros from bp-asm.h.
31754 (memcmp): Do not use BP_SYM.
31755 (bcmp): Do not use BP_SYM in weak_alias.
31756 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31757 (PARMS): Do not use macros from bp-asm.h.
31760 (__mpn_mul_1): Do not use BP_SYM.
31761 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31763 (PARMS): Do not use macros from bp-asm.h.
31766 (__rawmemchr): Do not use BP_SYM.
31767 (rawmemchr): Do not use BP_SYM in weak_alias.
31768 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31769 (PARMS): Do not use macros from bp-asm.h.
31772 (__mpn_rshift): Do not use BP_SYM.
31773 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31774 (PARMS): Do not use macros from bp-asm.h.
31775 (SIGMSK): Likewise.
31776 (__sigsetjmp): Likewise. Do not use BP_SYM.
31777 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31778 (_start): Do not use BP_SYM.
31779 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31780 (PARMS): Do not use macros from bp-asm.h.
31783 (__stpcpy): Likewise. Do not use BP_SYM.
31784 (stpcpy): Do not use BP_SYM in weak_alias.
31785 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31787 (PARMS): Do not use macros from bp-asm.h.
31791 (__stpncpy): Likewise. Do not use BP_SYM.
31792 (stpncpy): Do not use BP_SYM in weak_alias.
31793 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31794 (PARMS): Do not use macros from bp-asm.h.
31797 (strchr): Likewise. Do not use BP_SYM.
31798 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31800 (PARMS): Do not use macros from bp-asm.h.
31803 (__strchrnul): Likewise. Do not use BP_SYM.
31804 (strchrnul): Do not use BP_SYM in weak_alias.
31805 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31807 (PARMS): Do not use macros from bp-asm.h.
31809 (strcspn): Do not use BP_SYM.
31810 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31812 (PARMS): Do not use macros from bp-asm.h.
31815 (strpbrk): Likewise. Do not use BP_SYM.
31816 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31818 (PARMS): Do not use macros from bp-asm.h.
31821 (strrchr): Likewise. Do not use BP_SYM.
31822 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31823 (PARMS): Do not use macros from bp-asm.h.
31825 (strspn): Do not use BP_SYM.
31826 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31827 (PARMS): Do not use macros from bp-asm.h.
31831 (FUNCTION): Likewise. Do not use BP_SYM.
31832 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31834 (strtok_r): Likewise.
31835 (__GI___strtok_r): Likewise.
31836 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31837 (PARMS): Do not use macros from bp-asm.h.
31841 (__mpn_sub_n): Do not use BP_SYM.
31842 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31844 (PARMS): Do not use macros from bp-asm.h.
31847 (__mpn_submul_1): Do not use BP_SYM.
31848 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31850 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31852 (PARMS): Do not use macros from bp-asm.h.
31857 (__clone): Do not use BP_SYM.
31858 (clone): Do not use BP_SYM in weak_alias.
31859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31861 (PARMS): Do not use macros from bp-asm.h.
31863 (__mmap64): Do not use BP_SYM.
31864 (mmap64): Do not use BP_SYM in weak_alias.
31865 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31866 <bp-sym.h> and <bp-asm.h>.
31867 (PARMS): Do not use macros from bp-asm.h.
31868 (__posix_fadvise64_l64): Do not use BP_SYM.
31869 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31870 (PARMS): Do not use macros from bp-asm.h.
31872 (semtimedop): Do not use BP_SYM.
31873 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31876 2013-02-21 Allan McRae <allan@archlinux.org>
31878 * manual/message.texi (Charset conversion in gettext):
31879 Move @end statement to beginning of line.
31881 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31885 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31888 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31889 (denorm): Likewise.
31890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31893 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31895 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31896 tail-call to the resolved function if pltexit isn't needed.
31898 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31901 or Y being zero as being unlikely.
31902 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31905 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31907 * manual/nss.texi (System Databases and Name Service Switch):
31908 Remove frobnicate @pxref.
31910 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31912 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31913 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31915 2013-02-20 Petr Machata <pmachata@redhat.com>
31917 * elf/elf.h (R_ARM_TARGET1): New macro.
31918 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31919 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31920 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31921 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31922 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31923 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31924 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31925 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31926 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31927 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31928 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31929 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31930 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31931 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31932 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31933 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31934 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31935 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31936 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31937 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31938 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31939 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31940 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31941 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31942 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31943 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31944 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31945 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31946 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31947 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31948 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31949 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31950 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31951 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31952 (R_ARM_THM_GOT_BREL12): Likewise.
31953 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31954 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31955 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31956 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31957 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31958 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31959 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31960 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31961 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31963 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31965 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31966 __attribute_used__ to __attribute__ ((unused)).
31968 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31970 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31972 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31973 comment formatting.
31974 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31976 2013-02-19 Joseph Myers <joseph@codesourcery.com>
31979 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31981 (ENTER): Remove both macro definitions.
31983 (CHECK_BOUNDS_LOW): Likewise.
31984 (CHECK_BOUNDS_HIGH): Likewise.
31985 (CHECK_BOUNDS_BOTH): Likewise.
31986 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31987 (RETURN_BOUNDED_POINTER): Likewise.
31988 (RETURN_NULL_BOUNDED_POINTER): Likewise.
31989 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31990 (POP_ERRNO_LOCATION_RETURN): Likewise.
31991 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31992 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31993 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31995 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31996 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31997 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31998 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31999 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32000 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32001 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32002 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32003 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32004 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32005 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32006 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32007 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32008 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32010 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32011 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32013 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32014 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32015 * sysdeps/i386/i586/memset.S (memset): Likewise.
32016 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32017 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32018 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32020 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32021 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32022 Change uses of L(2) to L(out).
32023 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32024 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32025 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32026 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32027 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32029 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32030 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32032 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32033 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32034 (RETURN): Do not use macro LEAVE.
32035 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32036 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32037 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32038 * sysdeps/i386/i686/memset.S (memset): Likewise.
32039 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32040 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32041 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32042 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32044 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32045 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32046 L(1_2) and L(1_3) into L(1).
32047 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32048 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32049 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32050 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32051 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32052 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32053 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32054 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32055 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32057 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32058 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32059 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32060 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32061 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32062 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32063 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32064 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32065 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32066 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32067 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32068 * sysdeps/i386/strspn.S (strspn): Likewise.
32069 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32071 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32072 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32073 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32074 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32075 L(1_3) into L(1_1).
32076 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32077 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32078 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32080 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32082 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32084 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32087 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32089 * math/atest-exp.c (exp_mpn): Remove ROUND.
32090 * math/atest-exp2.c (exp_mpn): Likewise.
32091 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32093 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32094 * stdlib/tst-tls-atexit-lib.c: Likewise.
32095 * stdlib/tst-tls-atexit.c: Likewise.
32097 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32099 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32100 and __attribute_alloc_size__.
32102 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32104 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32105 __attribute_alloc_size__.
32106 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32107 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32109 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32111 * include/programs/xmalloc.h: New file.
32112 * catgets/gencat.c: Include it.
32113 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32114 * elf/pldd.c: Likewise.
32115 * iconv/iconv_charmap.c: Likewise.
32116 * iconv/iconvconfig.c: Likewise.
32117 * iconv/strtab.c: Likewise.
32118 * locale/programs/locale.c: Likewise.
32119 * locale/programs/localedef.h: Likewise.
32120 * locale/programs/simple-hash.c: Likewise.
32121 * nscd/nscd.h: Likewise.
32122 * nss/makedb.c: Likewise.
32123 * sysdeps/generic/ldconfig.h: Likewise.
32125 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32127 * Versions.def: Add GLIBC_2.18.
32128 * include/link.h (struct link_map): New member l_tls_dtor_count.
32129 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32130 (__call_tls_dtors): Likewise.
32131 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32132 __cxa_thread_atexit_impl.
32133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32139 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32141 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32147 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32149 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32150 (tests): Add test case tst-tls-atexit.
32151 (modules-names): Add shared library for tst-tls-atexit.
32152 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32153 (GLIBC_PRIVATE): Add __call_tls_dtors.
32154 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32156 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32157 * stdlib/tst-tls-atexit.c: New test case.
32158 * stdlib/tst-tls-atexit-lib.c: New test case.
32160 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32162 * elf/Versions (ld): Add _dl_find_dso_for_object.
32163 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32164 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32165 (dl_open_worker): Use _dl_find_dso_for_object.
32166 * elf/dl-sym.c (do_sym): Likewise.
32167 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32169 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32171 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32172 Syntactic changes only.
32173 (_dl_runtime_profile): Do a tail-call to the resolved function.
32175 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32178 * sysdeps/x86_64/bp-asm.h: Remove file.
32179 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32180 <bp-sym.h> and <bp-asm.h>.
32181 (__clone): Do not use BP_SYM.
32182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32183 <bp-sym.h> and <bp-asm.h>.
32184 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32185 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32187 (_setjmp): Do not use BP_SYM.
32188 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32190 (setjmp): Do not use BP_SYM.
32191 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32193 (mempcpy): Do not use BP_SYM in weak_alias.
32194 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32196 (strchr): Do not use BP_SYM.
32197 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32199 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32200 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32201 (_start): Do not use BP_SYM.
32202 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32204 (strcat): Do not use BP_SYM.
32205 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32207 (STRCMP): Do not use BP_SYM.
32208 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32210 (STRCPY): Do not use BP_SYM.
32211 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32213 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32215 (FUNCTION): Do not use BP_SYM.
32216 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32218 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32220 2013-02-17 Andreas Jaeger <aj@suse.de>
32222 * time/Versions: Sort entries.
32223 * string/Versions: Likewise.
32224 * resolv/Versions: Likewise.
32225 * posix/Versions: Likewise.
32226 * iconv/Versions: Likewise.
32227 * elf/Versions: Likewise.
32228 * wcsmbs/Versions: Likewise.
32230 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32232 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32233 loop termination condition.
32235 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32236 variable to calculate EZ.
32239 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32240 the lower precision input.
32242 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32245 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32246 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32247 (run-via-rtld-prefix): Do not handle %-bp tests.
32248 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32249 (all-object-suffixes): Remove .ob.
32250 (bppfx): Remove variable.
32251 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32252 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32253 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32254 [$(build-bounded) = yes] (libtype.ob): Likewise.
32255 * Makerules (elide-routines.ob): Remove variable.
32256 (do-tests-clean): Do not handle *-bp.out.
32257 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32258 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32259 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32260 (tests): Do not include $(tests-bp.out).
32261 (xtests): Do not include $(xtests-bp.out).
32262 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32263 [$(build-bounded) = yes] ($(addprefix
32264 $(objpfx),$(binaries-bounded))): Remove rule.
32265 ($(objpfx)%-bp.out): Remove rule.
32266 * config.make.in (build-bounded): Remove variable.
32267 * crypt/Makefile [$(build-bounded) = yes]
32268 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32269 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32270 append to variable.
32271 [$(build-bounded) = yes] (install-lib): Likewise.
32272 [$(build-bounded) = yes] (generated): Likewise.
32273 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32275 * intl/Makefile [$(build-bounded) = yes]
32276 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32277 * math/Makefile [$(build-bounded) = yes]
32278 ($(tests:%=$(objpfx)%-bp): Likewise.
32279 * misc/Makefile [$(build-bounded) = yes]
32280 ($(objpfx)tst-tsearch-bp): Likewise.
32281 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32282 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32284 * string/Makefile (o-objects.ob): Remove variable.
32285 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32286 (CFLAGS-.ob): Remove variable.
32287 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32288 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32289 both definitions of variable.
32290 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32291 (ASFLAGS-.ob): Remove variable.
32293 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32296 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32297 Remove __BOUNDED_POINTERS__ from condition.
32298 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32299 * string/bits/string2.h [!__NO_STRING_INLINES &&
32300 !__BOUNDED_POINTERS__]: Likewise.
32301 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32303 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32304 Remove conditional code.
32305 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32306 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32307 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32311 * csu/libc-start.c: Do not include <bp-sym.h>.
32312 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32313 * elf/dl-open.c: Do not include <bp-sym.h>.
32314 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32315 * math/fegetenv.c: Do not include <bp-sym.h>.
32316 (fegetenv): Do not use BP_SYM in versioned symbols.
32317 * nptl/sysdeps/pthread/bits/libc-lockP.h
32318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32321 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32323 (__pthread_mutex_destroy): Likewise.
32324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32325 (__pthread_mutex_lock): Likewise.
32326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32327 (__pthread_mutex_trylock): Likewise.
32328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32329 (__pthread_mutex_unlock): Likewise.
32330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32331 (__pthread_mutexattr_init): Likewise.
32332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32333 (__pthread_mutexattr_destroy): Likewise.
32334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32335 (__pthread_mutexattr_settype): Likewise.
32336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32337 (__pthread_rwlock_init): Likewise.
32338 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32339 (__pthread_rwlock_destroy): Likewise.
32340 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32341 (__pthread_rwlock_rdlock): Likewise.
32342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32343 (__pthread_rwlock_tryrdlock): Likewise.
32344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32345 (__pthread_rwlock_wrlock): Likewise.
32346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32347 (__pthread_rwlock_trywrlock): Likewise.
32348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32349 (__pthread_rwlock_unlock): Likewise.
32350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32351 (__pthread_key_create): Likewise.
32352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32353 (__pthread_setspecific): Likewise.
32354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32355 (__pthread_getspecific): Likewise.
32356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32359 (_pthread_cleanup_push_defer): Likewise.
32360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32361 (_pthread_cleanup_pop_restore): Likewise.
32362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32363 (pthread_setcancelstate): Likewise.
32364 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32366 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32367 (memchr): Do not use BP_SYM in weak_alias.
32368 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32369 (fegetenv): Do not use BP_SYM in versioned symbols.
32370 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32371 (fesetenv): Do not use BP_SYM in versioned symbols.
32372 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32373 (feupdateenv): Do not use BP_SYM in versioned symbols.
32374 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32375 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32376 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32377 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32378 (open64): Do not use BP_SYM in weak_alias.
32379 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32380 (fegetenv): Do not use BP_SYM in versioned symbols.
32381 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32382 (fesetenv): Do not use BP_SYM in versioned symbols.
32383 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32384 (feupdateenv): Do not use BP_SYM in versioned symbols.
32385 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32386 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32387 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32388 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32389 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32390 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32391 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32393 (__libc_start_main): Do not use BP_SYM.
32395 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32398 redundant return line.
32400 (denorm): Likewise.
32401 (dbl_mp): Likewise.
32402 (sub_magnitudes): Likewise.
32408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32410 (denorm): Likewise.
32411 (dbl_mp): Likewise.
32412 (sub_magnitudes): Likewise.
32419 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32422 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32425 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32426 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32427 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32428 of __mul for squares.
32429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32433 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32434 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32436 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32439 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32441 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32442 prototype or function definition. Rename ubp_* variables and
32443 parameters. Remove argv definitions conditional on
32444 [__BOUNDED_POINTERS__].
32445 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32446 * elf/dl-runtime.c (_dl_fixup): Likewise.
32447 * include/set-hooks.h (RUN_HOOK): Likewise.
32448 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32450 * string/strcpy.c (strcpy): Do not use __unbounded.
32451 * sysdeps/generic/frame.h (struct layout): Likewise.
32452 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32453 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32454 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32455 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32456 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32457 (__backtrace): Likewise.
32458 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32460 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32461 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32462 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32464 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32465 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32466 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32467 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32468 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32469 Do not use __unbounded.
32470 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32471 Rename __unboundedrlimits parameter to rlimits in prototype.
32472 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32473 Do not use __unbounded.
32474 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32475 not use __ptrvalue.
32476 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32477 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32478 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32479 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32480 __ptrvalue or __unbounded.
32481 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32482 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32484 (__new_msgctl): Do not use __ptrvalue.
32485 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32487 (__libc_msgrcv): Do not use __ptrvalue.
32488 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32489 startup_info): Do not use __unbounded.
32490 (__libc_start_main): Likewise. Rename ubp_* variables and
32491 parameters. Remove argv definitions conditional on
32492 [__BOUNDED_POINTERS__].
32493 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32495 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32497 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32499 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32501 (__new_shmctl): Do not use __ptrvalue.
32502 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32503 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32505 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32506 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32507 (__libc_sigaction): Likewise.
32508 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32511 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32513 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32515 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32517 * string/mempcpy.c: Implement by calling memcpy.
32519 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32521 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32523 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32526 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32527 values in the mantissa.
32529 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32530 minimize writes to Z.
32531 (sub_magnitudes): Simplify code a bit.
32533 2013-02-12 Roland McGrath <roland@hack.frob.com>
32535 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32536 from the message. The linker prefixes all warnings with that already.
32538 2013-02-12 Andreas Schwab <schwab@suse.de>
32541 * posix/regexec.c (extend_buffers): Add parameter min_len.
32542 (check_matching): Pass minimum needed length.
32543 (clean_state_log_if_needed): Likewise.
32544 (get_subexp): Likewise.
32545 * posix/Makefile (tests): Add bug-regex34.
32546 (bug-regex34-ENV): Define.
32547 * posix/bug-regex34.c: New file.
32550 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32551 elements compare against the byte sequence of it, not its name.
32552 * posix/Makefile (tests): Add bug-regex35.
32553 (bug-regex35-ENV): Define.
32554 * posix/bug-regex35.c: New file.
32556 2013-02-11 Tom de Vries <tom@codesourcery.com>
32558 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32560 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32561 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32562 (CHECK_EOL): Add undef.
32564 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32566 * bits/stdlib-bsearch.h: New file.
32567 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32568 * stdlib/stdlib.h: Likewise.
32570 2013-02-11 Roland McGrath <roland@hack.frob.com>
32572 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32573 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32575 * manual/search.texi (Array Search Function): Add missing const in
32577 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32578 declaration to use rlim_t.
32579 (Basic Scheduling Functions): Remove erroneous const from
32580 sched_getparam prototype. Remove erroneous * from
32581 sched_get_priority_max and sched_get_priority_min prototypes.
32582 (Resource Usage): Fix summary @comment on vtimes to refer to
32583 sys/vtimes.h rather than vtimes.h.
32584 Add missing *s in vtimes prototype.
32585 (Limits on Resources): Fix ulimit prototype to return long int.
32586 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32587 prototypes to use long int rather than double.
32588 (BSD Random): Fix initstate and setstate to use char *, not void *.
32589 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32590 prototype to make second argument 'struct aiocb64 *const[]'.
32591 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32592 (Status of AIO Operations): Remove erroneous const in aio_return and
32593 aio_return64 prototypes.
32594 (Synchronizing I/O): Fix sync prototype to return void.
32595 * manual/startup.texi (Suboptions): Remove an erroneous const in
32596 getsubopt prototype.
32597 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32598 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32599 use size_t rather than int.
32600 (Scanning All Users): Likewise for getpwent_r.
32601 (Setting Groups): Add missing const to setgroups prototype.
32602 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32603 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32604 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32605 'const void *' rather than 'const char *'.
32606 (Host Address Functions): Likewise for inet_ntop.
32607 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32608 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32609 ssize_t for return value.
32610 (Sending Data): Likewise for send, sendto, sendmsg.
32611 (Socket Option Functions): Add a missing const in setsockopt prototype.
32612 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32613 use wchar_t for the argument.
32614 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32615 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32617 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32618 double/float/long double for second argument.
32619 Fix return types of significand, significandf, significandl.
32620 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32621 argument in fchmod prototype.
32622 (File Owner): Use uid_t and gid_t in fchown prototype.
32623 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32624 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32625 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32626 use 'const struct dirent **' as argument types to CMP function pointer
32628 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32629 (File Times): Fix summary magic @comment for struct utimbuf and utime
32630 to refer to utime.h, not time.h.
32631 * manual/string.texi (Argz Functions): Add missing const in
32632 argz_extract and argz_next prototypes.
32633 (Finding Tokens in a String): Likewise for basename.
32634 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32635 (Copying and Concatenation): Fix typo in wmemmove prototype.
32636 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32637 (Signal Stack): Remove erroneous const in sigstack prototype.
32638 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32640 (Simple Calendar Time): Likewise for stime.
32641 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32643 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32644 say sys/sysctl.h instead.
32645 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32646 and vsyslog prototypes.
32648 2013-02-11 Tom de Vries <tom@codesourcery.com>
32650 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32653 2013-02-11 Roland McGrath <roland@hack.frob.com>
32655 * misc/sys/mman.h: Fix typo in mremap comment.
32657 2013-02-08 Roland McGrath <roland@hack.frob.com>
32659 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32660 the '\0' terminator.
32662 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32665 * debug/segfault.c: Don't include <bp-checks.h>.
32666 * sysdeps/generic/bp-checks.h: Remove file.
32667 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32668 (__GETDENTS): Don't use CHECK_N.
32669 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32670 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32671 (__getgroups): Don't use CHECK_N.
32672 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32673 (setgroups): Don't use CHECK_N.
32674 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32675 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32676 (__libc_msgrcv): Don't use CHECK_N.
32677 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32678 (__libc_msgsnd): Don't use CHECK_N.
32679 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32681 (__libc_pread): Don't use CHECK_N.
32682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32683 include <bp-checks.h>.
32684 (__libc_pread64): Don't use CHECK_N.
32685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32686 include <bp-checks.h>.
32687 (__libc_pwrite): Don't use CHECK_N.
32688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32689 include <bp-checks.h>.
32690 (__libc_pwrite64): Don't use CHECK_N.
32691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32693 (__libc_pread): Don't use CHECK_N.
32694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32695 include <bp-checks.h>.
32696 (__libc_pread64): Don't use CHECK_N.
32697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32698 include <bp-checks.h>.
32699 (__libc_pwrite): Don't use CHECK_N.
32700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32701 include <bp-checks.h>.
32702 (__libc_pwrite64): Don't use CHECK_N.
32703 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32704 (do_pread): Don't use CHECK_N.
32705 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32706 (do_pread64): Don't use CHECK_N.
32707 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32708 (do_pwrite): Don't use CHECK_N.
32709 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32710 (do_pwrite64): Don't use CHECK_N.
32711 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32712 (__libc_readv): Don't use CHECK_N.
32713 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32714 (semop): Don't use CHECK_N.
32715 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32717 (semtimedop): Don't use CHECK_N.
32718 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32719 (__libc_pread): Don't use CHECK_N.
32720 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32722 (__libc_pread64): Don't use CHECK_N.
32723 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32725 (__libc_pwrite): Don't use CHECK_N.
32726 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32728 (__libc_pwrite64): Don't use CHECK_N.
32729 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32731 (__libc_msgrcv): Don't use CHECK_N.
32732 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32733 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32734 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32735 (__libc_writev): Don't use CHECK_N.
32737 2013-02-08 Roland McGrath <roland@hack.frob.com>
32739 * string/strcpy.c: Removed unused variable.
32741 * Makeconfig (+sysdep-includes): Define with := rather than =.
32742 Use an existing include/ subdir of each sysdeps dir before it.
32744 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32746 * nscd/connection.c (register_traced_file): Comment function.
32747 [HAVE_INOTIFY] (union __inev): Define.
32748 [HAVE_INOTIFY] (inotify_check_files): New function.
32749 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32750 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32752 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32754 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32756 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32757 loaded if not already and that a failure is permanent.
32759 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32762 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32763 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32765 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32768 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32769 (CHECK_1_NULL_OK): Likewise.
32770 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32771 (__fxstat): Do not use CHECK_1.
32772 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32774 (___fxstat64): Do not use CHECK_1.
32775 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32777 (__fxstatat): Do not use CHECK_1.
32778 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32780 (__fxstatat64): Do not use CHECK_1.
32781 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32783 (__fxstat): Do not use CHECK_1.
32784 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32786 (__fxstatat): Do not use CHECK_1.
32787 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32789 (__getresgid): Do not use CHECK_1.
32790 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32792 (__getresuid): Do not use CHECK_1.
32793 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32795 (__lxstat): Do not use CHECK_1.
32796 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32798 (__old_msgctl): Do not use CHECK_1.
32799 (__new_msgctl): Likewise.
32800 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32802 (__new_setrlimit): Do not use CHECK_1.
32803 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32805 (__old_shmctl): Do not use CHECK_1.
32806 (__new_shmctl): Likewise.
32807 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32809 (__xstat): Do not use CHECK_1.
32810 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32811 (__lxstat): Do not use CHECK_1.
32812 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32814 (___lxstat64): Do not use CHECK_1.
32815 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32816 (__old_msgctl): Do not use CHECK_1.
32817 (__new_msgctl): Likewise.
32818 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32820 (__gettimeofday): Do not use CHECK_1.
32821 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32822 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32823 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32825 (__gettimeofday): Do not use CHECK_1.
32826 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32827 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32828 (__new_shmctl): Do not use CHECK_1.
32829 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32831 (do_sigtimedwait): Do not use CHECK_1.
32832 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32834 (do_sigwaitinfo): Do not use CHECK_1.
32835 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32837 (msgctl): Do not use CHECK_1.
32838 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32840 (shmctl): Do not use CHECK_1.
32841 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32842 (ustat): Do not use CHECK_1.
32843 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32845 (__fxstat): Do not use CHECK_1.
32846 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32848 (__fxstatat): Do not use CHECK_1.
32849 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32851 (__lxstat): Do not use CHECK_1.
32852 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32854 (__xstat): Do not use CHECK_1.
32855 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32856 (__xstat): Do not use CHECK_1.
32857 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32858 (___xstat64): Do not use CHECK_1.
32861 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32863 (CHECK_BOUNDS_HIGH): Likewise.
32864 * string/strcpy.c: Do not include <bp-checks.h>.
32865 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32867 2013-02-07 Roland McGrath <roland@hack.frob.com>
32869 * nscd/nscd-client.h (__nscd_drop_map_ref):
32870 Add __attribute__ ((unused)).
32871 * nis/nss-nisplus.h (niserr2nss): Likewise.
32873 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32874 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32876 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32877 Remove inline keyword.
32878 * include/rounding-mode.h (round_away): Likewise.
32879 * libio/wfileops.c (adjust_wide_data): Likewise.
32880 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32881 (__m128i_strloadu_tolower): Likewise.
32882 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32883 (__m128i_strloadu_tolower): Likewise.
32884 * time/mktime.c (ydhms_diff): Likewise.
32885 * locale/elem-hash.h (elem_hash): Likewise.
32886 * locale/setlocale.c (setdata): Likewise.
32887 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32888 (re_string_wchar_at): Likewise.
32889 (bitset_not, bitset_merge, bitset_mask): Likewise.
32890 [!(__GNUC__ > 3)] (inline): Remove macro.
32891 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32892 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32893 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32894 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32895 * string/memcmp.c (memcmp_bytes): Likewise.
32896 * locale/programs/locarchive.c (compute_hashval): Likewise.
32897 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32898 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32899 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32900 * nss/getent.c (print_rpc, print_protocols): Likewise.
32901 (print_passwd, print_group, print_aliases): Likewise.
32902 * nis/nss-nisplus.h (niserr2nss): Likewise.
32903 * nscd/connections.c (restart_p): Likewise.
32904 Change return type to bool.
32906 2013-02-05 Roland McGrath <roland@hack.frob.com>
32908 * Makeconfig (all-Depend-files): Add existing
32909 $(sorted-subdirs:=/Depend) files.
32910 (all-subdirs): Remove nss.
32911 * sysdeps/unix/inet/Subdirs: Add it here instead.
32912 * hesiod/Depend: New file.
32914 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32915 instead of calling alloca.
32917 * io/lseek.c (__lseek): Rename to __libc_lseek.
32918 Define __lseek as an alias.
32920 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32922 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32924 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32925 else clause and remove check for non-standard endianness.
32927 2013-02-04 David S. Miller <davem@davemloft.net>
32929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32931 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32934 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32935 (__ubp_memchr): Remove prototype.
32936 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32937 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32938 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32939 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32940 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32942 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32943 (__ubp_memchr): Likewise.
32944 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32945 (__ubp_memchr): Likewise.
32946 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32947 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32948 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32949 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32951 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32952 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32953 (__getcwd): Do not use CHECK_STRING.
32954 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32956 (__real_chown): Do not use CHECK_STRING.
32957 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32959 (fchownat): Do not use CHECK_STRING.
32960 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32962 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32964 (__lchown): Do not use CHECK_STRING.
32965 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32966 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32967 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32968 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32970 include <bp-checks.h>.
32971 (truncate64): Do not use CHECK_STRING.
32972 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32974 (__real_chown): Do not use CHECK_STRING.
32975 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32977 (__lchown): Do not use CHECK_STRING.
32978 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32980 (__chown): Do not use CHECK_STRING.
32981 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32983 (truncate64): Do not use CHECK_STRING.
32984 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32986 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32987 (__xmknod): Do not use CHECK_STRING.
32988 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32990 (__xmknodat): Do not use CHECK_STRING.
32991 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32992 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32994 2013-02-04 Andreas Schwab <schwab@suse.de>
32997 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32998 * include/netdb.h: Likewise for h_errno.
32999 * elf/tst-stackguard1.c: Include <tls.h>.
33001 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33003 * elf/link.h (struct link_map): Extend the l_addr comment.
33004 * include/link.h (struct link_map): Likewise.
33006 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33009 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33010 (BOUNDED_1): Remove macro.
33011 * debug/backtrace.c: Don't include <bp-checks.h>.
33012 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33013 (__backtrace): Likewise.
33014 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33016 (__backtrace): Don't use BOUNDED_1.
33017 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33019 (__backtrace): Don't use BOUNDED_1.
33020 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33021 (__backtrace): Don't use BOUNDED_1.
33022 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33023 (shmat): Don't use BOUNDED_N.
33025 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33028 * sysdeps/generic/bp-start.h: Remove file.
33029 * csu/libc-start.c: Don't include <bp-start.h>.
33030 (LIBC_START_MAIN): Set up __environ directly instead of using
33031 INIT_ARGV_and_ENVIRON.
33032 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33036 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33038 (CHECK_FCNTL): Likewise.
33039 (CHECK_N_PAGES): Likewise.
33042 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33044 (CHECK_SIGSET_NULL_OK): Likewise.
33045 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33047 (sigpending): Don't use CHECK_SIGSET.
33048 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33050 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33051 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33053 (do_sigsuspend): Don't use CHECK_SIGSET.
33054 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33056 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33057 (do_sigwait): Don't use CHECK_SIGSET.
33058 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33060 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33061 include <bp-checks.h>.
33062 (sigpending): Don't use CHECK_SIGSET.
33063 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33064 include <bp-checks.h>.
33065 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33066 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33068 (sigpending): Don't use CHECK_SIGSET.
33069 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33071 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33074 * sysdeps/generic/bp-semctl.h: Remove file.
33075 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33076 <bp-checks.h> and <bp-semctl.h>.
33077 (__old_semctl): Don't use CHECK_SEMCTL.
33078 (__new_semctl): Likewise.
33079 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33081 (__old_semctl): Don't use CHECK_SEMCTL.
33082 (__new_semctl): Likewise.
33083 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33084 <bp-checks.h> and <bp-semctl.h>.
33085 (__old_semctl): Don't use CHECK_SEMCTL.
33086 (__new_semctl): Likewise.
33087 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33088 <bp-checks.h> and <bp-semctl.h>.
33089 (semctl): Don't use CHECK_SEMCTL.
33092 * Makerules (elide-bp-thunks): Remove variable.
33093 (elide-routines.oS): Don't use $(elide-bp-thunks).
33094 (elide-routines.os): Likewise.
33095 (elide-routines.o): Likewise.
33096 (elide-routines.op): Likewise.
33097 (elide-routines.og): Likewise.
33098 (objects): Don't use $(bp-thunks).
33099 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33101 (common-generated): Do not add s-proto-bp.d.
33102 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33105 Do not generate makefile rules for bounded-pointer thunks.
33106 * sysdeps/generic/bp-thunks.h: Remove file.
33107 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33108 * sysdeps/unix/s-proto-bp.S: Likewise.
33111 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33112 parts of result separately when argument is not close to line from
33113 -i to i and one part of argument is small.
33114 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33115 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33116 * math/libm-test.inc (cacos_test): Add more tests.
33117 (casin_test): Likewise.
33118 (casinh_test): Likewise.
33119 * sysdeps/i386/fpu/libm-test-ulps: Update.
33120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33122 2013-01-31 David S. Miller <davem@davemloft.net>
33124 * po/de.po: Update from translation team.
33126 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33128 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33130 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33132 * configure.in (_AC_PROG_CC_C89): New definition.
33133 * configure: Regenerate.
33135 * configure.in (AC_PROG_CPP): New definition.
33136 * configure: Regenerate.
33138 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33140 * debug/tst-backtrace.h: New file.
33141 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33142 (ret): Remove variable.
33144 (FAIL): Remove macro.
33145 (NO_INLINE): Likewise.
33146 (fn1): Use match function instead of strstr.
33147 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33148 (ret): Remove variable.
33150 (FAIL): Remove macro.
33151 (NO_INLINE): Likewise.
33152 (fn): Use match function instead of strstr.
33153 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33154 (ret): Remove variable.
33156 (FAIL): Remove macro.
33157 (NO_INLINE): Likewise.
33158 (handle_signal): Use match function instead of strstr.
33159 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33160 (ret): Remove variable.
33162 (FAIL): Remove macro.
33163 (NO_INLINE): Likewise.
33164 (handle_signal): Use match function instead of strstr.
33166 2013-01-23 Roland McGrath <roland@hack.frob.com>
33168 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33170 2013-01-23 David S. Miller <davem@davemloft.net>
33172 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33173 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33174 argument of CAS if possible.
33175 * sysdeps/sparc/sparc64/bits/atomic.h
33176 (__arch_compare_and_exchange_val_32_acq): Likewise.
33177 (__arch_compare_and_exchange_val_64_acq): Likewise.
33179 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33181 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33182 * sysdeps/posix/ulimit.c: ... this.
33183 Include <limits.h>.
33184 * sysdeps/unix/bsd/ulimit.c: Remove file.
33186 2013-01-23 Adam Conrad <adconrad@0c3.net>
33188 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33189 (LDFLAGS-tst-array5): Likewise.
33191 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33194 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33195 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33196 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33197 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33199 2013-01-21 David S. Miller <davem@davemloft.net>
33201 * sysdeps/sparc/backtrace.c: New file.
33202 * sysdeps/sparc/sparc32/backtrace.h: New file.
33203 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33204 * sysdeps/sparc/sparc64/backtrace.h: New file.
33205 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33206 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33209 2013-01-21 Andreas Schwab <schwab@suse.de>
33212 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33215 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33219 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33221 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33222 Mark Mitchell <mark@codesourcery.com>
33223 Tom de Vries <tom@codesourcery.com>
33224 Paul Pluzhnikov <ppluzhnikov@google.com>
33226 * debug/tst-backtrace2.c: New file.
33227 * debug/tst-backtrace3.c: Likewise.
33228 * debug/tst-backtrace4.c: Likewise.
33229 * debug/tst-backtrace5.c: Likewise.
33230 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33231 (CFLAGS-tst-backtrace3.c): Likewise.
33232 (CFLAGS-tst-backtrace4.c): Likewise.
33233 (CFLAGS-tst-backtrace5.c): Likewise.
33234 (LDFLAGS-tst-backtrace2): Likewise.
33235 (LDFLAGS-tst-backtrace3): Likewise.
33236 (LDFLAGS-tst-backtrace4): Likewise.
33237 (LDFLAGS-tst-backtrace5): Likewise.
33238 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33239 tst-backtrace4 and tst-backtrace5.
33241 2013-01-18 Anton Blanchard <anton@samba.org>
33242 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33244 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33245 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33246 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33247 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33249 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33250 "+r" and remove output regs list as redundant. Add explicit inline
33251 asm to specify register of return val to work around compiler codegen
33252 bug. Remove (int) cast on return value. Add return type parameter to
33253 use in macro so that this macro does not truncate return value for
33255 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33256 pass to INTERNAL_VSYSCALL_NCS.
33257 (INLINE_VSYSCALL): Add 'long int' as return type to
33258 INTERNAL_VSYSCALL_NCS macro invocation.
33259 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33260 INTERNAL_VSYSCALL_NCS macro invocation.
33261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33263 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33266 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33267 Fix application of SIMD FP exception mask.
33269 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33270 mp_no from a power of two.
33271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33272 __mpexp_twomm1. Use __pow_mp.
33274 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33277 2013-01-17 David S. Miller <davem@davemloft.net>
33279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33281 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33284 * include/complex.h: Condition contents on [!_COMPLEX_H].
33285 (__kernel_casinhf): New prototype.
33286 (__kernel_casinh): Likewise.
33287 (__kernel_casinhl): Likewise.
33288 * math/Makefile (libm_calls): Add k_casinh.
33289 * math/k_casinh.c: New file.
33290 * math/k_casinhf.c: Likewise.
33291 * math/k_casinhl.c: Likewise.
33292 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33293 finite nonzero arguments.
33294 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33295 finite nonzero arguments.
33296 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33297 finite nonzero arguments.
33298 * math/s_casinh.c: Do not include <float.h>.
33299 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33300 * math/s_casinhf.c: Do not include <float.h>.
33301 (__casinhf): Move code for finite nonzero arguments to
33303 * math/s_casinhl.c: Do not include <float.h>.
33304 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33306 (__casinhl): Move code for finite nonzero arguments to
33308 * math/libm-test.inc (cacos_test): Add more tests.
33309 * sysdeps/i386/fpu/libm-test-ulps: Update.
33310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33312 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33314 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33315 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33316 [!HAVE_MREMAP]: Remove [defined linux] case.
33317 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33319 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33321 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33323 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33325 * elf/elf.h (R_386_SIZE32): New relocation.
33326 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33328 (elf_machine_rela): Likewise.
33329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33330 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33332 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33334 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33335 (FP_FAST_FMA): Do not define.
33336 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33337 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33338 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33339 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33340 !_SOFT_FLOAT]: Likewise.
33341 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33342 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33344 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33345 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33346 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33348 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33349 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33352 2013-01-16 Andreas Schwab <schwab@suse.de>
33355 * include/stdlib.h (__mktemp): Add declaration.
33356 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33357 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33359 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33361 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33363 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33364 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33365 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33367 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33368 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33370 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33372 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33373 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33374 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33376 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33377 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33379 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33381 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33383 2013-01-15 David S. Miller <davem@davemloft.net>
33385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33386 trunc{,f} to libm-sysdep_routes.
33387 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33396 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33397 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33398 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33399 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33400 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33401 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33402 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33405 nearbyint{,f} to libm-sysdep_routes.
33406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33417 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33419 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33420 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33422 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33423 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33424 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33426 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33427 libc_feholdexcept and libc_fesetenv.
33429 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33431 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33433 2013-01-14 David S. Miller <davem@davemloft.net>
33435 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33436 (SPARC_ASM_VIS2_IFUNC): Likewise.
33437 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33439 use of 'siam' instruction.
33440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33446 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33448 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33458 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33459 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33460 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33461 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33468 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33470 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33473 routines to libm-sysdep_routines.
33474 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33477 fdim/fdimf to libm-sysdep_routines.
33478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33486 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33487 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33488 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33489 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33491 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33493 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33494 to optimize copies.
33496 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33497 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33501 local variable MPTWO.
33502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33505 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33507 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33510 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33512 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33514 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33516 * manual/pattern.texi (glob_t): Document gl_flags.
33517 (glob64_t): Likewise.
33519 2013-01-11 David S. Miller <davem@davemloft.net>
33521 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33522 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33523 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33524 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33525 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33526 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33527 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33528 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33529 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33530 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33531 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33532 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33533 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33535 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33536 sparc V9 rather than using V8 code.
33537 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33538 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33540 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33542 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33545 2013-01-11 Roland McGrath <roland@hack.frob.com>
33547 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33548 not in the main loop.
33549 * configure: Regenerated.
33551 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33553 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33554 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33556 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33557 [!__GLIBC_HAVE_LONG_LONG] case.
33558 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33559 condition to just #else.
33560 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33561 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33562 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33563 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33565 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33566 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33567 #elif condition to just #else.
33568 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33569 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33570 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33571 #elif condition to just #else.
33573 2013-01-11 Steve Ellcey <sellcey@mips.com>
33575 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33576 (EF_MIPS_ARCH_64): Fix value.
33577 (EF_MIPS_ARCH_32R2): New.
33578 (EF_MIPS_ARCH_64R2): New.
33580 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33582 * Makeconfig (+link-pie-before-libc): New.
33583 (+link-pie-after-libc): Likewise.
33584 (+link-pie-tests): Likewise.
33585 (+link-pie): Rewritten.
33586 (link-before-libc): Remove $(config-LDFLAGS).
33587 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33588 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33589 (config-LDFLAGS): Renamed to ...
33590 (rtld-LDFLAGS): This.
33591 (rtld-tests-LDFLAGS): New macro.
33592 (link-libc-rpath-link): Likewise.
33593 (link-libc-tests-rpath-link): Likewise.
33594 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33595 (link-libc): Prepand $(link-libc-rpath-link).
33596 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33597 (test-program-prefix): New macro.
33598 (test-via-rtld-prefix): Likewise.
33599 (test-program-cmd): Likewise.
33600 (host-test-program-cmd): Likewise.
33601 * Makefile ($(common-objpfx)testrun.sh): Replace
33602 $(run-program-prefix) with $(test-program-prefix).
33603 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33605 ($(common-objpfx)shlib.lds): Likewise.
33606 (build-module-helper): Likewise.
33607 ($(common-objpfx)format.lds): Likewise.
33608 * Rules (binaries-pie-tests): New.
33609 (binaries-pie-notests): Likewise.
33610 (binaries-pie): Rewritten.
33611 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33612 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33613 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33614 (make-test-out): Replace $(host-built-program-cmd) with
33615 $(host-test-program-cmd).
33616 * config.make.in (build-hardcoded-path-in-tests): New variable.
33617 * configure.in (--enable-hardcoded-path-in-tests): New configure
33619 (hardcoded_path_in_tests): New AC_SUBST.
33620 * configure: Regenerated.
33621 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33622 $(built-program-cmd) with $(test-program-cmd).
33623 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33624 (test_program_cmd): This.
33625 * elf/Makefile ($(objpfx)order.out): Run test with
33626 $(test-program-prefix).
33627 ($(objpfx)order2.out): Likewise.
33628 ($(objpfx)tst-initorder.out): Likewise.
33629 ($(objpfx)tst-initorder2.out): Likewise.
33630 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33631 $(test-program-cmd).
33632 ($(objpfx)tst-array1-static.out): Likewise.
33633 ($(objpfx)tst-array2.out): Likewise.
33634 ($(objpfx)tst-array3.out): Likewise.
33635 ($(objpfx)tst-array4.out): Likewise.
33636 ($(objpfx)tst-array5.out): Likewise.
33637 ($(objpfx)tst-array5-static.out): Likewise.
33638 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33639 $(test-program-cmd).
33640 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33641 $(run-program-prefix) with $(test-program-prefix).
33642 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33643 (test_program_prefix): This.
33644 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33645 $(run-program-prefix) with $(test-program-prefix).
33646 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33647 (test_program_prefix): This.
33648 * iconvdata/tst-tables.sh: Likewise.
33649 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33650 $(run-program-prefix) with $(test-program-prefix).
33651 ($(objpfx)tst-translit.out): Likewise.
33652 ($(objpfx)tst-gettext2.out): Likewise.
33653 ($(objpfx)tst-gettext4.out): Likewise.
33654 ($(objpfx)tst-gettext6.out): Likewise.
33655 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33656 (test_program_prefix): This.
33657 * intl/tst-gettext2.sh: Likewise.
33658 * intl/tst-gettext4.sh Likewise.
33659 * intl/tst-gettext6.sh: Likewise.
33660 * intl/tst-translit.sh: Likewise.
33661 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33662 with $(test-program-cmd).
33663 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33664 $(run-program-prefix) with $(test-program-prefix).
33665 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33666 (test_program_prefix): This.
33667 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33668 $(run-program-prefix) with $(test-program-prefix).
33669 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33670 (test_program_prefix): This.
33671 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33672 * posix/Makefile ($(objpfx)globtest.out): Replace
33673 $(run-via-rtld-prefix) and $(test-wrapper) with
33674 $(test-program-prefix) and $(test-via-rtld-prefix).
33675 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33676 $(test-program-prefix).
33677 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33678 $(host-test-program-cmd).
33679 (tst-spawn-ARGS): Likewise.
33680 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33681 $(test-program-prefix).
33682 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33683 (test_via_rtld_prefix): This.
33684 (test_wrapper): Renamed to ...
33685 (test_program_prefix): This.
33686 (run_program_prefix): Replaced by test_program_prefix.
33687 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33688 (test_program_prefix): This.
33689 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33690 with $(host-test-program-cmd).
33691 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33692 $(run-program-prefix) with $(test-program-prefix).
33693 ($(objpfx)tst-printf.out): Likewise.
33694 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33695 $(test-program-cmd).
33696 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33697 (test_program_prefix): This.
33698 * stdio-common/tst-unbputc.sh: Likewise.
33699 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33700 $(run-program-prefix) with $(test-program-prefix).
33701 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33702 (test_program_prefix): This.
33703 * string/Makefile ($(objpfx)tst-svc.out): Replace
33704 $(built-program-cmd) with $(test-program-cmd).
33706 2013-01-11 Andreas Jaeger <aj@suse.de>
33709 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33710 value. Sync with Linux 3.7.
33712 2013-01-10 David S. Miller <davem@davemloft.net>
33714 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33715 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33716 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33718 2013-01-10 Roland McGrath <roland@hack.frob.com>
33720 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33722 * configure: Regenerated.
33724 2013-01-10 David S. Miller <davem@davemloft.net>
33726 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33727 sparc V9 rather than using V8 code.
33728 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33729 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33731 2013-01-10 Roland McGrath <roland@hack.frob.com>
33733 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33734 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33735 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33736 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33737 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33738 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33739 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33740 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33741 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33742 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33743 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33744 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33745 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33746 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33747 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33748 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33749 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33750 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33751 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33752 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33753 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33754 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33755 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33756 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33757 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33758 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33759 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33761 2013-01-10 David S. Miller <davem@davemloft.net>
33763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33765 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33767 * posix/Makefile (tests-static): New variable.
33768 (tests): Add $(tests-static).
33769 (tst-exec-static-ARGS): New variable.
33770 (tst-spawn-static-ARGS): Likewise.
33771 * posix/tst-exec-static.c: New file.
33772 * posix/tst-spawn-static.c: Likewise.
33773 * posix/tst-exec.c: Support run directly.
33774 * posix/tst-spawn.c: Likewise.
33776 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33778 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33780 * math/bits/mathcalls.h (llrint): Likewise.
33781 (llround): Likewise.
33782 * stdlib/stdlib.h (struct drand48_data): Likewise.
33783 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33784 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33785 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33787 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33789 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33790 (elf_greg_t): Likewise.
33791 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33792 (__jmp_buf): Likewise.
33793 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33795 (llrint): Likewise, for all definitions.
33796 (llrintl): Likewise.
33798 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33799 Remove [__GNUC__] condition.
33800 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33801 condition to just [__USE_ISOC99].
33802 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33804 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33807 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33808 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33810 (_POSIX_V6_ILP32_OFF32): Likewise.
33811 (_XBS5_ILP32_OFF32): Likewise.
33812 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33813 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33815 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33817 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33819 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33820 doubles __mpexp_twomm1. Adjust usage.
33821 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33824 2013-01-10 Andreas Schwab <schwab@suse.de>
33827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33828 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33830 2013-01-09 David S. Miller <davem@davemloft.net>
33833 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33834 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33835 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33836 (TCP_FASTOPEN): Define.
33837 (tcp_repair_opt): New structure.
33838 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33840 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33841 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33842 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33843 (tcp_cookie_transactions): New structure.
33845 2013-01-09 Anton Blanchard <anton@samba.org>
33847 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33848 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33849 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33850 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33852 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33854 * include/features.h (__USE_ANSI): Remove.
33856 2013-01-09 Roland McGrath <roland@hack.frob.com>
33858 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33860 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33862 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33864 * sysdeps/s390/fpu/libm-test-ulps: Update.
33866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33868 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33872 (denorm): Likewise.
33873 (__mp_dbl): Likewise.
33874 (__dbl_mp): Likewise.
33875 (add_magnitudes): Likewise.
33876 (sub_magnitudes): Likewise.
33882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33886 (denorm): Likewise.
33887 (__mp_dbl): Likewise.
33888 (__dbl_mp): Likewise.
33889 (add_magnitudes): Likewise.
33890 (sub_magnitudes): Likewise.
33896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33900 (denorm): Likewise.
33901 (__mp_dbl): Likewise.
33902 (__dbl_mp): Likewise.
33903 (add_magnitudes): Likewise.
33904 (sub_magnitudes): Likewise.
33911 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33913 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33914 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33915 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33916 2 && __USE_EXTERN_INLINES]: Likewise.
33918 2013-01-08 Andreas Jaeger <aj@suse.de>
33921 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33923 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33924 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33926 2013-01-07 Anton Blanchard <anton@samba.org>
33928 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33929 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33930 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33931 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33932 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33933 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33934 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33935 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33937 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33938 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33939 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33940 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33941 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33942 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33943 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33944 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33945 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33946 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33947 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33948 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33949 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33950 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33951 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33952 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33953 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33954 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33955 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33956 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33957 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33958 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33959 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33960 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33961 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33962 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33963 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33964 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33966 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33967 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33968 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33969 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33970 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33972 2013-01-07 Joseph Myers <joseph@codesourcery.com>
33974 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33975 (__MALLOC_PMT): Likewise.
33976 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33977 [__GNUC__], only on [_LIBC].
33978 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33979 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33980 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33981 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33982 forward declaration.
33983 (realloc_hook_ini): Likewise.
33984 (memalign_hook_ini): Likewise.
33985 (__libc_memalign): Do not use __MALLOC_PMT in variable
33987 (__libc_valloc): Likewise.
33988 (__libc_pvalloc): Likewise.
33989 (__libc_calloc): Likewise.
33990 (__posix_memalign): Likewise.
33993 * math/s_casinh.c: Include <float.h>.
33994 (__casinh): Do not do computation with squaring and square root
33995 for large arguments.
33996 * math/s_casinhf.c: Include <float.h>.
33997 (__casinhf): Do not do computation with squaring and square root
33998 for large arguments.
33999 * math/s_casinhl.c: Include <float.h>.
34000 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34001 (__casinhl): Do not do computation with squaring and square root
34002 for large arguments.
34003 * math/libm-test.inc (casin_test): Add more tests.
34004 (casinh_test): Likewise.
34005 * sysdeps/i386/fpu/libm-test-ulps: Update.
34006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34008 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34010 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34011 (__x86_64_raw_data_cache_size): Likewise.
34012 (__x86_64_data_cache_size_half): Likewise.
34013 (__x86_64_raw_data_cache_size_half): Likewise.
34014 (__x86_64_shared_cache_size): Likewise.
34015 (__x86_64_raw_shared_cache_size): Likewise.
34016 (__x86_64_shared_cache_size_half): Likewise.
34017 (__x86_64_raw_shared_cache_size_half): Likewise.
34018 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34020 (__x86_data_cache_size): This.
34021 (__x86_64_raw_data_cache_size): Renamed to ...
34022 (__x86_raw_data_cache_size): This.
34023 (__x86_64_data_cache_size_half): Renamed to ...
34024 (__x86_data_cache_size_half): This.
34025 (__x86_64_raw_data_cache_size_half): Renamed to ...
34026 (__x86_raw_data_cache_size_half): This.
34027 (__x86_64_shared_cache_size): Renamed to ...
34028 (__x86_shared_cache_size): This.
34029 (__x86_64_raw_shared_cache_size): Renamed to ...
34030 (__x86_raw_shared_cache_size): This.
34031 (__x86_64_shared_cache_size_half): Renamed to ...
34032 (__x86_shared_cache_size_half): This.
34033 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34034 (__x86_raw_shared_cache_size_half): This.
34035 * sysdeps/x86_64/memcpy.S: Updated.
34036 * sysdeps/x86_64/memset.S: Likewise.
34037 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34038 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34039 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34041 2013-01-04 David S. Miller <davem@davemloft.net>
34043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34045 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34047 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34048 1 to avoid redefinition warning.
34049 (__USE_GNU): Don't define.
34050 (init_signaling_nan): Protoize.
34052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34054 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34056 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34057 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34058 (__cpymn): Likewise.
34059 (norm): Remove commented code.
34060 (denorm): Likewise.
34061 (__mp_dbl): Likewise.
34063 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34064 (__cpymn): Likewise.
34065 (norm): Remove commented code.
34066 (denorm): Likewise.
34067 (__mp_dbl): Likewise.
34070 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34071 mp_no value for 1.0 and 2.0.
34072 (norm): Use RADIXI instead of radixi.d.
34073 (denorm): Likewise.
34074 (__mul): Use 0.0 instead of zero.d.
34075 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34076 mp_no value for 1.0 and 2.0.
34077 (norm): Use RADIXI instead of radixi.d.
34078 (denorm): Likewise.
34079 (__mul): Use 0.0 instead of zero.d.
34081 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34084 * math/s_casinh.c (__casinh): Reduce finite argument to first
34085 quadrant then set signs of results at the end.
34086 * math/s_casinhf.c (__casinhf): Likewise.
34087 * math/s_casinhl.c (__casinhl): Likewise.
34088 * math/libm-test.inc (casin_test): Add more tests.
34089 (casinh_test): Likewise.
34090 * sysdeps/i386/fpu/libm-test-ulps: Update.
34091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34093 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34095 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34097 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34099 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34101 (denorm): Likewise.
34102 (__mp_dbl): Likewise.
34105 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34106 and adjust the header comment.
34108 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34109 variable name from declaration.
34111 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34113 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34114 Initialize COMMON_CPUID_INDEX_7 element.
34115 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34116 (CPUID_RTM): Likewise.
34117 (HAS_RTM): Likewise.
34118 (COMMON_CPUID_INDEX_7): New enum.
34120 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34123 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34124 size is zero, record memory as freed.
34126 2013-01-03 Andreas Jaeger <aj@suse.de>
34128 * po/ia.po: Add new Interlingua translation.
34130 2012-01-03 Allan McRae <allan@archlinux.org>
34132 * locale/programs/localedef.c: Fix description of '--posix' flag.
34134 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34136 * NEWS: Update dates in second copyright notice.
34137 * README: Update copyright dates in example.
34138 * manual/libc.texinfo: Update copyright dates.
34139 * scripts/test-installation.pl: Update copyright date in --version
34142 * hurd/ctty-input.c: Fix copyright notice formatting.
34143 * hurd/ctty-output.c: Likewise.
34144 * hurd/dtable.c: Likewise.
34145 * hurd/hurd-raise.c: Likewise.
34146 * hurd/hurdprio.c: Likewise.
34147 * hurd/msgportdemux.c: Likewise.
34148 * misc/sys/file.h: Likewise.
34149 * misc/sys/ioctl.h: Likewise.
34150 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34151 * sysdeps/mach/hurd/chdir.c: Likewise.
34152 * sysdeps/mach/hurd/fchdir.c: Likewise.
34153 * sysdeps/mach/hurd/rename.c: Likewise.
34154 * sysdeps/mach/hurd/rmdir.c: Likewise.
34155 * sysdeps/mach/hurd/seekdir.c: Likewise.
34156 * sysdeps/mach/hurd/setsid.c: Likewise.
34157 * sysdeps/posix/wait3.c: Likewise.
34159 * All files with FSF copyright notices: Update copyright dates
34160 using scripts/update-copyrights.
34161 * intl/plural.c: Regenerated.
34162 * locale/programs/charmap-kw.h: Likewise.
34163 * locale/programs/locfile-kw.h: Likewise.
34165 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34167 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34170 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34171 calculation loop and add branch prediction.
34173 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34174 check access beyond bounds of m1np.
34176 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34178 (__inv): Remove local variable MPTWO to use the global
34180 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34181 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34183 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34184 MP3HALFS static const.
34186 2013-01-01 David S. Miller <davem@davemloft.net>
34188 * po/ca.po: Update from translation team.
34190 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34192 * scripts/update-copyrights: New file.
34193 * Makeconfig: Reformat copyright notice.
34194 * ctype/ctype.h: Likewise.
34195 * debug/swprintf_chk.c: Likewise.
34196 * elf/dl-cache.c: Likewise.
34197 * elf/dl-debug.c: Likewise.
34198 * elf/dl-object.c: Likewise.
34199 * grp/initgroups.c: Likewise.
34200 * hurd/Makefile: Likewise.
34201 * hurd/hurd/signal.h: Likewise.
34202 * hurd/hurdfault.c: Likewise.
34203 * hurd/hurdioctl.c: Likewise.
34204 * hurd/hurdlookup.c: Likewise.
34205 * hurd/intr-msg.c: Likewise.
34206 * iconv/gconv_open.c: Likewise.
34207 * libio/swprintf.c: Likewise.
34208 * locale/lc-ctype.c: Likewise.
34209 * locale/nl_langinfo.c: Likewise.
34210 * mach/Machrules: Likewise.
34211 * mach/Makefile: Likewise.
34212 * malloc/obstack.h: Likewise.
34213 * manual/Makefile: Likewise.
34214 * manual/tsort.awk: Likewise.
34215 * misc/bits/stab.def: Likewise.
34216 * nis/nis_print_group_entry.c: Likewise.
34217 * nis/nis_table.c: Likewise.
34218 * nis/nss_compat/compat-pwd.c: Likewise.
34219 * nis/nss_compat/compat-spwd.c: Likewise.
34220 * po/Makefile: Likewise.
34221 * posix/fnmatch.c: Likewise.
34222 * posix/regex.h: Likewise.
34223 * resolv/Makefile: Likewise.
34224 * resolv/nss_dns/dns-network.c: Likewise.
34225 * resolv/res_hconf.c: Likewise.
34226 * scripts/gen-sorted.awk: Likewise.
34227 * soft-fp/soft-fp.h: Likewise.
34228 * stdio-common/printf.h: Likewise.
34229 * stdlib/monetary.h: Likewise.
34230 * stdlib/random.c: Likewise.
34231 * stdlib/random_r.c: Likewise.
34232 * sysdeps/generic/Makefile: Likewise.
34233 * sysdeps/gnu/Makefile: Likewise.
34234 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34235 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34236 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34237 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34238 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34239 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34240 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34241 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34244 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34245 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34246 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34247 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34248 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34249 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34250 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34251 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34252 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34253 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34254 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34255 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34256 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34257 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34258 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34259 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34260 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34261 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34262 * sysdeps/mach/hurd/errnos.awk: Likewise.
34263 * sysdeps/mach/hurd/fork.c: Likewise.
34264 * sysdeps/mach/hurd/getcwd.c: Likewise.
34265 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34266 * sysdeps/mach/hurd/mmap.c: Likewise.
34267 * sysdeps/mach/hurd/utimes.c: Likewise.
34268 * sysdeps/mach/hurd/xmknod.c: Likewise.
34269 * sysdeps/posix/profil.c: Likewise.
34270 * sysdeps/posix/readdir_r.c: Likewise.
34271 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34272 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34273 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34274 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34276 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34277 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34278 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34279 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34280 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34281 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34282 * sysdeps/pthread/lio_listio.c: Likewise.
34283 * sysdeps/sparc/dl-procinfo.h: Likewise.
34284 * sysdeps/unix/i386/sysdep.S: Likewise.
34285 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34286 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34287 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34288 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34290 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34291 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34292 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34293 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34294 * sysdeps/wordsize-32/divdi3.c: Likewise.
34295 * time/sys/time.h: Likewise.
34296 * wcsmbs/Makefile: Likewise.
34298 2013-01-01 David S. Miller <davem@davemloft.net>
34300 * po/fr.po: Update from translation team.
34302 * catgets/gencat.c: Update copyright year.
34303 * csu/version.c: Likewise.
34304 * debug/catchsegv.sh: Likewise.
34305 * debug/pcprofiledump.c: Likewise.
34306 * debug/xtrace.sh: Likewise.
34307 * elf/ldconfig.c: Likewise.
34308 * elf/ldd.bash.in: Likewise.
34309 * elf/pldd.c: Likewise.
34310 * elf/sotruss.ksh: Likewise.
34311 * elf/sprof.c: Likewise.
34312 * iconv/iconv_prog.c: Likewise.
34313 * iconv/iconvconfig.c: Likewise.
34314 * locale/programs/locale.c: Likewise.
34315 * locale/programs/localedef.c: Likewise.
34316 * login/programs/pt_chown.c: Likewise.
34317 * malloc/memusage.sh: Likewise.
34318 * malloc/memusagestat.c: Likewise.
34319 * malloc/mtrace.pl: Likewise.
34320 * nscd/nscd.c: Likewise.
34321 * nss/getent.c: Likewise.
34322 * nss/makedb.c: Likewise.
34323 * posix/getconf.c: Likewise.
34325 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34327 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34330 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34332 * math/bits/mathcalls.h (modf): Use __nonnull.
34334 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34336 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34337 (split): Use macro CN instead of the bare value.
34338 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34340 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34341 instead of the bare value.
34342 (power1): Likewise.
34344 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34346 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34348 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34350 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34352 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34353 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34354 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34355 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34357 2012-12-28 Andreas Jaeger <aj@suse.de>
34359 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34360 values are from Linux 3.7.
34362 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34363 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34365 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34367 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34370 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34372 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34373 variables with preprocessor constants.
34374 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34375 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34376 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34378 2012-12-27 Bruno Haible <bruno@clisp.org>
34381 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34384 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34386 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34387 and use variable directly.
34388 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34390 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34392 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34395 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34396 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34397 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34398 include directive. Remove local variable MPONE.
34399 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34400 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34401 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34403 2012-12-25 David S. Miller <davem@davemloft.net>
34405 * version.h (RELEASE): Set to "development".
34406 (VERSION): Set to "2.17.90".
34407 * NEWS: Add 2.18 section.
34409 2012-12-21 David S. Miller <davem@davemloft.net>
34411 * po/hr.po: Update from translation team.
34413 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34415 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34417 2012-12-19 Steve Ellcey <sellcey@mips.com>
34419 * NEWS: Mention new memcpy for MIPS.
34421 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34423 * manual/contrib.texi (Contributors): Spelling correction.
34425 2012-12-15 David S. Miller <davem@davemloft.net>
34427 * po/ru.po: Update from translation team.
34429 2012-12-13 David S. Miller <davem@davemloft.net>
34431 * NEWS: Mention IFUNC testsuite enhancements.
34433 * po/pl.po: Update from translation team.
34434 * po/bg.po: Likewise.
34436 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34437 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34439 2012-12-11 David S. Miller <davem@davemloft.net>
34441 * po/sv.po: Update from translation team.
34443 * po/vi.po: Update from translation team.
34445 * po/cs.po: Update from translation team.
34447 * po/de.po: Update from translation team.
34448 * po/eo.po: Likewise.
34449 * po/nl.po: Likewise.
34451 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34454 * manual/argp.texi (Argp Helper Functions): Move node to follow
34455 Argp Parsing State.
34458 * manual/conf.texi (Limits on File System Capacity): Mention if
34459 terminating null is included in the max size.
34461 2012-12-10 Andreas Jaeger <aj@suse.de>
34463 * po/cs.po: Update from translation team.
34465 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34467 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34468 void pointer and cast to uintptr_t.
34469 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34471 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34472 * sysdeps/s390/s390-64/memset.S: Likewise.
34474 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34477 * menual/message.texi (Message Translation): Fix typos.
34478 (Helper programs for gettext): Likewise.
34480 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34483 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34486 2012-12-07 David S. Miller <davem@davemloft.net>
34488 * po/libc.pot: Update.
34490 2012-12-07 Richard Henderson <rth@redhat.com>
34493 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34494 normal/normal case to before the switch.
34495 (_FP_DIV): Likewise.
34497 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34498 Mike Frysinger <vapier@gentoo.org>
34500 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34501 check for __NR_fadvise64_64.
34503 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34505 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34506 0, not just to plain "0" as a statement.
34507 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34510 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34512 * NEWS: Use sourceware.org in Bugzilla URL.
34514 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34517 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34519 * stdio-common/tst-put-error.c (do_test): Add newline to the
34520 padded test to ensure flush.
34522 2012-12-05 Jeff Law <law@redhat.com>
34524 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34526 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34528 * README: Don't refer to ports add-on as distributed separately.
34529 Mention AArch64 in list of systems supported in the ports add-on.
34531 * LICENSES: Add more non-FSF copyright and license notices.
34533 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34536 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34538 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34539 10000 as width of padded output.
34541 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34543 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34545 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34546 variable LX with __attribute__ ((unused)).
34547 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34549 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34550 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34551 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34552 with __attribute__ ((unused)).
34554 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34556 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34558 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34560 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34561 (CFLAGS-nldbl-acos.c): New variable.
34562 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34563 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34564 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34565 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34566 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34567 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34568 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34569 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34570 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34571 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34572 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34573 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34574 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34575 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34576 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34577 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34578 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34579 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34580 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34581 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34582 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34583 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34584 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34585 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34586 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34587 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34588 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34589 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34590 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34591 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34592 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34593 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34594 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34595 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34596 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34597 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34598 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34599 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34600 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34601 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34602 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34603 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34604 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34605 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34606 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34607 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34608 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34609 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34610 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34611 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34612 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34613 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34614 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34615 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34616 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34617 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34618 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34619 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34620 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34621 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34622 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34623 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34624 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34625 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34626 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34627 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34628 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34629 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34630 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34631 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34632 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34633 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34634 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34635 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34636 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34637 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34638 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34639 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34640 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34641 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34642 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34643 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34644 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34645 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34646 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34647 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34648 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34649 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34650 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34651 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34652 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34653 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34654 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34655 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34656 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34657 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34658 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34661 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34664 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34665 whole low double instead of just low 47 bits when splitting values
34668 2012-12-03 Allan McRae <allan@archlinux.org>
34670 * manual/stdio.texi (Predefined Printf Handlers): Remove
34671 @hsep and @vsep usage.
34673 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34675 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34676 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34678 2012-12-03 Jeff Law <law@redhat.com>
34680 * time/sys/time.h (settimeofday): Do not mark TV argument
34683 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34685 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34686 when currently writing and seek to current position when not.
34687 * libio/Makefile (tests): Remove bug-fclose1.
34688 * libio/bug-fclose1.c: Delete.
34690 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34692 * manual/arith.texi (feenableexcept): Fix typo.
34693 (fedisableexcept): Likewise.
34695 2012-11-30 Roland McGrath <roland@hack.frob.com>
34697 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34698 second, differently-typed declaration, rather than a cast.
34700 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34702 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34703 * include/rpc/svc.h: ... here.
34705 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34708 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34709 depending n and resplen2 to catch cases where answer
34712 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34714 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34715 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34717 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34719 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34721 2012-11-29 Roland McGrath <roland@hack.frob.com>
34723 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34725 2012-11-28 Jeff Law <law@redhat.com>
34728 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34729 dataset_temporary. Track alloca usage into alloca_used.
34730 If dataset is large allocate and release it via malloc/free.
34732 2012-06-04 Florian Weimer <fweimer@redhat.com>
34735 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34737 2012-11-28 David S. Miller <davem@davemloft.net>
34739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34741 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34744 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34745 of pi/2 rounded to nearest to 64 bits.
34746 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34747 nearest to 64 bits.
34748 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34751 2012-11-28 Jeff Law <law@redhat.com>
34752 Martin Osvald <mosvald@redhat.com>
34755 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34756 * sunrpc/svc.c: Include time.h.
34757 (__svc_accept_failed): New function.
34758 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34759 any reason other than EINTR, call __svc_accept_failed.
34760 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34761 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34763 2012-11-28 Andreas Schwab <schwab@suse.de>
34765 * scripts/abilist.awk: Also handle indirect functions in .opd
34768 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34771 * sysdeps/x86/fpu/powl_helper.c: New file.
34772 * sysdeps/x86/fpu/Makefile: Likewise.
34773 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34775 (__ieee754_powl): Use __powl_helper for finite arguments except
34776 integer exponents below 8.
34777 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34779 (__ieee754_powl): Use __powl_helper for finite arguments except
34780 integer exponents below 8.
34781 * math/libm-test.inc (pow_test): Add more tests and enable some
34782 previously disabled tests.
34783 * sysdeps/i386/fpu/libm-test-ulps: Update.
34784 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34786 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34787 Carlos O'Donell <carlos_odonell@mentor.com>
34789 * nss/makedb.c (is_prime): Assert that input is odd and greater
34790 than 4. Note that fact in a comment too.
34791 (next_prime): Add 4 to input.
34793 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34796 * libio/Makefile (tests): Add test case tst-fwrite-error.
34797 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34798 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34799 * libio/tst-fwrite-error.c: New test case.
34801 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34803 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34804 before casting to void *.
34805 * include/libc-internal.h (__pointer_type): New macro.
34806 (__integer_if_pointer_type_sub): Likewise.
34807 (__integer_if_pointer_type): Likewise.
34808 (cast_to_integer): Likewise.
34809 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34810 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34811 before casting to atomic64_t.
34812 (atomic_exchange_acq): Likewise.
34813 (__arch_exchange_and_add_body): Likewise.
34814 (__arch_add_body): Likewise.
34815 (atomic_add_negative): Likewise.
34816 (atomic_add_zero): Likewise.
34818 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34820 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34821 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34822 (add_fdes): Likewise.
34823 (linear_search_fdes): Likewise.
34824 (binary_search_unencoded_fdes): Likewise.
34826 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34828 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34830 2012-11-24 Adam Conrad <adconrad@0c3.net>
34832 * configure.in: Autodetect C++ header directories.
34833 * configure: Regenerated.
34835 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34837 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34839 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34841 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34843 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34845 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34846 LDBL_MANT_DIG == 106]: Disable some tests.
34847 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34849 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34853 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34854 input for small inputs. Return +/- pi/2 for large inputs.
34855 * math/libm-test.inc (atan_test): Add more tests.
34857 * sysdeps/generic/unwind-dw2-fde-glibc.c
34858 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34859 __attribute__ ((unused)).
34862 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34863 x * y if x and y are nonzero and z is zero.
34866 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34867 nonzero exponents with absolute value below 0x1p-117 to +/-
34871 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34872 up arguments below 2**-450, not just those below 2**-500.
34873 * math/libm-test.inc (hypot_test): Add another test.
34876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34877 Return a+b for ratio over 2**120, not 2**60.
34878 * math/libm-test.inc (hypot_test): Add another test.
34880 * math/libm-test.inc (clog_test): Use
34881 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34882 (clog10_test): Likewise.
34885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34887 2012-11-22 Andreas Schwab <schwab@suse.de>
34889 * sysdeps/i386/fpu/libm-test-ulps: Update.
34891 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34893 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34894 printf output with newline.
34896 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34899 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34900 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34901 -z nodlopen, -z initfirst and -z execstack support.
34902 * configure: Regenerated.
34904 * elf/elf.h (DF_1_NODIRECT): New macro.
34905 (DF_1_IGNMULDEF): Likewise.
34906 (DF_1_NOKSYMS): Likewise.
34907 (DF_1_NOHDR): Likewise.
34908 (DF_1_EDITED): Likewise.
34909 (DF_1_NORELOC): Likewise.
34910 (DF_1_SYMINTPOSE): Likewise.
34911 (DF_1_GLOBAUDIT): Likewise.
34912 (DF_1_SINGLETON): Likewise.
34913 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34914 DT_1_SUPPORTED_MASK bits.
34915 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34917 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34919 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34921 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34923 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34926 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34927 (sendmmsg): Move declarations...
34928 * socket/sys/socket.h: ... here.
34929 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34930 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34932 * socket/recvmmsg.c: ... this new file.
34933 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34934 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34935 definition of __sendmmsg hidden.
34936 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34937 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34938 Move ENOSYS stub into and include it from...
34939 * socket/sendmmsg.c: ... this new file.
34940 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34941 (sysdep_routines): Move recvmmsg and sendmmsg...
34942 * socket/Makefile (routines): ... here.
34943 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34944 (GLIBC_PRIVATE): Add __sendmmsg.
34945 * include/sys/socket.h (__sendmmsg): Add declarations.
34946 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34949 2012-11-20 Joseph Myers <joseph@codesourcery.com>
34951 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34952 variable I1 with __attribute__ ((unused)).
34953 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34955 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34957 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34958 DUMMY variables with __attribute__ ((unused)).
34960 * bits/byteswap.h: Include <bits/types.h>.
34961 (__bswap_64): Use __uint64_t instead of unsigned long long int.
34963 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34965 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34966 string_t. Do not manually set errno.
34967 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34968 length with __strnlen. Make sure to both set errno and return it on
34971 2012-11-19 David S. Miller <davem@davemloft.net>
34973 With help from Joseph Myers.
34974 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34975 very large arguments properly.
34976 * math/libm-test.inc (atan_test): New tests.
34977 (atan2_test): New tests.
34978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34981 2012-11-19 Joseph Myers <joseph@codesourcery.com>
34984 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34987 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34988 [POSIX] (EADDRNOTAVAIL): Likewise.
34989 [POSIX] (EAFNOSUPPORT): Likewise.
34990 [POSIX] (EALREADY): Likewise.
34991 [POSIX] (ECONNABORTED): Likewise.
34992 [POSIX] (ECONNREFUSED): Likewise.
34993 [POSIX] (ECONNRESET): Likewise.
34994 [POSIX] (EDESTADDRREQ): Likewise.
34995 [POSIX] (EDQUOT): Likewise.
34996 [POSIX] (EHOSTUNREACH): Likewise.
34997 [POSIX] (EIDRM): Likewise.
34998 [POSIX] (EISCONN): Likewise.
34999 [POSIX] (ELOOP): Likewise.
35000 [POSIX] (EMULTIHOP): Likewise.
35001 [POSIX] (ENETDOWN): Likewise.
35002 [POSIX] (ENETUNREACH): Likewise.
35003 [POSIX] (ENOBUFS): Likewise.
35004 [POSIX] (ENODATA): Likewise.
35005 [POSIX] (ENOLINK): Likewise.
35006 [POSIX] (ENOMSG): Likewise.
35007 [POSIX] (ENOPROTOOPT): Likewise.
35008 [POSIX] (ENOSR): Likewise.
35009 [POSIX] (ENOSTR): Likewise.
35010 [POSIX] (ENOTCONN): Likewise.
35011 [POSIX] (ENOTSOCK): Likewise.
35012 [POSIX] (EOPNOTSUPP): Likewise.
35013 [POSIX] (EOVERFLOW): Likewise.
35014 [POSIX] (EPROTO): Likewise.
35015 [POSIX] (EPROTONOSUPPORT): Likewise.
35016 [POSIX] (EPROTOTYPE): Likewise.
35017 [POSIX] (ESTALE): Likewise.
35018 [POSIX] (ETIME): Likewise.
35019 [POSIX] (ETXTBSY): Likewise.
35020 [POSIX] (EWOULDBLOCK): Likewise.
35021 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35022 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35023 [POSIX] (SEEK_CUR): Likewise.
35024 [POSIX] (SEEK_END): Likewise.
35025 [POSIX || UNIX98] (mode_t): Do not require.
35026 [POSIX] (off_t): Likewise.
35027 [POSIX] (pid_t): Likewise.
35028 [POSIX] (sys/stat.h): Do not allow header.
35029 [POSIX] (unistd.h): Likewise.
35030 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35031 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35032 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35033 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35035 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35036 sigevent): Specify elements.
35037 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35039 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35040 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35042 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35043 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35044 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35045 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35046 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35047 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35048 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35049 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35050 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35051 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35052 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35053 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35054 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35055 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35057 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35059 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35061 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35063 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35064 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35065 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35066 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35067 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35068 Specify lower bound on value.
35069 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35070 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35071 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35072 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35073 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35074 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35075 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35076 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35078 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35080 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35081 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35082 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35083 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35084 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35085 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35086 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35087 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35088 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35089 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35090 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35091 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35092 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35093 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35094 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35095 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35097 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35099 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35100 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35101 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35102 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35103 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35104 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35106 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35107 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35108 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35109 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35110 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35111 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35112 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35114 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35115 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35116 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35117 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35118 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35119 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35120 specify as optional.
35121 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35122 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35123 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35124 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35125 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35126 [XPG3] (NL_LANGMAX): Likewise.
35127 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35128 [POSIX || XPG3] (NL_NMAX): Likewise.
35129 [POSIX || XPG3] (NL_SETMAX): Likewise.
35130 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35131 [XPG3] (NZERO): Likewise.
35132 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35133 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35134 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35135 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35136 (REG_ERANGE): Expect.
35137 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35139 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35140 Use (void) in prototype.
35141 [POSIX] (*_t): Allow.
35142 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35143 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35144 (WRDE_BADVAL): Expect.
35146 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35148 [XPG3 || XPG4] (O_RSYNC): Likewise.
35149 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35151 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35152 [XPG3 || XPG4] (sigqueue): Likewise.
35153 [XPG3 || XPG4] (sigtimedwait): Likewise.
35154 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35155 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35156 [XPG3 || XPG4] (vsnprintf): Likewise.
35157 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35159 [XPG3 || XPG4] (blksize_t): Likewise.
35160 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35162 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35163 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35164 [XPG3 || XPG4] (struct itimerspec): Likewise.
35165 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35166 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35167 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35168 [XPG3 || XPG4] (clockid_t): Likewise.
35169 [XPG3 || XPG4] (timer_t): Likewise.
35170 [XPG3 || XPG4] (clock_getres): Likewise.
35171 [XPG3 || XPG4] (clock_gettime): Likewise.
35172 [XPG3 || XPG4] (clock_settime): Likewise.
35173 [XPG3 || XPG4] (nanosleep): Likewise.
35174 [XPG3 || XPG4] (timer_create): Likewise.
35175 [XPG3 || XPG4] (timer_delete): Likewise.
35176 [XPG3 || XPG4] (timer_gettime): Likewise.
35177 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35178 [XPG3 || XPG4] (timer_settime): Likewise.
35179 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35180 [XPG3 || XPG4] (getlogin_r): Likewise.
35181 [XPG3 || XPG4] (pread): Likewise.
35182 [XPG3 || XPG4] (pthread_atfork): Likewise.
35183 [XPG3 || XPG4] (pwrite): Likewise.
35186 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35189 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35191 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35192 finalizing MALLSTREAM.
35194 * sysdeps/mach/hurd/syncfs.c: New file.
35196 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35199 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35200 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35201 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35202 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35203 (_nss_dns_gethostbyname4_r): Likewise.
35204 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35205 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35207 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35210 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35212 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35214 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35215 * elf/cache.c (print_entry): Print ",AArch64" for
35218 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35219 * elf/cache.c (print_entry): Print ",hard-float" for
35222 2012-11-18 David S. Miller <davem@davemloft.net>
35224 With help from Joseph Myers.
35225 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35227 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35229 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35230 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35232 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35233 * math/libm-test.inc (y0_test): New tests.
35234 (y1_test): New tests.
35235 * sysdeps/i386/fpu/libm-test-ulps: Update.
35236 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35239 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35241 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35243 * configure: Regenerated.
35245 2012-11-17 David S. Miller <davem@davemloft.net>
35248 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35249 nonzero exponents with absolute value below 0x1p-128 to +/-
35252 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35254 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35256 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35258 * posix/getconf-speclist.c: New file.
35259 * posix/posix-envs.def: Likewise.
35260 * posix/confstr.c (START_ENV_GROUP): New macro.
35261 (END_ENV_GROUP): Likewise.
35262 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35263 (KNOWN_PRESENT_ENV_STRING): Likewise.
35264 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35265 (UNKNOWN_ENVIRONMENT): Likewise.
35266 (confstr): Include posix-envs.def instead of handling
35267 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35268 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35269 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35270 (END_ENV_GROUP): Likewise.
35271 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35272 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35273 (UNKNOWN_ENVIRONMENT): Likewise.
35274 (__sysconf): Include posix-envs.def instead of handling associated
35275 cases directly here.
35276 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35277 preprocessing getconf-speclist.c rather than running getconf or
35278 generating empty file.
35280 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35282 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35284 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35287 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35289 2012-11-16 David S. Miller <davem@davemloft.net>
35291 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35292 smaller than LDBL_EPSILON/2.0L, just return xm1.
35294 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35296 * elf/tst-array1.c (init): Set constructor priority to 1000.
35297 (fini): Set destructor priority to 1000.
35298 * elf/tst-array2dep.c: Likewise.
35300 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35303 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35304 (_IO_new_file_xsputn): Also return EOF if none of the input
35305 data was written when overflow failed.
35306 * libio/iopadn.c (_IO_padn): Likewise.
35307 * libio/iowpadn.c (_IO_wpadn): Likewise.
35308 * stdio-common/tst-put-error.c: Add copyright notice.
35309 (do_test): Add case for printing padded string.
35310 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35311 _IO_padn returned error.
35312 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35313 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35316 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35318 * libio/libioP.h: Add comment note that the references to C++
35319 bits are now obsolete.
35321 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35323 * math/libm-test.inc (check_complex): Use asprintf.
35325 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35327 * debug/pcprofiledump.c (print_version): Update copyright year.
35328 * malloc/memusagestat.c (print_version): Likewise.
35330 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35333 * elf/Makefile (tests): Add tst-audit8.
35334 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35335 ($(objpfx)tst-audit8.out): New target.
35336 (tst-audit8-ENV): New variable.
35337 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35338 audit if l_reloc_result is NULL.
35339 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35340 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35341 * elf/tst-audit8.c: New file.
35343 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35345 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35346 * misc/Makefile (CFLAGS-select.c): Define.
35347 * posix/Makefile (CFLAGS-pause.c): Define.
35349 2012-11-13 David S. Miller <davem@davemloft.net>
35351 * crypt/Makefile: Move test targets after toplevel Rules
35352 inclusion. Grab any necessary sysdep routines when linking.
35353 * crypt/md5.c (md5_process_block): Remove define, we will always
35354 name it __md5_process_block.
35355 (md5_finish_ctx): Update md5_process_block call.
35356 (md5_stream): Likewise.
35357 (md5_process_bytes): Likewise.
35358 (md5_process_block): Rename to __md5_process_block and move to ...
35359 * crypt/md5-block.c: ... here.
35360 * crypt/sha256.c (sha256_process_block): Move to ...
35361 * crypt/sha256-block.c: ... here.
35362 * crypt/sha512.c (sha512_process_block): Move to ...
35363 * crypt/sha512-block.c: ... here.
35364 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35366 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35367 * sysdeps/sparc/sparc64/multiarch/Makefile
35368 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35370 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35371 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35373 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35374 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35375 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35376 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35377 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35378 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35379 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35380 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35381 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35383 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35384 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35386 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35388 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35390 * timezone/tzselect.ksh: Update from tzcode git revision
35391 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35392 * timezone/zdump.c: Likewise.
35393 * timezone/zic.c: Likewise.
35394 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35395 in TZVERSION setting, not $(PKGVERSION).
35396 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35397 REPORT_BUGS_TO settings.
35400 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35403 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35405 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35406 detection to immediately after _FP_ROUND().
35407 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35410 2012-11-11 David S. Miller <davem@davemloft.net>
35412 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35414 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35415 __close rather than their public counterparts.
35417 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35419 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35421 [UNIX98] (sem_timedwait): Do not expect.
35422 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35423 [XPG4 || UNIX98] (sockatmark): Do not expect.
35424 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35425 (clock_getcpuclockid): Do not expect.
35426 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35427 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35429 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35430 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35431 [UNIX98] (vwscanf): Likewise.
35432 [UNIX98] (vswscanf): Likewise.
35434 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35436 * timezone/version.h: Remove file.
35437 * timezone/README: Do not refer to version.h.
35438 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35439 $(objpfx)version.h.
35440 ($(objpfx)zdump.o): Likewise.
35441 ($(objpfx)version.h): New target.
35443 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35445 * timezone/README: Don't mention modification to tzselect.ksh.
35446 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35447 work on unmodified tzselect.ksh. Substitute version numbers in
35450 * Makefile (format-me): Remove.
35451 (INSTALL): Adjust indentation. Use commands directly instead of
35452 using $(format-me).
35454 * aclocal.m4 (ACX_PKGVERSION): New macro.
35455 (ACX_BUGURL): Likewise.
35456 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35457 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35458 (REPORT_BUGS_TO): Likewise.
35459 * configure: Regenerated.
35460 * config.h.in (PKGVERSION): New macro.
35461 (REPORT_BUGS_TO): Likewise.
35462 * config.make.in (PKGVERSION): New variable.
35463 (PKGVERSION_TEXI): Likewise.
35464 (REPORT_BUGS_TO): Likewise.
35465 (REPORT_BUGS_TEXI): Likewise.
35466 * Makefile (format-me): Use -I$(common-objpfx)manual.
35467 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35468 ($(common-objpfx)manual/%): New target.
35469 (manual/%): Remove target.
35470 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35471 (print_version): Use PKGVERSION.
35472 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35473 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35474 and REPORT_BUGS_TO.
35475 ($(objpfx)xtrace): Likewise.
35476 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35477 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35478 (print_version): Use PKGVERSION.
35479 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35480 (do_version): Use PKGVERSION.
35481 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35483 (common-ldd-rewrite): Likewise.
35484 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35485 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35486 (print_version): Use PKGVERSION.
35487 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35488 * elf/pldd.c (argp_program_bug_address): Remove variable.
35489 (more_help): New function.
35490 (argp): Use more_help.
35491 (print_version): Use PKGVERSION.
35492 * elf/sln.c (main): Use PKGVERSION.
35493 (usage): Use REPORT_BUGS_TO.
35494 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35495 (top level): Use PKGVERSION.
35496 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35497 (print_version): Use PKGVERSION.
35498 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35499 (print_version): Use PKGVERSION.
35500 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35501 (print_version): Use PKGVERSION.
35502 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35503 (print_version): Use PKGVERSION.
35504 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35505 (print_version): Use PKGVERSION.
35506 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35507 (print_version): Use PKGVERSION.
35508 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35510 ($(objpfx)memusage): Likewise.
35511 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35512 (do_version): Use PKGVERSION.
35513 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35514 (print_version): Use PKGVERSION.
35515 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35516 ($PKGVERSION): New variable.
35517 ($REPORT_BUGS_TO): Likewise.
35518 (usage): Use $REPORT_BUGS_TO.
35519 (top level): Use $PKGVERSION.
35520 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35521 ($(objpfx)pkgvers.texi): New rule.
35522 ($(objpfx)stamp-pkgvers): Likewise.
35523 * manual/install.texi: Include pkgvers.texi.
35524 (--with-pkgversion): Document new configure option.
35525 (--with-bugurl): Likewise.
35526 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35527 than necessarily for this particular distribution. Use
35528 REPORT_BUGS_TO for where to report bugs.
35529 * INSTALL: Regenerated.
35530 * manual/libc.texinfo: Include pkgvers.texi.
35531 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35532 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35533 (print_version): Use PKGVERSION.
35534 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35535 (print_version): Use PKGVERSION.
35536 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35537 (print_version): Use PKGVERSION.
35538 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35539 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35541 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35542 (print_version): Use PKGVERSION.
35543 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35544 (print_version): Use PKGVERSION.
35545 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35548 * timezone/checktab.awk: Update from tzcode 2012i.
35549 * timezone/ialloc.c: Likewise.
35550 * timezone/private.h: Likewise.
35551 * timezone/scheck.c: Likewise.
35552 * timezone/tzfile.h: Likewise.
35553 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35554 (TZVERSION): Hardcode tzcode version number.
35555 * timezone/zdump.c: Update from tzcode 2012i.
35556 * timezone/zic.c: Likewise.
35557 * timezone/version.h: New file.
35558 * timezone/README: Describe version.h. Update upstream location.
35561 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35562 (mktemp): Enable declaration.
35563 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35564 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35565 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35566 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35572 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35574 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35576 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35580 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35581 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35582 for copies of such integer values.
35583 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35584 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35586 2012-11-09 Andreas Jaeger <aj@suse.de>
35588 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35589 definitions and declarations that are provided by
35590 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35592 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35594 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35595 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35596 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35599 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35601 * elf/elf.h: Update comment before AArch64 relocations.
35603 2012-11-07 David S. Miller <davem@davemloft.net>
35605 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35606 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35607 (__start_context): Declare.
35608 (__makecontext_ret): Delete.
35609 (__makecontext): Hook up __start_context instead of
35611 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35612 (sysdep_routines): Add __start_context when in stdlib.
35614 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35616 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35617 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35618 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35620 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35621 (READELF): New variable. Use it instead of hardcoded "readelf".
35623 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35625 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35626 * sysdeps/x86/Makefile: Here.
35627 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35628 * sysdeps/x86/tst-xmmymm.sh: This.
35630 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35632 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35634 [UNIX98] (pthread_barrier_t): Do not expect.
35635 [UNIX98] (pthread_barrierattr_t): Likewise.
35636 [UNIX98] (pthread_spinlock_t): Likewise.
35637 [UNIX98] (pthread_barrier_destroy): Likewise.
35638 [UNIX98] (pthread_barrier_init): Likewise.
35639 [UNIX98] (pthread_barrier_wait): Likewise.
35640 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35641 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35642 [UNIX98] (pthread_barrierattr_init): Likewise.
35643 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35644 [UNIX98] (pthread_getcpuclockid): Likewise.
35645 [UNIX98] (pthread_mutex_timedlock): Likewise.
35646 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35647 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35648 [UNIX98] (pthread_sigmask): Likewise.
35649 [UNIX98] (pthread_spin_destroy): Likewise.
35650 [UNIX98] (pthread_spin_init): Likewise.
35651 [UNIX98] (pthread_spin_lock): Likewise.
35652 [UNIX98] (pthread_spin_trylock): Likewise.
35653 [UNIX98] (pthread_spin_unlock): Likewise.
35654 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35656 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35657 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35658 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35659 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35660 [XPG3 || XPG4] (pthread_key_t): Likewise.
35661 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35662 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35663 [XPG3 || XPG4] (pthread_once_t): Likewise.
35664 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35665 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35666 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35667 [XPG3 || XPG4] (pthread_t): Likewise.
35669 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35671 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35673 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35674 Change function return type to int.
35676 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35677 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35678 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35679 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35680 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35681 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35682 [!POSIX] (posix_madvise): Likewise.
35683 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35685 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35686 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35687 (mode_t): Likewise.
35688 (posix_mem_offset): Likewise.
35689 (posix_typed_mem_get_info): Likewise.
35690 (posix_typed_mem_open): Likewise.
35692 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35693 Change condition to [XOPEN2K8].
35695 * conform/conformtest.pl: Preprocess allow-header data with -x c
35696 instead of from stdin.
35697 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35698 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35699 [C99-based standards] (cerfc): Likewise.
35700 [C99-based standards] (cexp2): Likewise.
35701 [C99-based standards] (cexpm1): Likewise.
35702 [C99-based standards] (clog10): Likewise.
35703 [C99-based standards] (clog1p): Likewise.
35704 [C99-based standards] (clog2): Likewise.
35705 [C99-based standards] (clgamma): Likewise.
35706 [C99-based standards] (ctgamma): Likewise.
35707 [C99-based standards] (cerff): Likewise.
35708 [C99-based standards] (cerfcf): Likewise.
35709 [C99-based standards] (cexp2f): Likewise.
35710 [C99-based standards] (cexpm1f): Likewise.
35711 [C99-based standards] (clog10f): Likewise.
35712 [C99-based standards] (clog1pf): Likewise.
35713 [C99-based standards] (clog2f): Likewise.
35714 [C99-based standards] (clgammaf): Likewise.
35715 [C99-based standards] (ctgammaf): Likewise.
35716 [C99-based standards] (cerfl): Likewise.
35717 [C99-based standards] (cerfcl): Likewise.
35718 [C99-based standards] (cexp2l): Likewise.
35719 [C99-based standards] (cexpm1l): Likewise.
35720 [C99-based standards] (clog10l): Likewise.
35721 [C99-based standards] (clog1pl): Likewise.
35722 [C99-based standards] (clog2l): Likewise.
35723 [C99-based standards] (clgammal): Likewise.
35724 [C99-based standards] (ctgammal): Likewise.
35725 * conform/data/inttypes.h-data [C99-based standards]: Include
35726 stdint.h-data. Remove all expectations for stdint.h contents.
35727 [C99-based standards] (PRI*): Do not allow.
35728 [C99-based standards] (SCN*): Likewise.
35729 [C99-based standards] (*_t): Likewise.
35730 [C99-based-standards] (PRId8): Expect macro.
35731 [C99-based-standards] (PRIi8): Likewise.
35732 [C99-based-standards] (PRIo8): Likewise.
35733 [C99-based-standards] (PRIu8): Likewise.
35734 [C99-based-standards] (PRIx8): Likewise.
35735 [C99-based-standards] (PRIX8): Likewise.
35736 [C99-based-standards] (SCNd8): Likewise.
35737 [C99-based-standards] (SCNi8): Likewise.
35738 [C99-based-standards] (SCNo8): Likewise.
35739 [C99-based-standards] (SCNu8): Likewise.
35740 [C99-based-standards] (SCNx8): Likewise.
35741 [C99-based-standards] (PRIdLEAST8): Likewise.
35742 [C99-based-standards] (PRIiLEAST8): Likewise.
35743 [C99-based-standards] (PRIoLEAST8): Likewise.
35744 [C99-based-standards] (PRIuLEAST8): Likewise.
35745 [C99-based-standards] (PRIxLEAST8): Likewise.
35746 [C99-based-standards] (PRIXLEAST8): Likewise.
35747 [C99-based-standards] (SCNdLEAST8): Likewise.
35748 [C99-based-standards] (SCNiLEAST8): Likewise.
35749 [C99-based-standards] (SCNoLEAST8): Likewise.
35750 [C99-based-standards] (SCNuLEAST8): Likewise.
35751 [C99-based-standards] (SCNxLEAST8): Likewise.
35752 [C99-based-standards] (PRIdFAST8): Likewise.
35753 [C99-based-standards] (PRIiFAST8): Likewise.
35754 [C99-based-standards] (PRIoFAST8): Likewise.
35755 [C99-based-standards] (PRIuFAST8): Likewise.
35756 [C99-based-standards] (PRIxFAST8): Likewise.
35757 [C99-based-standards] (PRIXFAST8): Likewise.
35758 [C99-based-standards] (SCNdFAST8): Likewise.
35759 [C99-based-standards] (SCNiFAST8): Likewise.
35760 [C99-based-standards] (SCNoFAST8): Likewise.
35761 [C99-based-standards] (SCNuFAST8): Likewise.
35762 [C99-based-standards] (SCNxFAST8): Likewise.
35763 [C99-based-standards] (PRId16): Likewise.
35764 [C99-based-standards] (PRIi16): Likewise.
35765 [C99-based-standards] (PRIo16): Likewise.
35766 [C99-based-standards] (PRIu16): Likewise.
35767 [C99-based-standards] (PRIx16): Likewise.
35768 [C99-based-standards] (PRIX16): Likewise.
35769 [C99-based-standards] (SCNd16): Likewise.
35770 [C99-based-standards] (SCNi16): Likewise.
35771 [C99-based-standards] (SCNo16): Likewise.
35772 [C99-based-standards] (SCNu16): Likewise.
35773 [C99-based-standards] (SCNx16): Likewise.
35774 [C99-based-standards] (PRIdLEAST16): Likewise.
35775 [C99-based-standards] (PRIiLEAST16): Likewise.
35776 [C99-based-standards] (PRIoLEAST16): Likewise.
35777 [C99-based-standards] (PRIuLEAST16): Likewise.
35778 [C99-based-standards] (PRIxLEAST16): Likewise.
35779 [C99-based-standards] (PRIXLEAST16): Likewise.
35780 [C99-based-standards] (SCNdLEAST16): Likewise.
35781 [C99-based-standards] (SCNiLEAST16): Likewise.
35782 [C99-based-standards] (SCNoLEAST16): Likewise.
35783 [C99-based-standards] (SCNuLEAST16): Likewise.
35784 [C99-based-standards] (SCNxLEAST16): Likewise.
35785 [C99-based-standards] (PRIdFAST16): Likewise.
35786 [C99-based-standards] (PRIiFAST16): Likewise.
35787 [C99-based-standards] (PRIoFAST16): Likewise.
35788 [C99-based-standards] (PRIuFAST16): Likewise.
35789 [C99-based-standards] (PRIxFAST16): Likewise.
35790 [C99-based-standards] (PRIXFAST16): Likewise.
35791 [C99-based-standards] (SCNdFAST16): Likewise.
35792 [C99-based-standards] (SCNiFAST16): Likewise.
35793 [C99-based-standards] (SCNoFAST16): Likewise.
35794 [C99-based-standards] (SCNuFAST16): Likewise.
35795 [C99-based-standards] (SCNxFAST16): Likewise.
35796 [C99-based-standards] (PRId32): Likewise.
35797 [C99-based-standards] (PRIi32): Likewise.
35798 [C99-based-standards] (PRIo32): Likewise.
35799 [C99-based-standards] (PRIu32): Likewise.
35800 [C99-based-standards] (PRIx32): Likewise.
35801 [C99-based-standards] (PRIX32): Likewise.
35802 [C99-based-standards] (SCNd32): Likewise.
35803 [C99-based-standards] (SCNi32): Likewise.
35804 [C99-based-standards] (SCNo32): Likewise.
35805 [C99-based-standards] (SCNu32): Likewise.
35806 [C99-based-standards] (SCNx32): Likewise.
35807 [C99-based-standards] (PRIdLEAST32): Likewise.
35808 [C99-based-standards] (PRIiLEAST32): Likewise.
35809 [C99-based-standards] (PRIoLEAST32): Likewise.
35810 [C99-based-standards] (PRIuLEAST32): Likewise.
35811 [C99-based-standards] (PRIxLEAST32): Likewise.
35812 [C99-based-standards] (PRIXLEAST32): Likewise.
35813 [C99-based-standards] (SCNdLEAST32): Likewise.
35814 [C99-based-standards] (SCNiLEAST32): Likewise.
35815 [C99-based-standards] (SCNoLEAST32): Likewise.
35816 [C99-based-standards] (SCNuLEAST32): Likewise.
35817 [C99-based-standards] (SCNxLEAST32): Likewise.
35818 [C99-based-standards] (PRIdFAST32): Likewise.
35819 [C99-based-standards] (PRIiFAST32): Likewise.
35820 [C99-based-standards] (PRIoFAST32): Likewise.
35821 [C99-based-standards] (PRIuFAST32): Likewise.
35822 [C99-based-standards] (PRIxFAST32): Likewise.
35823 [C99-based-standards] (PRIXFAST32): Likewise.
35824 [C99-based-standards] (SCNdFAST32): Likewise.
35825 [C99-based-standards] (SCNiFAST32): Likewise.
35826 [C99-based-standards] (SCNoFAST32): Likewise.
35827 [C99-based-standards] (SCNuFAST32): Likewise.
35828 [C99-based-standards] (SCNxFAST32): Likewise.
35829 [C99-based-standards] (PRId64): Likewise.
35830 [C99-based-standards] (PRIi64): Likewise.
35831 [C99-based-standards] (PRIo64): Likewise.
35832 [C99-based-standards] (PRIu64): Likewise.
35833 [C99-based-standards] (PRIx64): Likewise.
35834 [C99-based-standards] (PRIX64): Likewise.
35835 [C99-based-standards] (SCNd64): Likewise.
35836 [C99-based-standards] (SCNi64): Likewise.
35837 [C99-based-standards] (SCNo64): Likewise.
35838 [C99-based-standards] (SCNu64): Likewise.
35839 [C99-based-standards] (SCNx64): Likewise.
35840 [C99-based-standards] (PRIdLEAST64): Likewise.
35841 [C99-based-standards] (PRIiLEAST64): Likewise.
35842 [C99-based-standards] (PRIoLEAST64): Likewise.
35843 [C99-based-standards] (PRIuLEAST64): Likewise.
35844 [C99-based-standards] (PRIxLEAST64): Likewise.
35845 [C99-based-standards] (PRIXLEAST64): Likewise.
35846 [C99-based-standards] (SCNdLEAST64): Likewise.
35847 [C99-based-standards] (SCNiLEAST64): Likewise.
35848 [C99-based-standards] (SCNoLEAST64): Likewise.
35849 [C99-based-standards] (SCNuLEAST64): Likewise.
35850 [C99-based-standards] (SCNxLEAST64): Likewise.
35851 [C99-based-standards] (PRIdFAST64): Likewise.
35852 [C99-based-standards] (PRIiFAST64): Likewise.
35853 [C99-based-standards] (PRIoFAST64): Likewise.
35854 [C99-based-standards] (PRIuFAST64): Likewise.
35855 [C99-based-standards] (PRIxFAST64): Likewise.
35856 [C99-based-standards] (PRIXFAST64): Likewise.
35857 [C99-based-standards] (SCNdFAST64): Likewise.
35858 [C99-based-standards] (SCNiFAST64): Likewise.
35859 [C99-based-standards] (SCNoFAST64): Likewise.
35860 [C99-based-standards] (SCNuFAST64): Likewise.
35861 [C99-based-standards] (SCNxFAST64): Likewise.
35862 [C99-based-standards] (PRIdMAX): Likewise.
35863 [C99-based-standards] (PRIiMAX): Likewise.
35864 [C99-based-standards] (PRIoMAX): Likewise.
35865 [C99-based-standards] (PRIuMAX): Likewise.
35866 [C99-based-standards] (PRIxMAX): Likewise.
35867 [C99-based-standards] (PRIXMAX): Likewise.
35868 [C99-based-standards] (SCNdMAX): Likewise.
35869 [C99-based-standards] (SCNiMAX): Likewise.
35870 [C99-based-standards] (SCNoMAX): Likewise.
35871 [C99-based-standards] (SCNuMAX): Likewise.
35872 [C99-based-standards] (SCNxMAX): Likewise.
35873 [C99-based-standards] (PRIdPTR): Likewise.
35874 [C99-based-standards] (PRIiPTR): Likewise.
35875 [C99-based-standards] (PRIoPTR): Likewise.
35876 [C99-based-standards] (PRIuPTR): Likewise.
35877 [C99-based-standards] (PRIxPTR): Likewise.
35878 [C99-based-standards] (PRIXPTR): Likewise.
35879 [C99-based-standards] (SCNdPTR): Likewise.
35880 [C99-based-standards] (SCNiPTR): Likewise.
35881 [C99-based-standards] (SCNoPTR): Likewise.
35882 [C99-based-standards] (SCNuPTR): Likewise.
35883 [C99-based-standards] (SCNxPTR): Likewise.
35884 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35886 * conform/data/stdint.h-data: Update comments to clarify
35888 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35890 [C99-based standards] (INT8_MAX): Likewise.
35891 [C99-based standards] (INT16_MIN): Likewise.
35892 [C99-based standards] (INT16_MAX): Likewise.
35893 [C99-based standards] (INT32_MIN): Likewise.
35894 [C99-based standards] (INT32_MAX): Likewise.
35895 [C99-based standards] (INT64_MIN): Likewise.
35896 [C99-based standards] (INT64_MAX): Likewise.
35897 [C99-based standards] (UINT8_MAX): Likewise.
35898 [C99-based standards] (UINT16_MAX): Likewise.
35899 [C99-based standards] (UINT32_MAX): Likewise.
35900 [C99-based standards] (UINT64_MAX): Likewise.
35901 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35902 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35903 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35904 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35905 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35906 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35907 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35908 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35909 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35910 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35911 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35912 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35913 [C99-based standards] (INT_FAST8_MIN): Likewise.
35914 [C99-based standards] (INT_FAST8_MAX): Likewise.
35915 [C99-based standards] (INT_FAST16_MIN): Likewise.
35916 [C99-based standards] (INT_FAST16_MAX): Likewise.
35917 [C99-based standards] (INT_FAST32_MIN): Likewise.
35918 [C99-based standards] (INT_FAST32_MAX): Likewise.
35919 [C99-based standards] (INT_FAST64_MIN): Likewise.
35920 [C99-based standards] (INT_FAST64_MAX): Likewise.
35921 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35922 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35923 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35924 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35925 [C99-based standards] (INTPTR_MIN): Likewise.
35926 [C99-based standards] (INTPTR_MAX): Likewise.
35927 [C99-based standards] (UINTPTR_MAX): Likewise.
35928 [C99-based standards] (INTMAX_MIN): Likewise.
35929 [C99-based standards] (INTMAX_MAX): Likewise.
35930 [C99-based standards] (UINTMAX_MAX): Likewise.
35931 [C99-based standards] (PTRDIFF_MIN): Likewise.
35932 [C99-based standards] (PTRDIFF_MAX): Likewise.
35933 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35934 [C99-based standards] (SIZE_MAX): Likewise.
35935 [C99-based standards] (WCHAR_MAX): Likewise.
35936 [C99-based standards] (WINT_MAX): Likewise.
35937 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35938 constraint on value.
35939 [C99-based standards] (WCHAR_MIN): Likewise.
35940 [C99-based standards] (WINT_MIN): Likewise.
35941 [C99-based standards] (*_t): Allow.
35942 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35943 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35944 Include math.h-data and complex.h-data. Remove all expectations
35945 of math.h and complex.h contents.
35946 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35948 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35949 (struct tm): Expect tag.
35950 [C99-based-standards] (wcstof): Expect function.
35951 [C99-based-standards] (wcstold): Likewise.
35952 [C99-based-standards] (wcstoll): Likewise.
35953 [C99-based-standards] (wcstoull): Likewise.
35954 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35955 macro-int-constant. Specify type.
35956 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
35957 constraint on value.
35958 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35960 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35962 [ISO C standards]: Do not allow headers.
35963 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35964 wcs[abcdefghijklmnopqrstuvwxyz]*.
35965 [ISO C standards] (*_t): Do not allow.
35966 * conform/data/wctype.h-data [C99-based standards] (iswblank):
35968 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35969 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35971 [ISO C standards]: Do not allow headers.
35972 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35973 is[abcdefghijklmnopqrstuvwxyz]*.
35974 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35975 to[abcdefghijklmnopqrstuvwxyz]*.
35976 [ISO C standards] (*_t): Do not allow.
35977 * conform/data/stdalign.h-data: New file.
35978 * conform/data/stdbool.h-data: Likewise.
35979 * conform/data/stdnoreturn.h-data: Likewise.
35981 2012-11-07 Roland McGrath <roland@hack.frob.com>
35984 * manual/filesys.texi (Directory Entries): Typo fix.
35985 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35987 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35989 * elf/elf.h (EM_AARCH64): New macro.
35990 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35991 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35992 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35993 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35994 (R_AARCH64_TLSDESC): Likewise.
35995 (NT_ARM_TLS): Likewise.
35996 (NT_ARM_HW_BREAK): Likewise.
35997 (NT_ARM_HW_WATCH): Likewise.
35999 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36002 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36003 (__ieee754_powl): Saturate nonzero exponents with absolute value
36004 below 0x1p-79 to +/- 0x1p-79.
36005 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36006 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36007 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36008 nonzero exponents with absolute value below 0x1p-32 to +/-
36010 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36011 (__ieee754_powl): Saturate nonzero exponents with absolute value
36012 below 0x1p-79 to +/- 0x1p-79.
36013 * math/libm-test.inc (pow_test): Add more tests.
36015 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36017 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36018 _dl_s390_cap_flags with kernel. Increase string length.
36019 (_dl_s390_platforms): Add z196 and zEC12.
36021 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36023 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36024 Change XOPEN21K to XOPEN2K.
36026 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36028 * string/memmove.c: Use memcpy when possible.
36030 2012-11-06 Andreas Jaeger <aj@suse.de>
36032 * po/eo.po: Update from translation team.
36034 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36037 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36038 exponent and small x and y exponents, scale x or y up. Increase
36039 by 2 the exponent used in scaling up.
36040 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36041 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36042 * math/libm-test.inc (fma_test): Add more tests.
36043 (fma_test_towardzero): Likewise.
36044 (fma_test_downward): Likewise.
36045 (fma_test_upward): Likewise.
36047 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36050 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36054 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36055 namespace for names of struct fields.
36056 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36058 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36059 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36061 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36064 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36066 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36068 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36072 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36075 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36078 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36079 definitely overflow as x * y not x * y + z.
36080 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36081 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36082 * math/libm-test.inc (fma_test): Add more tests.
36083 (fma_test_towardzero): Likewise.
36084 (fma_test_downward): Likewise.
36085 (fma_test_upward): Likewise.
36087 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36091 * include/stub-tag.h: Remove file.
36092 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36094 * manual/maint.texi (Porting): Don't reference it.
36095 * Makerules ($(objpfx)stubs): Likewise.
36096 * dirent/closedir.c: Don't include <stub-tag.h>.
36097 * dirent/dirfd.c: Likewise.
36098 * dirent/fdopendir.c: Likewise.
36099 * dirent/getdents.c: Likewise.
36100 * dirent/getdents64.c: Likewise.
36101 * dirent/opendir.c: Likewise.
36102 * dirent/readdir.c: Likewise.
36103 * dirent/readdir64.c: Likewise.
36104 * dirent/readdir64_r.c: Likewise.
36105 * dirent/readdir_r.c: Likewise.
36106 * dirent/rewinddir.c: Likewise.
36107 * dirent/seekdir.c: Likewise.
36108 * dirent/telldir.c: Likewise.
36109 * gmon/profil.c: Likewise.
36110 * grp/setgroups.c: Likewise.
36111 * inet/if_index.c: Likewise.
36112 * io/access.c: Likewise.
36113 * io/chdir.c: Likewise.
36114 * io/chmod.c: Likewise.
36115 * io/chown.c: Likewise.
36116 * io/close.c: Likewise.
36117 * io/dup.c: Likewise.
36118 * io/dup2.c: Likewise.
36119 * io/dup3.c: Likewise.
36120 * io/euidaccess.c: Likewise.
36121 * io/faccessat.c: Likewise.
36122 * io/fchdir.c: Likewise.
36123 * io/fchmod.c: Likewise.
36124 * io/fchmodat.c: Likewise.
36125 * io/fchown.c: Likewise.
36126 * io/fchownat.c: Likewise.
36127 * io/fcntl.c: Likewise.
36128 * io/flock.c: Likewise.
36129 * io/fstatfs.c: Likewise.
36130 * io/fstatfs64.c: Likewise.
36131 * io/fstatvfs.c: Likewise.
36132 * io/fstatvfs64.c: Likewise.
36133 * io/futimens.c: Likewise.
36134 * io/fxstat.c: Likewise.
36135 * io/fxstat64.c: Likewise.
36136 * io/fxstatat.c: Likewise.
36137 * io/fxstatat64.c: Likewise.
36138 * io/getcwd.c: Likewise.
36139 * io/isatty.c: Likewise.
36140 * io/lchmod.c: Likewise.
36141 * io/lchown.c: Likewise.
36142 * io/link.c: Likewise.
36143 * io/linkat.c: Likewise.
36144 * io/lseek.c: Likewise.
36145 * io/lseek64.c: Likewise.
36146 * io/lxstat64.c: Likewise.
36147 * io/mkdir.c: Likewise.
36148 * io/mkdirat.c: Likewise.
36149 * io/mkfifo.c: Likewise.
36150 * io/mkfifoat.c: Likewise.
36151 * io/open.c: Likewise.
36152 * io/open64.c: Likewise.
36153 * io/openat.c: Likewise.
36154 * io/openat64.c: Likewise.
36155 * io/pipe.c: Likewise.
36156 * io/pipe2.c: Likewise.
36157 * io/poll.c: Likewise.
36158 * io/posix_fadvise.c: Likewise.
36159 * io/posix_fadvise64.c: Likewise.
36160 * io/posix_fallocate.c: Likewise.
36161 * io/posix_fallocate64.c: Likewise.
36162 * io/read.c: Likewise.
36163 * io/readlink.c: Likewise.
36164 * io/readlinkat.c: Likewise.
36165 * io/rmdir.c: Likewise.
36166 * io/sendfile.c: Likewise.
36167 * io/sendfile64.c: Likewise.
36168 * io/statfs.c: Likewise.
36169 * io/statfs64.c: Likewise.
36170 * io/statvfs.c: Likewise.
36171 * io/statvfs64.c: Likewise.
36172 * io/symlink.c: Likewise.
36173 * io/symlinkat.c: Likewise.
36174 * io/ttyname.c: Likewise.
36175 * io/ttyname_r.c: Likewise.
36176 * io/umask.c: Likewise.
36177 * io/unlink.c: Likewise.
36178 * io/unlinkat.c: Likewise.
36179 * io/utime.c: Likewise.
36180 * io/utimensat.c: Likewise.
36181 * io/write.c: Likewise.
36182 * io/xmknod.c: Likewise.
36183 * io/xmknodat.c: Likewise.
36184 * io/xstat.c: Likewise.
36185 * io/xstat64.c: Likewise.
36186 * login/getpt.c: Likewise.
36187 * login/grantpt.c: Likewise.
36188 * login/unlockpt.c: Likewise.
36189 * math/e_acoshl.c: Likewise.
36190 * math/e_acosl.c: Likewise.
36191 * math/e_asinl.c: Likewise.
36192 * math/e_atan2l.c: Likewise.
36193 * math/e_atanhl.c: Likewise.
36194 * math/e_coshl.c: Likewise.
36195 * math/e_expl.c: Likewise.
36196 * math/e_fmodl.c: Likewise.
36197 * math/e_gammal_r.c: Likewise.
36198 * math/e_hypotl.c: Likewise.
36199 * math/e_j0l.c: Likewise.
36200 * math/e_j1l.c: Likewise.
36201 * math/e_jnl.c: Likewise.
36202 * math/e_lgammal_r.c: Likewise.
36203 * math/e_log10l.c: Likewise.
36204 * math/e_log2l.c: Likewise.
36205 * math/e_logl.c: Likewise.
36206 * math/e_powl.c: Likewise.
36207 * math/e_rem_pio2l.c: Likewise.
36208 * math/e_sinhl.c: Likewise.
36209 * math/e_sqrtl.c: Likewise.
36210 * math/fclrexcpt.c: Likewise.
36211 * math/fedisblxcpt.c: Likewise.
36212 * math/feenablxcpt.c: Likewise.
36213 * math/fegetenv.c: Likewise.
36214 * math/fegetexcept.c: Likewise.
36215 * math/fegetround.c: Likewise.
36216 * math/feholdexcpt.c: Likewise.
36217 * math/fesetenv.c: Likewise.
36218 * math/fesetround.c: Likewise.
36219 * math/feupdateenv.c: Likewise.
36220 * math/fgetexcptflg.c: Likewise.
36221 * math/fraiseexcpt.c: Likewise.
36222 * math/fsetexcptflg.c: Likewise.
36223 * math/ftestexcept.c: Likewise.
36224 * math/k_cosl.c: Likewise.
36225 * math/k_rem_pio2l.c: Likewise.
36226 * math/k_sinl.c: Likewise.
36227 * math/k_tanl.c: Likewise.
36228 * math/s_asinhl.c: Likewise.
36229 * math/s_atanl.c: Likewise.
36230 * math/s_cbrtl.c: Likewise.
36231 * math/s_erfl.c: Likewise.
36232 * math/s_expm1l.c: Likewise.
36233 * math/s_log1pl.c: Likewise.
36234 * math/s_tanhl.c: Likewise.
36235 * misc/acct.c: Likewise.
36236 * misc/brk.c: Likewise.
36237 * misc/chflags.c: Likewise.
36238 * misc/chroot.c: Likewise.
36239 * misc/fchflags.c: Likewise.
36240 * misc/fgetxattr.c: Likewise.
36241 * misc/flistxattr.c: Likewise.
36242 * misc/fremovexattr.c: Likewise.
36243 * misc/fsetxattr.c: Likewise.
36244 * misc/fsync.c: Likewise.
36245 * misc/ftruncate.c: Likewise.
36246 * misc/futimes.c: Likewise.
36247 * misc/futimesat.c: Likewise.
36248 * misc/getdomain.c: Likewise.
36249 * misc/getdtsz.c: Likewise.
36250 * misc/gethostid.c: Likewise.
36251 * misc/gethostname.c: Likewise.
36252 * misc/getloadavg.c: Likewise.
36253 * misc/getpagesize.c: Likewise.
36254 * misc/getsysstats.c: Likewise.
36255 * misc/getxattr.c: Likewise.
36256 * misc/gtty.c: Likewise.
36257 * misc/ioctl.c: Likewise.
36258 * misc/lgetxattr.c: Likewise.
36259 * misc/listxattr.c: Likewise.
36260 * misc/llistxattr.c: Likewise.
36261 * misc/lremovexattr.c: Likewise.
36262 * misc/lsetxattr.c: Likewise.
36263 * misc/lutimes.c: Likewise.
36264 * misc/madvise.c: Likewise.
36265 * misc/mincore.c: Likewise.
36266 * misc/mlock.c: Likewise.
36267 * misc/mlockall.c: Likewise.
36268 * misc/mmap.c: Likewise.
36269 * misc/mprotect.c: Likewise.
36270 * misc/msync.c: Likewise.
36271 * misc/munlock.c: Likewise.
36272 * misc/munlockall.c: Likewise.
36273 * misc/munmap.c: Likewise.
36274 * misc/preadv.c: Likewise.
36275 * misc/preadv64.c: Likewise.
36276 * misc/ptrace.c: Likewise.
36277 * misc/pwritev.c: Likewise.
36278 * misc/pwritev64.c: Likewise.
36279 * misc/readv.c: Likewise.
36280 * misc/reboot.c: Likewise.
36281 * misc/remap_file_pages.c: Likewise.
36282 * misc/removexattr.c: Likewise.
36283 * misc/revoke.c: Likewise.
36284 * misc/select.c: Likewise.
36285 * misc/setdomain.c: Likewise.
36286 * misc/setegid.c: Likewise.
36287 * misc/seteuid.c: Likewise.
36288 * misc/sethostid.c: Likewise.
36289 * misc/sethostname.c: Likewise.
36290 * misc/setregid.c: Likewise.
36291 * misc/setreuid.c: Likewise.
36292 * misc/setxattr.c: Likewise.
36293 * misc/sstk.c: Likewise.
36294 * misc/stty.c: Likewise.
36295 * misc/swapoff.c: Likewise.
36296 * misc/swapon.c: Likewise.
36297 * misc/sync.c: Likewise.
36298 * misc/syncfs.c: Likewise.
36299 * misc/syscall.c: Likewise.
36300 * misc/truncate.c: Likewise.
36301 * misc/ualarm.c: Likewise.
36302 * misc/usleep.c: Likewise.
36303 * misc/ustat.c: Likewise.
36304 * misc/utimes.c: Likewise.
36305 * misc/vhangup.c: Likewise.
36306 * misc/writev.c: Likewise.
36307 * posix/_exit.c: Likewise.
36308 * posix/alarm.c: Likewise.
36309 * posix/execve.c: Likewise.
36310 * posix/fexecve.c: Likewise.
36311 * posix/fork.c: Likewise.
36312 * posix/fpathconf.c: Likewise.
36313 * posix/getaddrinfo.c: Likewise.
36314 * posix/getegid.c: Likewise.
36315 * posix/geteuid.c: Likewise.
36316 * posix/getgid.c: Likewise.
36317 * posix/getgroups.c: Likewise.
36318 * posix/getlogin.c: Likewise.
36319 * posix/getlogin_r.c: Likewise.
36320 * posix/getpgid.c: Likewise.
36321 * posix/getpid.c: Likewise.
36322 * posix/getppid.c: Likewise.
36323 * posix/getresgid.c: Likewise.
36324 * posix/getresuid.c: Likewise.
36325 * posix/getsid.c: Likewise.
36326 * posix/getuid.c: Likewise.
36327 * posix/glob64.c: Likewise.
36328 * posix/nanosleep.c: Likewise.
36329 * posix/pathconf.c: Likewise.
36330 * posix/pause.c: Likewise.
36331 * posix/posix_madvise.c: Likewise.
36332 * posix/pread.c: Likewise.
36333 * posix/pread64.c: Likewise.
36334 * posix/pwrite.c: Likewise.
36335 * posix/pwrite64.c: Likewise.
36336 * posix/sched_getaffinity.c: Likewise.
36337 * posix/sched_getp.c: Likewise.
36338 * posix/sched_gets.c: Likewise.
36339 * posix/sched_primax.c: Likewise.
36340 * posix/sched_primin.c: Likewise.
36341 * posix/sched_rr_gi.c: Likewise.
36342 * posix/sched_setaffinity.c: Likewise.
36343 * posix/sched_setp.c: Likewise.
36344 * posix/sched_sets.c: Likewise.
36345 * posix/sched_yield.c: Likewise.
36346 * posix/setgid.c: Likewise.
36347 * posix/setlogin.c: Likewise.
36348 * posix/setpgid.c: Likewise.
36349 * posix/setresgid.c: Likewise.
36350 * posix/setresuid.c: Likewise.
36351 * posix/setsid.c: Likewise.
36352 * posix/setuid.c: Likewise.
36353 * posix/sleep.c: Likewise.
36354 * posix/spawni.c: Likewise.
36355 * posix/sysconf.c: Likewise.
36356 * posix/times.c: Likewise.
36357 * posix/wait.c: Likewise.
36358 * posix/wait3.c: Likewise.
36359 * posix/wait4.c: Likewise.
36360 * posix/waitpid.c: Likewise.
36361 * resolv/gai_sigqueue.c: Likewise.
36362 * resource/getpriority.c: Likewise.
36363 * resource/getrlimit.c: Likewise.
36364 * resource/getrusage.c: Likewise.
36365 * resource/nice.c: Likewise.
36366 * resource/setpriority.c: Likewise.
36367 * resource/setrlimit.c: Likewise.
36368 * resource/ulimit.c: Likewise.
36369 * rt/aio_cancel.c: Likewise.
36370 * rt/aio_fsync.c: Likewise.
36371 * rt/aio_read.c: Likewise.
36372 * rt/aio_sigqueue.c: Likewise.
36373 * rt/aio_suspend.c: Likewise.
36374 * rt/aio_write.c: Likewise.
36375 * rt/clock_getres.c: Likewise.
36376 * rt/clock_gettime.c: Likewise.
36377 * rt/clock_nanosleep.c: Likewise.
36378 * rt/clock_settime.c: Likewise.
36379 * rt/lio_listio.c: Likewise.
36380 * rt/mq_close.c: Likewise.
36381 * rt/mq_getattr.c: Likewise.
36382 * rt/mq_notify.c: Likewise.
36383 * rt/mq_open.c: Likewise.
36384 * rt/mq_receive.c: Likewise.
36385 * rt/mq_send.c: Likewise.
36386 * rt/mq_setattr.c: Likewise.
36387 * rt/mq_timedreceive.c: Likewise.
36388 * rt/mq_timedsend.c: Likewise.
36389 * rt/mq_unlink.c: Likewise.
36390 * rt/shm_open.c: Likewise.
36391 * rt/shm_unlink.c: Likewise.
36392 * rt/timer_create.c: Likewise.
36393 * rt/timer_delete.c: Likewise.
36394 * rt/timer_getoverr.c: Likewise.
36395 * rt/timer_gettime.c: Likewise.
36396 * rt/timer_settime.c: Likewise.
36397 * setjmp/__longjmp.c: Likewise.
36398 * setjmp/setjmp.c: Likewise.
36399 * signal/kill.c: Likewise.
36400 * signal/killpg.c: Likewise.
36401 * signal/raise.c: Likewise.
36402 * signal/sigaction.c: Likewise.
36403 * signal/sigaltstack.c: Likewise.
36404 * signal/sigblock.c: Likewise.
36405 * signal/sigignore.c: Likewise.
36406 * signal/sigintr.c: Likewise.
36407 * signal/signal.c: Likewise.
36408 * signal/sigpause.c: Likewise.
36409 * signal/sigpending.c: Likewise.
36410 * signal/sigqueue.c: Likewise.
36411 * signal/sigreturn.c: Likewise.
36412 * signal/sigset.c: Likewise.
36413 * signal/sigsetmask.c: Likewise.
36414 * signal/sigstack.c: Likewise.
36415 * signal/sigsuspend.c: Likewise.
36416 * signal/sigtimedwait.c: Likewise.
36417 * signal/sigvec.c: Likewise.
36418 * signal/sigwait.c: Likewise.
36419 * signal/sigwaitinfo.c: Likewise.
36420 * signal/sysv_signal.c: Likewise.
36421 * socket/accept.c: Likewise.
36422 * socket/accept4.c: Likewise.
36423 * socket/bind.c: Likewise.
36424 * socket/connect.c: Likewise.
36425 * socket/getpeername.c: Likewise.
36426 * socket/getsockname.c: Likewise.
36427 * socket/getsockopt.c: Likewise.
36428 * socket/isfdtype.c: Likewise.
36429 * socket/listen.c: Likewise.
36430 * socket/recv.c: Likewise.
36431 * socket/recvfrom.c: Likewise.
36432 * socket/recvmsg.c: Likewise.
36433 * socket/send.c: Likewise.
36434 * socket/sendmsg.c: Likewise.
36435 * socket/sendto.c: Likewise.
36436 * socket/setsockopt.c: Likewise.
36437 * socket/shutdown.c: Likewise.
36438 * socket/sockatmark.c: Likewise.
36439 * socket/socket.c: Likewise.
36440 * socket/socketpair.c: Likewise.
36441 * stdio-common/ctermid.c: Likewise.
36442 * stdio-common/cuserid.c: Likewise.
36443 * stdio-common/remove.c: Likewise.
36444 * stdio-common/rename.c: Likewise.
36445 * stdio-common/renameat.c: Likewise.
36446 * stdio-common/tempname.c: Likewise.
36447 * stdlib/getcontext.c: Likewise.
36448 * stdlib/makecontext.c: Likewise.
36449 * stdlib/setcontext.c: Likewise.
36450 * stdlib/swapcontext.c: Likewise.
36451 * stdlib/system.c: Likewise.
36452 * streams/fattach.c: Likewise.
36453 * streams/fdetach.c: Likewise.
36454 * streams/getmsg.c: Likewise.
36455 * streams/getpmsg.c: Likewise.
36456 * streams/putmsg.c: Likewise.
36457 * streams/putpmsg.c: Likewise.
36458 * sysdeps/unix/bsd/getpt.c: Likewise.
36459 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36460 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36461 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36464 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36465 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36466 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36467 * sysvipc/msgctl.c: Likewise.
36468 * sysvipc/msgget.c: Likewise.
36469 * sysvipc/msgrcv.c: Likewise.
36470 * sysvipc/msgsnd.c: Likewise.
36471 * sysvipc/semctl.c: Likewise.
36472 * sysvipc/semget.c: Likewise.
36473 * sysvipc/semop.c: Likewise.
36474 * sysvipc/semtimedop.c: Likewise.
36475 * sysvipc/shmat.c: Likewise.
36476 * sysvipc/shmctl.c: Likewise.
36477 * sysvipc/shmdt.c: Likewise.
36478 * sysvipc/shmget.c: Likewise.
36479 * termios/tcdrain.c: Likewise.
36480 * termios/tcflow.c: Likewise.
36481 * termios/tcflush.c: Likewise.
36482 * termios/tcgetattr.c: Likewise.
36483 * termios/tcgetpgrp.c: Likewise.
36484 * termios/tcsendbrk.c: Likewise.
36485 * termios/tcsetattr.c: Likewise.
36486 * termios/tcsetpgrp.c: Likewise.
36487 * time/adjtime.c: Likewise.
36488 * time/clock.c: Likewise.
36489 * time/getitimer.c: Likewise.
36490 * time/gettimeofday.c: Likewise.
36491 * time/setitimer.c: Likewise.
36492 * time/settimeofday.c: Likewise.
36493 * time/stime.c: Likewise.
36494 * time/time.c: Likewise.
36496 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36498 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36501 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36503 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36505 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36509 FE_TONEAREST before applying Dekker multiplication and Knuth
36510 addition. Clear inexact exceptions and check for exact zero
36511 results afterwards.
36512 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36513 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36514 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36515 * math/libm-test.inc (fma_test): Add more tests.
36516 (fma_test_towardzero): Likewise.
36517 (fma_test_downward): Likewise.
36518 (fma_test_upward): Likewise.
36519 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36521 (libc_fesetround): New macro.
36522 (libc_fesetroundf): Likewise.
36523 (libc_fesetroundl): Likewise.
36524 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36526 (libc_fesetround_387): Likewise.
36527 (libc_fesetroundf): New macro.
36528 (libc_fesetround): Likewise.
36529 (libc_fesetroundl): Likewise.
36530 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36532 (libc_fesetroundf): New macro.
36533 (libc_fesetround): Likewise.
36534 (libc_fesetroundl): Likewise.
36535 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36536 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36537 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36539 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36540 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36542 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36543 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36545 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36549 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36550 integer constant usable in #if and use that to give value to enum
36552 (FE_DIVBYZERO): Likewise.
36553 (FE_UNDERFLOW): Likewise.
36554 (FE_OVERFLOW): Likewise.
36555 (FE_INVALID): Likewise.
36556 (FE_INVALID_SNAN): Likewise.
36557 (FE_INVALID_ISI): Likewise.
36558 (FE_INVALID_IDI): Likewise.
36559 (FE_INVALID_ZDZ): Likewise.
36560 (FE_INVALID_IMZ): Likewise.
36561 (FE_INVALID_COMPARE): Likewise.
36562 (FE_INVALID_SOFTWARE): Likewise.
36563 (FE_INVALID_SQRT): Likewise.
36564 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36565 (FE_TONEAREST): Likewise.
36566 (FE_TOWARDZERO): Likewise.
36567 (FE_UPWARD): Likewise.
36568 (FE_DOWNWARD): Likewise.
36569 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36570 (FE_DIVBYZERO): Likewise.
36571 (FE_OVERFLOW): Likewise.
36572 (FE_UNDERFLOW): Likewise.
36573 (FE_INEXACT): Likewise.
36574 (FE_TONEAREST): Likewise.
36575 (FE_DOWNWARD): Likewise.
36576 (FE_UPWARD): Likewise.
36577 (FE_TOWARDZERO): Likewise.
36578 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36579 (FE_UNDERFLOW): Likewise.
36580 (FE_OVERFLOW): Likewise.
36581 (FE_DIVBYZERO): Likewise.
36582 (FE_INVALID): Likewise.
36583 (FE_TONEAREST): Likewise.
36584 (FE_TOWARDZERO): Likewise.
36585 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36586 (FE_OVERFLOW): Likewise.
36587 (FE_UNDERFLOW): Likewise.
36588 (FE_DIVBYZERO): Likewise.
36589 (FE_INEXACT): Likewise.
36590 (FE_TONEAREST): Likewise.
36591 (FE_TOWARDZERO): Likewise.
36592 (FE_UPWARD): Likewise.
36593 (FE_DOWNWARD): Likewise.
36594 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36595 (FE_DIVBYZERO): Likewise.
36596 (FE_OVERFLOW): Likewise.
36597 (FE_UNDERFLOW): Likewise.
36598 (FE_INEXACT): Likewise.
36599 (FE_TONEAREST): Likewise.
36600 (FE_DOWNWARD): Likewise.
36601 (FE_UPWARD): Likewise.
36602 (FE_TOWARDZERO): Likewise.
36604 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36606 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36608 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36610 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36611 commands. Quote $PWD.
36612 (blacklist_exports): Don't use remove_newlines. Replace "declare
36614 (remove_newlines): Remove.
36616 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36618 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36619 * stdlib/stdlib.h (atof): Moved to ...
36620 * include/bits/stdlib-float.h: Here. New file.
36621 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36622 * stdlib/bits/stdlib-float.h: New file.
36623 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36625 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36628 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36630 * conform/conformtest.pl (@headers): Add fenv.h.
36631 * conform/data/fenv.h-data: New file.
36632 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36633 include of <math/fenv.h>.
36635 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36636 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36637 && !UNIX98]. Enables tests for XOPEN2K8.
36638 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36639 POSIX2008]: Likewise.
36641 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36642 (struct rusage): Do not expect type or its members.
36645 * math/math.h (FP_NAN): Define macro to integer constant usable in
36646 #if and use that to give value to enum constant.
36647 (FP_INFINITE): Likewise.
36648 (FP_ZERO): Likewise.
36649 (FP_SUBNORMAL): Likewise.
36650 (FP_NORMAL): Likewise.
36652 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36654 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36655 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36658 2012-11-02 Roland McGrath <roland@hack.frob.com>
36660 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36661 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36662 autoconf-time if not.
36663 * configure.in: Remove AC_PREREQ.
36665 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36667 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36668 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36669 of the internal implementation.
36671 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36673 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36674 except include of <misc/sys/syslog.h>.
36676 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36679 function returns with a NULL context exit with zero.
36681 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36683 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36685 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36687 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36688 (run_program_cmd): This.
36689 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36690 (tst_langinfo): New variable. Use it.
36692 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36694 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36695 floating point opcodes.
36697 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36699 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36702 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36704 * sysdeps/mach/hurd/powerpc: Remove directory.
36705 * sysdeps/mach/powerpc: Likewise.
36707 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36709 * scripts/check-local-headers.sh: Ignore c++ headers.
36711 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36713 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36714 __libc_cleanup_region_start argument.
36716 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36720 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36721 x * y using scaling, not as x * y + z.
36722 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36723 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36724 * math/libm-test.inc (fma_test): Add more tests.
36725 (fma_test_towardzero): Likewise.
36726 (fma_test_downward): Likewise.
36727 (fma_test_upward): Likewise.
36729 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36731 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36733 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36735 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36738 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36740 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36742 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36749 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36752 Fix the order of the list for glibc 2.17.
36753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36756 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36760 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36763 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36764 for low part of x being zero before using __atanl (y).
36765 * math/libm-test.inc (atan2_test): Add another test.
36767 * manual/install.texi (Configuring and compiling): Document
36768 general use of test-wrapper and test-wrapper-env.
36769 * INSTALL: Regenerated.
36771 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36772 (__fma): Do not extract and scale down low bits on after-rounding
36773 systems when result rounded to normal precision would have normal
36775 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36776 (__fmal): Do not extract and scale down low bits on after-rounding
36777 systems when result rounded to normal precision would have normal
36779 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36780 (__fmal): Do not extract and scale down low bits on after-rounding
36781 systems when result rounded to normal precision would have normal
36783 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36785 (fma_test): Add more tests.
36786 (fma_test_towardzero): Likewise.
36787 (fma_test_downward): Likewise.
36788 (fma_test_upward): Likewise.
36790 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36792 * sysdeps/i386/tininess.h: Renamed to ...
36793 * sysdeps/x86/tininess.h: This.
36794 * sysdeps/x86_64/tininess.h: Removed.
36796 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36798 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36799 input. Use $(build-program-cmd).
36800 ($(objpfx)tst-array1-static.out): Likewise.
36801 ($(objpfx)tst-array2.out): Likewise.
36802 ($(objpfx)tst-array3.out): Likewise.
36803 ($(objpfx)tst-array4.out): Likewise.
36804 ($(objpfx)tst-array5.out): Likewise.
36805 ($(objpfx)tst-array5-static.out): Likewise.
36807 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36809 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36812 * nss/nsswitch.h (nss_interface_function): Provide new
36813 macro for use with NSS functions.
36814 * grp/initgroups.c: Use new macro.
36815 * nss/getXXbyYY.c: Likewise.
36816 * nss/getXXbyYY_r.c: Likewise.
36817 * nss/getXXent.c: Likewise.
36818 * nss/getXXent_r.c: Likewise.
36819 * sysdeps/posix/getaddrinfo.c: Likewise.
36821 2012-10-30 Andreas Jaeger <aj@suse.de>
36823 * po/ru.po: Update Russion translation from translation project.
36825 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36829 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36830 result and shift together with sticky bit instead of replicating
36831 round-to-nearest rounding.
36832 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36833 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36834 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36835 missing underflow exceptions.
36836 (fma_test_towardzero): Add more tests.
36837 (fma_test_downward): Likewise.
36838 (fma_test_upward): Likewise.
36841 * sysdeps/generic/tininess.h: New file.
36842 * sysdeps/i386/tininess.h: Likewise.
36843 * sysdeps/sh/tininess.h: Likewise.
36844 * sysdeps/x86_64/tininess.h: Likewise.
36845 * stdlib/tst-strtod-underflow.c: Likewise.
36846 * stdlib/tst-tininess.c: Likewise.
36847 * stdlib/strtod_l.c: Include <tininess.h>.
36848 (round_and_return): Do not set errno for exact underflow cases.
36849 Force an underflow exception when setting errno for underflow.
36850 Determine underflow based on rounding to normal precision if
36851 TININESS_AFTER_ROUNDING.
36852 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36853 ERANGE for exact underflow cases.
36854 * stdlib/Makefile (tests): Add tst-tininess and
36855 tst-strtod-underflow.
36856 ($(objpfx)tst-tininess): Use $(link-libm).
36857 ($(objpfx)tst-strtod-underflow): Likewise.
36859 2012-10-30 Andreas Jaeger <aj@suse.de>
36862 * elf/Makefile (tests): Remove conditional for have-initfini-array
36863 since this is now always required and the variable does not exist
36865 (tests-static): Likewise.
36866 (modules-names): Likewise.
36868 * po/eo.po: Add Esperanto translation from translation project.
36870 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36871 merged with constructor/destructor.
36872 (init_array): Likewise.
36873 * elf/tst-array2dep.c (fini_array): Likewise.
36874 (init_array): Likewise.
36876 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36878 * manual/message.texi: Delete @cartouche tags.
36880 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36882 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36884 * sysdeps/mach/hurd/fsync.c: Likewise.
36886 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36887 [_POSIX_REALTIME_SIGNALS]: Change condition to
36888 [_POSIX_REALTIME_SIGNALS > 0].
36890 2012-10-27 Andreas Jaeger <aj@suse.de>
36892 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36893 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36894 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36895 [__WORDSIZE != 64]: Likewise.
36897 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36899 * iconvdata/tst-table.sh: Remove ${SHELL}.
36900 * iconvdata/tst-tables.sh: Likewise.
36902 2012-10-25 David S. Miller <davem@davemloft.net>
36904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36905 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36908 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36910 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36911 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36912 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36915 2012-10-25 Roland McGrath <roland@hack.frob.com>
36917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36918 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36921 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36922 Jim Blandy <jimb@codesourcery.com>
36924 * scripts/cross-test-ssh.sh: New file.
36925 * manual/install.texi (Configuring and compiling): Document use of
36927 * INSTALL: Regenerated.
36929 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36931 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36934 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36936 * Makeconfig (run-program-prefix): Fix comment.
36938 2012-10-24 Joseph Myers <joseph@codesourcery.com>
36939 Jim Blandy <jimb@codesourcery.com>
36941 * Makeconfig (test-wrapper): New variable,
36942 (test-wrapper-env): Likewise.
36943 [$(cross-compiling) = yes && $(test-wrapper) != ""]
36944 (run-built-tests): Define to yes.
36945 (run-program-prefix): Use $(test-wrapper).
36946 (built-program-cmd): Likewise.
36947 * Rules (make-test-out): Use $(test-wrapper-env) and
36948 $(host-built-program-cmd).
36949 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36950 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36952 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36953 $(test-wrapper-env) to tst-rtld-load-self.sh.
36954 ($(objpfx)order2.out): Use $(test-wrapper).
36955 ($(objpfx)tst-initorder.out): Likewise.
36956 ($(objpfx)tst-initorder2.out): Likewise.
36957 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36958 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36959 (test_wrapper_env): New variable. Use it to run ld.so.
36960 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36961 Use it to run ld.so.
36962 (test_wrapper_env): Likewise.
36963 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36964 $(test-wrapper) to run-iconv-test.sh.
36965 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36966 (ICONV): Use $test_wrapper.
36967 * posix/Makefile ($(objpfx)globtest.out): Pass
36968 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36969 globtest.sh, not $(run-program-prefix).
36970 * posix/globtest.sh (run_via_rtld_prefix): New variable.
36971 (test_wrapper): Likewise.
36972 (test_wrapper_env): Likewise. Use it to run globtest with HOME
36973 set together with run_via_rtld_prefix.
36974 (run_program_prefix): Define in terms of test_wrapper and
36975 run_via_rtld_prefix.
36977 2012-10-24 Roland McGrath <roland@hack.frob.com>
36979 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36980 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36984 * include/time.h: Remove librt_hidden_proto (clock_gettime).
36985 Declare __clock_getres, __clock_gettime, __clock_settime,
36986 __clock_nanosleep, and __clock_getcpuclockid.
36987 * rt/clock_gettime.c: Define __clock_gettime as an alias.
36988 Remove librt_hidden_def (clock_gettime).
36989 * sysdeps/unix/clock_gettime.c: Likewise.
36990 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36991 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36992 * rt/clock_getres.c: Define __clock_getres as an alias.
36993 * sysdeps/posix/clock_getres.c: Likewise.
36994 * rt/clock_settime.c: Define __clock_settime as an alias.
36995 * sysdeps/unix/clock_settime.c: Likewise.
36996 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36997 * sysdeps/unix/clock_nanosleep.c: Likewise.
36998 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36999 * rt/clock-compat.c: New file.
37000 * rt/Makefile (librt-routines): Add clock-compat and move
37001 $(clock-routines) to ...
37002 (routines): ... here, new variable.
37003 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37004 Don't add get_clockfreq here.
37005 * rt/Versions (libc: GLIBC_2.17): New version set.
37006 Add clock_* symbols here.
37007 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37008 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37009 (GLIBC_2.17): Add clock_* symbols.
37010 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37011 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37012 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37021 * NEWS: Mention the move.
37023 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37024 Use __open, __read, __close rather than their public counterparts.
37025 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37026 (__get_clockfreq_via_cpuinfo): Likewise.
37027 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37028 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37030 * config.h.in (HAVE_IFUNC): New #undef.
37031 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37033 * configure: Regenerated.
37035 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37037 * configure.in: Move READELF check to start of file.
37038 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37039 libc_cv_asm_gnu_indirect_function in the process.
37040 * configure: Regenerated.
37042 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37044 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37045 send the output to /dev/null.
37046 (libc_cv_cc_with_libunwind): Likewise.
37047 (libc_cv_as_noexecstack): Likewise.
37048 * configure: Regenerate.
37050 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37052 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37054 * posix/globtest.sh (TMPDIR): Do not set.
37055 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37056 (testout): Likewise.
37058 2012-10-24 Andreas Jaeger <aj@suse.de>
37060 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37061 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37062 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37063 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37064 posix_fadvise64, posix_fallocate64.
37066 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37067 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37068 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37070 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37072 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37074 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37075 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37076 <bits/fcntl-linux.h>.
37077 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37079 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37080 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37081 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37082 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37083 [__WORDSIZE != 64]: Likewise.
37085 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37087 * Makeconfig (run-built-tests): New variable.
37088 * Rules [$(cross-compiling) = yes]: Change condition to
37089 [$(run-built-tests) = no].
37090 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37091 to [$(run-built-tests) = yes].
37092 * elf/Makefile [$(cross-compiling) = no]: Likewise
37093 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37094 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37095 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37096 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37097 * io/Makefile [$(cross-compiling) = no]: Likewise.
37098 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37099 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37100 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37101 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37102 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37103 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37104 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37105 * string/Makefile [$(cross-compiling) = no]: Likewise.
37107 * posix/Makefile ($(objpfx)globtest.out): Pass
37108 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37109 $(rtld-installed-name).
37110 * posix/globtest.sh (elf_objpfx): Remove variable.
37111 (rtld_installed_name): Likewise.
37112 (library_path): Likewise.
37113 (run_program_prefix): New variable. Use for running globtest
37116 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37117 Joseph Myers <joseph@codesourcery.com>
37119 * Makeconfig (host-built-program-cmd): New variable.
37120 * elf/Makefile (tst-stackguard1-ARGS): Use
37121 $(host-built-program-cmd).
37122 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37123 (tst-spawn-ARGS): Likewise.
37124 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37126 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37127 Jim Blandy <jimb@codesourcery.com>
37129 * Makeconfig (run-via-rtld-prefix): New variable.
37130 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37131 (built-program-cmd): Likewise.
37133 2012-10-22 Andreas Jaeger <aj@suse.de>
37135 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37136 __O_RSYNC if it exists, otherwise to O_SYNC.
37138 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37139 Joseph Myers <joseph@codesourcery.com>
37141 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37143 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37145 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37148 2012-10-22 Andreas Jaeger <aj@suse.de>
37150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37152 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37154 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37155 bits/fcntl-linux.h.
37157 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37158 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37160 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37162 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37165 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37166 Joseph Myers <joseph@codesourcery.com>
37168 * config.make.in (NM): New variable.
37170 2012-10-21 Andreas Jaeger <aj@suse.de>
37172 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37173 definitions and declarations that are provided by
37174 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37176 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37179 * elf/Makefile (tests-static): Add tst-leaks1-static.
37180 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37181 ($(objpfx)tst-leaks1-static): New rule.
37182 ($(objpfx)tst-leaks1-static-mem): Likewise.
37183 (tst-leaks1-static-ENV): New macro.
37184 * elf/dl-open.c (dl_open_worker): Check the main application
37185 only if SHARED is defined.
37186 * elf/tst-leaks1-static.c: New file.
37188 2012-10-20 Andreas Jaeger <aj@suse.de>
37190 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37191 generic values for Linux.
37192 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37193 and declarations that are provided by <bits/fcntl-linux.h> and
37194 include <bits/fcntl-linux.h>.
37195 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37198 2012-10-20 Roland McGrath <roland@hack.frob.com>
37200 * io/fcntl.h: Move include of <bits/types.h> to the top and
37201 include it unconditionally.
37203 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37205 * wcsmbs/Makefile (tests-ifunc): New variable.
37206 (tests): Add $(tests-ifunc).
37207 * wcsmbs/test-wcschr-ifunc.c: New file.
37208 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37209 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37210 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37211 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37212 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37214 * string/Makefile (tests-ifunc): New variable.
37215 (tests): Add $(tests-ifunc).
37216 * string/test-memccpy.c (TEST_NAME): New macro.
37217 * string/test-memchr.c (TEST_NAME): Likewise.
37218 * string/test-memcmp.c (TEST_NAME): Likewise.
37219 * string/test-memcpy.c (TEST_NAME): Likewise.
37220 * string/test-memmem.c (TEST_NAME): Likewise.
37221 * string/test-memmove.c (TEST_NAME): Likewise.
37222 * string/test-memset.c (TEST_NAME): Likewise.
37223 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37224 * string/test-stpcpy.c (TEST_NAME): Likewise.
37225 * string/test-stpncpy.c (TEST_NAME): Likewise.
37226 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37227 * string/test-strcasestr.c (TEST_NAME): Likewise.
37228 * string/test-strcat.c (TEST_NAME): Likewise.
37229 * string/test-strchr.c (TEST_NAME): Likewise.
37230 * string/test-strcmp.c(TEST_NAME): Likewise.
37231 * string/test-strcpy.c (TEST_NAME): Likewise.
37232 * string/test-strcspn.c (TEST_NAME): Likewise.
37233 * string/test-strlen.c (TEST_NAME): Likewise.
37234 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37235 * string/test-strncmp.c (TEST_NAME): Likewise.
37236 * string/test-strncpy.c (TEST_NAME): Likewise.
37237 * string/test-strnlen.c (TEST_NAME): Likewise.
37238 * string/test-strpbrk.c (TEST_NAME): Likewise.
37239 * string/test-strrchr.c (TEST_NAME): Likewise.
37240 * string/test-strspn.c (TEST_NAME): Likewise.
37241 * string/test-strstr.c (TEST_NAME): Likewise.
37242 * string/test-bcopy-ifunc.c: New file.
37243 * string/test-bzero-ifunc.c: Likewise.
37244 * string/test-memccpy-ifunc.c: Likewise.
37245 * string/test-memchr-ifunc.c: Likewise.
37246 * string/test-memcmp-ifunc.c: Likewise.
37247 * string/test-memcpy-ifunc.c: Likewise.
37248 * string/test-memmem-ifunc.c: Likewise.
37249 * string/test-memmove-ifunc.c: Likewise.
37250 * string/test-mempcpy-ifunc.c: Likewise.
37251 * string/test-memset-ifunc.c: Likewise.
37252 * string/test-rawmemchr-ifunc.c: Likewise.
37253 * string/test-stpcpy-ifunc.c: Likewise.
37254 * string/test-stpncpy-ifunc.c: Likewise.
37255 * string/test-strcasecmp-ifunc.c: Likewise.
37256 * string/test-strcasestr-ifunc.c: Likewise.
37257 * string/test-strcat-ifunc.c: Likewise.
37258 * string/test-strchr-ifunc.c: Likewise.
37259 * string/test-strchrnul-ifunc.c: Likewise.
37260 * string/test-strcmp-ifunc.c: Likewise.
37261 * string/test-strcpy-ifunc.c: Likewise.
37262 * string/test-strcspn-ifunc.c: Likewise.
37263 * string/test-strlen-ifunc.c: Likewise.
37264 * string/test-strncasecmp-ifunc.c: Likewise.
37265 * string/test-strncat-ifunc.c: Likewise.
37266 * string/test-strncmp-ifunc.c: Likewise.
37267 * string/test-strncpy-ifunc.c: Likewise.
37268 * string/test-strnlen-ifunc.c: Likewise.
37269 * string/test-strpbrk-ifunc.c: Likewise.
37270 * string/test-strrchr-ifunc.c: Likewise.
37271 * string/test-strspn-ifunc.c: Likewise.
37272 * string/test-strstr-ifunc.c: Likewise.
37274 * debug/Makefile (tests-ifunc): New variable.
37275 (tests): Add $(tests-ifunc).
37276 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37277 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37278 * debug/test-stpcpy_chk-ifunc.c: New file.
37279 * debug/test-strcpy_chk-ifunc.c: Likewise.
37281 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37284 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37285 header is not read in.
37287 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37289 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37290 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37291 directly. Pass built executable to script as
37292 $(built-program-cmd).
37293 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37294 $testprogram without using LD_LIBRARY_PATH and $ldso.
37296 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37297 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37298 $(rtld-installed-name).
37299 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37300 (rtld_installed_name): Likewise.
37301 (library_path): Likewise.
37302 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37303 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37304 $(run-program-prefix) to tst-tables.sh.
37305 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37306 it to run tst-table-from and tst-table-to.
37307 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37308 Pass it to tst-table.sh.
37309 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37310 $(run-program-prefix) to tst-gettext.sh.
37311 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37313 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37315 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37316 to run tst-gettext.
37317 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37318 to run tst-gettext2.
37319 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37320 to run tst-translit.
37321 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37322 $(run-program-prefix) to tst-mtrace.sh.
37323 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37325 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37326 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37327 $(rtld-installed-name).
37328 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37329 (rtld_installed_name): Likewise.
37330 (run_program_prefix): New variable. Use it to run wordexp-test.
37332 * Makeconfig (ARCH): Remove all definitions.
37333 (machine): Likewise.
37334 [ARCH]: Remove conditional code.
37335 [!objdir]: Give error.
37336 [!objdir] (objpfx): Remove.
37337 [!objdir] (common-objpfx): Likewise.
37338 [!objdir] (common-objdir): Likewise.
37339 * configure.in (config_makefile): Remove. Hardcode Makefile in
37340 AC_CONFIG_FILES call.
37341 * configure: Regenerated.
37344 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37346 (testout): Likewise.
37348 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37349 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37350 $(rtld-installed-name).
37351 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37352 (rtld_installed_name): Likwise.
37353 (runit): Remove function.
37354 (run_getconf): New variable, Use it for running getconf binary.
37356 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37359 * string/test-memmem.c (check_result): New function.
37360 (do_one_test): Use it.
37361 (check1): New function.
37362 (test_main): Use it.
37364 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37366 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37368 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37370 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37371 (_G_LSEEK64): Likewise.
37372 (_G_MMAP64): Likewise.
37373 (_G_FSTAT64): Likewise.
37374 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37375 (_G_LSEEK64): Likewise.
37376 (_G_MMAP64): Likewise.
37377 (_G_FSTAT64): Likewise.
37378 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37379 unconditional. Call __mmap64 directly.
37380 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37381 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37382 __lseek64 directly.
37383 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37384 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37386 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37387 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37388 __lseek64 directly.
37389 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37390 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37391 __lseek64 directly.
37392 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37393 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37394 __lseek64 directly.
37395 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37396 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37397 __fxstat64 directly.
37398 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37399 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37401 (freopen64) [!_G_OPEN64]: Remove conditional code.
37402 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37404 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37405 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37407 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37408 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37410 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37411 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37413 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37414 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37416 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37417 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37419 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37420 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37422 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37424 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37427 * manual/memory.texi (Malloc Tunable Parameters): Add note
37428 about free list pointers overwriting some perturb bytes.
37429 Wording suggested by Roland McGrath.
37431 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37433 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37434 (lgamma_test): Likewise.
37435 (tgamma_test): Likewise.
37437 2012-10-16 Florian Weimer <fweimer@redhat.com>
37440 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37441 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37443 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37445 * NEWS: Mention BZ #14716.
37446 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37447 when removing AVAILABLE1_USES_J macro.
37449 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37451 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37452 (__bswap_64): __uint64_t for unsigned 64-bit int.
37454 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37456 * include/string.h (memmem): Declare libc hidden alias.
37457 * string/memmem.c (memmem): Define libc hidden alias.
37458 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37459 __read, __close instead of open, read, close.
37461 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37464 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37466 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37467 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37468 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37470 (__rawmemchr_sse2): Likewise.
37471 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37472 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37473 (__strchr_sse2): Likewise.
37474 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37475 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37476 (__strcasecmp_sse2): Likewise.
37477 (__strncasecmp_sse2): Likewise.
37478 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37479 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37480 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37481 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37482 (__strrchr_sse2): Likewise.
37483 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37485 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37486 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37487 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37488 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37489 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37490 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37491 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37492 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37493 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37494 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37495 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37496 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37497 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37498 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37499 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37500 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37501 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37502 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37503 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37504 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37505 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37506 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37507 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37508 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37509 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37510 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37511 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37512 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37513 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37514 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37516 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37518 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37519 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37520 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37521 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37523 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37525 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37526 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37527 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37528 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37530 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37531 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37532 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37533 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37534 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37535 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37536 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37537 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37538 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37539 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37540 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37541 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37542 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37543 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37544 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37545 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37546 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37547 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37548 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37549 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37550 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37551 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37552 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37553 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37554 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37555 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37556 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37557 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37558 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37559 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37560 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37561 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37562 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37563 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37564 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37565 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37566 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37567 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37568 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37569 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37570 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37572 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37573 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37574 * include/ifunc-impl-list.h: New file.
37575 * misc/ifunc-impl-list.c: Likewise.
37576 * misc/Makefile (routines): Add ifunc-impl-list.
37577 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37578 * string/test-string.h: Include <ifunc-impl-list.h>.
37579 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37580 TEST_NAME]: New variables.
37581 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37583 (test_init): Call __libc_ifunc_impl_list to initialize
37584 func_list if TEST_IFUNC and TEST_NAME are defined.
37586 * string/Makefile (strop-tests): Add bcopy and bzero.
37587 * string/test-bcopy.c: New file.
37588 * string/test-bzero.c: Likewise.
37589 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37591 * string/test-memset.c: Support bzero test if TEST_BZERO is
37593 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37595 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37597 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37600 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37602 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37603 * configure: Regenerated.
37605 * Makeconfig (+link-static-before-libc): Don't include
37606 $(link-static-libc).
37608 * libio/libio.h (_IO_pos_t): Remove.
37610 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37612 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37615 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37617 * crypt/crypt-entry.c: Include fips-private.h.
37618 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37619 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37620 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37621 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37623 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37625 * crypt/crypt-private.h: Include stdbool.h.
37626 (_ufc_setup_salt_r): Return bool.
37627 * crypt/crypt-entry.c: Include errno.h.
37628 (__crypt_r): Return NULL with EINVAL for bad salt.
37629 * crypt/crypt_util.c (bad_for_salt): New.
37630 (_ufc_setup_salt_r): Check that salt is long enough and within
37631 the specified alphabet.
37632 * crypt/badsalttest.c: New file.
37633 * crypt/Makefile (tests): Add it.
37634 ($(objpfx)badsalttest): New.
37636 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37638 * NEWS: Add entry for BZ #14602.
37640 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37642 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37644 * math/libm-test.inc: Update comment listing what functions and
37646 (isgreater_test): New function.
37647 (isgreaterequal_test): Likewise.
37648 (isless_test): Likewise.
37649 (islessequal_test): Likewise.
37650 (islessgreater_test): Likewise.
37651 (isunordered_test): Likewise.
37652 (main): Call the new functions.
37654 2012-10-09 Roland McGrath <roland@hack.frob.com>
37656 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37657 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37658 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37659 * sysdeps/i386/configure: Regenerated.
37660 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37661 * sysdeps/mach/configure: Regenerated.
37662 * sysdeps/mach/hurd/configure: Regenerated.
37663 * sysdeps/powerpc/configure: Regenerated.
37664 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37665 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37666 * sysdeps/s390/s390-32/configure: Regenerated.
37667 * sysdeps/s390/s390-64/configure: Regenerated.
37668 * sysdeps/sh/configure: Regenerated.
37669 * sysdeps/sparc/configure: Regenerated.
37670 * sysdeps/unix/sysv/linux/configure: Regenerated.
37671 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37672 * sysdeps/x86_64/configure: Regenerated.
37674 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37675 defined. Don't check if MAP is NULL.
37677 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37679 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37680 (_G_stat64): Likewise.
37681 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37682 (_G_stat64): Likewise.
37683 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37684 instead of struct _G_stat64.
37685 * libio/fileops.c (mmap_remap_check): Likewise.
37686 (decide_maybe_mmap): Likewise.
37687 (_IO_new_file_seekoff): Likewise.
37688 (_IO_file_stat): Likewise.
37689 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37691 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37692 instead of struct _G_stat64.
37693 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37695 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37698 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37700 (CHECK_EOL): New macro.
37701 (two_way_short_needle): Check beginning of haystack for EOL. Use
37703 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37704 Replace with CHECK_EOL.
37705 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37706 Replace with CHECK_EOL.
37708 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37710 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37712 * math/libm-test.inc: Update comment listing what functions and
37714 (finite_test): New function.
37715 (isinf_test): Likewise.
37716 (isnan_test): Likewise.
37717 (fpclassify_test): Test subnormal input.
37718 (isfinite_test): Likewise.
37719 (isnormal_test): Likewise.
37720 (main): Call the new functions.
37722 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37725 * Makerules (%.dynsym): Force C locale when running
37726 $(OBJDUMP) --dynamic-syms.
37728 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37730 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37733 2012-10-06 David S. Miller <davem@davemloft.net>
37735 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37736 upper 32-bits of the length value in %o2 since we use branch-on-register
37737 tests which consider the entire 64-bit register.
37739 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37741 * string/test-strstr.c (check2): Add a test for page boundary.
37743 2012-10-05 David S. Miller <davem@davemloft.net>
37745 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37746 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37748 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37750 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37751 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37752 and bzero when HWCAP_SPARC_CRYPTO is present.
37754 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37757 * string/test-strstr.c (check2): New function.
37758 (test_main): Call check2.
37760 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37762 * string/bug-strcasestr1.c (do_test): Moved to ...
37763 * string/test-strcasestr.c (check1): Here. New function.
37764 (do_one_test): Break out result checking code into ...
37765 (check_result): This. New function.
37766 (do_one_test): Call check_result.
37767 (test_main): Call check1.
37768 * string/bug-strchr1.c (do_test): Moved to ...
37769 * string/test-strchr.c (check1): Here. New function.
37770 (do_one_test): Break out result checking code into ...
37771 (check_result): This. New function.
37772 (do_one_test): Call check_result.
37773 (test_main): Call check1.
37774 * string/bug-strstr1.c (main): Moved to ...
37775 * string/test-strstr.c (check1): Here. New function.
37776 (do_one_test): Break out result checking code into ...
37777 (check_result): This. New function.
37778 (do_one_test): Call check_result.
37779 (test_main): Call check1.
37780 * string/bug-strcasestr1.c: Removed.
37781 * string/bug-strchr1.c: Likewise.
37782 * string/bug-strstr1.c: Likewise.
37784 * elf/Makefile (dl-routines): Add hwcaps.
37785 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37786 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37787 (_dl_important_hwcaps): Moved to ...
37788 * elf/dl-hwcaps.c: Here. New file.
37789 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37792 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37793 if IS_IN_rtld isn't defined.
37795 * elf/dl-support.c (_dl_sysinfo_map): New.
37796 Include "get-dynamic-info.h" and "setup-vdso.h".
37797 (_dl_non_dynamic_init): Call setup_vdso.
37798 * elf/dynamic-link.h: Don't include <assert.h>.
37799 (elf_get_dynamic_info): Moved to ...
37800 * elf/get-dynamic-info.h: Here. New file.
37801 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37802 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37803 * elf/setup-vdso.h: Here. New file.
37804 * elf/rtld.c: Include "setup-vdso.h".
37805 (dl_main): Call setup_vdso.
37807 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37809 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37810 creal in comment listing functions tested. List finite, isinf,
37811 isnan, isless, islessequal, isgreater, isgreaterequal,
37812 islessgreater, isunordered, lgamma_r and pow10 as functions and
37813 macros not tested. Mention which functions not tested are aliases
37814 for other functions. Fix typo. Note that signs of NaNs are not
37817 * scripts/config.guess: Update from config.git.
37818 * scripts/config.sub: Likewise.
37820 2012-10-04 Roland McGrath <roland@hack.frob.com>
37822 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37823 * misc/madvise.c (madvise): Renamed to __madvise.
37824 Make madvise a weak alias.
37825 * include/sys/mman.h: Declare __madvise.
37826 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37827 * sysdeps/unix/syscalls.list
37828 (madvise): Make __madvise the strong name, and madvise a weak alias.
37829 * sysdeps/unix/sysv/linux/syscalls.list
37830 (madvise, mmap): Remove redundant entries.
37831 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37832 * malloc/malloc.c (mtrim): Likewise.
37833 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37835 2012-10-03 Roland McGrath <roland@hack.frob.com>
37837 * sysdeps/mach/hurd/dl-cache.c: File removed.
37838 * config.h.in (USE_LDCONFIG): New #undef.
37839 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37840 * configure: Regenerated.
37841 * elf/Makefile (dl-routines): Add dl-cache only under
37842 [$(use-ldconfig) = yes].
37843 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37844 cache on [USE_LDCONFIG].
37845 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37847 * elf/rtld.c (dl_main): Likewise.
37849 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37851 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37852 _SC_LEVEL4_CACHE_LINESIZE.
37854 2012-10-03 Roland McGrath <roland@hack.frob.com>
37856 * sysdeps/unix/bsd/confstr.h: File removed.
37858 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37860 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37863 2012-10-02 Roland McGrath <roland@hack.frob.com>
37865 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37866 Make 'mapoff' field ElfW(Off) rather than off_t.
37868 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37870 * nscd/Makefile: Remove nscd-cflags and all its users.
37871 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37872 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37875 * malloc.c (malloc_printerr): Clarify error message.
37877 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37881 Set bit_FMA_Usable if FMA is supported.
37882 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37884 (bit_FMA4_Usable): Updated.
37885 (index_FMA_Usable): New macro.
37886 (CPUID_FMA): Likewise
37887 (HAS_FMA): Defined with bit_FMA_Usable.
37889 2012-10-01 Roland McGrath <roland@hack.frob.com>
37891 * bits/types.h (__swblk_t): Type removed.
37892 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37893 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37894 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37895 (__SWBLK_T_TYPE): Likewise.
37896 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37897 (__SWBLK_T_TYPE): Likewise.
37898 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37899 (__SWBLK_T_TYPE): Likewise.
37900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37901 (__SWBLK_T_TYPE): Likewise.
37903 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37904 Honza Horak <hhorak@redhat.com>
37906 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37907 (xdr_mapname): Use YPMAXMAP as maxsize.
37908 (xdr_peername): Use YPMAXPEER as maxsize.
37909 (xdr_keydat): Use YPAXRECORD as maxsize.
37910 (xdr_valdat): Use YPMAXRECORD as maxsize.
37912 2012-10-01 Roland McGrath <roland@hack.frob.com>
37914 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37916 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37917 * csu/init-first.c: ... here.
37918 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37919 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37920 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37921 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37922 * sysdeps/i386/init-first.c: File removed.
37923 * sysdeps/sh/init-first.c: File removed.
37925 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37928 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37929 if x * y might underflow to zero and z is zero.
37930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37931 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37932 * math/libm-test.inc (min_subnorm_value): New variable.
37933 (fma_test): Add more tests.
37934 (fma_test_towardzero): Likewise.
37935 (fma_test_downward): Likewise
37936 (fma_test_upward): Likewise.
37937 (initialize): Set min_subnorm_value.
37939 2012-09-29 Joseph Myers <joseph@codesourcery.com>
37942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37944 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37945 mode for addition resulting in exact zero.
37946 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37947 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37949 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37950 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37951 * math/libm-test.inc (fma_test): Add more tests.
37952 (fma_test_towardzero): New function.
37953 (fma_test_downward): Likewise.
37954 (fma_test_upward): Likewise.
37955 (main): Call the new functions.
37957 2012-09-28 David S. Miller <davem@davemloft.net>
37959 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37961 2012-09-28 Roland McGrath <roland@hack.frob.com>
37963 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37964 instead of SIGALRM.
37966 * sysdeps/gnu/_G_config.h: Moved to ...
37967 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37968 * sysdeps/mach/hurd/_G_config.h: Moved to ...
37969 * sysdeps/generic/_G_config.h: ... here.
37971 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
37973 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37975 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37976 Conditionalize target on [libnss_test1.so-version].
37978 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37980 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37981 (elfobjdir): Move out of conditionals.
37983 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37984 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37985 (__nss_lookup_function): Conditionalize label remove_from_tree on
37986 [!DO_STATIC_NSS || SHARED], matching its only use.
37988 2012-09-28 David S. Miller <davem@davemloft.net>
37990 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37991 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37993 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37995 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37996 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37997 when HWCAP_SPARC_CRYPTO is present.
37999 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38001 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38003 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38006 * stdio-common/vfprintf.c (process_string_arg): Revert
38009 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38011 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38013 * stdio-common/tst-sprintf.c: Include <locale.h>
38014 (main): Test sprintf's handling of incomplete multibyte
38017 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38019 * elf/dl-runtime.c (VERSYMIDX): Removed.
38020 * elf/dl-version.c (VERSYMIDX): Likewise.
38021 * elf/do-rel.h (VERSYMIDX): Likewise.
38022 (VALIDX): Likewise.
38023 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38024 * elf/rtld.c (VALIDX): Likewise.
38025 (ADDRIDX): Likewise.
38026 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38027 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38028 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38029 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38030 (VALIDX): Likewise.
38031 (ADDRIDX): Likewise.
38033 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38035 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38037 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38040 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38042 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38043 addresses are in the same scope as 192.0.2/24.
38044 * posix/gai.conf: Document new scope table defaults.
38046 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38049 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38050 for ftell. Compute offsets from write pointers instead.
38051 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38053 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38056 * libio/Makefile (tests): New test case tst-fseek.
38057 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38058 combination works in wide mode.
38059 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38060 state when the external buffer state changes.
38062 2012-09-27 David S. Miller <davem@davemloft.net>
38065 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38066 pass reloc->r_addend in as the 'high' argument to
38067 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38071 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38073 * rt/tst-aio2.c: Include <pthread.h>.
38074 * rt/tst-aio3.c: Likewise.
38076 2012-09-27 Steve Ellcey <sellcey@mips.com>
38078 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38080 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38082 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38083 contents on [SHARED].
38085 2012-09-26 Marek Polacek <polacek@redhat.com>
38089 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38090 for C++ and GCC <4.3 as well as for non GCC compilers.
38092 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38094 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38096 2012-09-25 Roland McGrath <roland@hack.frob.com>
38098 * Makefile.in (all, install): Declare with .PHONY.
38099 Reported by Michael Hope <michael.hope@linaro.org>.
38101 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38103 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38104 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38106 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38108 (sydep_routines): Add the new and the internal functions.
38109 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38110 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38112 (GLIBC_2.17): Add the new function.
38113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38114 (GLIBC_2.17): Likewise.
38115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38116 (GLIBC_2.17): Likewise.
38117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38118 (GLIBC_2.17): Likewise.
38119 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38121 2012-09-25 Alan Modra <amodra@gmail.com>
38123 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38124 Add release barrier before setting once_control to say
38125 initialisation is done. Add hints on lwarx. Use macro in
38127 (clear_once_control): Add release barrier.
38129 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38132 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38134 * math/s_clog10.c (__clog10): Likewise.
38135 * math/s_clog10f.c (__clog10f): Likewise.
38136 * math/s_clog10l.c (__clog10l): Likewise.
38137 * math/s_clogf.c (__clogf): Likewise.
38138 * math/s_clogl.c (__clogl): Likewise.
38139 * math/Makefile (libm-calls): Add x2y2m1.
38140 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38141 (__x2y2m1): Likewise.
38142 (__x2y2m1l): Likewise.
38143 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38144 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38145 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38146 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38147 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38149 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38150 * sysdeps/i386/fpu/libm-test-ulps: Update.
38151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38154 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38155 int as type of variable DEPTH.
38156 (glob): Use size_t instead of int as type of variables NEWCOUNT
38159 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38161 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38162 Add s_sincosf-sse2.
38163 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38164 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38165 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38166 macros for using routine as __sincosf_ia32.
38167 Use macro for function declaration and weak_alias.
38168 * sysdeps/i386/fpu/libm-test-ulps: Update.
38170 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38171 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38173 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38174 subnormal argument.
38175 * math/s_cexpf.c (__cexpf): Likewise.
38176 * math/s_csinf.c (__csinf): Likewise.
38177 * math/s_csinhf.c (__csinhf): Likewise.
38178 * math/s_ctanf.c (__ctanf): Likewise.
38179 * math/s_ctanhf.c (__ctanhf): Likewise.
38180 * math/s_ccosh.c (__ccoshf): Likewise.
38181 * math/s_cexp.c (__cexpl): Likewise.
38182 * math/s_csin.c (__csin): Likewise.
38183 * math/s_csinh.c (__csinh): Likewise.
38184 * math/s_ctan.c (__ctan): Likewise.
38185 * math/s_ctanh.c (ctanh): Likewise.
38186 * math/s_ccoshl.c (__ccoshl): Likewise.
38187 * math/s_cexpl.c (__cexpl): Likewise.
38188 * math/s_csinl.c (__csinl): Likewise.
38189 * math/s_csinhl.c (__csinhl): Likewise.
38190 * math/s_ctanl.c (__ctanl): Likewise.
38191 * math/s_ctanhl.c (__ctanhl): Likewise.
38193 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38195 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38196 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38197 (_IO_off_t): Define to __off_t, not _G_off_t.
38198 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38199 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38200 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38201 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38202 type of __dummy and __dummy2 fields.
38203 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38204 (_G_ssize_t): Likewise.
38205 (_G_off_t): Likewise.
38206 (_G_pid_t): Likewise.
38207 (_G_uid_t): Likewise.
38208 (_G_wchar_t): Likewise.
38209 (_G_wint_t): Likewise.
38210 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38211 (_G_ssize_t): Likewise.
38212 (_G_off_t): Likewise.
38213 (_G_pid_t): Likewise.
38214 (_G_uid_t): Likewise.
38215 (_G_wchar_t): Likewise.
38216 (_G_wint_t): Likewise.
38217 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38218 (_G_ssize_t): Likewise.
38219 (_G_off_t): Likewise.
38220 (_G_pid_t): Likewise.
38221 (_G_uid_t): Likewise.
38222 (_G_wchar_t): Likewise.
38223 (_G_wint_t): Likewise.
38225 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38227 * malloc/arena.c: Include malloc-sysdep.h.
38228 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38229 is sufficient to shrink the heap or an unmap is needed.
38230 * sysdeps/generic/malloc-sysdep.h: New file. Define
38231 new function check_may_shrink_heap.
38232 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38233 new function check_may_shrink_heap.
38235 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38237 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38240 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38242 * catgets/test-gencat.sh: Add "set -e".
38243 * elf/tst-pathopt.sh: Likewise.
38244 * grp/tst_fgetgrent.sh: Likewise.
38245 * iconvdata/run-iconv-test.sh: Likewise.
38246 * intl/tst-gettext.sh: Likewise.
38247 * intl/tst-gettext2.sh: Likewise.
38248 * intl/tst-gettext4.sh: Likewise.
38249 * intl/tst-gettext6.sh: Likewise.
38250 * intl/tst-translit.sh: Likewise.
38251 * io/ftwtest-sh: Likewise.
38252 * libio/test-freopen.sh: Likewise.
38253 * malloc/tst-mtrace.sh: Likewise.
38254 * posix/globtest.sh: Likewise.
38255 * posix/tst-getconf.sh: Likewise.
38256 * posix/wordexp-tst.sh: Likewise.
38257 * stdio-common/tst-printf.sh: Likewise.
38258 * stdio-common/tst-unbputc.sh: Likewise.
38259 * stdlib/tst-fmtmsg.sh: Likewise.
38260 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38261 * catgets/Makefile: Do not specify -e option when running
38262 testsuite shell scripts.
38263 * elf/Makefile: Likewise.
38264 * grp/Makefile: Likewise.
38265 * iconvdata/Makefile: Likewise.
38266 * intl/Makefile: Likewise.
38267 * io/Makefile: Likewise.
38268 * libio/Makefile: Likewise.
38269 * malloc/Makefile: Likewise.
38270 * posix/Makefile: Likewise.
38271 * stdio-common/Makefile: Likewise.
38272 * stdlib/Makefile: Likewise.
38273 * sysdeps/x86_64/Makefile: Likewise.
38275 * io/ftwtest-sh: Add copyright header.
38276 * posix/globtest.sh: Likewise.
38277 * posix/tst-getconf.sh: Likewise.
38278 * posix/wordexp-tst.sh: Likewise.
38279 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38281 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38284 * Makeconfig (+link): Defined as $(+link-static) if
38285 $(build-shared) isn't yes.
38286 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38288 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38290 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38293 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38294 new chunk size with MALLOC_ALIGN_MASK.
38296 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38299 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38301 (__printf_fphex): Determine rounding using get_rounding_mode and
38303 * stdio-common/tst-printf-round.c (struct hex_test): New
38305 (hex_tests): New variable.
38306 (test_hex_in_one_mode): New function.
38307 (do_test): Also run tests for hex float output.
38309 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38311 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38312 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38313 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38314 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38315 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38316 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38317 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38318 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38320 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38322 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38323 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38324 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38325 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38327 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38330 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38332 * elf/tst-rtld-load-self.sh: New test.
38333 * elf/Makefile: Run it.
38335 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38337 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38338 (tst-writev-ENV): Remove.
38339 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38341 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38343 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38345 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38347 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38349 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38351 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38352 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38353 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38356 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38359 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38360 * config.make.in (have-cpp-asm-debuginfo): Removed.
38361 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38362 * configure: Regenerated.
38364 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38367 * stdio-common/printf_fp.c: Include <stdbool.h> and
38369 (___printf_fp): Determine rounding using get_rounding_mode and
38371 * stdio-common/tst-printf-round.c: New file.
38372 * stdio-common/Makefile (tests): Add tst-printf-round.
38373 (link-libm): New variable.
38374 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38376 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38379 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38380 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38382 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38385 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38387 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38388 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38389 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38390 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38392 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38395 * include/rounding-mode.h: New file.
38396 * sysdeps/generic/get-rounding-mode.h: Likewise.
38397 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38398 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38399 (MAX_VALUE): New macro.
38400 (MIN_VALUE): Likewise.
38401 (overflow_value): New function.
38402 (underflow_value): Likewise.
38403 (round_and_return): Use overflow_value and underflow_value to
38404 determine return values in overflow and underflow cases. Use
38405 round_away to determine rounding depending on rounding mode.
38406 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38407 determine return values in overflow and underflow cases.
38408 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38409 (struct test_results): New structure.
38410 (struct test): Use struct test_results to store expected results
38411 for all rounding modes.
38412 (TEST): Include expected results for all rounding modes.
38413 (test_in_one_mode): New function.
38414 (do_test): Use test_in_one_mode to compute and check results.
38415 Check results for all rounding modes.
38416 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38419 2012-12-09 Allan McRae <allan@archlinux.org>
38421 * sysdeps/i386/fpu/libm-test-ulps: Update
38423 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38425 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38426 (_G_int32_t): Likewise.
38427 (_G_uint16_t): Likewise.
38428 (_G_uint32_t): Likewise.
38429 (_G_HAVE_BOOL): Likewise.
38430 (_G_HAVE_ATEXIT): Likewise.
38431 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38432 (_G_HAVE_IO_FILE_OPEN): Likewise.
38433 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38434 (_G_int32_t): Likewise.
38435 (_G_uint16_t): Likewise.
38436 (_G_uint32_t): Likewise.
38437 (_G_HAVE_BOOL): Likewise.
38438 (_G_HAVE_ATEXIT): Likewise.
38439 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38440 (_G_HAVE_IO_FILE_OPEN): Likewise.
38441 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38442 (_G_int32_t): Likewise.
38443 (_G_uint16_t): Likewise.
38444 (_G_uint32_t): Likewise.
38445 (_G_HAVE_BOOL): Likewise.
38446 (_G_HAVE_ATEXIT): Likewise.
38447 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38448 (_G_HAVE_IO_FILE_OPEN): Likewise.
38450 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38452 * csu/libc-tls.c: Update copyright years.
38454 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38456 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38457 [!_G_USING_THUNKS]: Remove conditional code.
38458 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38459 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38461 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38462 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38463 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38464 (_G_VTABLE_LABEL_PREFIX): Likewise.
38465 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38466 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38467 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38468 (_G_VTABLE_LABEL_PREFIX): Likewise.
38469 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38470 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38471 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38472 (_G_VTABLE_LABEL_PREFIX): Likewise.
38473 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38475 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38477 * libio/Makefile: Include ../Makeconfig before tests.
38478 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38479 only if $(build-shared) is yes.
38481 * iconv/gconv_db.c: Update copyright years.
38483 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38485 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38486 unwind info if defined PIC. Fix special cases description.
38487 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38489 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38491 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38493 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38495 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38497 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38500 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38501 (LDLIBS-tst-chk4): This.
38502 (LDFLAGS-tst-chk5): Renamed to ...
38503 (LDLIBS-tst-chk5): This.
38504 (LDFLAGS-tst-chk6): Renamed to ...
38505 (LDLIBS-tst-chk6): This.
38506 (LDFLAGS-tst-lfschk4): Renamed to ...
38507 (LDLIBS-tst-lfschk4): This.
38508 (LDFLAGS-tst-lfschk5): Renamed to ...
38509 (LDLIBS-tst-lfschk5): This.
38510 (LDFLAGS-tst-lfschk6): Renamed to ...
38511 (LDLIBS-tst-lfschk6): This.
38513 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38514 on $(common-objpfx)soversions.mk.
38516 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38519 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38522 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38524 * malloc/arena.c (arena_get_retry): New function that gets
38525 another arena for the caller to try its request on.
38526 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38527 current arena cannot fulfill the request.
38528 (__libc_memalign): Likewise.
38529 (__libc_memalign): Likewise.
38530 (__libc_pvalloc): Likewise.
38531 (__libc_calloc): Likewise.
38533 2012-09-05 John Tobey <john.tobey@gmail.com>
38536 * manual/arith.texi (Operations on Complex): Fix description
38537 of carg branch cut.
38539 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38542 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38546 * manual/memory.texi (Memory): Make order of menu items match
38549 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38551 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38552 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38553 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38555 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38557 * csu/libc-tls.c (static_dtv): Renamed to ...
38558 (_dl_static_dtv): This. Make it global.
38559 (_dl_initial_dtv): Removed.
38560 (__libc_setup_tls): Updated.
38561 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38562 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38565 2012-09-06 Petr Machata <pmachata@redhat.com>
38567 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38568 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38569 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38570 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38572 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38575 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38576 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38579 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38582 * Makeconfig (link-static-before-libc): Replace $(+prector)
38584 (link-static-after-libc): Replace $(+postctor) with
38586 (link-bounded): Replace $(+prector)/$(+postctor) with
38587 $(+prectorT)/$(+postctorT).
38588 (+prectorT): New macro.
38589 (+postctorT): Likewise.
38591 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38593 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38594 (round_str): Handle values above the maximum for IBM long double
38596 * stdlib/tst-strtod-round.c (tests): Regenerated.
38598 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38600 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38602 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38603 zarch_nohighgprs around the zarch optimized routines.
38604 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38605 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38606 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38609 2012-09-05 David S. Miller <davem@davemloft.net>
38611 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38613 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38614 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38615 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38616 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38619 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38621 * malloc/arena.c: Fold copyright years.
38622 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38624 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38626 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38628 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38630 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38632 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38634 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38635 change internal state upon failure.
38637 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38639 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38640 * malloc/memusage.c (mmap): Likewise.
38641 (mmap64, mremap): Likewise. Adjust name in comment.
38643 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38645 * libio/fileops.c: Fix typos in comments.
38646 * libio/oldfileops.c: Likewise.
38647 * libio/wfileops.c: Likewise.
38649 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38652 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38653 (tst-malloc-usable-ENV): Set environment for test case.
38654 * malloc/hooks.c (malloc_check_get_size): New function to get
38656 * malloc/malloc.c (musable): Use malloc_check_get_size.
38657 * malloc/tst-malloc-usable.c: New test case.
38659 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38661 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38663 2012-09-05 Allan McRae <allan@archlinux.org>
38666 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38667 determine header location.
38668 * configure: Regenerated.
38670 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38672 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38674 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38675 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38677 (test): Regenerate.
38679 2012-09-04 David S. Miller <davem@davemloft.net>
38681 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38682 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38683 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38685 2012-09-04 Florian Weimer <fweimer@redhat.com>
38687 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38690 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38692 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38695 * libio/iogetdelim.c: Include <limits.h>.
38696 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38697 + len + 1 would overflow.
38699 2012-09-03 Andreas Jaeger <aj@suse.de>
38701 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38702 * sysdeps/i386/fpu/libm-test-ulps: Update.
38704 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38706 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38707 Add s_sinf-sse2, s_conf-sse2.
38709 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38710 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38711 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38712 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38714 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38715 for using routine as __sinf_ia32.
38716 Use macro for function declaration and weak_alias.
38717 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38718 for using routine as __cosf_ia32.
38719 Use macro for function declaration and weak_alias.
38721 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38722 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38724 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38725 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38726 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38728 * math/libm-test.inc (cos_test): Add more test cases.
38729 (sin_test): Likewise.
38730 (sincos_test): Likewise.
38732 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38734 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38735 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38737 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38739 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38742 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38743 first element of the GOT.
38744 (elf_machine_load_address): Return the difference between
38745 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38747 2012-09-01 Allan McRae <allan@archlinux.org>
38750 * configure.in (AWK): Require gawk version 3.0 or later.
38751 * configure: Regenerated.
38753 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38755 * sysdeps/unix/sysv/linux/kernel-features.h
38756 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38757 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38758 [__NR_clock_getres]: Make code unconditional.
38759 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38760 (clock_getcpuclockid): Remove code left unreachable by removal of
38762 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38763 code unconditional.
38764 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38765 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38766 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38767 Make code unconditional.
38768 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38769 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38770 * sysdeps/unix/sysv/linux/clock_settime.c
38771 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38773 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38774 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38776 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38779 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38780 scripts/test-installation.pl.
38782 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38783 and $ld_so_version if it is set.
38785 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38788 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38789 failure if reading from procfs failed.
38790 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38792 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38794 * sysdeps/unix/sysv/linux/kernel-features.h
38795 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38796 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38797 Remove conditional code.
38798 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38799 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38800 Remove conditional code.
38801 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38802 * sysdeps/unix/sysv/linux/i386/fxstat.c
38803 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38804 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38805 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38806 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38807 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38808 * sysdeps/unix/sysv/linux/i386/lxstat.c
38809 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38810 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38811 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38812 Remove conditional code.
38813 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38814 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38815 Remove conditional code.
38816 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38817 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38818 <kernel-features.h>.
38819 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38821 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38822 Remove conditional code.
38823 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38824 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38825 Remove conditional.
38827 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38830 * NEWS: Add fixed bug number.
38832 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38835 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38836 underflowing exponent in case of negative sign.
38837 * stdlib/tst-strtod-round-data: Add more tests.
38838 * stdlib/tst-strtod-round.c (tests): Regenerated.
38841 * stdlib/strtod_l.c (NDIG): Remove.
38842 (HEXNDIG): Likewise.
38843 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38844 smallest representable value.
38845 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38846 lie within an exact representation of 1/2 ulp of the result.
38847 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38849 (TENS_P9_IDX): Define unconditionally.
38850 (TENS_P9_SIZE): Likewise.
38851 (TENS_P10_IDX): Likewise.
38852 (TENS_P10_SIZE): Likewise.
38853 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38854 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38855 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38856 entries for 10^2^13 and 10^2^14.
38857 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38858 (TENS_P13_IDX): Define.
38859 (TENS_P13_SIZE): Likewise.
38860 (TENS_P14_IDX): Likewise.
38861 (TENS_P14_SIZE): Likewise.
38862 (_fpioconst_pow10): Change array size to
38863 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38865 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38866 1024]: Add entries for 10^2^13 and 10^2^14.
38867 [LAST_POW10 > _LAST_POW10]: Remove #error.
38868 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38869 (_fpioconst_pow10): Change array size to
38870 FPIOCONST_POW10_ARRAY_SIZE.
38871 * stdlib/gen-fpioconst.c: New file.
38872 * stdlib/gen-tst-strtod-round.c: Likewise.
38873 * stdlib/tst-strtod-round-data: Likewise.
38874 * stdlib/tst-strtod-round.c: Likewise.
38875 * stdlib/Makefile (tests): Add tst-strtod-round.
38878 * stdlib/strtod_l.c: Include <stdint.h>.
38879 (NDEBUG): Do not define.
38880 (round_and_return): Change EXPONENT parameter to type intmax_t.
38881 Rearrange calculations to avoid internal overflow possibilities.
38882 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38883 Rearrange calculations to avoid internal overflow possibilities.
38884 Assert that number fits inside MPNSIZE limbs.
38885 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38886 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38887 calculations and add assertions to avoid internal overflow
38888 possibilities. Add casts to avoid signed/unsigned operations.
38889 * stdlib/tst-strtod-overflow.c: New file.
38890 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38892 2012-08-25 Marek Polacek <polacek@redhat.com>
38894 * time/time.h: Fix some typos in comments.
38896 2012-08-23 Roland McGrath <roland@hack.frob.com>
38898 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38899 * posix/tst-rfc3484-2.c: Likewise.
38900 * posix/tst-rfc3484-3.c: Likewise.
38902 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38904 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38905 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38907 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38909 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38910 #include of fxstatat64.c.
38912 2012-08-22 Roland McGrath <roland@hack.frob.com>
38914 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38915 * shadow/getspent_r.c: Likewise.
38916 * shadow/getspnam.c: Likewise.
38917 * shadow/getspnam_r.c: Likewise.
38918 * gshadow/getsgent.c: Likewise.
38919 * gshadow/getsgent_r.c: Likewise.
38920 * gshadow/getsgnam.c: Likewise.
38921 * gshadow/getsgnam_r.c: Likewise.
38922 * inet/getnetbyad.c: Likewise.
38923 * inet/getnetbyad_r.c: Likewise.
38924 * inet/getnetbynm.c: Likewise.
38925 * inet/getnetbynm_r.c: Likewise.
38926 * inet/getnetent.c: Likewise.
38927 * inet/getnetent_r.c: Likewise.
38928 * inet/getproto.c: Likewise.
38929 * inet/getproto_r.c: Likewise.
38930 * inet/getprtent.c: Likewise.
38931 * inet/getprtent_r.c: Likewise.
38932 * inet/getprtname.c: Likewise.
38933 * inet/getprtname_r.c: Likewise.
38934 * inet/getrpcbyname.c: Likewise.
38935 * inet/getrpcbyname_r.c: Likewise.
38936 * inet/getrpcbynumber.c: Likewise.
38937 * inet/getrpcbynumber_r.c: Likewise.
38938 * inet/getrpcent.c: Likewise.
38939 * inet/getrpcent_r.c: Likewise.
38940 * inet/getaliasent.c: Likewise.
38941 * inet/getaliasent_r.c: Likewise.
38942 * inet/getaliasname.c: Likewise.
38943 * inet/getaliasname_r.c: Likewise.
38944 * nscd/getgrgid_r.c: Likewise.
38945 * nscd/getgrnam_r.c: Likewise.
38946 * nscd/gethstbyad_r.c: Likewise.
38947 * nscd/gethstbynm3_r.c: Likewise.
38948 * nscd/getpwnam_r.c: Likewise.
38949 * nscd/getpwuid_r.c: Likewise.
38950 * nscd/getsrvbynm_r.c: Likewise.
38951 * nscd/getsrvbypt_r.c: Likewise.
38952 * nscd/gai.c: Likewise.
38954 * configure.in (build_nscd): New substituted variable, set
38955 by --disable-build-nscd and defaults to $use_nscd.
38956 * configure: Regenerated.
38957 * config.make.in (build-nscd): New substituted variable.
38958 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38959 Change conditional to require [$(build-nscd) = yes] as well.
38960 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38963 * configure.in (use_nscd): New substituted variable, set by
38964 --disable-nscd. If enabled, define USE_NSCD.
38965 * configure: Regenerated.
38966 * config.h.in: Add USE_NSCD.
38967 * config.make.in (use-nscd): New substituted variable.
38968 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38969 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38970 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38971 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38972 (CFLAGS-getgrnam_r.c): Likewise.
38973 (CFLAGS-initgroups.c): Likewise.
38974 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38975 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38977 * inet/getnetgrent_r.c
38978 (nscd_setnetgrent): New function, broken out of ...
38979 (setnetgrent): ... here. Call it.
38980 (innetgr): Conditionalize nscd bits on [USE_NSCD].
38981 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38982 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38983 * nscd/Makefile (routines, aux): Move definitions after include of
38984 Makeconfig. Conditionalize on [$(use-nscd) != no].
38985 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38986 Conditionalize on [USE_NSCD].
38987 (is_nscd, nscd_init_cb): Likewise.
38988 (nss_load_library): Conditionalize init callback on [USE_NSCD].
38989 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38990 * nss/nss_db/db-init.c: Likewise.
38991 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38993 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38994 (make_request): Use it.
38995 (cache_valid_p): New function.
38996 (__check_pf): Use it.
38997 * NEWS: Add item for --disable-nscd.
38999 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39001 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39002 to support sed >= 4.2.1-20-ga9bf076.
39003 * configure: Regenerated.
39005 2012-08-22 Roland McGrath <roland@hack.frob.com>
39007 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39008 Conditionalize whole body on [IREL].
39010 2012-08-22 Jeff Law <law@redhat.com>
39013 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39014 if the family is PF_UNSPEC.
39016 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39018 * Makerules (lib-version): Rename from V.
39019 (install-lib-nosubdir): Change V to lib-version.
39021 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39024 * powerpc32/power6/wcschr.c: New file.
39025 * powerpc32/power6/wcscpy.c: New file.
39026 * powerpc32/power6/wcsrchr.c: New file.
39027 * powerpc64/power6/wcschr.c: New file.
39028 * powerpc64/power6/wcscpy.c: New file.
39029 * powerpc64/power6/wcsrchr.c: New file.
39031 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39033 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39034 (two_way_short_needle): Use it.
39035 * string/strstr.c (AVAILABLE1_USES_J): Define.
39036 * string/strcasestr.c: Likewise.
39038 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39040 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39043 * NEWS: Add an entry.
39044 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39045 define their defaults.
39046 (two_way_short_needle): Detect end-of-string on-the-fly.
39047 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39048 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39049 * string/bug-strcasestr1.c: New test.
39050 * string/Makefile: Run it.
39052 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39055 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39056 the first character.
39058 2012-08-21 Roland McGrath <roland@hack.frob.com>
39060 * csu/elf-init.c (__libc_csu_irel): Function removed.
39061 * csu/libc-start.c (apply_irel): New function.
39062 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39064 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39066 * sysdeps/unix/sysv/linux/kernel-features.h
39067 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39068 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39069 <kernel-features.h>.
39070 [__NR_fadvise64_64]: Make code unconditional.
39071 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39072 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39073 !__NR_fadvise64_64)]: Likewise.
39074 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39075 !__NR_fadvise64_64))]: Likewise.
39076 [__NR_fadvise64]: Make code unconditional.
39077 [!__NR_fadvise64]: Remove conditional code.
39078 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39079 <kernel-features.h>.
39080 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39082 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39085 not include <kernel-features.h>.
39086 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39088 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39090 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39091 include <kernel-features.h>.
39092 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39094 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39097 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39099 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39100 slight instruction rearrangements per scrollpipe analysis.
39101 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39103 2012-08-20 Roland McGrath <roland@hack.frob.com>
39105 * manual/syslog.texi (syslog; vsyslog, closelog):
39106 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39107 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39109 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39110 DSOCAPS to match condition on defining it.
39112 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39114 * sysdeps/unix/sysv/linux/kernel-features.h
39115 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39117 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39118 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39120 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39121 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39123 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39124 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39126 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39127 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39129 * sysdeps/unix/sysv/linux/kernel-features.h
39130 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39131 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39133 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39134 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39135 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39136 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39137 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39138 Make code unconditional.
39139 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39140 (__mmap64) [!__NR_mmap2]: Likewise.
39141 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39142 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39143 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39144 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39145 [__NR_mmap2]: Make code unconditional.
39146 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39147 (__mmap64) [!__NR_mmap2]: Likewise.
39149 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39151 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39153 2012-08-18 Andreas Jaeger <aj@suse.de>
39155 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39157 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39159 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39160 * include/unistd.h (__have_sock_cloexec): Likewise.
39161 (__have_pipe2): Likewise.
39162 (__have_dup3): Likewise.
39164 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39167 * include/unistd.h (__have_pipe2): Change define into an extern int.
39168 (__have_dup3): Likewise.
39169 * socket/have_sock_cloexec.c: Include fcntl.h.
39170 (__have_pipe2): New variable.
39171 (__have_dup3): Likewise.
39173 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39175 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39177 2012-08-17 Marek Polacek <polacek@redhat.com>
39179 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39180 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39182 2012-08-17 Roland McGrath <roland@hack.frob.com>
39184 * configure.in: Add AC_SUBST for sysheaders.
39185 * configure: Regenerated.
39186 * config.make.in (sysheaders): New substituted variable.
39188 * sysdeps/unix/mkfifo.c: Moved ...
39189 * sysdeps/posix/mkfifo.c: ... here.
39190 * sysdeps/unix/mkfifoat.c: Moved ...
39191 * sysdeps/posix/mkfifoat.c: ... here.
39193 * sysdeps/unix/utime.c: Moved ...
39194 * sysdeps/posix/utime.c: ... here.
39196 * sysdeps/unix/time.c: Moved ...
39197 * sysdeps/posix/time.c: ... here.
39198 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39199 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39201 * sysdeps/unix/nice.c: Moved ...
39202 * sysdeps/posix/nice.c: ... here.
39204 * sysdeps/unix/alarm.c: Moved ...
39205 * sysdeps/posix/alarm.c: ... here.
39207 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39209 2012-08-17 Jeff Law <law@redhat.com>
39211 * intl/Makefile (codeset_mo): New variable.
39212 ($(codeset_mo)): New target.
39213 (tst-codeset.out): Depend on that. Remove explicit rule.
39214 (tst-gettext3.out, tst-gettext5.out): Likewise.
39215 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39216 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39217 * intl/tst-codeset.sh: Remove.
39218 * intl/tst-gettext3.sh: Likewise.
39219 * intl/tst-gettext5.sh: Likewise.
39221 2012-08-17 Roland McGrath <roland@hack.frob.com>
39223 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39224 * sysdeps/unix/syscalls.list: ... here.
39226 * sysdeps/posix/getaddrinfo.c
39227 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39228 (gaiconf_init, gaiconf_reload): Use them.
39229 [!_STATBUF_ST_NSEC]
39230 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39231 Define using time_t rather than struct timespec.
39233 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39234 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39236 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39238 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39239 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39242 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39243 __libc_cleanup_push argument.
39245 * bits/param.h: New file.
39246 * misc/sys/param.h: New file.
39247 * include/sys/param.h: New file.
39248 * misc/Makefile (headers): Add bits/param.h.
39249 * sysdeps/generic/sys/param.h: File removed.
39250 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39251 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39252 * sysdeps/mach/hurd/bits/param.h: New file.
39253 * sysdeps/mach/hurd/sys/param.h: File removed.
39255 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39258 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39260 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39261 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39264 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39265 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39266 rather than -D_IO_MTSAFE_IO conditionally.
39267 * stdio-common/Makefile (CPPFLAGS): Likewise.
39268 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39269 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39270 Use $(libio-mtsafe).
39271 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39272 of -D_IO_MTSAFE_IO.
39273 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39274 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39275 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39276 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39277 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39278 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39279 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39280 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39281 (CFLAGS-fread_u_chk.c): Likewise.
39282 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39283 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39284 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39285 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39286 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39287 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39288 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39289 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39290 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39292 * libio/Makefile: Test [$(libc-reentrant) = yes]
39293 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39296 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39297 * sysdeps/pthread/configure: File removed.
39298 * sysdeps/pthread/Makeconfig: New file.
39299 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39300 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39302 2012-08-16 Gary Benson <gbenson@redhat.com>
39304 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39305 unmapping the first object in a namespace.
39307 2012-08-16 Roland McGrath <roland@hack.frob.com>
39309 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39310 (__internal_setnetgrent): ... this. Add internal_function to
39311 definition. Add libc_hidden_def.
39312 (setnetgrent): Update caller.
39313 (internal_endnetgrent): Renamed to ...
39314 (__internal_endnetgrent): ... this. Add internal_function to
39315 definition. Add libc_hidden_def.
39316 (endnetgrent): Update caller.
39317 (internal_getnetgrent_r): Renamed to ...
39318 (__internal_getnetgrent_r): ... this. Add internal_function to
39319 definition. Add libc_hidden_def.
39320 (__getnetgrent_r): Update caller.
39321 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39323 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39325 * stdlib/longlong.h: Update from GCC.
39327 2012-08-16 Roland McGrath <roland@hack.frob.com>
39329 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39330 on _QL, which is set by umul_ppmm but never used.
39331 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39332 variables, which are set by GMP macros but never used.
39333 * stdio-common/_itowa.c (_itowa): Likewise.
39334 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39335 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39337 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39339 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39340 struct La_sh_regs is not constant.
39341 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39342 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39343 and struct La_sparc64_regs are not constant.
39345 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39347 * sysdeps/unix/sysv/linux/kernel-features.h
39348 (__ASSUME_POSIX_TIMERS): Remove.
39349 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39350 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39351 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39352 Make code unconditional.
39353 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39354 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39355 Make code unconditional.
39356 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39357 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39358 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39359 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39360 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39361 Make code unconditional.
39362 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39363 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39364 (__libc_missing_posix_timers): Remove.
39366 2012-08-15 Roland McGrath <roland@hack.frob.com>
39368 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39369 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39371 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39373 * elf/dl-sym.c: Include <stdlib.h>.
39375 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39376 constants, which avoids warnings in 32-bit builds.
39378 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39379 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39381 * misc/lseek.c: File moved to ...
39382 * io/lseek.c: ... here.
39384 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39386 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39387 shifting LEN more than 31 bits at once.
39389 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39392 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39393 segmentation fault for a case of two empty input strings.
39394 * string/test-strncasecmp.c (check1): Renamed to...
39395 (bz12205): ...this.
39396 (bz14195): Add new testcase for two empty input strings and N > 0.
39397 (test_main): Call new testcase, adapt for renamed function.
39399 2012-08-15 Andreas Jaeger <aj@suse.de>
39402 * crypt/md5test2.c: New test, based on test supplied by Serge
39403 Belyshev <belyshev@depni.sinp.msu.ru>.
39404 * crypt/Makefile (xtests): Add md5test-giant..
39405 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39407 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39410 * crypt/md5.c (md5_process_block): Don't assume the buffer
39411 length is less than 2**32.
39412 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39413 length is less than 2**64.
39415 2012-08-15 Roland McGrath <roland@hack.frob.com>
39417 * string/str-two-way.h: Include <sys/param.h>.
39418 (MAX): Macro removed.
39420 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39421 Move #define and #undef of memmove to just before and after
39422 including <string.h>.
39424 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39425 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39426 and after including <string.h>. Move declarations of
39427 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39428 to before #include "string/memmove.c".
39430 * include/dirent.h: Declare __getdirentries.
39432 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39433 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39435 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39437 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39438 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39439 * sysdeps/i386/configure: Regenerated.
39440 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39441 STABS_CURRENT_FILE, and STABS_FUN.
39442 (END): Remove call to STABS_FUN_END.
39443 (STABS_CURRENT_FILE1): Delete.
39444 (STABS_CURRENT_FILE): Likewise.
39445 (STABS_FUN): Likewise.
39446 (STABS_FUN_END): Likewise.
39447 (STABS_FUN2): Likewise.
39448 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39449 * sysdeps/x86_64/configure: Regenerated.
39451 2012-08-14 Roland McGrath <roland@hack.frob.com>
39453 * elf/dl-open.c: Include <atomic.h>.
39454 * elf/dl-lookup.c: Likewise.
39456 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39458 * sysdeps/unix/sysv/linux/kernel-features.h
39459 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39460 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39462 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39464 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39465 condition on __ASSUME_CLONE_THREAD_FLAGS.
39467 2012-08-14 Andreas Jaeger <aj@suse.de>
39469 * sysdeps/i386/fpu/libm-test-ulps: Update.
39471 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39473 * include/atomic.h (atomic_exchange_and_add): Split into ...
39474 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39477 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39481 2012-08-13 Jeff Law <law@redhat.com>
39483 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39484 null byte in the output string.
39486 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39488 * sysdeps/unix/sysv/linux/kernel-features.h
39489 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39490 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39491 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39492 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39493 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39494 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39495 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39497 2012-08-09 Jeff Law <law@redhat.com>
39500 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39501 When avoid_arena is set, don't retry in the that arena. Pick the
39502 next one, whatever it might be.
39503 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39504 (arena_lock): Pass in new parameter to arena_get2.
39505 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39507 (__libc_malloc): Unify retrying after main arena failure with
39508 __libc_memalign version.
39509 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39511 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39514 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39515 to __redirect_strstr.
39516 (__strstr_sse42): Use typeof __redirect_strstr.
39517 (__strstr_ia32): Likewise.
39518 (__libc_strstr): New prototype.
39519 (strstr): Renamed to ...
39520 (__libc_strstr): This.
39521 (strstr): New strong alias of __libc_strstr.
39522 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39523 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39526 (__libc_time): New prototype.
39527 (time_ifunc): Replace time with __libc_time.
39528 (time): New strong alias and hidden definition of __libc_time.
39529 (__GI_time): Remove strong alias.
39530 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39531 Include <stddef.h>.
39532 (memmove): Redefined to __redirect_memmove.
39533 (__memmove_sse2): Use typeof __redirect_memmove.
39534 (__memmove_ssse3): Likewise.
39535 (__memmove_ssse3_back): Likewise.
39536 (__libc_memmove): New prototype.
39537 (memmove): Renamed to ...
39538 (__libc_memmove): This.
39539 (memmove): New strong alias of __libc_memmove.
39541 2012-08-08 Mark Salter <msalter@redhat.com>
39544 (R_MN10300_TLS_GD): Define.
39545 (R_MN10300_TLS_LD): Likewise.
39546 (R_MN10300_TLS_LDO): Likewise.
39547 (R_MN10300_TLS_GOTIE): Likewise.
39548 (R_MN10300_TLS_IE): Likewise.
39549 (R_MN10300_TLS_LE): Likewise.
39550 (R_MN10300_TLS_DTPMOD): Likewise.
39551 (R_MN10300_TLS_DTPOFF): Likewise.
39552 (R_MN10300_TLS_TPOFF): Likewise.
39553 (R_MN10300_SYM_DIFF): Likewise.
39554 (R_MN10300_ALIGN): Likewise.
39555 (R_MN10300_NUM): Update.
39557 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39559 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39562 2012-08-08 Roland McGrath <roland@hack.frob.com>
39564 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39566 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39567 sysdeps/unix -> sysdeps/posix move.
39568 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39570 2012-08-07 Allan McRae <allan@archlinux.org>
39573 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39574 (SUNOS_CPP): Likewise.
39575 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39577 (open_input): Call CPP using execvp.
39579 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39581 * sysdeps/unix/sysv/linux/kernel-features.h
39582 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39583 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39584 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39585 (__ASSUME_WAITID_SYSCALL): Likewise.
39586 * sysdeps/unix/sysv/linux/dl-execstack.c
39587 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39588 code unconditional.
39589 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39591 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39592 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39593 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39595 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39597 [__ASSUME_WAITID_SYSCALL]: Likewise.
39598 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39600 2012-08-07 Roland McGrath <roland@hack.frob.com>
39602 * sysdeps/unix/closedir.c: Renamed to ...
39603 * sysdeps/posix/closedir.c: ... here.
39604 * sysdeps/unix/dirfd.c: Renamed to ...
39605 * sysdeps/posix/dirfd.c: ... here.
39606 * sysdeps/unix/dirstream.h: Renamed to ...
39607 * sysdeps/posix/dirstream.h: ... here.
39608 * sysdeps/unix/fdopendir.c: Renamed to ...
39609 * sysdeps/posix/fdopendir.c: ... here.
39610 * sysdeps/unix/opendir.c: Renamed to ...
39611 * sysdeps/posix/opendir.c: ... here.
39612 * sysdeps/unix/readdir.c: Renamed to ...
39613 * sysdeps/posix/readdir.c: ... here.
39614 * sysdeps/unix/readdir_r.c: Renamed to ...
39615 * sysdeps/posix/readdir_r.c: ... here.
39616 * sysdeps/unix/rewinddir.c: Renamed to ...
39617 * sysdeps/posix/rewinddir.c: ... here.
39618 * sysdeps/unix/seekdir.c: Renamed to ...
39619 * sysdeps/posix/seekdir.c: ... here.
39620 * sysdeps/unix/telldir.c: Renamed to ...
39621 * sysdeps/posix/telldir.c: ... here.
39622 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39623 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39624 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39625 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39627 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39628 * bits/fcntl.h: ... here.
39630 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39632 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39633 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39634 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39635 (struct flock): Move l_start, l_len to the beginning.
39636 Use __pid_t for l_pid.
39637 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39638 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39639 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39640 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39641 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39642 [__USE_LARGEFILE64] (struct flock64): New type.
39643 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39645 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39646 * bits/dirent.h: ... here.
39648 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39649 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39651 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39653 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39654 Change from 2.6.0 to 2.6.16.
39655 * sysdeps/unix/sysv/linux/configure: Regenerated.
39656 * sysdeps/unix/sysv/linux/kernel-features.h
39657 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39658 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39660 (__ASSUME_UTIMES): Likewise.
39661 (__ASSUME_CLONE_STOPPED): Remove.
39662 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39663 architectures, not kernel version.
39664 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39665 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39666 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39667 (__ASSUME_WAITID_SYSCALL): Likewise.
39668 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39669 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39670 * README: State 2.6.16 as minimum Linux kernel version. Do not
39671 refer to older versions.
39673 2012-08-06 Roland McGrath <roland@hack.frob.com>
39675 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39676 Define alphasort64 as an alias.
39677 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39678 Define versionsort64 as an alias.
39679 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39680 Define scandir64 as an alias.
39681 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39682 Define scandirat64 as an alias.
39683 * dirent/alphasort64.c (alphasort64):
39684 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39685 * dirent/versionsort64.c: Likewise.
39686 * dirent/scandir64.c: Likewise.
39687 * dirent/scandirat64.c: Likewise.
39688 * sysdeps/wordsize-64/alphasort.c: File removed.
39689 * sysdeps/wordsize-64/alphasort64.c: File removed.
39690 * sysdeps/wordsize-64/scandir.c: File removed.
39691 * sysdeps/wordsize-64/scandir64.c: File removed.
39692 * sysdeps/wordsize-64/scandirat.c: File removed.
39693 * sysdeps/wordsize-64/scandirat64.c: File removed.
39694 * sysdeps/wordsize-64/versionsort.c: File removed.
39695 * sysdeps/wordsize-64/versionsort64.c: File removed.
39696 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39697 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39698 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39699 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39700 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39701 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39702 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39703 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39705 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39707 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39709 [defined __arch64__ || defined __sparcv9]
39710 (__INO_T_MATCHES_INO64_T): New macro.
39711 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39712 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39713 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39714 * sysdeps/unix/sysv/linux/bits/dirent.h
39715 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39716 (_DIRENT_MATCHES_DIRENT64): New macro.
39718 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39719 Define lockf64 as an alias.
39720 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39721 Define fseeko64 as an alias.
39722 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39723 Define ftello64 as an alias.
39724 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39725 Define _IO_fgetpos64 and fgetpos64 as aliases.
39726 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39727 Define _IO_fsetpos64 and fsetpos64 as aliases.
39728 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39729 Conditionalize body on this.
39730 * libio/fseeko64.c: Likewise.
39731 * libio/ftello64.c: Likewise.
39732 * libio/iofgetpos64.c: Likewise.
39733 * libio/iofsetpos64.c: Likewise.
39734 * sysdeps/wordsize-64/lockf.c: File removed.
39735 * sysdeps/wordsize-64/lockf64.c: File removed.
39736 * sysdeps/wordsize-64/fseeko.c: File removed.
39737 * sysdeps/wordsize-64/fseeko64.c: File removed.
39738 * sysdeps/wordsize-64/ftello.c: File removed.
39739 * sysdeps/wordsize-64/ftello64.c: File removed.
39740 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39741 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39742 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39743 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39744 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39745 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39746 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39748 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39750 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39751 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39752 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39753 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39755 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39756 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39757 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39758 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39759 [defined __arch64__ || defined __sparcv9]
39760 (__OFF_T_MATCHES_OFF64_T): New macro.
39761 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39762 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39764 (__OFF_T_MATCHES_OFF64_T): New macro.
39766 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39768 * stdlib/secure-getenv.c (__secure_getenv): Replace
39769 GLIBC_2_16 with GLIBC_2_17.
39771 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39773 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39774 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39776 2012-08-03 David S. Miller <davem@davemloft.net>
39778 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39780 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39782 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39784 (__ASSUME_CORRECT_SI_PID): Likewise.
39785 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39786 (__ASSUME_TMPFS_NAME): Likewise.
39787 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39788 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39789 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39790 (HAVE_AUX_SECURE): Make definition unconditional.
39791 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39792 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39794 2012-08-03 Roland McGrath <roland@hack.frob.com>
39796 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39797 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39798 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39799 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39800 __eloop_threshold instead of SYMLOOP_MAX.
39802 * sysdeps/generic/eloop-threshold.h: New file.
39803 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39805 * elf/chroot_canon.c (chroot_canon): Likewise.
39807 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39810 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39811 Change to 2.6.0 everywhere.
39812 * sysdeps/unix/sysv/linux/configure: Regenerated.
39813 * sysdeps/unix/sysv/linux/kernel-features.h
39814 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39815 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39817 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39818 (__ASSUME_FUTEX_REQUEUE): Remove.
39819 (__ASSUME_STATFS64): Define unconditionally.
39820 (__ASSUME_AT_SECURE): Likewise.
39821 (__ASSUME_CORRECT_SI_PID): Likewise.
39822 (__ASSUME_TGKILL): Define without depending on kernel version for
39824 (__ASSUME_UTIMES): Likewise.
39825 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39827 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39828 (__ASSUME_TMPFS_NAME): Likewise.
39829 * README: Update reference to Linux kernel versions.
39831 2012-08-02 Marek Polacek <polacek@redhat.com>
39834 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39835 libc_cv_asm_type_prefix with %.
39836 * configure: Regenerated.
39837 * include/libc-symbols.h: Remove comment about
39838 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39839 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39840 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39841 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39842 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39843 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39844 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39845 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39846 * elf/tst-unique2mod1.c: Likewise.
39847 * elf/tst-unique1mod2.c: Likewise.
39848 * elf/tst-unique1mod1.c: Likewise.
39849 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39850 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39851 Replace ASM_TYPE_DIRECTIVE with .type.
39852 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39853 * sysdeps/i386/sysdep.h: Likewise.
39854 * sysdeps/x86_64/sysdep.h: Likewise.
39855 * sysdeps/sh/sysdep.h: Likewise.
39856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39857 Do not define ASM_TYPE_DIRECTIVE.
39858 * sysdeps/powerpc/sysdep.h: Likewise.
39859 * sysdeps/powerpc/powerpc32/sysdep.h:
39860 Replace ASM_TYPE_DIRECTIVE with .type.
39861 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39862 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39863 * sysdeps/i386/fpu/e_powf.S: Likewise.
39864 * sysdeps/i386/fpu/e_expl.S: Likewise.
39865 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39866 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39867 * sysdeps/i386/fpu/e_pow.S: Likewise.
39868 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39869 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39870 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39871 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39872 * sysdeps/i386/fpu/e_log2.S: Likewise.
39873 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39874 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39875 * sysdeps/i386/fpu/e_powl.S: Likewise.
39876 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39877 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39878 * sysdeps/i386/fpu/e_logl.S: Likewise.
39879 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39880 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39881 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39882 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39883 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39884 * sysdeps/i386/fpu/e_log.S: Likewise.
39885 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39886 * sysdeps/i386/fpu/e_logf.S: Likewise.
39887 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39888 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39889 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39890 * sysdeps/i386/fpu/e_log10.S: Likewise.
39891 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39892 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39893 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39894 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39895 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39896 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39897 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39898 * sysdeps/i386/i686/strtok.S: Likewise.
39899 * sysdeps/i386/i386-mcount.S: Likewise.
39900 * sysdeps/i386/strtok.S: Likewise.
39901 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39902 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39903 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39904 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39905 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39906 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39907 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39908 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39909 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39910 * sysdeps/x86_64/_mcount.S: Likewise.
39911 * sysdeps/x86_64/strtok.S: Likewise.
39912 * sysdeps/sh/_mcount.S: Likewise.
39914 2012-08-01 Roland McGrath <roland@hack.frob.com>
39916 * libio/iofopen.c: Include <fcntl.h>.
39917 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39918 (_IO_fopen64, fopen64): Define as aliases.
39919 * libio/iofopen64.c: Include <fcntl.h>.
39920 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39921 Conditionalize body on this.
39922 * sysdeps/wordsize-64/iofopen.c: File removed.
39923 * sysdeps/wordsize-64/iofopen64.c: File removed.
39925 2012-08-01 Marek Polacek <polacek@redhat.com>
39927 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39928 Use dlfcn directly instead of a variable.
39929 (binfmt-subdir): Do not define.
39932 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39934 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39935 Remove all definitions.
39936 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39937 <kernel-features.h>.
39938 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39939 (miss_F_GETOWN_EX): Remove all definitions.
39940 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39942 [!__ASSUME_FCNTL64]: Remove conditional code.
39943 [__ASSUME_FCNTL64]: Make code unconditional.
39944 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39945 <kernel-features.h>.
39946 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39947 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39948 (lockf64) [__NR_fcntl64]: Make code unconditional.
39949 (lockf64) [__ASSUME_FCNTL64]: Likewise.
39951 * sysdeps/unix/sysv/linux/kernel-features.h
39952 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39953 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39954 Make code unconditional.
39955 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39956 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39958 [__NR_vfork]: Make code unconditional.
39959 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39960 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39962 [__NR_vfork]: Make code unconditional.
39963 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39964 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39966 2012-08-01 Roland McGrath <roland@hack.frob.com>
39968 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39969 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39971 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39972 Define mkstemp64 as an alias.
39973 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39974 Define mkstemps64 as an alias.
39975 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39976 Define mkostemp64 as an alias.
39977 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39978 Define mkostemps64 as an alias.
39979 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39980 Conditionalize body on this.
39981 * misc/mkostemp64.c: Likewise.
39982 * misc/mkostemps64.c: Likewise.
39983 * misc/mkstemps64.c: Likewise.
39984 * sysdeps/wordsize-64/mkstemp64.c: File removed.
39985 * sysdeps/wordsize-64/mkostemp64.c: File removed.
39986 * sysdeps/wordsize-64/mkostemp.c: File removed.
39987 * sysdeps/wordsize-64/mkstemp.c: File removed.
39988 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39989 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39990 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39991 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39994 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39995 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39996 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39997 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39999 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40000 compat_symbol macros from <shlib-compat.h> rather than the underlying
40001 default_symbol_version and symbol_version macros, so that DEFAULT
40002 lines in shlib-versions are respected.
40003 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40005 2012-08-01 Florian Weimer <fweimer@redhat.com>
40007 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40008 Declare with warn_unused_result.
40009 (setgid, setregid, setegid, setresgid): Likewise.
40010 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40012 * WUR-REPORT: Remove set*id functions.
40014 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40016 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40018 2012-07-31 Roland McGrath <roland@hack.frob.com>
40021 * include/sys/socket.h (__libc_accept, __libc_accept4):
40022 Add attribute_hidden.
40023 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40025 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40027 * inet/getnetgrent_r.c (setup): Likewise.
40029 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40031 2012-07-31 David S. Miller <davem@davemloft.net>
40033 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40035 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40038 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40039 value between 1.0 and 2.0 and smaller part has absolute value less
40041 * math/s_clog10.c (__clog10): Likewise.
40042 * math/s_clog10f.c (__clog10f): Likewise.
40043 * math/s_clog10l.c (__clog10l): Likewise.
40044 * math/s_clogf.c (__clogf): Likewise.
40045 * math/s_clogl.c (__clogl): Likewise.
40046 * math/libm-test.inc (clog_test): Add more tests.
40047 (clog10_test): Likewise.
40048 * sysdeps/i386/fpu/libm-test-ulps: Update.
40049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40051 2012-07-31 Florian Weimer <fweimer@redhat.com>
40053 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40054 Exit with zero in case no suitable GID is found, and write a
40055 message to standard error.
40057 2012-07-30 Roland McGrath <roland@hack.frob.com>
40059 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40061 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40062 (MAXPATHLEN): Removed.
40063 (NOGROUP, NODEV): New macros.
40064 (setbit, clrbit, isset, isclr): New macros.
40065 (howmany, roundup, powerof2): New macros.
40066 (DEV_BSIZE): New macro.
40068 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40069 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40071 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40072 definition on [!__NO_LONG_DOUBLE_MATH].
40074 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40075 PTR_MANGLE and PTR_DEMANGLE.
40077 * socket/accept4.c (accept4): Rename to __libc_accept4.
40078 Define accept4 as a weak alias.
40080 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40081 on [_DIRENT_HAVE_D_TYPE].
40082 * io/ftw.c (ftw_dir): Likewise.
40084 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40086 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40088 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40089 Use the BSD numbers rather than the arbitrary ones we had.
40090 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40091 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40092 (SIGXCPU, SIGXFSZ): New macros.
40095 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40096 initializer on [_LIBC_REENTRANT].
40098 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40099 definitions inside [_POSIX_MAPPED_FILES].
40101 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40103 * dirent/opendir.c: Include <fcntl.h>.
40105 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40106 (__libc_getspecific): Likewise.
40107 (__libc_key_create): Likewise.
40109 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40110 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40111 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40112 (tmpfile64): Define as alias.
40113 * sysdeps/wordsize-64/tmpfile.c: File removed.
40114 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40115 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40116 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40118 * stdio-common/vfscanf.c: Include <stdbool.h>.
40119 * nss/makedb.c: Likewise.
40120 * stdio-common/_i18n_number.h: Likewise.
40121 * argp/argp-help.c: Likewise.
40122 * posix/wordexp.c: Likewise.
40123 * sysdeps/posix/spawni.c: Likewise.
40124 * nss/nss_files/files-initgroups.c: Likewise.
40125 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40126 * nss/nss_files/files-initgroups.c: Likewise.
40127 * nss/nss_db/db-netgrp.c: Likewise.
40128 * nss/nss_db/db-initgroups.c: Likewise.
40129 * io/fchmodat.c: Include <sys/stat.h>.
40131 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40132 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40134 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40137 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40138 Add multiple inclusion protection.
40140 2012-07-27 David S. Miller <davem@davemloft.net>
40142 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40144 2012-07-27 Gary Benson <gbenson@redhat.com>
40147 * elf/rtld.c: Include <stap-probe.h>.
40148 (dl_main): Added static probes "init_start" and "init_complete".
40149 * elf/dl-load.c: Include <stap-probe.h>.
40150 (lose): Take new parameter "nsid".
40151 Added static probe "map_failed".
40152 (_dl_map_object_from_fd): Pass namespace id to lose.
40153 Added static probe "map_start".
40154 (open_verify): Pass namespace id to lose.
40155 * elf/dl-open.c: Include <stap-probe.h>.
40156 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40157 and "reloc_complete".
40158 * elf/dl-close.c: Include <stap-probe.h>.
40159 (_dl_close_worker): Added static probes "unmap_start" and
40161 * elf/rtld-debugger-interface.txt: New file documenting the above.
40163 2012-07-26 Roland McGrath <roland@hack.frob.com>
40165 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40166 rather than a string variable.
40167 * sunrpc/rpc_main.c (h_output): Likewise.
40168 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40170 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40172 * inet/check_native.c: New file.
40174 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40177 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40178 if larger part has absolute value 1.0.
40179 * math/s_clog10.c (__clog10): Likewise.
40180 * math/s_clog10f.c (__clog10f): Likewise.
40181 * math/s_clog10l.c (__clog10l): Likewise.
40182 * math/s_clogf.c (__clogf): Likewise.
40183 * math/s_clogl.c (__clogl): Likewise.
40184 * math/libm-test.inc (clog_test): Add more tests.
40185 (clog10_test): Likewise.
40186 * sysdeps/i386/fpu/libm-test-ulps: Update.
40187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40189 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40190 (pltexit): Likewise.
40191 (La_regs): Likewise.
40192 (La_retval): Likewise.
40193 (int_retval): Likewise.
40194 Update #error for removed macros to refer only to definitions in
40196 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40198 (pltexit): Likewise.
40199 (La_regs): Likewise.
40200 (La_retval): Likewise.
40201 (int_retval): Likewise.
40202 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40204 (pltexit): Likewise.
40205 (La_regs): Likewise.
40206 (La_retval): Likewise.
40207 (int_retval): Likewise.
40208 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40210 (pltexit): Likewise.
40211 (La_regs): Likewise.
40212 (La_retval): Likewise.
40213 (int_retval): Likewise.
40214 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40216 (pltexit): Likewise.
40217 (La_regs): Likewise.
40218 (La_retval): Likewise.
40219 (int_retval): Likewise.
40220 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40222 (pltexit): Likewise.
40223 (La_regs): Likewise.
40224 (La_retval): Likewise.
40225 (int_retval): Likewise.
40226 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40228 (pltexit): Likewise.
40229 (La_regs): Likewise.
40230 (La_retval): Likewise.
40231 (int_retval): Likewise.
40232 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40233 macro definitions in tst-audit.h.
40234 * sysdeps/i386/tst-audit.h: New file.
40235 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40236 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40237 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40238 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40239 * sysdeps/sh/tst-audit.h: Likewise.
40240 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40241 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40242 * sysdeps/x86_64/tst-audit.h: Likewise.
40244 2012-07-26 Andreas Jaeger <aj@suse.de>
40246 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40249 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40250 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40251 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40253 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40254 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40255 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40257 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40260 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40262 (si_call_addr, si_syscall, si_arch): Define new macro.
40263 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40265 (si_call_addr, si_syscall, si_arch): Define new marcro.
40266 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40268 (si_call_addr, si_syscall, si_arch): Define new macro.
40269 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40271 (si_call_addr, si_syscall, si_arch): Define new macro.
40273 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40276 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40277 Change to 2.4.21 where previously 2.4.1.
40278 * sysdeps/unix/sysv/linux/configure: Regenerated.
40279 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40280 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40281 Linux kernel version.
40282 (__ASSUME_STD_AUXV): Remove.
40283 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40285 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40286 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40287 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40288 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40289 (__ASSUME_NETLINK_SUPPORT): Likewise.
40290 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40291 (__no_netlink_support): Remove conditional definition.
40292 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40294 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40295 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40296 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40297 (if_nameindex_ioctl): Remove.
40298 (if_nameindex_netlink): Do not handle __no_netlink_support.
40299 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40301 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40302 Remove conditional code.
40303 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40305 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40307 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40308 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40309 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40311 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40312 [!__ASSUME_STD_AUXV]: Remove conditional code.
40313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40314 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40315 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40317 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40318 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40320 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40322 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40323 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40325 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40327 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40330 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40333 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40334 code unconditional.
40335 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40337 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40339 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40342 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40344 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40347 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40348 code unconditional.
40349 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40351 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40353 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40356 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40357 code unconditional.
40358 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40360 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40362 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40365 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40367 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40368 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40369 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40370 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40371 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40372 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40373 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40374 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40375 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40376 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40377 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40378 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40379 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40380 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40381 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40382 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40383 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40384 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40385 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40386 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40387 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40388 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40389 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40391 2012-07-25 Florian Weimer <fweimer@redhat.com>
40393 * Versions.def: Add GLIBC_2.17.
40394 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40395 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40396 Introduce __libc_secure_getenv.
40397 * stdlib/Versions (2.17): Add secure_getenv
40398 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40399 * stdlib/secure-getenv.c: Rename __secure_getenv to
40400 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40401 symbol __secure_getenv for GLIBC_2.0.
40402 * stdlib/tst-secure-getenv.c: New.
40403 * stdlib/Makefile (tests): Add testcase.
40404 * manual/startup.texi (Environment Access): Document
40406 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40407 __libc_secure_getenv.
40408 * inet/ruserpass.c (ruserpass): Likewise.
40409 * malloc/mtrace.c (mtrace): Likewise.
40410 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40411 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40412 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40413 * sysdeps/posix/tempname.c: Likewise. Evaluate
40414 HAVE_SECURE_GETENV.
40415 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40416 __secure_getenv to __libc_secure_getenv.
40417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40423 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40424 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40430 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40432 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40433 (struct La_i86_retval): Likewise.
40434 (struct La_x86_64_regs): Likewise.
40435 (struct La_x86_64_retval): Likewise.
40436 (struct La_x32_regs): Likewise.
40437 (struct La_x32_retval): Likewise.
40438 (struct La_ppc32_regs): Likewise.
40439 (struct La_ppc32_retval): Likewise.
40440 (struct La_ppc64_regs): Likewise.
40441 (struct La_ppc64_retval): Likewise.
40442 (struct La_sh_regs): Likewise.
40443 (struct La_sh_retval): Likewise.
40444 (struct La_s390_32_regs): Likewise.
40445 (struct La_s390_32_retval): Likewise.
40446 (struct La_s390_64_regs): Likewise.
40447 (struct La_s390_64_retval): Likewise.
40448 (struct La_sparc32_regs): Likewise.
40449 (struct La_sparc32_retval): Likewise.
40450 (struct La_sparc64_regs): Likewise.
40451 (struct La_sparc64_retval): Likewise.
40452 (struct audit_ifaces): Remove architecture-specific pltenter and
40454 * sysdeps/i386/ldsodefs.h: New file.
40455 * sysdeps/powerpc/ldsodefs.h: Likewise.
40456 * sysdeps/s390/ldsodefs.h: Likewise.
40457 * sysdeps/sh/ldsodefs.h: Likewise.
40458 * sysdeps/sparc/ldsodefs.h: Likewise.
40459 * sysdeps/x86_64/ldsodefs.h: Likewise.
40461 2012-07-25 Marek Polacek <polacek@redhat.com>
40464 * math/libm-test.inc (yn_test): Add another test.
40465 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40466 to ERANGE when the result is +-Inf.
40467 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40468 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40469 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40470 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40472 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40474 * conform/data/time.h-data (NULL): Use macro-constant. Require
40476 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40478 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40480 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40482 * configure.in <sysdeps resolving>: Correct printing
40484 * configure: Regenerate.
40486 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40488 * math/w_ilogb.c: Include <limits.h>.
40489 * math/w_ilogbl.c: Likewise.
40491 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40493 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40494 va_copy. Document allowing for unavailable va_copy only as
40495 pre-C99 compatibility.
40496 * manual/string.texi (Copying and Concatenation): Use va_copy
40497 instead of __va_copy in concat example.
40499 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40501 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40502 (__sendto): Use create_address_port. Initialize APORT and deallocate
40505 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40506 with O_NOLINK passed to __file_name_lookup.
40508 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40509 with O_NOLINK passed to __file_name_lookup.
40511 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40512 negative N or less than NGIDS.
40514 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40515 type to string_t. Set ERANGE as errno and return it if NAME is not big
40516 enough. Use memcpy instead of strncpy.
40518 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40520 * elf/Makefile (check-data): Remove.
40521 (localplt.data): New vpath directive.
40522 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40523 instead of $(check-data).
40524 * scripts/data/localplt-generic.data: Move to ...
40525 * sysdeps/generic/localplt.data: ... here.
40526 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40527 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40528 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40531 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40534 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40537 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40540 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40543 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40544 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40547 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40549 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40550 PPC32 and PPC64 files.
40551 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40552 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40554 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40556 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40557 __makecontext_ret to ...
40558 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40559 ... here and call exit if uc_link is NULL. New file.
40560 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40561 __makecontext_ret.S.
40562 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40563 __makecontext_ret to ...
40564 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40565 ... here and call exit if uc_link is NULL. New file.
40566 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40567 __makecontext_ret.S.
40569 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40571 * elf/elf.h (R_390_IRELATIVE): New definition.
40572 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40573 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40574 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40575 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40576 (elf_machine_lazy_rel): Likewise.
40577 * sysdeps/s390/dl-irel.h: New file.
40578 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40579 * sysdeps/s390/s390-64/memset.S: New asm code.
40580 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40581 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40582 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40583 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40584 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40585 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40586 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40587 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40588 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40589 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40590 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40591 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40592 * sysdeps/s390/s390-32/memset.S: New asm code.
40593 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40595 2012-07-17 Marek Polacek <polacek@redhat.com>
40598 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40599 * sysdeps/s390/s390-64/configure.in: Likewise.
40600 * sysdeps/sparc/configure.in: Likewise.
40601 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40602 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40603 * sysdeps/i386/configure.in: Likewise.
40604 * sysdeps/x86_64/configure.in: Likewise.
40605 * sysdeps/sh/configure.in: Likewise.
40606 * sysdeps/s390/s390-32/configure: Regenerated.
40607 * sysdeps/s390/s390-64/configure: Likewise.
40608 * sysdeps/x86_64/configure: Likewise.
40609 * sysdeps/sh/configure: Likewise.
40610 * sysdeps/powerpc/powerpc64/configure: Likewise.
40611 * sysdeps/powerpc/powerpc32/configure: Likewise.
40612 * sysdeps/sparc/configure: Likwise.
40613 * sysdeps/i386/configure: Likewise.
40615 * elf/dl-open.c: Comment fixes.
40617 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40619 * Makefile [CXX] (check-data): Remove.
40620 [CXX] (c++-types.data): New vpath directive.
40621 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40622 vpath. Do not allow for C++ type data being missing.
40623 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40624 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40625 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40626 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40627 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40628 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40629 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40632 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40635 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40638 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40641 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40644 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40647 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40650 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40653 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40654 definitions to architecture-specific files.
40655 (TLS_IE): Likewise.
40656 (TLS_LD): Likewise.
40657 (TLS_GD): Likewise.
40658 * sysdeps/i386/tls-macros.h: New file.
40659 * sysdeps/powerpc/tls-macros.h: Likewise.
40660 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40661 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40662 * sysdeps/sh/tls-macros.h: Likewise.
40663 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40664 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40665 * sysdeps/x86_64/tls-macros.h: Likewise.
40667 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40669 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40670 zero value for regular exit case.
40672 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40673 (__start_context): Preserve zero value for regular exit case.
40675 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40676 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40678 * manual/setjmp.texi (setcontext): Clarify normal process
40679 termination when uc_link is the null pointer.
40680 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40683 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40685 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40686 preprocessor. Test for each exception mask separately.
40688 2012-07-16 Andreas Jaeger <aj@suse.de>
40690 * po/ru.po: Update from translation team.
40692 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40694 * conform/data/string.h-data (NULL): Use macro-constant. Require
40696 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40697 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40698 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40699 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40700 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40702 2012-07-13 Andreas Jaeger <aj@suse.de>
40704 * po/fr.po: Update from translation team.
40706 2012-07-12 Marek Polacek <polacek@redhat.com>
40709 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40710 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40713 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40716 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40717 Change to 2.4.1 where previously 2.4.0.
40718 * sysdeps/unix/sysv/linux/configure: Regenerated.
40719 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40720 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40722 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40723 (__ASSUME_AT_CLKTCK): Remove.
40724 (__ASSUME_AT_PAGESIZE): Likewise.
40725 (__ASSUME_AT_XID): Likewise.
40726 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40727 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40728 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40730 (HAVE_AUX_PAGESIZE): Likewise.
40731 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40732 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40733 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40735 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40738 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40739 the temporary buffer used to invoke __gethostbyname2_r,
40740 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40741 host_data / struct gaih_addrtuple.
40742 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40743 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40744 header file nss/nsswitch.h.
40745 * nss/nsswitch.h (global scope): Add definition of implementation
40746 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40747 resolv/nss_dns/dns-host.c).
40749 2012-07-11 Andreas Jaeger <aj@suse.de>
40751 * po/fr.po: Update from translation team.
40753 * po/sv.po: Update from translation team
40754 * po/fr.po: Another update from translation team.
40756 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40758 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40759 for subnormals or multiply small sinh result by itself.
40760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40763 2012-07-11 David S. Miller <davem@davemloft.net>
40765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40767 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40770 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40771 (INTERNAL_MARK): Shift it here.
40773 2012-07-10 Marek Polacek <polacek@redhat.com>
40776 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40777 libc_cv_asm_global_directive with .globl.
40778 * configure: Regenerated.
40779 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40781 * sysdeps/i386/configure: Regenerated.
40782 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40784 * sysdeps/x86_64/configure: Regenerated.
40785 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40786 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40787 * elf/tst-unique2mod2.c: Likewise.
40788 * elf/tst-unique2mod1.c: Likewise.
40789 * elf/tst-unique1mod2.c: Likewise.
40790 * elf/tst-unique1mod1.c: Likewise.
40791 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40792 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40793 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40794 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40795 * sysdeps/mach/sysdep.h: Likewise.
40796 * sysdeps/i386/sysdep.h: Likewise.
40797 * sysdeps/i386/i386-mcount.S: Likewise.
40798 * sysdeps/x86_64/_mcount.S: Likewise.
40799 * sysdeps/x86_64/sysdep.h: Likewise.
40800 * sysdeps/sh/_mcount.S: Likewise.
40801 * sysdeps/sh/sysdep.h: Likewise.
40802 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40803 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40804 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40805 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40806 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40807 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40808 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40809 * locale/localeinfo.h: Likewise.
40810 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40811 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40813 2012-07-09 Roland McGrath <roland@hack.frob.com>
40816 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40818 * manual/message.texi (The Uniforum approach): Likewise.
40819 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40820 (glibc iconv Implementation): Likewise.
40822 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40825 * math/s_clog.c (__clog): Avoid scaling a value down where that
40826 could result in underflow.
40827 * math/s_clog10.c (__clog10): Likewise.
40828 * math/s_clog10f.c (__clog10f): Likewise.
40829 * math/s_clog10l.c (__clog10l): Likewise.
40830 * math/s_clogf.c (__clogf): Likewise.
40831 * math/s_clogl.c (__clogl): Likewise.
40832 * math/libm-test.inc (clog_test): Add more tests.
40833 (clog10_test): Likewise.
40834 * sysdeps/i386/fpu/libm-test-ulps: Update.
40835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40837 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40840 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40841 by 7 not 8 to examine high bit of fractional part.
40844 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40845 for call to __mcount_internal.
40846 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40847 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40848 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40850 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40853 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40854 approximation for values within 0x1p-13f of an odd multiple of
40856 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40857 exception. Add more tests.
40858 * sysdeps/i386/fpu/libm-test-ulps: Update.
40861 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40862 inputs and return -1 for them. Do not check for +Inf in case not
40863 reachable for +Inf.
40864 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40865 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40866 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40867 and return -1 for them. Do not check for +Inf in case not
40868 reachable for +Inf.
40869 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40871 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40872 and return -1 for them. Do not check for +Inf in case not
40873 reachable for +Inf.
40874 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40875 spurious underflow.
40876 * sysdeps/i386/fpu/libm-test-ulps: Update.
40877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40879 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40881 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40883 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40887 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40888 could result in spurious underflow. Scale down values above
40889 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40890 * math/s_csqrtf.c (__csqrtf): Likewise.
40891 * math/s_csqrtl.c (__csqrtl): Likewise.
40892 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40893 spurious underflow.
40894 * sysdeps/i386/fpu/libm-test-ulps: Update.
40895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40897 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40899 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40901 * catgets/xopen-msg.awk: New file.
40902 * catgets/xopen-msg.sed: Removed.
40904 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40906 * intl/po2test.awk: New file.
40907 * intl/po2test.sed: Removed.
40909 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40912 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40913 or multiply small sinh result by itself.
40914 * math/s_ctanf.c (__ctanf): Likewise.
40915 * math/s_ctanh.c (__ctanh): Likewise.
40916 * math/s_ctanhf.c (__ctanhf): Likewise.
40917 * math/s_ctanhl.c (__ctanhl): Likewise.
40918 * math/s_ctanl.c (__ctanl): Likewise.
40919 * math/libm-test.inc (ctan_test_tonearest): New function.
40920 (ctan_test_towardzero): Likewise.
40921 (ctan_test_downward): Likewise.
40922 (ctan_test_upward): Likewise.
40923 (ctanh_test_tonearest): Likewise.
40924 (ctanh_test_towardzero): Likewise.
40925 (ctanh_test_downward): Likewise.
40926 (ctanh_test_upward): Likewise.
40927 (main): Call these new functions.
40928 * sysdeps/i386/fpu/libm-test-ulps: Update.
40929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40931 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40933 * .gitignore: Delete /ports entry.
40935 2012-07-03 Andreas Jaeger <aj@suse.de>
40937 * po/bg.po: Update from translation team.
40938 * po/cs.po: Likewise.
40939 * po/de.po: Likewise.
40940 * po/hr.po: Likewise.
40941 * po/nl.pl: Likewise.
40942 * po/pl.po: Likewise.
40943 * po/vi.po: Likewise.
40945 2012-07-03 Joseph Myers <joseph@codesourcery.com>
40947 * Makeconfig [!+link] (+link-before-libc): New variable.
40948 [!+link] (+link-after-libc): Likewise.
40949 [!+link] (+link-tests): Likewise.
40950 [!+link] (+link): Define in terms of $(+link-before-libc) and
40951 $(+link-after-libc).
40952 [!+link-static] (+link-static-before-libc): New variable.
40953 [!+link-static] (+link-static-after-libc): Likewise.
40954 [!+link-static] (+link-static-tests): Likewise.
40955 [!+link-static] (+link-static): Define in terms of
40956 $(+link-static-before-libc) and $(+link-static-after-libc).
40957 [build-shared] (link-libc-before-gnulib): New variable.
40958 [build-shared] (link-libc-tests): Likewise.
40959 [build-shared] (link-libc): Define in terms of
40960 $(link-libc-before-gnulib).
40961 [!build-shared] (link-libc-tests): New variable.
40962 (link-libc-static-tests): New variable.
40963 [!gnulib] (gnulib-arch): New variable.
40964 [!gnulib] (gnulib-tests): Likewise.
40965 [!gnulib] (static-gnulib-arch): Likewise.
40966 [!gnulib] (static-gnulib-tests): Likewise.
40967 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
40968 Define with "=" instead of ":=".
40969 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
40970 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
40971 * Rules (binaries-all-notests): New variable.
40972 (binaries-all-tests): Likewise.
40973 (binaries-static-notests): Likewise.
40974 (binaries-static-tests): Likewise.
40975 (binaries-all): Define using $(binaries-all-notests) and
40976 $(binaries-all-tests).
40977 (binaries-static): Define using $(binaries-static-notests) and
40978 $(binaries-static-tests).
40979 (binaries-shared-tests): New variable.
40980 (binaries-shared-notests): Likewise.
40981 (binaries-shared): Remove variable.
40982 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40983 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40984 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40985 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40986 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40987 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40988 * elf/Makefile (sln-modules): New variable.
40989 (extra-objs): Add $(sln-modules:=.o).
40990 (ldconfig-modules): Add static-stubs.
40991 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40992 * elf/static-stubs.c: New file.
40995 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40996 by 7 not 8 to examine high bit of fractional part. Use volatile
40997 variables when splitting into final array of floats if
40998 __FLT_EVAL_METHOD__ != 0.
40999 * math/libm-test.inc (cos_test): Add another test.
41000 (sin_test): Likewise.
41001 * sysdeps/i386/fpu/libm-test-ulps: Update.
41004 * math/libm-test.inc (cosh_test): Add more tests.
41006 * version.h (RELEASE): Set to "development".
41007 (VERSION): Set to "2.16.90".
41009 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41011 * NEWS: Update copyright. Remove last-updated date.
41012 Mention math library bug fixes and timezone data changes.
41013 * README: Mention GNU/Hurd, x32, and HPPA support status.
41015 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41017 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41019 2012-06-27 Andreas Jaeger <aj@suse.de>
41021 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41023 2012-06-25 Andreas Jaeger <aj@suse.de>
41025 * sysdeps/s390/fpu/libm-test-ulps: Update.
41027 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41028 Thomas Schwinge <thomas@codesourcery.com>
41030 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41031 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41032 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41035 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41037 * sysdeps/mach/start.c: Remove file.
41038 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41039 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41040 * sysdeps/sh/init-first.c: Likewise.
41042 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41043 registers for frame unwinding purposes, add CFI directives.
41044 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41045 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41046 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41049 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41050 __fortify_fail returning.
41051 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41053 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41054 sysdeps/sh/____longjmp_chk.S.
41055 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41056 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41057 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41058 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41060 * sysdeps/sh/abort-instr.h: New file.
41061 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41062 process in case exit returns.
41064 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41065 initialize the GOT register before use.
41067 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41068 calculation of ARGC > 4.
41070 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41071 meaningful names to some local labels.
41073 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41074 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41076 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41077 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41078 (__arch_compare_and_exchange_val_16_acq): Likewise.
41079 (__arch_compare_and_exchange_val_32_acq): Likewise.
41080 (atomic_exchange_and_add): Fix gUSA sequence.
41081 (atomic_add): Likewise.
41082 (atomic_add_negative): Likewise.
41083 (atomic_add_zero): Likewise.
41084 (atomic_bit_test_set): Likewise.
41086 2012-06-22 Andreas Schwab <schwab@redhat.com>
41089 * include/link.h (struct link_map): Add l_free_initfini.
41090 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41092 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41093 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41094 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41097 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41099 * configure.in: Use AC_LANG_SOURCE.
41100 * configure: Regenerate.
41102 2012-06-22 Roland McGrath <roland@hack.frob.com>
41104 * configure.in (libc_cv_localstatedir): New substituted variable.
41105 * configure: Regenerated.
41106 * config.make.in (localstatedir): New variable, substituted from
41107 libc_cv_localstatedir.
41108 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41109 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41110 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41111 * sysdeps/gnu/configure: Regenerated.
41113 2012-06-21 Jeff Law <law@redhat.com>
41116 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41117 free. Simplify list management for _LIBC case.
41119 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41122 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41123 Clear sign bit of 64-bit integer value before comparing against
41126 * sysdeps/mach/configure: Regenerated.
41128 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41131 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41133 2012-06-21 Jeff Law <law@redhat.com>
41136 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41137 uint16_t for elements in the "seen" array to avoid char overflows.
41138 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41139 * elf/dl-open.c (dl_open_worker): Likewise.
41141 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41143 * scripts/list-sources.sh: Scan PORTS for translations.
41144 * po/libc.pot: Regenerated.
41146 2012-06-21 Andreas Jaeger <aj@suse.de>
41149 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41151 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41152 * bits/byteswap-16.h (__bswap_16): Likewise.
41153 * bits/byteswap.h (__bswap_constant_16): Likewise.
41155 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41158 * sysdeps/i386/fpu_control.h: Removed.
41159 * sysdeps/x86_64/fpu_control.h: Moved to ...
41160 * sysdeps/x86/fpu_control.h: Here.
41162 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41163 (_FPU_SETCW): Likewise.
41165 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41168 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41169 * sysdeps/x86/fpu/bits/mathinline.h: This.
41170 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41174 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41175 functions if __x86_64__ is defined.
41177 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41179 * string/endian.h: Add !__ASSEMBLER__ condition for including
41180 conversion interfaces.
41182 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41185 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41186 of ABS(x) in calculating zero to negative powers other than odd
41188 * math/libm-test.inc (pow_test): Add more tests.
41190 2012-06-15 Andreas Jaeger <aj@suse.de>
41192 * manual/contrib.texi (Contributors): Update entry of Liubov
41193 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41196 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41198 * string/string.h: Add __wur to GNU version of strerror_r.
41200 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41203 * string/Makefile (tests): Add tst-strtok_r.
41204 * string/tst-strtok_r.c: New file.
41205 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41206 RAX_LP/RDX_LP on SAVE_PTR.
41208 2012-06-14 Roland McGrath <roland@hack.frob.com>
41210 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41212 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41214 * libm_test.inc (csqrt_test): Allow more spurious underflow
41216 (j0_test): Likewise.
41217 (j1_test): Likewise.
41218 (y0_test): Likewise.
41219 (y1_test): Likewise.
41221 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41223 * po/Makefile (libc.pot): Use UTF-8 charset.
41225 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41228 Suppress sign-conversion warning from FD_SET.
41229 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41230 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41231 not unsigned long int.
41232 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41234 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41238 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41239 __extern_always_inline instead of __extern_inline.
41240 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41241 (__signbit): Likewise.
41242 (__signbitl): Support C++ namespace.
41243 (lrintf): New inline function.
41245 (llrintf): Likewise.
41246 (llrint): Likewise.
41256 (floorf): Likewise.
41257 (nearbyint): Likewise.
41258 (nearbyintf): Likewise.
41260 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41262 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41263 non-default versions.
41265 2012-06-11 Roland McGrath <roland@hack.frob.com>
41268 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41270 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41272 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41273 (FE_UPWARD, FE_DOWNWARD): Don't define.
41274 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41275 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41277 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41279 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41280 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41282 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41284 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41285 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41286 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41287 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41289 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41292 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41293 * sysdeps/i386/fpu/Implies: New file.
41294 * sysdeps/x86_64/fpu/Implies: Likewise.
41295 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41296 * sysdeps/x86/fpu/bits/fenv.h: This.
41298 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41301 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41304 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41305 character 0xffff that matches the last element of the
41308 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41310 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41313 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41315 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41316 values higher than 25.6283.
41318 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41320 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41321 subnormal exponent extraction and add some __builtin_expect.
41322 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41323 Fix for subnormal mantissa calculation.
41325 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41327 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41328 cpu2 is -1 and errno is not ENOSYS.
41330 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41333 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41334 * sysdeps/x86/bits/string.h: This.
41335 * sysdeps/x86_64/bits/string.h: Removed.
41337 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41338 if not compiling for x86-64, but compiling for >= i486.
41340 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41341 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41343 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41344 New macro from Linux kernel 3.4.0.
41345 (FP_XSTATE_MAGIC2): Likewise.
41346 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41347 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41348 (struct _fpx_sw_bytes): New struct.
41349 (struct _xsave_hdr): Likewise.
41350 (struct _ymmh_state): Likewise.
41351 (struct _xstate): Likewise.
41353 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41354 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41355 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41356 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41357 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41358 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41360 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41361 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41362 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41363 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41364 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41365 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41367 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41370 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41371 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41372 (sysdep_headers): Include sys/platform/ppc.h.
41373 * sysdeps/powerpc/test-gettimebase.c: Test for
41374 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41375 * manual/Makefile (appendices): Include platform.texi.
41376 * manual/contrib.texi (Contributors): Update @node pointers.
41377 * manual/maint.texi (Maintenance): Likewise.
41378 (Platform): New node.
41379 * manual/platform.texi: New file. Document the new features.
41381 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41382 Jakub Jelinek <jakub@redhat.com>
41385 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41386 where __builtin_expect is unavailable.
41388 2012-06-03 David S. Miller <davem@davemloft.net>
41390 * stdlib/longlong.h: Updated from GCC.
41392 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41395 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41396 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41399 (GLIBC_2.16): Likewise.
41401 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41403 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41405 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41408 (default-abi): New variable.
41409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41410 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41412 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41414 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41416 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41419 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41420 definition. Document in comment.
41422 2012-06-01 David S. Miller <davem@davemloft.net>
41424 * stdlib/longlong.h: Updated from GCC.
41426 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41429 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41430 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41431 sys/debugreg.h sys/io.h here.
41432 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41433 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41435 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41436 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41437 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41438 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41439 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41440 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41442 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41443 Define only if __x86_64__ is defined.
41445 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41448 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41449 Use int64_t for variable i.
41450 * math/libm-test.inc (fmod_test): Add more tests.
41452 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41453 z computation is not scheduled after fetestexcept.
41454 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41455 Use math_force_eval instead of asm to ensure calculation scheduled
41456 before exception test.
41457 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41458 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41460 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41462 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41463 computation is not scheduled after fetestexcept.
41465 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41468 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41469 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41471 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41473 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41474 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41476 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41479 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41481 (__WCHAR_MIN): Support __WORDSIZE == 64.
41482 (__WCHAR_MAX): Likewise.
41484 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41485 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41488 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41489 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41492 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41493 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41495 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41496 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41498 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41499 Defined to 1 if __x86_64__ isn't defined.
41500 (_STAT_VER_LINUX_OLD): New.
41501 (st_atime): Remove duplicate.
41502 (st_mtime): Likewise.
41503 (st_ctime): Likewise.
41505 2012-05-31 David S. Miller <davem@davemloft.net>
41507 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41510 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41512 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41516 * elf/dl-reloc.c: Include <_itoa.h>.
41517 (_dl_reloc_bad_type): Remove use of INTUSE.
41518 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41519 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41520 * stdio-common/psiginfo.c (psiginfo): Likewise.
41521 * stdio-common/psignal.c (psignal): Likewise.
41522 * string/strsignal.c (strsignal): Likewise.
41523 * include/signal.h (_sys_siglist): Declare hidden proto.
41524 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41525 INTVARDEF with libc_hidden_data_def.
41526 * stdio-common/itoa-udigits.c: Likewise.
41527 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41528 (_itoa_lower_digits_internal): Remove declaration.
41529 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41530 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41531 (_sys_sigabbrev_internal): Remove aliases.
41532 (_sys_siglist): Define hidden alias.
41534 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41536 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41539 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41542 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41543 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41545 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41546 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41547 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41548 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41549 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41550 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41552 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41553 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41554 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41556 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41564 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41565 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41566 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41568 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41569 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41571 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41572 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41573 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41575 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41576 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41578 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41579 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41581 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41583 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41585 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41586 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41588 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41590 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41591 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41592 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41594 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41596 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41598 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41600 * math/math.h (M_El): Use two more decimal places.
41601 (M_LOG2El): Likewise.
41602 (M_LOG10El): Likewise.
41603 (M_LN2l): Likewise.
41604 (M_LN10l): Likewise.
41606 (M_PI_2l): Likewise.
41607 (M_PI_4l): Likewise.
41608 (M_1_PIl): Likewise.
41609 (M_2_PIl): Likewise.
41610 (M_2_SQRTPIl): Likewise.
41611 (M_SQRT2l): Likewise.
41612 (M_SQRT1_2l): Likewise.
41614 2012-05-31 David S. Miller <davem@davemloft.net>
41616 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41617 values between float registers.
41618 * sysdeps/sparc/sparc64/memset.S: Likewise.
41619 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41621 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41623 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41624 -D_FORTIFY_SOURCE=1.
41625 (CPPFLAGS-tst-longjmp_chk.c): Define.
41626 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41627 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41628 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41629 CFLAGS-tst-wchar-h.c.
41631 2012-05-31 Marek Polacek <polacek@redhat.com>
41634 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41635 __endmntent_internal): Remove declaration.
41636 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41637 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41638 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41640 2012-05-30 David S. Miller <davem@davemloft.net>
41642 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41643 (___Q_simulate_exceptions): Use real FP ops rather than writing
41645 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41648 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41651 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41652 * sysdeps/x86/bits/xtitypes.h: This.
41654 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41655 * sysdeps/x86/bits/wordsize.h: This.
41657 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41658 * sysdeps/x86/bits/huge_vall.h: This.
41660 * sysdeps/i386/bits/select.h: Removed.
41661 * sysdeps/x86_64/bits/select.h: Renamed to ...
41662 * sysdeps/x86/bits/select.h: This.
41664 * sysdeps/i386/bits/setjmp.h: Removed.
41665 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41666 * sysdeps/x86/bits/setjmp.h: This.
41668 * sysdeps/i386/bits/mathdef.h: Removed.
41669 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41670 * sysdeps/x86/bits/mathdef.h: This.
41672 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41675 * include/sys/socket.h (__connect_internal)
41676 (__libc_sa_len_internal): Remove declaration.
41677 (__connect, __libc_sa_len): Declare hidden_proto.
41678 (SA_LEN): Remove use of INTUSE.
41679 * socket/connect.c: Add libc_hidden_def.
41680 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41681 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41682 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41684 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41685 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41686 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41687 of adding _internal alias.
41689 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41692 * sysdeps/i386/bits/link.h: Removed.
41693 * sysdeps/i386/bits/linkmap.h: Likewise.
41694 * sysdeps/x86_64/bits/link.h: Renamed to ...
41695 * sysdeps/x86/bits/link.h: This.
41696 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41697 * sysdeps/x86/bits/linkmap.h: This.
41699 * sysdeps/i386/bits/endian.h: Removed.
41700 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41701 * sysdeps/x86/bits/endian.h: This.
41703 * sysdeps/i386/bits/byteswap.h: Removed.
41704 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41705 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41706 * sysdeps/x86/bits/byteswap.h: This.
41707 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41708 * sysdeps/x86/bits/byteswap-16.h: This.
41709 * sysdeps/i386/Implies: Add x86.
41710 * sysdeps/x86_64/Implies: Likewise.
41712 2012-05-30 David S. Miller <davem@davemloft.net>
41714 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41715 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41716 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41717 (FP_TRAPPING_EXCEPTIONS): Define.
41718 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41719 (FP_TRAPPING_EXCEPTIONS): Define.
41720 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41721 subnormals only when inexact has been signalled or underflow
41722 exceptions are enabled.
41723 (_FP_PACK_CANONICAL): Likewise.
41725 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41728 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41729 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41731 2012-05-30 Richard Henderson <rth@twiddle.net>
41733 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41734 with #ifndef NOT_IN_libc.
41736 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41737 marked to avoid plt entry.
41739 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41742 * Makeconfig (default-abi): New macro.
41743 (abi-includes): Likewise.
41744 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41745 $(abi-$(default-abi)-lib-soname) for soname if defined.
41746 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41748 * Makefile (installed-stubs): Likewise.
41749 * include/stubs-biarch.h: Removed.
41750 * scripts/lib-names.awk: Only handle one library at a time.
41751 * scripts/soversions.awk: Remove WORDSIZE support.
41752 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41754 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41756 (syscall-list-default-condition): Likewise.
41757 (syscall-list-default-condition): Likewise.
41758 (syscall-list-includes): Likewise.
41759 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41760 syscall-list-* with abi-*. Handle undefined abi-variants.
41761 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41762 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41763 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41764 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41765 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41766 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41768 (syscall-list-32-options): Likewise.
41769 (syscall-list-32-condition): Likewise.
41770 (syscall-list-64-options): Likewise.
41771 (syscall-list-64-condition): Likewise.
41772 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41774 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41777 (abi-64-ld-soname): New macro.
41778 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41779 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41782 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41783 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41785 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41787 * sysdeps/unix/sysv/linux/kernel-features.h
41788 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41789 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41790 include <kernel-features.h>.
41791 [!__NR_ftruncate64]: Remove conditional code.
41792 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41793 [__NR_ftruncate64]: Make code unconditional.
41794 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41795 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41796 include <kernel-features.h>.
41797 [!__NR_ftruncate64]: Remove conditional code.
41798 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41799 [__NR_ftruncate64]: Make code unconditional.
41800 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41802 include <kernel-features.h>.
41803 [!__NR_ftruncate64]: Remove conditional code.
41804 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41805 [__NR_ftruncate64]: Make code unconditional.
41806 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41808 include <kernel-features.h>.
41809 [!__NR_ftruncate64]: Remove conditional code.
41810 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41811 [__NR_ftruncate64]: Make code unconditional.
41812 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41814 * configure.in (libc_cv_fpie): Weaken to a compile test using
41815 LIBC_TRY_CC_OPTION.
41816 * configure: Regenerated.
41818 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41821 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41822 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41823 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41828 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41829 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41830 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41833 2012-05-27 David S. Miller <davem@davemloft.net>
41835 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41837 (__Q_simulate_exceptions): Return void. Change to simulate
41838 exceptions by writing into the %fsr.
41839 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41840 (__Qp_handle_exceptions): Likewise.
41842 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41843 __Qp_handle_exceptions.
41844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41845 __Qp_handle_exceptions.
41846 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41847 as unused and give dummy FP_RND_NEAREST initializer.
41848 (FP_INHIBIT_RESULTS): Define.
41849 (___Q_simulate_exceptions): Update declaration.
41850 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41852 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41853 as unused and give dummy FP_RND_NEAREST initializer.
41854 (__Qp_handle_exceptions): Update declaration.
41855 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41858 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41860 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41861 the temporary FPU control word.
41862 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41863 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41864 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41865 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41866 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41867 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41868 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41869 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41870 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41871 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41872 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41874 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41876 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41879 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41881 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41882 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41883 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41884 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41886 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41887 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41890 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41892 * po/h.po: Update from translation team.
41894 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41896 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41898 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41899 handling of denormals.
41900 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41901 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41902 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41903 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41904 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41905 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41906 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41909 2012-05-26 Marek Polacek <polacek@redhat.com>
41912 * math/libm-test.inc (fma_test): Don't always expect underflow
41915 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41918 * elf/tst-execstack.c: Include stackinfo.h.
41919 (do_test): Adjust test case to ensure that pthread_getattr_np
41920 behaviour remains the same after marking stack executable.
41922 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41924 * sysdeps/unix/sysv/linux/kernel-features.h
41925 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41926 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41928 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41929 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41930 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41932 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41933 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41935 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41937 * configure.in: Define the default includes to being none.
41938 * configure: Regenerated.
41940 2012-05-25 Roland McGrath <roland@hack.frob.com>
41942 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41943 * sysdeps/x86_64/setjmp.S: Likewise.
41944 * sysdeps/i386/bsd-setjmp.S: Likewise.
41945 * sysdeps/i386/bsd-_setjmp.S: Likewise.
41946 * sysdeps/i386/setjmp.S: Likewise.
41947 * sysdeps/i386/__longjmp.S: Likewise.
41948 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41949 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41951 * include/stap-probe.h: New file.
41952 * configure.in: Handle --enable-systemtap.
41953 * configure: Regenerated.
41954 * config.h.in (USE_STAP_PROBE): New #undef.
41955 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41956 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41957 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41959 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41962 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41963 to 2.4.0 where earlier.
41964 * sysdeps/unix/sysv/linux/configure: Regenerated.
41965 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
41974 [__ASSUME_32BITUIDS]: Make code unconditional.
41975 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41976 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41977 <kernel-features.h>.
41978 [__ASSUME_32BITUIDS]: Make code unconditional.
41979 [!__ASSUME_32BITUIDS]: Remove conditional code.
41980 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41981 <kernel-features.h>.
41982 [__ASSUME_32BITUIDS]: Make code unconditional.
41983 [!__ASSUME_32BITUIDS]: Remove conditional code.
41984 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41985 <kernel-features.h>.
41986 [__ASSUME_32BITUIDS]: Make code unconditional.
41987 [!__ASSUME_32BITUIDS]: Remove conditional code.
41988 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41989 <kernel-features.h>.
41990 [__ASSUME_32BITUIDS]: Make code unconditional.
41991 [!__ASSUME_32BITUIDS]: Remove conditional code.
41992 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41993 <kernel-features.h>.
41994 [__ASSUME_32BITUIDS]: Make code unconditional.
41995 [!__ASSUME_32BITUIDS]: Remove conditional code.
41996 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41997 <kernel-features.h>.
41998 [__ASSUME_32BITUIDS]: Make code unconditional.
41999 [!__ASSUME_32BITUIDS]: Remove conditional code.
42000 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42001 <kernel-features.h>.
42002 [__ASSUME_32BITUIDS]: Make code unconditional.
42003 [!__ASSUME_32BITUIDS]: Remove conditional code.
42004 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42005 <kernel-features.h>.
42006 [__ASSUME_32BITUIDS]: Make code unconditional.
42007 [!__ASSUME_32BITUIDS]: Remove conditional code.
42008 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42009 <kernel-features.h>.
42010 [__ASSUME_32BITUIDS]: Make code unconditional.
42011 [!__ASSUME_32BITUIDS]: Remove conditional code.
42012 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42013 <kernel-features.h>.
42014 [__ASSUME_32BITUIDS]: Make code unconditional.
42015 [!__ASSUME_32BITUIDS]: Remove conditional code.
42016 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42017 <kernel-features.h>.
42018 [__NR_setresgid] (__setresgid): Do not declare.
42019 [__ASSUME_32BITUIDS]: Make code unconditional.
42020 [!__ASSUME_32BITUIDS]: Remove conditional code.
42021 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42022 <kernel-features.h>.
42023 [__NR_setresuid] (__setresuid): Do not declare.
42024 [__ASSUME_32BITUIDS]: Make code unconditional.
42025 [!__ASSUME_32BITUIDS]: Remove conditional code.
42026 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42027 <kernel-features.h>.
42028 [__ASSUME_32BITUIDS]: Make code unconditional.
42029 [!__ASSUME_32BITUIDS]: Remove conditional code.
42030 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42031 <kernel-features.h>.
42032 [__ASSUME_32BITUIDS]: Make code unconditional.
42033 [!__ASSUME_32BITUIDS]: Remove conditional code.
42034 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42035 <kernel-features.h>.
42036 [__ASSUME_32BITUIDS]: Make code unconditional.
42037 [!__ASSUME_32BITUIDS]: Remove conditional code.
42038 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42039 <kernel-features.h>.
42040 [__ASSUME_32BITUIDS]: Make code unconditional.
42041 [!__ASSUME_32BITUIDS]: Remove conditional code.
42042 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42043 <kernel-features.h>.
42044 [__ASSUME_32BITUIDS]: Make code unconditional.
42045 [!__ASSUME_32BITUIDS]: Remove conditional code.
42046 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42047 <kernel-features.h>.
42048 [__ASSUME_32BITUIDS]: Make code unconditional.
42049 [!__ASSUME_32BITUIDS]: Remove conditional code.
42050 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42051 <kernel-features.h>.
42052 [__ASSUME_32BITUIDS]: Make code unconditional.
42053 [!__ASSUME_32BITUIDS]: Remove conditional code.
42054 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42055 <kernel-features.h>.
42056 [__ASSUME_32BITUIDS]: Make code unconditional.
42057 [!__ASSUME_32BITUIDS]: Remove conditional code.
42058 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42059 <kernel-features.h>.
42060 [__ASSUME_32BITUIDS]: Make code unconditional.
42061 [!__ASSUME_32BITUIDS]: Remove conditional code.
42062 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42063 <kernel-features.h>.
42064 [__ASSUME_32BITUIDS]: Make code unconditional.
42065 [!__ASSUME_32BITUIDS]: Remove conditional code.
42066 * sysdeps/unix/sysv/linux/kernel-features.h
42067 (__ASSUME_SETRESUID_SYSCALL): Remove.
42068 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42069 (__ASSUME_32BITUIDS): Likewise.
42070 (__ASSUME_LDT_WORKS): Likewise.
42071 (__ASSUME_O_DIRECTORY): Likewise.
42072 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42073 architecture but not kernel version.
42074 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42075 (__ASSUME_MMAP2_SYSCALL): Likewise.
42076 (__ASSUME_STAT64_SYSCALL): Likewise.
42077 (__ASSUME_IPC64): Likewise.
42078 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42079 <kernel-features.h>.
42080 [__ASSUME_32BITUIDS]: Make code unconditional.
42081 [!__ASSUME_32BITUIDS]: Remove conditional code.
42082 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42083 <kernel-features.h>.
42084 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42085 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42086 132096]: Remove conditional code.
42087 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42088 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42089 <kernel-features.h>.
42090 [__ASSUME_32BITUIDS]: Make code unconditional.
42091 [!__ASSUME_32BITUIDS]: Remove conditional code.
42092 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42093 <kernel-features.h>.
42094 [__ASSUME_32BITUIDS]: Make code unconditional.
42095 [!__ASSUME_32BITUIDS]: Remove conditional code.
42096 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42097 <kernel-features.h>.
42098 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42100 (__setresgid): Do not declare.
42101 [__ASSUME_32BITUIDS]: Make code unconditional.
42102 [!__ASSUME_32BITUIDS]: Remove conditional code.
42103 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42104 <kernel-features.h>.
42105 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42107 (__setresuid): Do not declare.
42108 [__ASSUME_32BITUIDS]: Make code unconditional.
42109 [!__ASSUME_32BITUIDS]: Remove conditional code.
42110 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42111 <kernel-features.h>.
42112 [__ASSUME_32BITUIDS]: Make code unconditional.
42113 [!__ASSUME_32BITUIDS]: Remove conditional code.
42114 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42115 <kernel-features.h>.
42116 [__ASSUME_32BITUIDS]: Make code unconditional.
42117 [!__ASSUME_32BITUIDS]: Remove conditional code.
42119 2012-05-25 Richard Henderson <rth@twiddle.net>
42121 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42122 dl_hwcap to ifunc resolver.
42123 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42125 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42126 dl_hwcap to ifunc resolver.
42127 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42129 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42132 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42133 for |x| <= 2**-26, not 2**-57.
42134 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42137 2012-05-24 Jeff Law <law@redhat.com>
42139 * stdio-common/Makefile (tests): Add bug25.
42140 * stdio-common/bug25.c: New test.
42142 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42145 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42146 multiple of MALLOC_ALIGNMENT in size.
42147 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42149 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42151 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42153 (FILENAME_MAX): Use macro-int-constant.
42154 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42155 (_IOFBF): Use macro-int-constant.
42156 (_IOLBF): Likewise.
42157 (_IONBF): Likewise.
42158 (SEEK_CUR): Likewise.
42159 (SEEK_END): Likewise.
42160 (SEEK_SET): Likewise.
42161 (TMP_MAX): Likewise.
42162 (EOF): Use macro-int-constant. Require < 0.
42163 (NULL): Use macro-constant. Require == 0.
42164 (stdin): Require type to be FILE *.
42165 (stdout): Likewise.
42166 (stderr): Likewise.
42167 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42168 macro-int-constant.
42169 (EXIT_SUCCESS): Likewise.
42170 (NULL): Use macro-constant. Require == 0.
42171 (RAND_MAX): Use macro-int-constant.
42172 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42173 [C99-based standards] (strtof): Require function.
42174 [C99-based standards] (strtold): Likewise.
42175 [C99-based standards] (strtoll): Likewise.
42176 [C99-based standards] (strtoull): Likewise.
42177 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42178 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42179 [ISO || ISO99 || ISO11] (math.h): Likewise.
42180 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42181 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42182 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42184 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42187 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42188 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42189 * intl/dgettext.c (DCGETTEXT): Likewise.
42190 * intl/gettext.c (DCGETTEXT): Likewise.
42191 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42192 * posix/regex_internal.h (gettext): Likewise.
42193 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42194 Remove declaration.
42195 * include/argz.h (__argz_count_internal)
42196 (__argz_stringify_internal): Remove declaration.
42197 (__argz_count, __argz_stringify): Declare hidden proto.
42198 * intl/dcgettext.c: Remove use of INTDEF.
42199 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42200 * string/argz-stringify.c: Likewise.
42201 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42202 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42203 Declare hidden proto.
42204 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42205 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42206 Declare hidden proto.
42207 * include/stdio.h (__asprintf_internal): Don't declare.
42208 (__asprintf): Don't define as macro. Declare hidden proto.
42209 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42210 (__fsetlocking): Declare hidden proto.
42211 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42212 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42214 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42215 (_IO_setlinebuf): Remove use of INTUSE.
42216 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42217 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42218 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42219 Remove declaration.
42220 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42221 (_IO_do_flush): Remove use of INTUSE.
42222 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42223 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42224 (_IO_adjust_column, _IO_least_wmarker)
42225 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42226 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42227 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42228 (_IO_default_doallocate, _IO_wdefault_doallocate)
42229 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42230 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42231 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42232 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42233 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42234 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42235 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42236 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42237 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42238 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42239 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42240 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42241 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42243 (_IO_flush_all_internal, _IO_adjust_column_internal)
42244 (_IO_default_uflow_internal, _IO_default_finish_internal)
42245 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42246 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42247 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42248 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42249 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42250 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42251 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42252 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42253 (_IO_file_close_internal, _IO_file_close_it_internal)
42254 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42255 (_IO_file_init_internal, _IO_file_attach_internal)
42256 (_IO_file_fopen_internal, _IO_file_read_internal)
42257 (_IO_file_sync_internal, _IO_file_seek_internal)
42258 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42259 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42260 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42261 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42262 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42263 (_IO_list_all_internal, _IO_link_in_internal)
42264 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42265 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42266 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42267 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42268 (_IO_do_write_internal, _IO_padn_internal)
42269 (_IO_getline_info_internal, _IO_getline_internal)
42270 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42271 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42272 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42273 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42274 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42275 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42276 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42277 with libc_hidden_ver, remove use of INTUSE.
42278 * libio/genops.c: Likewise.
42279 * libio/freopen.c: Likewise.
42280 * libio/freopen64.c: Likewise.
42281 * libio/iofclose.c: Likewise.
42282 * libio/iofdopen.c: Likewise.
42283 * libio/iofflush.c: Likewise.
42284 * libio/iofflush_u.c: Likewise.
42285 * libio/iofgets.c: Likewise.
42286 * libio/iofgets_u.c: Likewise.
42287 * libio/iofopen.c: Likewise.
42288 * libio/iofopncook.c: Likewise.
42289 * libio/iofread.c: Likewise.
42290 * libio/iofread_u.c: Likewise.
42291 * libio/ioftell.c: Likewise.
42292 * libio/iofwrite.c: Likewise.
42293 * libio/iogetline.c: Likewise.
42294 * libio/iogets.c: Likewise.
42295 * libio/iogetwline.c: Likewise.
42296 * libio/iopadn.c: Likewise.
42297 * libio/iopopen.c: Likewise.
42298 * libio/ioseekoff.c: Likewise.
42299 * libio/ioseekpos.c: Likewise.
42300 * libio/iosetbuffer.c: Likewise.
42301 * libio/iosetvbuf.c: Likewise.
42302 * libio/ioungetc.c: Likewise.
42303 * libio/ioungetwc.c: Likewise.
42304 * libio/iovdprintf.c: Likewise.
42305 * libio/iovsprintf.c: Likewise.
42306 * libio/iovsscanf.c: Likewise.
42307 * libio/memstream.c: Likewise.
42308 * libio/obprintf.c: Likewise.
42309 * libio/oldfileops.c: Likewise.
42310 * libio/oldiofclose.c: Likewise.
42311 * libio/oldiofdopen.c: Likewise.
42312 * libio/oldiofopen.c: Likewise.
42313 * libio/oldiopopen.c: Likewise.
42314 * libio/oldstdfiles.c: Likewise.
42315 * libio/putc.c: Likewise.
42316 * libio/setbuf.c: Likewise.
42317 * libio/setlinebuf.c: Likewise.
42318 * libio/stdfiles.c: Likewise.
42319 * libio/strops.c: Likewise.
42320 * libio/vasprintf.c: Likewise.
42321 * libio/vscanf.c: Likewise.
42322 * libio/vsnprintf.c: Likewise.
42323 * libio/vswprintf.c: Likewise.
42324 * libio/wfiledoalloc.c: Likewise.
42325 * libio/wfileops.c: Likewise.
42326 * libio/wgenops.c: Likewise.
42327 * libio/wmemstream.c: Likewise.
42328 * libio/wstrops.c: Likewise.
42329 * libio/__fpurge.c: Likewise.
42330 * libio/__fsetlocking.c: Likewise.
42331 * assert/assert.c: Likewise.
42332 * debug/fgets_chk.c: Likewise.
42333 * debug/fgets_u_chk.c: Likewise.
42334 * debug/fread_chk.c: Likewise.
42335 * debug/fread_u_chk.c: Likewise.
42336 * debug/gets_chk.c: Likewise.
42337 * debug/obprintf_chk.c: Likewise.
42338 * debug/vasprintf_chk.c: Likewise.
42339 * debug/vdprintf_chk.c: Likewise.
42340 * debug/vsnprintf_chk.c: Likewise.
42341 * debug/vsprintf_chk.c: Likewise.
42342 * malloc/mtrace.c: Likewise.
42343 * misc/error.c: Likewise.
42344 * misc/syslog.c: Likewise.
42345 * stdio-common/asprintf.c: Likewise.
42346 * stdio-common/fxprintf.c: Likewise.
42347 * stdio-common/getw.c: Likewise.
42348 * stdio-common/isoc99_fscanf.c: Likewise.
42349 * stdio-common/isoc99_scanf.c: Likewise.
42350 * stdio-common/isoc99_vfscanf.c: Likewise.
42351 * stdio-common/isoc99_vscanf.c: Likewise.
42352 * stdio-common/isoc99_vsscanf.c: Likewise.
42353 * stdio-common/printf-prs.c: Likewise.
42354 * stdio-common/printf_fp.c: Likewise.
42355 * stdio-common/printf_fphex.c: Likewise.
42356 * stdio-common/printf_size.c: Likewise.
42357 * stdio-common/putw.c: Likewise.
42358 * stdio-common/scanf.c: Likewise.
42359 * stdio-common/sprintf.c: Likewise.
42360 * stdio-common/tmpfile.c: Likewise.
42361 * stdio-common/vfprintf.c: Likewise.
42362 * stdio-common/vfscanf.c: Likewise.
42363 * stdlib/strfmon_l.c: Likewise.
42364 * sunrpc/openchild.c: Likewise.
42365 * sunrpc/xdr_stdio.c: Likewise.
42366 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42367 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42369 2012-05-24 Roland McGrath <roland@hack.frob.com>
42371 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42373 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42374 in the third column, to generate for the shared library an IFUNC
42375 that uses _dl_vdso_vsym.
42376 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42377 * Makeconfig (object-suffixes-noshared): New variable.
42379 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42380 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42381 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42382 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42385 * include/sys/time.h (__gettimeofday): Remove macro.
42386 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42387 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42389 (__gettimeofday): Add libc_hidden_def.
42390 (gettimeofday): Add libc_hidden_weak.
42391 * sysdeps/mach/gettimeofday.c: Likewise.
42392 * sysdeps/posix/gettimeofday.c: Likewise.
42393 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42394 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42395 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42396 (__gettimeofday_internal): Remove strong_alias.
42397 (__gettimeofday): Add libc_hidden_def.
42398 (gettimeofday): Add libc_hidden_weak.
42399 * sysdeps/unix/syscalls.list (gettimeofday):
42400 Remove __gettimeofday_internal alias.
42402 2012-05-24 Daniel Jacobowitz <drow@false.org>
42403 H.J. Lu <hongjiu.lu@intel.com>
42406 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42407 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42408 (largebin_index_32_big): New.
42409 (largebin_index): Use it for 16-byte alignment.
42410 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42411 correction with front_misalign.
42413 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42418 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42441 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42442 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42444 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42448 * math/libm-test.inc (exp_test): Add test from bug 14036.
42449 (pow_test): Add test from bug 10846.
42451 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42453 (special_function): Do not include flags in test name.
42454 (parse_args): Likewise.
42455 * sysdeps/i386/fpu/libm-test-ulps: Update.
42456 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42457 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42458 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42461 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42463 * math/libm-test.inc ("Philosophy"): Update comment about
42465 (UNDERFLOW_EXCEPTION): New macro.
42466 (UNDERFLOW_EXCEPTION_OK): Likewise.
42467 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42468 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42469 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42470 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42471 (INVALID_EXCEPTION_OK): Update value.
42472 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42473 (OVERFLOW_EXCEPTION_OK): Likewise.
42474 (IGNORE_ZERO_INF_SIGN): Likewise.
42475 (test_exceptions): Handle underflow exceptions.
42476 (acos_test): Update for underflow exception expectations.
42477 (cexp_test): Likewise.
42478 (clog_test): Likewise.
42479 (clog10_test): Likewise.
42480 (csqrt_test): Likewise.
42481 (ctan_test): Likewise.
42482 (ctanh_test): Likewise.
42483 (exp_test): Likewise.
42484 (exp10_test): Likewise.
42485 (exp2_test): Likewise.
42486 (expm1_test): Likewise.
42487 (fma_test): Likewise.
42488 (j0_test): Likewise.
42489 (jn_test): Likewise.
42490 (nexttoward_test): Likewise.
42491 (pow_test): Likewise.
42492 (scalbn_test): Likewise.
42493 (scalbln_test): Likewise.
42494 (tan_test): Likewise.
42495 (y1_test): Likewise.
42496 * sysdeps/i386/fpu/libm-test-ulps: Update.
42497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42499 2012-05-23 David S. Miller <davem@davemloft.net>
42501 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42502 (__libc_sigaction): Remove unused local variables.
42504 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42506 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42508 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42510 mktime: avoid signed integer overflow
42511 * time/mktime.c (__mktime_internal): Do not mishandle the case
42512 where diff == INT_MIN.
42514 mktime: simplify computation of average
42515 * time/mktime.c (ranged_convert): Use new time_t_avg function
42516 instead of rolling our own (probably-slower) code.
42518 mktime: do not assume signed right shift propagates sign bit
42519 * time/mktime.c (isdst_differ): New static function.
42520 (__mktime_internal): No need to normalize tm_isdst now.
42521 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42524 mktime: merge another wrapv change from gnulib
42525 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42526 from some compilers.
42528 mktime: remove incorrect attempt at unusual arithmetics
42529 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42530 The code didn't really work on such machines anyway.
42531 (TYPE_MINIMUM): Assume two's complement.
42532 (twos_complement_arithmetic): Verify that long_int and time_t
42533 are two's complement (or unsigned, in the latter case).
42535 mktime: check signed shifts on long_int and time_t, too
42536 * time/mktime.c (SHR): Check that shifts work as desired
42537 on the types long_int and time_t too, as SHR is used on
42540 mktime: do not assume 'long' is wide enough
42541 * time/mktime.c (verify): Move decl up.
42542 (long_int): New type.
42543 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42544 to remove assumption in the code that 'long' is wide enough to
42545 store year values. This assumption is not true on x32 and on
42546 some non-glibc platforms.
42548 mktime: merge wrapv change from gnulib
42549 * time/mktime.c (WRAPV): New macro.
42550 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42551 (guess_time_tm, __mktime_internal): Do not assume that signed
42552 integer overflow wraps around; modern compilers generate code
42553 where this assumption is no longer valid.
42555 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42557 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42558 Replace "jmp L(pseudo_end)" with "ret".
42559 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42562 2012-05-23 Andreas Jaeger <aj@suse.de>
42564 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42565 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42567 2012-05-23 Andreas Jaeger <aj@suse.de>
42568 Maximilian Attems <max@stro.at>
42570 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42573 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42575 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42576 code so that pseudo_end is just ret and the stack pointer is
42577 correct also for static library in error case.
42579 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42581 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42582 move to syscalls.list.
42583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42588 * manual/install.texi (Running make install): Do not mention Linux
42589 kernel version for which pt_chown is not needed.
42590 (Linux): Do not mention problems with nscd with 2.0 kernels.
42591 * INSTALL: Regenerated.
42593 2012-05-23 Andreas Jaeger <aj@suse.de>
42595 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42596 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42598 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42599 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42600 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42601 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42602 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42603 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42604 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42605 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42606 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42607 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42608 * sysdeps/unix/sysv/linux/bits/in.h
42609 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42611 2012-05-22 Roland McGrath <roland@hack.frob.com>
42613 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42614 (PREPARE_VERSION): Just use assert instead, it will be elided
42615 under [NDEBUG] anyway.
42617 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42619 * sysdeps/unix/sysv/linux/Makefile: Include
42620 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42621 (sysdep_routines): Remove sysctl.
42622 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42623 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42624 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42625 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42626 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42628 2012-05-22 Andreas Jaeger <aj@suse.de>
42630 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42631 that pseudo_end is just ret and the stack pointer is correct also
42632 for static library in error case.
42634 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42637 * nss/nsswitch.c (defconfig_entries): New variable.
42638 (__nss_database_lookup): Don't leak defconfig entries.
42639 (nss_parse_service_list): Don't leak on error paths.
42640 (free_database_entries): New function.
42641 (free_defconfig): New function.
42642 (free_mem): Move common code to free_database_entries.
42644 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42646 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42648 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42650 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42651 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42654 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42655 (INTERNAL_SYSCALL_TYPES): Likewise.
42656 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42657 (LOAD_REGS_TYPES_[1-6]): Likewise.
42658 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42659 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42661 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42663 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42664 copysignl for GLIBC_2_0.
42665 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42666 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42667 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42668 logbl for GLIBC_2_0.
42669 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42670 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42672 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42674 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42675 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42677 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42680 * time/mktime.c: Update copyright years.
42682 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42684 mktime: merge comment-quoting-style change from gnulib
42685 * time/mktime.c: Quote 'like this' in comments.
42686 The GNU coding standards suggest that we no longer quote `like this',
42687 as "`" and "'" are typically rendered asymmetrically nowadays.
42688 The typical gnulib style is to quote 'like this' when quoting
42689 code, and "like this" when quoting English.
42691 * time/mktime.c (compile-command): Add "-I.".
42693 mktime: merge mktime-internal.h change from gnulib
42694 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42696 mktime: merge time_r change from gnulib
42697 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42699 mktime: merge DEBUG change from gnulib
42700 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42701 case system <time.h> has a #define.
42703 mktime: merge <sys/types.h> change from gnulib
42704 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42705 since <time.t> is now guaranteed to define time_t.
42707 mktime: merge HAVE_CONFIG_H change from gnulib
42708 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42710 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42712 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42715 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42717 (struct rusage): Use anonymous union to pad each field to
42720 2012-05-21 David S. Miller <davem@davemloft.net>
42722 * Makefules (o-iterator): Remove .s cases.
42723 (compile-command.s): Delete.
42724 (COMPILE.s): Delete.
42725 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42727 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42729 * configure.in (libc_cv_predef_stack_protector): Only consider
42730 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42731 * configure: Regenerated.
42733 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42736 New macro. Use R*LP on int and pointer.
42737 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42738 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42739 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42740 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42742 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42743 [__WORDSIZE_TIME64_COMPAT32] instead of
42744 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42745 (struct utmp): Likewise.
42746 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42747 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42749 (__WORDSIZE_TIME64_COMPAT32): This.
42750 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42751 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42752 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42753 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42754 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42755 (__WORDSIZE_TIME64_COMPAT32): New macro.
42757 2012-05-21 Andreas Jaeger <aj@suse.de>
42759 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42760 only if [SHARED]. Add prototype for __wcschr_ia32.
42762 2012-05-21 Roland McGrath <roland@hack.frob.com>
42764 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42765 of %rbp unmolested in the jmp_buf while mangling the low bits.
42766 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42767 unmolested high bits of %rbp while demangling the low bits.
42768 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42770 2012-05-21 Andreas Jaeger <aj@suse.de>
42772 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42773 * sunrpc/svc_simple.c: Use it for registerrpc.
42774 * sunrpc/xcrypt.c: Use it for passwd2des.
42776 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42778 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42780 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42781 Don't define if [__SYSCALL_WORDSIZE != 32].
42782 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42785 2012-05-21 Bruno Haible <bruno@clisp.org>
42786 Andreas Jaeger <aj@suse.de>
42788 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42789 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42790 inptr and inend for must_buffer_ch.
42791 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42792 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42793 * stdio-common/Makefile (tests): Remove bug15.
42794 (bug15-ENV): Remove macro.
42795 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42798 2012-05-19 Andreas Jaeger <aj@suse.de>
42799 Roland McGrath <roland@hack.frob.com>
42801 * manual/contrib.texi: Completely rewritten. It contains now an
42802 alphabetical list of contributors and their contributions.
42804 2012-05-21 Richard Henderson <rth@twiddle.net>
42806 * misc/getauxval.c (__getauxval): Use unsigned long int.
42807 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42808 (getauxval): Use unsigned long int.
42810 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42812 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42814 2012-05-21 Roland McGrath <roland@hack.frob.com>
42816 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42817 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42818 __alignof__ (long double).
42820 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42824 2012-05-20 Richard Henderson <rth@twiddle.net>
42826 * misc/getauxval.c: New file.
42827 * misc/sys/auxv.h: New file.
42828 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42829 (routines): Add getauxval.
42830 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42831 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42832 * elf/dl-sysdep.c (_dl_auxv): Remove.
42833 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42834 * elf/dl-support.c (_dl_auxv): New variable.
42835 (_dl_aux_init): Initialize it.
42836 * manual/startup.texi (Auxiliary Vector): New node.
42837 * sysdeps/generic/bits/hwcap.h: New file.
42838 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42839 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42840 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42841 * sysdeps/sparc/sysdep.h: ... here. Include it.
42842 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42843 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42848 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42849 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42851 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42853 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42855 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42859 2012-05-19 David S. Miller <davem@davemloft.net>
42861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42863 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42866 * math/s_ccosh.c: Include <float.h>
42867 (__ccosh): Avoid internal overflow calculating sinh and cosh
42868 values before multiplying by sin and cos values.
42869 * math/s_ccoshf.c: Likewise.
42870 * math/s_ccoshl.c: Likewise.
42871 * math/s_csin.c: Likewise.
42872 * math/s_csinf.c: Likewise.
42873 * math/s_csinl.c: Likewise.
42874 * math/s_csinh.c: Likewise.
42875 * math/s_csinhf.c: Likewise.
42876 * math/s_csinhl.c: Likewise.
42877 * math/libm-test.inc (ccos_test): Add more tests.
42878 (ccosh_test): Likewise.
42879 (csin_test): Likewise.
42880 (csinh_test): Likewise.
42881 * sysdeps/i386/fpu/libm-test-ulps: Update.
42882 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42884 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42886 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42887 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42889 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42891 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42893 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42894 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42895 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42896 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42897 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42898 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42899 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42900 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42901 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42902 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42903 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42904 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42905 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42906 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42907 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42908 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42909 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42910 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42911 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42912 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42913 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42914 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42915 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42916 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42917 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42918 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42919 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42920 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42921 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42922 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42923 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42925 2012-05-18 Andreas Jaeger <aj@suse.de>
42927 * csu/.gitignore: Delete.
42929 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42931 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42932 (timex): Use __syscall_slong_t.
42934 2012-05-18 Andreas Jaeger <aj@suse.de>
42935 Carlos O'Donell <carlos_odonell@mentor.com>
42937 * manual/install.texi (Configuring and compiling): Update
42938 description about files modified in the source directory.
42939 * INSTALL: Regenerated.
42941 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42943 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42944 value. Use "or" to set return value to -1.
42945 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42946 negate return value.
42948 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42950 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42951 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42952 failure if the compiler has Graphite support disabled.
42953 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42955 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42956 (CFLAGS-memmove.c): Likewise.
42957 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42960 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42962 * sysdeps/x86_64/x32/_itoa.h: New file.
42964 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42965 getdents system call only if kernel and user dirents have the
42966 same d_ino and d_off.
42968 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42969 LLONG_MAX != LONG_MAX.
42970 (_itoa_word): Use _ITOA_WORD_TYPE on value.
42971 (_fitoa_word): Likewise.
42973 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42975 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42976 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42977 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42979 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42980 include <bits/wordsize.h>. Check __x86_64__ instead of
42982 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42983 if __x86_64__ is defined. Use anonymous union on fpstate.
42985 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42988 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
42990 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42991 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42992 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42993 Refer to _rtld_local_ro instead of _rtld_global_ro.
42994 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42996 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42998 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43000 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43001 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43002 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43004 * sysdeps/powerpc/powerpc32/dl-machine.c
43005 (__elf_machine_runtime_setup) [PROF]: Don't reference
43008 2012-05-18 Andreas Jaeger <aj@suse.de>
43010 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43011 function only available for GCCs before 3.4 since GCC 3.4
43012 introduced a builtin.
43014 (llrintf): Likewise.
43015 (llrint): Likewise.
43022 (nearbyint): Likewise.
43023 (nearbyintf): Likewise.
43027 (floorf): Likewise.
43029 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43031 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43032 on both fields and cast pointer to __syscall_ulong_t.
43034 * bits/types.h (__fsword_t): New type.
43035 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43036 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43037 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43038 (__FSWORD_T_TYPE): Likewise.
43039 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43040 (__FSWORD_T_TYPE): Likewise.
43041 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43042 (__FSWORD_T_TYPE): Likewise.
43043 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43044 (__FSWORD_T_TYPE): Likewise.
43045 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43046 __SWORD_TYPE with __fsword_t.
43047 (statfs64): Likewise.
43049 2012-05-17 David S. Miller <davem@davemloft.net>
43051 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43053 2012-05-17 Andreas Jaeger <aj@suse.de>
43055 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43058 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43060 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43062 2012-05-17 Andreas Jaeger <aj@suse.de>
43064 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43067 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43069 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43071 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43073 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43074 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43076 2012-05-17 Andreas Jaeger <aj@suse.de>
43077 Carlos O'Donell <carlos_odonell@mentor.com>
43080 * sysdeps/x86_64/multiarch/init-arch.h
43081 (bit_YMM_Usable): Rename to...
43082 (bit_AVX_Usable): ... this.
43083 (bit_FMA4_Usable): New macro.
43084 (bit_XMM_state): New macro.
43085 (bit_YMM_state): New macro.
43086 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43087 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43088 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43089 (CPUID_OSXSAVE): New macro.
43090 (CPUID_AVX): New macro.
43091 (CPUID_FMA4): New macro.
43092 (index_YMM_Usable): Rename to...
43093 (index_AVX_Usable): ... this.
43094 (HAS_AVX): Use HAS_ARCH_FEATURE.
43095 (HAS_FMA4): Likewise.
43096 (HAS_YMM_USABLE): Remove.
43097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43098 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43100 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43101 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43102 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43103 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43104 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43106 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43108 * math/libm-test.c: Support platforms without multiple rounding modes.
43109 * math/bug-nextafter.c: Support platforms without FP exceptions.
43110 * math/bug-nexttoward.c: Likewise.
43111 * math/test-fenv.c: Likewise.
43112 * math/test-misc.c: Likewise.
43113 * stdlib/bug-getcontext.c: Likewise.
43115 2012-05-17 Andreas Jaeger <aj@suse.de>
43117 * manual/examples/search.c (critter_cmp): Change signature to
43119 * manual/string.texi (Collation Functions): Likewise.
43121 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43123 * bits/types.h: Fold copyright years.
43124 * bits/typesizes.h: Likewise.
43125 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43126 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43127 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43129 * time/time.h: Likewise.
43131 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43134 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43135 in instead of returning them. Return void.
43136 (__libc_mallinfo): Accumulate over all arenas.
43137 (__malloc_stats): Adjust for change in int_mallinfo interface.
43139 2012-05-16 Roland McGrath <roland@hack.frob.com>
43142 * configure.in (NM): Add AC_CHECK_TOOL for it.
43143 (libc_extra_cflags): New substituted variable.
43144 Check for -fstack-protector being used implicitly.
43145 * configure: Regenerated.
43146 * config.make.in (config-extra-cflags): New variable,
43147 gets @libc_extra_cflags@.
43148 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43151 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43152 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43153 * configure: Regenerated.
43154 * config.make.in (CPPUNDEFS): New substituted variable.
43155 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43156 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43157 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43159 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43161 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43162 (mq_attr): Use __syscall_slong_t.
43164 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43166 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43167 Check __x86_64__ instead of __WORDSIZE.
43168 (_STAT_VER_LINUX): Likewise.
43169 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43170 __syscall_ulong_t and __syscall_slong_t.
43171 (stat64): Likewise.
43173 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43175 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43177 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43179 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43181 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43183 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43186 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43187 include <bits/wordsize.h>. Check __x86_64__ instead of
43189 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43191 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43193 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43194 include <bits/wordsize.h>. Check __x86_64__ instead of
43196 (user_regs_struct): Use "__extension__ unsigned long long"
43197 instead of "unsigned long" if __x86_64__ is defined.
43198 (user): Likewise. Pad after pointer field if __ILP32__ is
43201 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43203 * configure.in (makeinfo): Require version 4.5 or later. Allow
43205 * configure: Regenerated.
43206 * manual/install.texi (texinfo): Increase version requirement to
43208 * INSTALL: Regenerated.
43210 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43212 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43214 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43216 * sysdeps/x86_64/x32/ffs.c: New file.
43218 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43220 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43221 defined. Use __syscall_ulong_t.
43222 (shminfo): Use __syscall_ulong_t.
43223 (shm_info): Likewise.
43225 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43228 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43230 (msgqnum_t): Use __syscall_ulong_t.
43231 (msglen_t): Likewise.
43232 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43235 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43236 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43238 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43240 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43241 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43243 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43246 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43247 include <bits/wordsize.h>. Check __x86_64__ instead of
43250 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43251 "unsigned long long int" if __x86_64__ is defined.
43252 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43254 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43255 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43256 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43258 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43260 (GET_PC): Cast to uintptr_t first.
43261 (GET_FRAME): Likewise.
43262 (GET_STACK): Likewise.
43264 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43265 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43266 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43267 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43268 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43269 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43270 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43271 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43272 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43273 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43274 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43275 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43276 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43278 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43279 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43280 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43281 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43282 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43283 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43284 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43285 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43286 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43287 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43288 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43289 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43290 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43291 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43292 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43294 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43296 * Makerules (+depfiles): Also collect depfiles from .oS in
43298 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43299 .oS, $(libnldbl-routines)).
43301 * Makerules (native-compile-mkdep-flags): Define.
43302 * sunrpc/Makefile (extra-objs): Add $(addprefix
43303 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43304 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43305 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43306 calling $(make-target-directory).
43308 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43310 * bits/types.h (__snseconds_t): Removed.
43311 * time/time.h (struct timespec): Replace __snseconds_t with
43313 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43314 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43316 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43317 (__SNSECONDS_T_TYPE): Likewise.
43318 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43319 (__SNSECONDS_T_TYPE): Likewise.
43320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43321 (__SNSECONDS_T_TYPE): Likewise.
43323 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43325 * sysdeps/mach/hurd/bits/typesizes.h
43326 (__SYSCALL_SLONG_TYPE): New macro.
43327 (__SYSCALL_ULONG_TYPE): Likewise.
43329 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43331 * bits/types.h (__syscall_slong_t): New type.
43332 (__syscall_ulong_t): Likewise.
43334 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43335 (__SYSCALL_ULONG_TYPE): Likewise.
43336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43337 (__SYSCALL_SLONG_TYPE): Likewise.
43338 (__SYSCALL_ULONG_TYPE): Likewise.
43339 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43340 (__SYSCALL_SLONG_TYPE): Likewise.
43341 (__SYSCALL_ULONG_TYPE): Likewise.
43342 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43343 (__SYSCALL_SLONG_TYPE): Likewise.
43344 (__SYSCALL_ULONG_TYPE): Likewise.
43346 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43348 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43349 Add sigaltstack-offsets.sym.
43350 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43351 <sigaltstack-offsets.h>.
43352 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43353 longjmp_msg pointer.
43354 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43355 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43357 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43359 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43361 * elf/stackguard-macros.h: Remove file.
43362 * sysdeps/generic/stackguard-macros.h: New file.
43363 * sysdeps/i386/stackguard-macros.h: Likewise.
43364 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43365 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43366 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43367 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43368 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43369 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43370 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43371 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43372 <elf/stackguard-macros.h>.
43375 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43376 __aligned__ in attribute.
43377 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43378 (gregset_t): Likewise.
43380 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43382 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43383 * sysdeps/x86_64/64/Implies-after: Here. New file.
43384 * sysdeps/x86_64/x32/Implies-after: New file.
43386 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43388 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43389 and access return value for _dl_profile_fixup. Use R10_LP to
43392 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43394 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43396 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43398 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43399 * sysdeps/x86_64/x32/sysdep.h: New file.
43401 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43403 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43404 * sysdeps/x86_64/setjmp.S: Likewise.
43406 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43408 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43409 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43410 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43411 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43412 remove unused global constant.
43414 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43416 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43417 include of <not-cancel.h>.
43419 2012-05-15 Roland McGrath <roland@hack.frob.com>
43421 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43423 2012-05-15 Jeff Law <law@redhat.com>
43424 Andreas Jaeger <aj@suse.de>
43427 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43429 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43430 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43431 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43432 code changing __hst_map_handle.map.
43434 2012-05-15 Roland McGrath <roland@hack.frob.com>
43436 * configure.in (sysnames): Look for Implies-before and Implies-after
43438 * configure: Regenerated.
43440 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43442 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43443 8-byte data alignment with LP_SIZE alignment.
43445 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43447 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43450 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43452 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43454 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43456 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43457 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43458 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43460 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43464 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43465 (stackinfo_sub_sp): Likewise.
43467 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43469 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43472 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43474 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43479 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43482 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43484 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43486 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43488 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43489 into R11_LP and load __x86_64_shared_cache_size_half into
43492 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43494 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43497 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43499 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43501 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43505 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43506 powerpc32/power7/fpu/s_logb.c via #include.
43507 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43508 powerpc32/power7/fpu/s_logbf.c via #include.
43509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43510 powerpc32/power7/fpu/s_logbl.c via #include.
43512 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43514 * README.libm: Remove file.
43516 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43518 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43519 count for x32. Use R*_LP and omit operand-size suffix.
43521 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43523 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43524 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43525 * sysdeps/x86_64/x32/shlib-versions: New file.
43527 2012-05-14 Roland McGrath <roland@hack.frob.com>
43529 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43530 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43531 Use _dl_fatal_printf instead.
43533 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43535 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43536 set if not set by the user. Do not allow for being unset.
43537 * sysdeps/unix/sysv/linux/configure: Regenerated.
43539 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43541 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43542 the `q' suffix from lea and replace .quad with ASM_ADDR.
43544 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43546 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43547 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43549 (PTR_DEMANGLE): Likewise.
43551 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43553 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43555 (ASM_ADDR): Likewise.
43556 (RAX_LP): Likewise.
43557 (RBP_LP): Likewise.
43558 (RBX_LP): Likewise.
43559 (RCX_LP): Likewise.
43560 (RDI_LP): Likewise.
43561 (RSI_LP): Likewise.
43562 (RSP_LP): Likewise.
43565 (R10_LP): Likewise.
43566 (R10_LP): Likewise.
43567 (R11_LP): Likewise.
43568 (R12_LP): Likewise.
43569 (R13_LP): Likewise.
43570 (R14_LP): Likewise.
43571 (R15_LP): Likewise.
43573 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43575 * sysdeps/x86_64/x32/dl-machine.h: New file.
43577 2012-05-14 Andreas Jaeger <aj@suse.de>
43579 * manual/Makefile (subdir): Remove export of subdir.
43580 (all): Remove target.
43581 (.PHONY): Remove all from list.
43582 (mkinstalldirs): Remove.
43583 (.PHONY): Remove installdirs from list.
43584 ($(inst_infodir)/libc.info): Use make-target-directory.
43585 (installdirs): Remove.
43586 (subdir_%): Remove.
43587 (glibc-targets): Remove.
43590 ($(objpfx)stubs ../po/manual.pot): Remove.
43591 ($(objpfx)stamp%): Remove.
43592 (make-target-directory): Remove.
43593 (subdir_install): Remove.
43594 (routines): Remove.
43601 * manual/.gitignore: Remove, it's not needed anymore.
43602 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43604 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43606 (texis): Renamed to $(objpfx)texis.
43607 (texis-path): New, contains path to generated files.
43608 (chapters.%): Use texis-path for complete path, add extra argument
43610 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43611 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43612 (summary,texi, stamp-summary): Use complete path of
43613 files. Generate files in build dir.
43614 (dir-add.texi): Build in build dir.
43615 (libm-err.texi,stamp-libm-err): Likewise.
43616 (version.texi, stamp-version): Likewise.
43617 (.%c.texi): Likewise.
43618 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43619 (mostlyclean): Remove target.
43620 (realclean): Remove target.
43621 (generated): Add new variable with contents from mostlyclean and
43622 realclean, remove entries duplicated in common-mostlyclean, add
43623 stamp-libm-err and stamp-version.
43624 (generated-dirs): Add libc directory.
43625 ($(inst_infodir)/libc.info): Install files from build dir.
43627 * manual/install.texi (Configuring and compiling): Adjust since
43628 the info files are not part of the tar ball anymore.
43630 2012-05-14 Andreas Jaeger <aj@suse.de>
43632 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43635 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43638 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43639 to 2.2.0 where earlier.
43640 * sysdeps/unix/sysv/linux/configure: Regenerated.
43641 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43642 Remove conditional code.
43643 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43644 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43645 Remove conditional code.
43646 [!__NR_lchown]: Likewise.
43647 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43648 [__NR_lchown]: Likewise.
43649 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43650 comment referencing __ASSUME_LCHOWN_SYSCALL.
43651 * sysdeps/unix/sysv/linux/i386/sigaction.c
43652 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43653 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43654 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43655 Remove conditional code.
43656 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43657 (__protocol_available): Remove #if 0 code.
43658 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43660 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43661 * sysdeps/unix/sysv/linux/kernel-features.h
43662 (__ASSUME_GETCWD_SYSCALL): Don't define.
43663 (__ASSUME_REALTIME_SIGNALS): Likewise.
43664 (__ASSUME_PREAD_SYSCALL): Likewise.
43665 (__ASSUME_PWRITE_SYSCALL): Likewise.
43666 (__ASSUME_POLL_SYSCALL): Likewise.
43667 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43668 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43670 (__ASSUME_SIOCGIFNAME): Don't define.
43671 (__ASSUME_MSG_NOSIGNAL): Likewise.
43672 (__ASSUME_SENDFILE): Define unconditionally.
43673 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43674 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43676 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43677 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43678 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43679 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43680 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43681 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43682 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43684 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43687 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43688 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43690 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43691 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43693 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43694 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43696 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43697 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43699 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43700 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43702 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43703 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43705 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43706 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43707 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43708 Remove conditional code.
43709 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43710 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43711 Remove conditional code.
43712 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43713 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43714 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43715 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43716 Remove conditional code.
43717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43718 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43719 Remove conditional code.
43720 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43721 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43722 Remove conditional code.
43723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43724 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43725 Remove conditional code.
43726 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43727 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43728 Remove conditional code.
43729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43730 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43731 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43732 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43733 * sysdeps/unix/sysv/linux/sigaction.c
43734 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43735 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43736 * sysdeps/unix/sysv/linux/sigpending.c
43737 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43738 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43739 * sysdeps/unix/sysv/linux/sigprocmask.c
43740 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43741 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43742 * sysdeps/unix/sysv/linux/sigsuspend.c
43743 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43744 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43745 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43746 (__libc_missing_rt_sigs): Remove.
43747 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43748 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43749 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43750 Remove conditional code.
43751 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43752 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43754 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43755 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43756 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43757 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43759 2012-05-14 Andreas Jaeger <aj@suse.de>
43761 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43762 it's not used in glibc.
43763 (__coshm1): Likewise.
43764 (__acosh1p): Likewise.
43767 * manual/string.texi (Copying and Concatenation): Add missing
43768 variable in concat example.
43769 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43771 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43774 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43775 __builtin_clzl with __builtin_clzll.
43777 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43780 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43783 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43785 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43786 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43787 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43788 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43790 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43792 * NEWS: Update ia64 info.
43794 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43796 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43799 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43801 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43802 * sysdeps/unix/syscalls.list (dup3): Likewise.
43803 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43804 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43806 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43808 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43809 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43811 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43813 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43815 (TLS_IE): Use mov/add instead of movq/addq to load thread
43817 (TLS_GD_PREFIX): New.
43820 2012-05-11 David S. Miller <davem@davemloft.net>
43822 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43823 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43824 (_FPU_SETCW): Likewise.
43826 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43828 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43829 is 32-byte aligned.
43831 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43834 * iconvdata/gb18030.c: Update tables.
43835 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43836 characters specially.
43837 (BODY for TO_LOOP): Add encoding of missing ranges.
43839 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43842 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43843 * sysdeps/mach/hurd/dup3.c: Likewise.
43844 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43845 * sysdeps/powerpc/memmove.c:: Likewise.
43847 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43849 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43850 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43852 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43854 * elf/elf.h (R_X86_64_RELATIVE64): New.
43855 (R_X86_64_NUM): Updated.
43856 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43857 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43858 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43859 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43860 tst-quad1pie tst-quad2pie
43861 (modules-names): Add tst-quadmod1 tst-quadmod2.
43862 ($(objpfx)tst-quad1): New dependency.
43863 ($(objpfx)tst-quad2): Likewise.
43864 ($(objpfx)tst-quad1pie): Likewise.
43865 ($(objpfx)tst-quad2pie): Likewise.
43866 * sysdeps/x86_64/tst-quad1.c: New file.
43867 * sysdeps/x86_64/tst-quad1pie.c: New file.
43868 * sysdeps/x86_64/tst-quad2.c: Likewise.
43869 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43870 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43871 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43872 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43873 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43875 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43877 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43878 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43879 * streams/stropts.h (t_scalar_t): Define type.
43881 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43882 (_PATH_PRESERVE): Set to "/var/lib".
43883 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43885 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43888 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43889 if __dir_mkfile succeeded.
43891 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43892 checking for _hurd_dtablesize. Unlock it right after having
43893 finished _hurd_dtable allocation.
43895 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43897 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43898 * sysdeps/mach/hurd/configure: Regenerated.
43899 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43900 special-casing to...
43901 * sysdeps/gnu/configure.in: ... this new file.
43902 * sysdeps/unix/sysv/linux/configure: Regenerated.
43903 * sysdeps/gnu/configure: New generated file.
43905 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43906 for Linux: use nsec instead of usec, as well as:
43907 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43908 members of type struct timespec.
43909 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43911 (struct stat64): Likewise.
43912 (_STATBUF_ST_NSEC): New macro.
43913 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43915 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43916 __strtoul_internal rather than strtoul.
43918 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43920 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43923 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43925 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43926 which preserves existing values.
43927 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43929 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43931 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43932 TIMEOUT values. Return EINVAL for NFDS values either negative or
43933 greater than FD_SETSIZE.
43935 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43937 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43938 allocated, call __vm_protect to finish enabling the existing space, and
43939 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43940 allocate the remainder.
43942 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43944 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43945 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
43947 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43949 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43950 sysdeps/mach/hurd/readlink.c.
43952 * posix/tst-sysconf.c (posix_options): Only use
43953 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43954 _POSIX_SYNCHRONIZED_IO when they are defined
43955 * sysdeps/mach/hurd/bits/posix_opt.h:
43956 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43957 (_XOPEN_REALTIME): Undefine macro.
43958 (_XOPEN_REALTIME_THREADS): Undefine macro.
43959 (_XOPEN_SHM): Undefine macro.
43960 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43962 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43964 (_POSIX_ASYNC_IO): Undefine macro.
43965 (_POSIX_PRIORITIZED_IO): Undefine macro.
43966 (_POSIX_SPIN_LOCKS): Define macro to -1.
43968 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43969 SA_NODEFER, SA_RESETHAND.
43970 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43971 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43974 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43976 * elf/Makefile (pldd-modules): Define unconditionally.
43978 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43980 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43982 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43984 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43985 Return ENOENT when name is empty.
43986 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43988 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43990 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43992 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43994 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43996 Fix mlock in all cases except non-readable pages.
43997 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43998 instead of VM_PROT_ALL as parameter to __vm_wire function.
44000 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44001 (__mkdir): When path is `/', just fail with EEXIST.
44002 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44004 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44006 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44007 <sys/uio.h> (for writev).
44008 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44009 and <sys/param.h> (for MIN).
44011 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44013 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44014 REQUESTED_TIME. Properly set the remaining time and return EINTR
44017 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44019 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44020 Depend on against $(link-rpcuserlibs).
44022 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44024 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44025 (__libc_stack_end): Do not use attribute_relro.
44026 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44027 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44028 to libthread-provided value.
44029 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44032 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44035 * bits/libc-lock.h (__libc_once_get): New macro.
44036 * sysdeps/mach/bits/libc-lock.h: Likewise.
44037 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44038 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44039 instead of using implementation details.
44041 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44042 * libio/freopen.c: Likewise.
44043 * libio/freopen64.c: Likewise.
44044 * misc/syslog.c: Likewise.
44045 * nscd/connections.c: Likewise.
44046 * nscd/netgroupcache.c: Likewise.
44047 * sysdeps/posix/getcwd.c: Likewise.
44049 2012-05-10 Roland McGrath <roland@hack.frob.com>
44051 * math/w_ilogbf.c: Add #include <limits.h>.
44053 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44055 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44056 path instead of returning without unlocking.
44058 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44059 immediate-write ioctls.
44060 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44062 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44064 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44065 __builtin_frame_address instead of making assumptions about the
44066 location of the return address relative to DATA. Force early load of
44067 the return address.
44068 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44069 __builtin_frame_address.
44072 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44073 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44074 implement dup3 and do some further code clean-ups.
44075 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44076 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44078 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44080 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44082 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44083 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44084 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44085 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44086 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44089 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44090 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44091 when handler == SIG_ERR, not when handler != SIG_ERR.
44093 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44095 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44096 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44099 accept4 for GNU Hurd.
44100 * include/sys/socket.h (__libc_accept4): New prototype.
44101 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44102 to implement __libc_accept4.
44103 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44105 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44107 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44108 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44109 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44110 signal-defines.sym.
44112 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44114 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44116 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44118 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44119 assertion on O_CLOEXEC flag.
44120 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44121 * hurd/intern-fd.c: Likewise.
44122 * hurd/port2fd.c: Likewise.
44124 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44127 * bits/in.h (IPV6_PKTINFO): Define new macro.
44128 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44130 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44135 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44137 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44138 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44139 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44140 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44141 * math/libm-test.inc (logb_test) : Additional logb tests.
44143 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44144 Andreas Jaeger <aj@suse.de>
44146 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44147 * configure: Regenerated.
44148 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44149 * config.make.in (link-obsolete-rpc): New substituted variable.
44150 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44151 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44152 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44153 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44154 so that libc.a contains the symbols.
44155 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44156 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44157 * sunrpc/auth_none.c: Likewise.
44158 * sunrpc/auth_unix.c: Likewise.
44159 * sunrpc/authdes_prot.c: Likewise.
44160 * sunrpc/authuxprot.c: Likewise.
44161 * sunrpc/clnt_gen.c: Likewise.
44162 * sunrpc/clnt_perr.c: Likewise.
44163 * sunrpc/clnt_raw.c: Likewise.
44164 * sunrpc/clnt_simp.c: Likewise.
44165 * sunrpc/clnt_tcp.c: Likewise.
44166 * sunrpc/clnt_udp.c: Likewise.
44167 * sunrpc/clnt_unix.c: Likewise.
44168 * sunrpc/des_crypt.c: Likewise.
44169 * sunrpc/des_soft.c: Likewise.
44170 * sunrpc/get_myaddr.c: Likewise.
44171 * sunrpc/key_call.c: Likewise.
44172 * sunrpc/key_prot.c: Likewise.
44173 * sunrpc/netname.c: Likewise.
44174 * sunrpc/pm_getmaps.c: Likewise.
44175 * sunrpc/pm_getport.c: Likewise.
44176 * sunrpc/pmap_clnt.c: Likewise.
44177 * sunrpc/pmap_prot.c: Likewise.
44178 * sunrpc/pmap_prot2.c: Likewise.
44179 * sunrpc/pmap_rmt.c: Likewise.
44180 * sunrpc/publickey.c: Likewise.
44181 * sunrpc/rpc_cmsg.c: Likewise.
44182 * sunrpc/rpc_common.c: Likewise.
44183 * sunrpc/rpc_dtable.c: Likewise.
44184 * sunrpc/rpc_prot.c: Likewise.
44185 * sunrpc/rpc_thread.c: Likewise.
44186 * sunrpc/rtime.c: Likewise.
44187 * sunrpc/svc.c: Likewise.
44188 * sunrpc/svc_auth.c: Likewise.
44189 * sunrpc/svc_raw.c: Likewise.
44190 * sunrpc/svc_run.c: Likewise.
44191 * sunrpc/svc_tcp.c: Likewise.
44192 * sunrpc/svc_udp.c: Likewise.
44193 * sunrpc/svc_unix.c: Likewise.
44194 * sunrpc/svcauth_des.c: Likewise.
44195 * sunrpc/xcrypt.c: Likewise.
44196 * sunrpc/xdr.c: Likewise.
44197 * sunrpc/xdr_array.c: Likewise.
44198 * sunrpc/xdr_float.c: Likewise.
44199 * sunrpc/xdr_intXX_t.c: Likewise.
44200 * sunrpc/xdr_mem.c: Likewise.
44201 * sunrpc/xdr_rec.c: Likewise.
44202 * sunrpc/xdr_ref.c: Likewise.
44203 * sunrpc/xdr_sizeof.c: Likewise.
44204 * sunrpc/xdr_stdio.c: Likewise.
44206 2012-05-10 Roland McGrath <roland@hack.frob.com>
44208 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44209 change. Update copyright years.
44211 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44213 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44215 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44216 Joseph Myers <joseph@codesourcery.com>
44217 Paul Pluzhnikov <ppluzhnikov@google.com>
44220 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44222 [cross-compiling] (extra-libs): Likewise.
44223 [cross-compiling] (extra-libs-others): Likewise.
44224 [cross-compiling] (librpcsvc-routines): Likewise.
44225 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44226 [cross-compiling] (omit-deps): Likewise.
44227 (sunrpc-CPPFLAGS): New variable.
44228 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44229 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44230 (cross-rpcgen-objs): New variable.
44231 (extra-objs): Append $(cross-rpcgen-objs).
44232 ($(cross-rpcgen-objs)): New rule.
44233 ($(objpfx)cross-rpcgen): Likewise.
44234 (rpcgen-cmd): Define to use $(built-program-file). Expand
44236 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44237 ($(objpfx)x%.stmp): Likewise.
44238 * sunrpc/proto.h [IS_IN_build] (_): Define.
44239 [IS_IN_build] (_libc_intl_domainname): Likewise.
44241 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44243 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44244 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44245 and R_X86_64_TPOFF64.
44247 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44249 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44250 sysdeps/unix/sysv/syscalls.list.
44253 * sysdeps/unix/sysv/syscalls.list: Remove file.
44255 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44258 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44259 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44260 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44261 (__LC_IDENTIFICATION): Make these macros useful in #if
44262 expressions, as required by C99.
44264 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44266 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44267 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44270 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44272 * stdlib/longlong.h: Updated from GCC.
44274 2012-05-09 Andreas Jaeger <aj@suse.de>
44276 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44277 default is first entry.
44278 (run_mode): Set type.
44279 (main): Remove informal message about syslog.
44280 (options): Fix typo.
44283 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44286 (llrintf): Likewise.
44287 (llrint): Likewise.
44290 (nearbyint): Likewise.
44291 (nearbyintf): Likewise.
44293 2012-05-09 Andreas Jaeger <aj@suse.de>
44294 Pedro Alves <palves@redhat.com>
44296 * nscd/nscd.c (run_mode): Use enum.
44297 (main): Cleanup coding style issue.
44299 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44300 Andreas Jaeger <aj@suse.de>
44302 * nscd/nscd.c (go_background): Replaced with...
44303 (run_mode): ... this.
44304 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44305 (options): Add -F --foreground.
44306 (main): Implement it.
44307 (parse_opt): Parse it.
44309 2012-05-09 Andreas Jaeger <aj@suse.de>
44312 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44313 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44314 -Wconversion warning.
44315 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44318 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44320 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44322 (LC_ALL): Use macro-int-constant.
44323 (LC_COLLATE): Likewise.
44324 (LC_CTYPE): Likewise.
44325 (LC_MESSAGES): Likewise.
44326 (LC_MONETARY): Likewise.
44327 (LC_NUMERIC): Likewise.
44328 (LC_TIME): Likewise.
44329 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44330 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44331 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44332 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44334 [C99-based standards] (float_t): Expect type.
44335 [C99-based standards] (double_t): Expect type.
44336 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44338 [C99-based standards] (HUGE_VALL): Likewise.
44339 [C99-based standards] (INFINITY): Likewise.
44340 [C99-based standards] (NAN): Likewise.
44341 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44342 [C99-based standards] (FP_NAN): Likewise.
44343 [C99-based standards] (FP_NORMAL): Likewise.
44344 [C99-based standards] (FP_SUBNORMAL): Likewise.
44345 [C99-based standards] (FP_ZERO): Likewise.
44346 [C99-based standards] (FP_FAST_FMA): Use
44347 optional-macro-int-constant. Specify type. Require == 1.
44348 [C99-based standards] (FP_FAST_FMAF): Likewise.
44349 [C99-based standards] (FP_FAST_FMAL): Likewise.
44350 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44351 [C99-based standards] (FP_ILOGBNAN): Likewise.
44352 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44354 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44355 [C99-based standards] (math_errhandling): Specify type.
44356 [ISO99 || ISO11] (signgam): Do not allow.
44357 [non-C99-based standards] (copysignf): Do not allow.
44358 [non-C99-based standards] (exp2f): Likewise.
44359 [non-C99-based standards] (log2f): Likewise.
44360 [non-C99-based standards] (modff): Allow.
44361 [non-C99-based standards] (erff): Do not allow.
44362 [non-C99-based standards] (erfcf): Likewise.
44363 [non-C99-based standards] (gammaf): Likewise.
44364 [non-C99-based standards] (hypotf): Likewise.
44365 [non-C99-based standards] (j0f): Likewise.
44366 [non-C99-based standards] (j1f): Likewise.
44367 [non-C99-based standards] (jnf): Likewise.
44368 [non-C99-based standards] (lgammaf): Likewise.
44369 [non-C99-based standards] (tgammaf): Likewise.
44370 [non-C99-based standards] (y0f): Likewise.
44371 [non-C99-based standards] (y1f): Likewise.
44372 [non-C99-based standards] (ynf): Likewise.
44373 [non-C99-based standards] (isnanf): Likewise.
44374 [non-C99-based standards] (acoshf): Likewise.
44375 [non-C99-based standards] (asinhf): Likewise.
44376 [non-C99-based standards] (atanhf): Likewise.
44377 [non-C99-based standards] (cbrtf): Likewise.
44378 [non-C99-based standards] (expm1f): Likewise.
44379 [non-C99-based standards] (ilogbf): Likewise.
44380 [non-C99-based standards] (log1pf): Likewise.
44381 [non-C99-based standards] (logbf): Likewise.
44382 [non-C99-based standards] (nextafterf): Likewise.
44383 [non-C99-based standards] (remainderf): Likewise.
44384 [non-C99-based standards] (rintf): Likewise.
44385 [non-C99-based standards] (scalbf): Likewise.
44386 [non-C99-based standards] (copysignl): Likewise.
44387 [non-C99-based standards] (exp2l): Likewise.
44388 [non-C99-based standards] (log2l): Likewise.
44389 [non-C99-based standards] (modfl): Allow.
44390 [non-C99-based standards] (erfl): Do not allow.
44391 [non-C99-based standards] (erfcl): Likewise.
44392 [non-C99-based standards] (gammal): Likewise.
44393 [non-C99-based standards] (hypotl): Likewise.
44394 [non-C99-based standards] (j0l): Likewise.
44395 [non-C99-based standards] (j1l): Likewise.
44396 [non-C99-based standards] (jnl): Likewise.
44397 [non-C99-based standards] (lgammal): Likewise.
44398 [non-C99-based standards] (tgammal): Likewise.
44399 [non-C99-based standards] (y0l): Likewise.
44400 [non-C99-based standards] (y1l): Likewise.
44401 [non-C99-based standards] (ynl): Likewise.
44402 [non-C99-based standards] (isnanl): Likewise.
44403 [non-C99-based standards] (acoshl): Likewise.
44404 [non-C99-based standards] (asinhl): Likewise.
44405 [non-C99-based standards] (atanhl): Likewise.
44406 [non-C99-based standards] (cbrtl): Likewise.
44407 [non-C99-based standards] (expm1l): Likewise.
44408 [non-C99-based standards] (ilogbl): Likewise.
44409 [non-C99-based standards] (log1pl): Likewise.
44410 [non-C99-based standards] (logbl): Likewise.
44411 [non-C99-based standards] (nextafterl): Likewise.
44412 [non-C99-based standards] (remainderl): Likewise.
44413 [non-C99-based standards] (rintl): Likewise.
44414 [non-C99-based standards] (scalbl): Likewise.
44415 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44416 [non-C99-based standards] (FP_*): Do not allow.
44417 [C99-based standards] (FP_*): Change to
44418 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44419 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44421 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44422 (SIG_ERR): Likewise.
44423 [X/Open-based standards] (SIG_HOLD): Likewise.
44424 (SIG_IGN): Likewise.
44425 (SIGABRT): Use macro-int-constant. Specify type. Require
44427 (SIGFPE): Likewise.
44428 (SIGILL): Likewise.
44429 (SIGINT): Likewise.
44430 (SIGSEGV): Likewise.
44431 (SIGTER): Likewise.
44432 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44433 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44434 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44435 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44436 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44437 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44438 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44439 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44440 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44441 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44442 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44443 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44444 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44445 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44446 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44447 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44448 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44449 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44450 [X/Open-based standards] (SIGTRAP): Likewise.
44451 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44452 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44453 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44454 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44455 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44458 2012-05-08 Ian Wienand <ianw@vmware.com>
44461 * time/tzset.c (__tzset_parse_tz): Update default rules for
44462 daylight time changes in the Energy Policy Act of 2005.
44464 2012-05-09 Andreas Jaeger <aj@suse.de>
44467 * elf/ldconfig.c (parse_conf): Change string to make clear that
44468 ldconfig only issued a warning if ld.so.conf does not exist.
44470 2012-05-08 David S. Miller <davem@davemloft.net>
44472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44473 movxtod instead of popping the value on the stack.
44475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44477 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44479 * config.h.in: Add HAVE_ARM_PCS_VFP.
44481 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44484 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44485 checking but the checks are disabled for any reason.
44487 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44489 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44490 and ELF64_R_TYPE with ELFW(R_TYPE).
44492 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44494 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44495 (ulimit): Likewise.
44497 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44498 (settimeofday): Likewise.
44500 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44502 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44503 a struct th_u2 inside the union, and move tu_block/tu_code into
44504 a new th_u3 union of tu_block/tu_code inside of that. Move
44505 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44506 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44507 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44508 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44509 (th_stuff): Change to th_u1.tu_stuff.
44511 (th_msg): Change to th_u1.th_u2.tu_data.
44513 2012-05-07 David S. Miller <davem@davemloft.net>
44515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44518 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44519 (SETUP_PIC_REG): Use it.
44520 (SETUP_PIC_REG_LEAF): Use it.
44522 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44526 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44528 (EXPL_FINITE): Likewise.
44529 (FLDLOG): Likewise.
44530 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44531 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44533 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44535 (EXPL_FINITE): Likewise.
44536 (FLDLOG): Likewise.
44537 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44538 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44540 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44541 test of -max_value argument for long double.
44542 * sysdeps/i386/fpu/libm-test-ulps: Update.
44543 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44545 2012-05-06 David S. Miller <davem@davemloft.net>
44547 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44548 quad soft-float symbols whose references which are compiler
44550 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44552 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44556 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44558 (EXPL_FINITE): Likewise.
44559 (FLDLOG): Likewise.
44562 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44563 Adjust comments for base varying.
44564 (__expl_finite): Change alias to EXPL_FINITE.
44565 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44567 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44568 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44569 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44570 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44571 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44573 (EXPL_FINITE): Likewise.
44574 (FLDLOG): Likewise.
44577 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44578 Adjust comments for base varying.
44579 (__expl_finite): Change alias to EXPL_FINITE.
44580 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44585 * math/libm-test.inc (check_float_internal): Correct ulp
44586 calculation for subnormal expected results.
44588 2012-05-06 Andreas Jaeger <aj@suse.de>
44590 * Makeconfig (+math-flags): New, set to -frounding-math.
44591 (+cflags): Add +math-flags so that all of glibc gets compiled with
44594 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44596 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44598 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44604 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44605 (__ieee754_expl): Allow for and saturate large arguments.
44606 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44607 (u_threshold): Likewise.
44608 (__exp): Call __ieee754_exp before checking for overflow and
44610 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44611 (u_threshold): Likewise.
44612 (__expf): Call __ieee754_expf before checking for overflow and
44614 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44615 (u_threshold): Likewise.
44616 (__expl): Call __ieee754_expl before checking for overflow and
44618 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44619 (__ieee754_expl): Allow for and saturate large arguments.
44620 * math/libm-test.inc (exp_test): Add another test. Do not allow
44621 missing overflow exception on overflow.
44622 (expm1_test): Do not allow missing overflow exception on overflow.
44624 * sysdeps/i386/fpu/e_expl.c: Move to ...
44625 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44626 rather than using inline asm.
44627 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44628 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44629 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44631 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44634 (signal): Likewise.
44638 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44640 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44641 sysdeps/unix/common/syscalls.list.
44642 (fchmod): Likewise.
44643 (fchown): Likewise.
44644 (ftruncate): Likewise.
44645 (getrusage): Likewise.
44646 (gettimeofday): Likewise.
44647 (setpgid): Likewise.
44648 (setregid): Likewise.
44649 (setreuid): Likewise.
44650 (sigaction): Likewise.
44651 (truncate): Likewise.
44652 (vhangup): Likewise.
44653 * sysdeps/unix/common/syscalls.list: Remove file.
44654 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44655 * sysdeps/unix/sysv/linux/Implies: Likewise.
44657 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44659 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44661 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44665 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44668 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44671 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44674 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44676 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44677 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44679 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44680 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44682 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44683 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44685 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44687 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44691 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44694 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44698 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44702 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44704 * sysdeps/unix/common/bits/dirent.h: Remove file.
44705 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44707 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44708 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44709 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44710 * sysdeps/unix/bsd/isatty.c: Likewise.
44711 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44712 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44713 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44715 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44718 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44719 long double comparison inaccuracies.
44720 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44723 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44725 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44728 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44731 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44732 nonzero digits before rounding a hex value.
44733 * stdlib/tst-strtod.c (tests): Add another test.
44735 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44737 * sysdeps/s390/fpu/libm-test-ulps: Update.
44739 2012-05-03 Andreas Jaeger <aj@suse.de>
44741 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44742 does not get optimized out.
44743 (malloc_opt_barrier): New.
44745 2012-05-03 Andreas Jaeger <aj@suse.de>
44746 Roland McGrath <roland@hack.frob.com>
44748 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44749 intermediate file deletion.
44750 (generated): Add .symlist files.
44752 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44755 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44756 Redirect under this condition.
44757 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44758 [__USE_GNU] (__dprintf_chk): Not under this condition.
44759 [__USE_GNU] (__vdprintf_chk): Likewise.
44760 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44761 under this condition.
44762 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44763 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44764 [__USE_XOPEN2K8] (vdprintf): Likewise.
44765 [__USE_GNU] (__dprintf_chk): Not under this condition.
44766 [__USE_GNU] (__vdprintf_chk): Likewise.
44767 [__USE_GNU] (dprintf): Likewise.
44768 [__USE_GNU] (vdprintf): Likewise.
44770 2012-05-03 Roland McGrath <roland@hack.frob.com>
44772 * elf/Makefile (common-generated): Set this instead of generated for
44773 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44774 $(all-built-dso)-derived lists.
44776 2012-05-03 Andreas Jaeger <aj@suse.de>
44778 * sysdeps/i386/fpu/libm-test-ulps: Update.
44781 * FAQ.in: Likewise.
44782 * scripts/gen-FAQ.pl: Likewise.
44783 * manual/install.texi (Installation): Point to online location of
44785 * Makefile (files-for-dist): Remove FAQ.
44788 2012-05-02 Allan McRae <allan@archlinux.org>
44790 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44791 (LDFLAGS-reldepmod5.so): Likewise.
44792 (LDFLAGS-reldep6mod1.so): Likewise.
44793 (LDFLAGS-reldep6mod4.so): Likewise.
44794 (LDFLAGS-reldep8mod3.so): Likewise.
44795 (LDFLAGS-unload4mod1.so): Likewise.
44796 (LDFLAGS-unload4mod2.so): Likewise.
44797 (LDFLAGS-tst-initorder): Likewise.
44798 (LDFLAGS-tst-initordera2.so): Likewise.
44799 (LDFLAGS-tst-initordera3.so): Likewise.
44800 (LDFLAGS-tst-initordera4.so): Likewise.
44801 (LDFLAGS-tst-initorderb2.so): Likewise.
44802 (LDFLAGS-noload): Likewise.
44803 (LDFLAGS-next): Likewise.
44804 (LDFLAGS-order2mod1.so): Likewise.
44805 (LDFLAGS-order2mod2.so): Likewise.
44806 (LDFLAGS-tst-initorder2): Likewise.
44807 (LDFLAGS-tst-initorder2a.so): Likewise.
44808 (LDFLAGS-tst-initorder2b.so): Likewise.
44809 (LDFLAGS-tst-initorder2c.so): Likewise.
44810 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44812 2012-05-02 David S. Miller <davem@davemloft.net>
44814 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44816 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44819 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44821 2012-05-02 Andreas Jaeger <aj@suse.de>
44823 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44824 since we manipulate rounding mode.
44825 (CPPFLAGS-test-idouble.c): Likewise.
44826 (CPPFLAGS-test-ifloat.c): Likewise.
44827 (CFLAGS-test-ldouble.c): Likewise.
44828 (CFLAGS-test-double.c): Likewise.
44829 (CFLAGS-test-float.c): Likewise.
44830 (CFLAGS-test-misc.c): Likewise.
44831 (CFLAGS-test-test-fenv.c): Likewise.
44833 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44837 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44838 comparisons to determine direction to adjust input.
44840 2012-05-01 Roland McGrath <roland@hack.frob.com>
44842 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44843 output to the target.
44845 * scripts/localplt.awk: New file.
44846 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44847 (check-localplt-CFLAGS): Variable removed.
44848 ($(all-built-dso:=.jmprel)): New static pattern rule.
44849 (generated): Add those targets.
44850 (localplt-built-dso): New variable.
44851 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44853 * elf/check-localplt.c: File removed.
44855 * scripts/check-execstack.awk: New file.
44856 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44857 (check-execstack-CFLAGS): Variable removed.
44858 ($(objpfx)check-execstack.h): Target removed.
44859 ($(objpfx)execstack-default): New target.
44860 (generated): Add that instead of check-execstack.h.
44861 ($(all-built-dso:=.phdr)): New static pattern rule.
44862 (generated): Add those targets.
44863 * elf/check-execstack.c: File removed.
44865 * scripts/check-textrel.awk: New file.
44866 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44867 (check-textrel-CFLAGS): Variable removed.
44868 (all-built-dso): Use := to define.o
44869 ($(all-built-dso:=.dyn)): New static pattern rule.
44870 (generated): Add those targets.
44871 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44872 * config.make.in (READELF): New substituted variable.
44873 * elf/check-textrel.c: File removed.
44875 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44877 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44879 * conform/data/ctype.h-data [C99-based standards] (isblank):
44881 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44882 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44883 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44884 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44885 Specify type. Require positive value.
44886 (EILSEQ): Likewise.
44887 (ERANGE): Likewise.
44888 [ISO || POSIX] (EILSEQ): Do not expect.
44889 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44890 Specify type. Require positive value.
44891 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44892 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44893 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44894 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44895 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44896 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44897 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44898 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44899 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44900 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44901 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44902 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44903 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44904 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44905 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44906 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44907 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44908 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44909 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44910 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44911 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44912 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44913 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44914 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44915 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44916 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44917 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44918 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44919 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44920 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44921 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44922 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44923 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44924 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44925 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44926 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44927 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44928 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44929 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44930 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44931 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44932 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44933 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44934 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44935 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44936 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44937 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44938 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44939 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44940 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44941 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44942 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44943 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44944 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44945 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44946 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44947 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44948 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44949 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44950 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44951 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44952 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44953 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44954 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44955 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44956 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44957 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44958 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44959 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44960 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44961 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44962 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44963 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44964 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44965 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44966 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44967 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44969 (FLT_ROUNDS): Expect as macro, not constant.
44970 (FLT_MANT_DIG): Use macro-int-constant.
44971 (DBL_MANT_DIG): Likewise.
44972 (LDBL_MANT_DIG): Likewise.
44973 (FLT_DIG): Likewise.
44974 (DBL_DIG): Likewise.
44975 (LDBL_DIG): Likewise.
44976 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
44977 (DBL_MIN_EXP): Likewise.
44978 (LDBL_MIN_EXP): Likewise.
44979 (FLT_MAX_EXP): Use macro-int-constant.
44980 (DBL_MAX_EXP): Likewise.
44981 (LDBL_MAX_EXP): Likewise.
44982 (FLT_MAX_10_EXP): Likewise.
44983 (DBL_MAX_10_EXP): Likewise.
44984 (LDBL_MAX_10_EXP): Likewise.
44985 (FLT_MAX): Use macro-constant.
44986 (DBL_MAX): Likewise.
44987 (LDBL_MAX): Likewise.
44988 (FLT_EPSILON): Use macro-constant. Give upper bound.
44989 (DBL_EPSILON): Likewise.
44990 (LDBL_EPSILON): Likewise.
44991 (FLT_MIN): Likewise.
44992 (DBL_MIN): Likewise.
44993 (LDBL_MIN): Likewise.
44994 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44995 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44996 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44997 [ISO11] (FLT_HAS_SUBNORM): Likewise.
44998 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44999 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45000 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45001 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45002 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45003 [ISO11] (FLT_TRUE_MIN): Likewise.
45004 [ISO11] (LDBL_TRUE_MIN): Likewise.
45005 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45006 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45007 (SCHAR_MIN): Use macro-int-constant. Specify type.
45008 (SCHAR_MAX): Likewise.
45009 (UCHAR_MAX): Likewise.
45010 (CHAR_MIN): Likewise.
45011 (CHAR_MAX): Likewise.
45012 (MB_LEN_MAX): Use macro-int-constant.
45013 (SHRT_MIN): Use macro-int-constant. Specify type.
45014 (SHRT_MAX): Likewise.
45015 (USHRT_MAX): Likewise.
45016 (INT_MAX): Likewise.
45017 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45019 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45021 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45023 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45024 bound negative. Suffix upper bound with "L".
45025 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45027 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45029 [C99-based standards] (LLONG_MAX): Likewise.
45030 [C99-based standards] (ULLONG_MAX): Likewise.
45031 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45033 [ISO11] (max_align_t): Require type.
45034 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45036 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45037 from $CFLAGS, without defining away __attribute__ calls.
45038 (checknamespace): Use $CFLAGS_namespace.
45040 * conform/conformtest.pl (@keywords): Only include C99 keywords
45041 for standards based on C99 or C11.
45043 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45045 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45048 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45049 usability of symbols in #if.
45051 * conform/conformtest.pl: If macro or constant types start
45052 "promoted:", expect the symbol to be of the following type
45053 promoted by the integer promotions.
45055 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45056 in one place. Also handle "macro-constant".
45058 * conform/conformtest.pl: Only accept expected macro values with
45059 "==". Parse all "macro" lines in one place.
45060 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45062 * conform/conformtest.pl: Handle braced types on "constant" lines
45063 instead of handling "typed-constant".
45064 * conform/data/signal.h-data: Use "constant" instead of
45067 * conform/conformtest.pl: Handle "optional-" at start of lines in
45068 one place rather than duplicating several cases. Handle each
45069 format of "macro" line with initial "optional-".
45071 * conform/conformtest.pl: Only accept expected constant or
45072 optional-constant values with "==". Parse all "constant" lines in
45073 one place. Parse all "optional-constant" lines in one place.
45074 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45075 * conform/data/fmtmsg.h-data: Likewise.
45076 * conform/data/netinet/in.h-data: Likewise.
45077 * conform/data/tar.h-data: Likewise.
45078 * conform/data/limits.h-data: Use "==" form on "constant" and
45079 "optional-constant" lines.
45081 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45082 Use -std=c99 for XOPEN2K.
45083 (@knownproblems): Remove.
45084 (newtoken): Don't check %isknown.
45086 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45087 Do not expect macro.
45088 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45089 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45090 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45091 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45092 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45093 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45094 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45095 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45096 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45097 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45098 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45099 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45100 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45101 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45102 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45103 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45104 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45105 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45106 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45107 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45108 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45109 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45110 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45111 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45112 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45113 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45114 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45115 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45116 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45117 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45118 [XPG3] (acosh): Likewise.
45119 [XPG3] (asinh): Likewise.
45120 [XPG3] (atanh): Likewise.
45121 [XPG3] (cbrt): Likewise.
45122 [XPG3] (expm1): Likewise.
45123 [XPG3] (ilogb): Likewise.
45124 [XPG3] (log1p): Likewise.
45125 [XPG3] (logb): Likewise.
45126 [XPG3] (nextafter): Likewise.
45127 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45128 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45129 [XPG3] (remainder): Likewise.
45130 [XPG3] (rint): Likewise.
45131 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45132 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45133 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45134 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45135 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45136 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45137 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45138 [UNIX98 || XOPEN2K] (scalb): Expect.
45139 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45140 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45141 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45142 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45143 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45144 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45145 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45146 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45147 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45148 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45149 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45150 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45151 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45152 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45153 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45154 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45155 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45156 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45157 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45158 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45159 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45160 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45161 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45162 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45163 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45164 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45165 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45166 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45167 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45168 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45169 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45170 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45171 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45172 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45173 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45174 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45175 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45176 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45177 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45178 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45179 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45180 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45181 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45182 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45183 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45184 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45185 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45186 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45187 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45188 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45189 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45190 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45191 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45192 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45193 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45194 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45195 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45196 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45197 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45198 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45199 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45200 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45201 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45202 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45203 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45204 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45205 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45206 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45207 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45208 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45209 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45210 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45211 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45212 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45213 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45214 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45215 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45216 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45217 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45218 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45219 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45220 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45221 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45222 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45223 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45224 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45225 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45226 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45227 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45228 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45229 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45230 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45231 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45232 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45233 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45234 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45235 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45236 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45237 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45238 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45239 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45240 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45241 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45242 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45243 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45244 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45245 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45246 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45247 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45248 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45249 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45250 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45251 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45252 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45253 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45254 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45255 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45256 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45257 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45258 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45259 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45260 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45261 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45262 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45263 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45264 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45265 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45266 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45267 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45268 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45269 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45270 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45271 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45272 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45273 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45274 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45275 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45277 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45278 _XOPEN_SOURCE_EXTENDED for XPG4.
45280 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45282 * Makeconfig (localtime): Remove variable.
45283 (inst_localtime-file): Likewise.
45285 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45306 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45310 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45311 comparisons to determine direction to adjust input.
45312 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45313 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45314 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45316 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45318 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45320 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45321 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45323 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45325 * math/libm-test.inc (nexttoward_test): Add more tests.
45327 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45330 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45331 in version GLIBC_2.1, not GLIBC_2.0.
45332 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45335 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45338 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45340 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45341 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45342 * math/libm-test.inc (acos_test): Add more tests.
45343 (asin_test): Likewise.
45344 * sysdeps/i386/fpu/libm-test-ulps: Update.
45345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45348 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45350 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45351 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45352 * math/libm-test.inc (acos_test_tonearest): New function.
45353 (acos_test_towardzero): Likewise.
45354 (acos_test_downward): Likewise.
45355 (acos_test_upward): Likewise.
45356 (asin_test_tonearest): Likewise.
45357 (asin_test_towardzero): Likewise.
45358 (asin_test_downward): Likewise.
45359 (asin_test_upward): Likewise.
45360 (main): Call the new functions.
45361 * sysdeps/i386/fpu/libm-test-ulps: Update.
45362 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45366 * math/e_exp10.c: Include <float.h>.
45367 (__ieee754_exp10): Handle underflow here rather than multiplying
45368 large negative argument by M_LN10.
45369 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45371 * math/e_exp10l.c: Include <float.h>.
45372 (__ieee754_exp10l): Handle underflow here rather than multiplying
45373 large negative argument by M_LN10l.
45374 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45375 spurious overflow exception on underflow.
45377 2012-04-29 Marek Polacek <polacek@redhat.com>
45379 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45380 (__fortify_function): New macro.
45381 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45382 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45383 __extern_always_inline.
45384 * libio/bits/stdio2.h: Likewise.
45385 * libio/bits/stdio.h: Likewise.
45386 * string/string.h: Likewise.
45387 * string/bits/string3.h: Likewise.
45388 * include/stdio.h: Likewise.
45389 * stdlib/bits/stdlib.h: Likewise.
45390 * stdlib/stdlib.h: Likewise.
45391 * rt/bits/mqueue2.h: Likewise.
45392 * rt/mqueue.h: Likewise.
45393 * posix/bits/unistd.h: Likewise.
45394 * posix/unistd.h: Likewise.
45395 * io/bits/poll2.h: Likewise.
45396 * io/bits/fcntl2.h: Likewise.
45397 * io/fcntl.h: Likewise.
45398 * io/sys/poll.h: Likewise.
45399 * misc/bits/syslog.h: Likewise.
45400 * misc/bits/syslog-ldbl.h: Likewise.
45401 * misc/sys/syslog.h: Likewise.
45402 * socket/bits/socket2.h: Likewise.
45403 * socket/sys/socket.h: Likewise.
45404 * debug/tst-chk1.c: Likewise.
45405 * wcsmbs/bits/wchar2.h: Likewise.
45406 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45407 * wcsmbs/wchar.h: Likewise.
45409 2012-04-29 Andreas Jaeger <aj@suse.de>
45411 * Makerules (tests): Remove enable-check-abi protection.
45412 (check-abi-warn): Remove.
45413 (check-abi-%): Remove check-abi-warn usage.
45415 * configure.in: Remove check-abi configure option.
45416 * configure: Regenerated.
45417 * config.make.in (enable-check-abi): Remove.
45419 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45422 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45423 double functions to double *_finite functions.
45426 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45427 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45429 * stdio-common/Makefile (tests): Add tst-sprintf3.
45430 * stdio-common/tst-sprintf3.c: New file.
45432 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45433 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45435 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45437 * conform/conformtest.pl: Remove duplicate typed-constant
45440 2012-04-28 David S. Miller <davem@davemloft.net>
45442 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45443 (check-abi-%): Remove AWK script prerequisite and explicit
45445 (check-abi): Rewrite to just diff the symlist with the abilist.
45446 (config-tls, config-abi-config): Delete, no longer used.
45447 (update-abi-%): Remove AWK script and explicit abilist directory.
45448 (update-abi): Rewrite to simply compare and conditionally copy the
45449 symlist and the sysdep abilist file. Remove update-abi-config
45451 * abilist/ld.abilist: Remove.
45452 * abilist/libBrokenLocale.abilist: Remove.
45453 * abilist/libanl.abilist: Remove.
45454 * abilist/libcrypt.abilist: Remove.
45455 * abilist/libdl.abilist: Remove.
45456 * abilist/librt.abilist: Remove.
45457 * abilist/libthread_db.abilist: Remove.
45458 * abilist/libutil.abilist: Remove.
45459 * scripts/extract-abilist.awk: Remove.
45460 * scripts/merge-abilist.awk: Remove.
45461 * sysdeps/generic/libcidn.abilist: New file.
45462 * sysdeps/generic/libnss_compat.abilist: New file.
45463 * sysdeps/generic/libnss_db.abilist: New file.
45464 * sysdeps/generic/libnss_dns.abilist: New file.
45465 * sysdeps/generic/libnss_files.abilist: New file.
45466 * sysdeps/generic/libnss_hesiod.abilist: New file.
45467 * sysdeps/generic/libnss_nis.abilist: New file.
45468 * sysdeps/generic/libnss_nisplus.abilist: New file.
45469 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45470 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45471 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45473 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45474 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45475 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45476 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45477 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45478 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45479 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45480 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45481 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45483 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45484 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45485 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45486 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45488 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45489 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45490 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45491 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45492 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45493 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45495 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45496 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45497 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45499 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45552 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45555 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45580 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45602 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45603 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45604 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45607 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45608 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45609 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45610 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45611 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45612 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45613 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45614 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45615 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45616 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45644 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45667 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45669 * conform/conformtest.pl: Fix typo in handling typed-constant from
45672 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45674 * README: Cut down references to pre-2.6 Linux kernels and
45675 Linuxthreads. Update lists of configurations in libc and ports
45676 and sort alphabetically. Say "or newer" with Linux kernel version
45679 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45681 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45684 * math/libm-test.inc (logb_test_downward): New test to expose
45685 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45688 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45691 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45693 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45694 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45696 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45698 * sysdeps/unix/i386/brk.S: Remove file.
45699 * sysdeps/unix/i386/dl-brk.S: Likewise.
45700 * sysdeps/unix/i386/pipe.S: Likewise.
45701 * sysdeps/unix/i386/sigreturn.S: Likewise.
45702 * sysdeps/unix/i386/syscall.S: Likewise.
45703 * sysdeps/unix/i386/vfork.S: Likewise.
45704 * sysdeps/unix/i386/wait.S: Likewise.
45706 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45707 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45709 * configure.in (arm*-none*): Do not allow without
45710 --enable-hacker-mode.
45711 (netbsd*): Remove case setting base_os.
45712 (386bsd*): Likewise.
45713 (freebsd*): Likewise.
45716 (sunos*): Likewise.
45717 (ultrix*): Likewise.
45718 (newsos*): Likewise.
45719 (dynix*): Likewise.
45725 (minix*): Likewise.
45726 (irix4*): Likewise.
45727 (irix6*): Likewise.
45728 (solaris[2-9]*): Likewise.
45730 * configure: Regenerated.
45732 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45735 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45736 overflow or cancellation in calculating denominator.
45737 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45738 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45739 down expression to avoid unexpected rounding in newer GCCs.
45740 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45742 2012-04-26 David S. Miller <davem@davemloft.net>
45744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45745 long-double compat symbols.
45746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45760 2012-04-25 David S. Miller <davem@davemloft.net>
45762 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45763 HWCAP_* values only after the memory barriers have been defined.
45764 (atomic_full_barrier): Define.
45765 (atomic_read_barrier): Define.
45766 (atomic_write_barrier): Define.
45768 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45770 * shlib-versions: Add libgcc_s version information.
45771 * sysdeps/generic/libgcc_s.h: Remove.
45772 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45774 * sysdeps/gnu/unwind-resume.c: Likewise.
45775 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45777 2012-04-25 David S. Miller <davem@davemloft.net>
45779 * sysdeps/unix/sparc/brk.S: Delete.
45780 * sysdeps/unix/sparc/dl-brk.S: Delete.
45781 * sysdeps/unix/sparc/pipe.S: Delete.
45782 * sysdeps/unix/sparc/sysdep.S: Delete.
45783 * sysdeps/unix/sparc/sysdep.h: Delete.
45784 * sysdeps/unix/sparc/vfork.S: Delete.
45785 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45786 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45787 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45788 (ret_ERRVAL, r0, r1, MOVE): Define.
45789 (JUMPTARGET): Remove.
45790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45791 sysdeps/unix/sparc/sysdep.h
45792 (ENTRY, END): Remove.
45793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45795 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45797 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45798 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45801 * timezone/README: Update upstream location and email address for
45803 * timezone/zdump.c: Update from tzcode 2012b.
45804 * timezone/zic.c: Likewise.
45806 * configure.in (libc_cv_as_needed): Remove test.
45807 * configure: Regenerated.
45808 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45809 conditional definition.
45810 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45811 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45812 * config.make.in (have-as-needed): Remove variable.
45814 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45815 Paul Pluzhnikov <ppluzhnikov@google.com>
45817 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45820 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45822 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45823 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45824 * sysdeps/sh/strlen.S: Likewise.
45826 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45828 * sysdeps/unix/fork.S: Remove file.
45829 * sysdeps/unix/i386/fork.S: Likewise.
45830 * sysdeps/unix/sparc/fork.S: Likewise.
45832 * sysdeps/unix/system.c: Remove file.
45833 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45835 * sysdeps/unix/getegid.S: Remove file.
45836 * sysdeps/unix/geteuid.S: Likewise.
45838 2012-04-24 Roland McGrath <roland@hack.frob.com>
45840 * scripts/check-localplt.awk: New file.
45841 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45843 * scripts/data/localplt-generic.data: Add a comment.
45845 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45846 NODE when __dir_mkfile failed.
45847 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45848 Reported by Ludovic Courtès <ludo@gnu.org>.
45850 2012-04-24 Andreas Jaeger <aj@suse.de>
45852 * Makerules (common-clean): Also remove gen-as-const-headers
45855 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45857 * Makerules (native-compile): Do not change working directory for
45858 build. Use $(OUTPUT_OPTION) in command.
45859 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45861 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45864 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45865 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45866 * math/libm-test.inc (floor_test): Add more tests.
45867 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45869 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45871 * sysdeps/unix/getdents.c: Remove file.
45872 * sysdeps/unix/sysv/getdents.c: Likewise.
45873 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45875 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45876 sysdeps/unix/mman/syscalls.list.
45878 (mprotect): Likewise.
45880 (munmap): Likewise.
45881 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45882 * sysdeps/unix/mman/syscalls.list: Remove.
45883 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45885 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45886 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45887 * configure: Regenerated.
45888 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45889 $(libgcc_s_suffix).
45890 * config.make.in (libgcc_s_suffix): Remove variable.
45892 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45894 * sysdeps/unix/sysv/gethostname.c: Move to ...
45895 * sysdeps/posix/gethostname.c: ... here.
45897 * sysdeps/unix/execve.S: Remove file.
45899 * sysdeps/unix/_exit.S: Remove file.
45901 2012-04-23 Andreas Jaeger <aj@suse.de>
45904 * manual/Makefile: Remove make dist support, there's no
45905 need for a stand-alone documentation tar ball.
45906 (TEXI2DVI): Define always, it's not in Makeconfig.
45909 (edition): Removed.
45910 (glibc-doc-$(edition).tar): Removed
45914 (ETAGS): Remove, it's in Makeconfig.
45915 (move-if-change): Remove, it's in Makeconfig.
45917 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45920 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45921 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45922 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45923 (strtod_l, strtof_l, strtold_l): Remove __wur.
45924 It is not necessarily an error to ignore strtol's return value.
45925 One can reliably look at the stored endptr to decide whether
45926 the number had valid syntax.
45928 2012-04-21 Andreas Jaeger <aj@suse.de>
45931 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45933 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45935 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45936 * sysdeps/unix/sysv/Versions: Remove file.
45938 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
45941 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45943 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
45946 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45947 version from __vm86.
45949 2012-04-20 Joseph Myers <joseph@codesourcery.com>
45951 * sysdeps/unix/common/lxstat.c: Remove file.
45952 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45954 * sysdeps/unix/sysv/Makefile: Remove file.
45956 * sysdeps/unix/sysv/direct.h: Remove file.
45958 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45959 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45960 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45961 * sysdeps/unix/sysv/bits/signum.h: Likewise.
45962 * sysdeps/unix/sysv/bits/stat.h: Likewise.
45963 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45964 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45966 * sysdeps/unix/sysv/setrlimit.c: Remove file.
45968 * sysdeps/unix/xmknod.c: Remove file.
45969 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45971 * sysdeps/unix/sysv/settimeofday.c: Remove file.
45973 * sysdeps/unix/sysv/i386/time.S: Remove file.
45975 * sysdeps/unix/fxstat.c: Remove file.
45976 * sysdeps/unix/xstat.c: Likewise.
45977 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45979 * sysdeps/unix/sysv/sigaction.c: Remove file.
45981 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45982 (sysdep_headers): Remove variable.
45983 [termio.h not in sysdep_headers] (generated): Likewise.
45984 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45985 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45986 * sysdeps/unix/sysv/tcdrain.c: Likewise.
45987 * sysdeps/unix/sysv/tcflow.c: Likewise.
45988 * sysdeps/unix/sysv/tcflush.c: Likewise.
45989 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45990 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45991 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45992 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45993 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45995 * sysdeps/unix/siglist.c: Remove file.
45997 * sysdeps/unix/getppid.S: Remove file.
45999 * sysdeps/unix/mkdir.c: Remove file.
46000 * sysdeps/unix/rmdir.c: Likewise.
46002 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46004 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46006 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46007 errlist-compat value.
46009 2012-04-18 David S. Miller <davem@davemloft.net>
46011 * sysdeps/generic/memcopy.h (reg_char): Delete.
46012 * debug/strcat_chk.c: Use char, not reg_char.
46013 * debug/strcpy_chk.c: Likewise.
46014 * debug/strncat_chk.c: Likewise.
46015 * debug/strncpy_chk.c: Likewise.
46016 * string/memchr.c: Likewise.
46017 * string/memrchr.c: Likewise.
46018 * string/rawmemchr.c: Likewise.
46019 * string/strcat.c: Likewise.
46020 * string/strchr.c: Likewise.
46021 * string/strchrnul.c: Likewise.
46022 * string/strcmp.c: Likewise.
46023 * string/strcpy.c: Likewise.
46024 * string/strncat.c: Likewise.
46025 * string/strncmp.c: Likewise.
46026 * string/strncpy.c: Likewise.
46028 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46030 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46031 __builtin_memcopy is called when src and dest ranges are known to not
46034 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46036 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46037 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46038 fwd_align_merge macro call.
46039 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46040 bwd_align_merge macro call.
46041 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46043 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46045 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46046 bwd_align_merge macros.
46047 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46048 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46049 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46051 2012-04-18 David S. Miller <davem@davemloft.net>
46053 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46055 2012-04-18 Andreas Jaeger <aj@suse.de>
46058 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46059 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46060 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46062 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46063 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46064 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46066 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46067 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46068 Adjust for changed ldbl-128 files.
46070 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46071 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46072 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46074 2012-04-17 David S. Miller <davem@davemloft.net>
46076 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46078 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46080 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46081 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46082 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46083 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46084 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46085 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46087 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46090 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46091 * math/libm-test.inc: Add ilogb errno and exception tests.
46092 * math/w_ilogb.c: New file: ilogb wrapper.
46093 * math/w_ilogbf.c: New file: ilogbf wrapper.
46094 * math/w_ilogbl.c: New file: ilogbl wrapper.
46095 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46096 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46097 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46098 exception being thrown with 0.0 as argument.
46099 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46100 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46101 exception being thrown with 0.0 as argument.
46102 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46103 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46104 exception being thrown with 0.0 as argument.
46105 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46106 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46107 exception being thrown with 0.0 as argument.
46108 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46109 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46110 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46111 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46112 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46113 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46114 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46115 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46116 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46118 2012-04-17 Petr Baudis <pasky@ucw.cz>
46120 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46123 2012-04-16 Marek Polacek <polacek@redhat.com>
46125 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46127 2012-04-16 Marek Polacek <polacek@redhat.com>
46129 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46130 operands of fdivp instruction.
46132 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46134 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46135 * elf/tst-auditmod3b.c: Likewise.
46136 * elf/tst-auditmod4b.c: Likewise.
46137 * elf/tst-auditmod5b.c: Likewise.
46138 * elf/tst-auditmod6b.c: Likewise.
46139 * elf/tst-auditmod6c.c: Likewise.
46140 * elf/tst-auditmod7b.c: Likewise.
46141 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46142 * sysdeps/x86_64/preconfigure.in: Likewise.
46143 * sysdeps/x86_64/preconfigure: Regenerated.
46145 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46147 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46150 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46152 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46153 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46155 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46158 * locale/iso-639.def: Fix gl language name. Spotted by
46161 2012-04-12 Roland McGrath <roland@hack.frob.com>
46164 * libio/libio.h (__io_write_fn): Update comment.
46166 2012-04-12 Petr Baudis <pasky@ucw.cz>
46169 * stdio.texi (Hook Functions): The user provided writer function
46170 is not allowed to return -1.
46172 2012-04-11 David S. Miller <davem@davemloft.net>
46174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46176 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46178 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46179 Add a leading slash to rtkaio.
46181 2012-04-11 Jim Meyering <meyering@redhat.com>
46184 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46185 It is not necessarily an error to ignore fwrite's return
46186 value. One can reliably use ferror to test for errors after
46189 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46191 * bits/types.h (__snseconds_t): New type.
46192 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46194 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46195 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46196 (__SNSECONDS_T_TYPE): Likewise.
46197 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46198 (__SNSECONDS_T_TYPE): Likewise.
46199 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46200 (__SNSECONDS_T_TYPE): Likewise.
46202 2012-04-10 Andreas Jaeger <aj@suse.de>
46205 * manual/time.texi (Processor Time): Return type of times is
46206 elapsed real time since an arbitrary point in the past.
46207 (CPU Time): Move CLK_TCK from here...
46208 (Processor Time): ...to here. Correct description.
46209 * manual/conf.texi (Constants for Sysconf): Correct description of
46212 2012-04-10 David S. Miller <davem@davemloft.net>
46215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46216 where the is a gap between DT_REL(A) and DT_JMPREL.
46218 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46220 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46221 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46222 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46224 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46226 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46227 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46228 (dl_main): Handle --inhibit-cache.
46229 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46231 * elf/dl-load.c (_dl_map_object): Use it.
46232 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46234 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46237 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46238 (__ieee754_powl): Saturate large exponents rather than testing for
46239 overflow of y*log2(x).
46240 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46241 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46245 * math/s_ctan.c: Include <float.h>.
46246 (__ctan): Avoid internal overflow or cancellation in calculating
46248 * math/s_ctanf.c: Likewise.
46249 * math/s_ctanl.c: Likewise.
46250 * math/s_ctanh.c: Likewise.
46251 * math/s_ctanhf.c: Likewise.
46252 * math/s_ctanhl.c: Likewise.
46253 * math/libm-test.inc (ctan_test): Add more tests.
46254 (ctanh_test): Likewise.
46255 * sysdeps/i386/fpu/libm-test-ulps: Update.
46256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46258 2012-04-09 Andreas Jaeger <aj@suse.de>
46261 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46262 is an optional BSD extension.
46265 * manual/stdio.texi (Opening Streams): Document additional fopen
46268 2012-04-09 Roland McGrath <roland@hack.frob.com>
46270 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46271 %eax without telling the compiler.
46273 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46276 * manual/install.texi: Use sourceware.org.
46278 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46281 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46282 (__ieee754_pow): Generate overflow and underflow using huge*huge
46283 and tiny*tiny rather than just returning constant infinity or zero
46284 for large exponents.
46285 * math/libm-test.inc (pow_test): Require overflow exceptions for
46286 applicable cases of large exponents.
46289 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46290 (__ieee754_pow): Use iterative multiplication algorithm only for
46291 integer exponents with absolute value below 1024. Check for odd
46292 integer exponents when using algorithm for real exponents.
46293 * math/libm-test.inc (pow_test): Add more tests.
46294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46296 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46299 * math/libm-test.inc (exp_test): Do not allow overflow exception
46302 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46305 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46306 instead of __kernel_standard_f.
46308 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46310 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46311 * sysdeps/x86_64/memset_chk.S: Likewise.
46313 2012-04-08 Andreas Jaeger <aj@suse.de>
46316 * manual/startup.texi (Environment Access): Describe return value
46317 for putenv and setenv.
46320 * manual/filesys.texi (Directory Entries): Add description for
46324 * manual/filesys.texi (Directory Entries): Clarify that it's file
46325 system not operating system in the description of DT_UNKNOWN.
46328 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46330 2012-04-08 Stephen Compall <s11@member.fsf.org>
46333 * manual/llio.texi (Opening and Closing Files): Add cross
46334 reference to explain mode argument.
46336 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46338 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46339 * sysdeps/x86_64/memset_chk.S: Likewise.
46341 2012-04-07 David S. Miller <davem@davemloft.net>
46343 * elf/elf.h (R_SPARC_WDISP10): Define.
46344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46346 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46347 R_SPARC_SIZE64 and R_SPARC_H34.
46349 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46351 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46352 conditions and remove no longer applicable assertion.
46354 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46356 * bits/byteswap.h: Include <features.h>.
46357 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46358 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46360 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46362 * bits/byteswap.h (__bswap_16): Removed.
46363 Include <bits/byteswap-16.h> to get __bswap_16.
46364 * sysdeps/i386/bits/byteswap.h: Likewise.
46365 * sysdeps/s390/bits/byteswap.h: Likewise.
46366 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46367 * bits/byteswap-16.h: New file.
46368 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46369 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46370 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46371 * string/Makefile (headers): Add bits/byteswap-16.h.
46373 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46376 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46378 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46379 * nss/tst-nss-static.c: New.
46381 2012-04-06 Robert Millan <rmh@gnu.org>
46384 * manual/llio.texi (File Position Primitive): lseek
46385 refers to WHENCE when it really means OFFSET.
46387 2012-04-06 Andreas Jaeger <aj@suse.de>
46389 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46390 strncmp declarations.
46392 * abilist/libc.abilist: Add __poll and __ppoll.
46394 2012-04-05 David S. Miller <davem@davemloft.net>
46396 * scripts/check-local-headers.sh: Accept a host triplet in the
46397 path matched by the exclude regexp.
46399 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46401 * sysdeps/powerpc/powerpc32/dl-machine.h
46402 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46403 * sysdeps/s390/s390-32/dl-machine.h
46404 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46405 * sysdeps/sparc/sparc32/dl-machine.h
46406 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46407 * sysdeps/sparc/sparc64/dl-machine.h
46408 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46410 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46412 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46413 undefined symbol errors.
46415 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46418 2012-04-05 Michael Matz <matz@suse.de>
46421 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46423 2012-04-05 Andreas Jaeger <aj@suse.de>
46426 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46429 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46431 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46432 which ROUND is no valid rounding mode.
46434 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46436 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46438 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46440 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46442 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46443 an exception using FPU order intentionally.
46445 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46447 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46448 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46449 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46450 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46452 2012-04-05 Simon Josefsson <simon@josefsson.org>
46455 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46456 EINVAL when BUFLEN is too smal.
46458 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46461 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46462 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46464 2012-04-03 Andreas Jaeger <aj@suse.de>
46467 * manual/setjmp.texi (System V contexts): Fix sentence.
46470 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46471 New macro for this case.
46472 [!__GNUC__] (__bswap_64): New inline function for this case.
46473 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46474 * bits/byteswap.h: Likewise.
46475 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46476 ull, guard with __GLIBC_HAVE_LONG_LONG.
46478 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46479 __GLIBC_HAVE_LONG_LONG.
46481 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46482 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46484 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46487 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46488 inptr and inend, rather than using last_ch.
46490 2012-04-02 David S. Miller <davem@davemloft.net>
46492 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46493 * stdio-common/printf-parse.h (read_int): Change return type to
46494 'int', return -1 on INT_MAX overflow.
46495 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46496 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46497 overflows INT_MAX. Check for overflow of in-format-string precision
46498 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46499 SIZE_MAX not INT_MAX for integer overflow test.
46500 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46501 skip the construct in the format string but do not record anything.
46502 * stdio-common/bug22.c: Adjust to test both width/prevision
46503 INT_MAX overflow as well as total length INT_MAX overflow. Check
46504 explicitly for proper errno values.
46506 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46508 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46510 * string/test-strcmp.c [! WIDE]: Likewise.
46511 * time/tst-mktime2.c: Likewise for INT_MAX.
46512 * string/test-string.h: #include <sys/param.h> for MIN.
46514 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46515 * sysdeps/i386/init-first.c (init): Likewise.
46516 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46517 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46518 * sysdeps/sh/init-first.c (init): Likewise.
46520 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46522 * po/ru.po: Update from translation team.
46523 * po/vi.po: Likewise.
46525 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46527 * resolv/nss_dns/dns-host.c: Merge copyright years.
46529 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46531 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46532 Optimize memcpy with prefetch if
46533 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46534 src, dst pointers have unequal 16 byte alignments.
46536 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46539 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46540 from a CNAME entry and return the minimum ttl for the query.
46541 (gaih_getanswer_slice): Likewise.
46543 2012-03-30 Jeff Law <law@redhat.com>
46545 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46547 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46548 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46550 * resolv/nss_dns/dns-host.c: Update copyright year.
46552 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46554 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46555 requests to save a system call. Fix check that all bytes are sent.
46557 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46558 comments for sendmmsg.
46560 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46563 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46564 with only 1 character between 0x0041 and 0x01b0.
46565 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46566 * wcsmbs/tst-mbsnrtowcs.c: New file.
46568 2012-03-29 David S. Miller <davem@davemloft.net>
46570 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46571 small copies by hand.
46573 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46576 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46577 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46580 2012-03-28 David S. Miller <davem@davemloft.net>
46582 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46583 that branches into memcpy.
46584 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46587 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46590 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46591 implementation too.
46592 * sysdeps/sparc/mempcpy.S: New file.
46594 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46595 the IFUNC routine in the libc case.
46596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46598 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46599 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46600 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46601 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46602 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46603 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46604 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46605 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46607 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46608 loop to 256 bytes instead of 64 bytes and fix test signedness.
46610 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46611 * sysdeps/sparc/sparc32/Makefile: rather than here...
46612 * sysdeps/sparc/sparc64/Makefile: and here.
46614 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46616 * malloc/mallocbug.c: Avoid warnings about unused variables.
46618 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46621 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46622 in the right place. Discard and retry query if response is
46623 larger than input buffer size.
46625 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46630 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46631 x for large integer exponent.
46632 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46633 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46634 sign of result as needed afterwards.
46635 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46636 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46637 result for underflowing pow the same as for overflow.
46638 (__kernel_standard_l): Handle powl overflow and underflow here
46639 rather than calling __kernel_standard.
46640 * math/libm-test.inc (pow_test): Add more tests.
46655 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46656 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46657 (__kernel_standard_l): New function.
46658 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46660 * math/w_acosl.c (__acosl): Likewise.
46661 * math/w_asinl.c (__asinl): Likewise.
46662 * math/w_atan2l.c (__atan2l): Likewise.
46663 * math/w_atanhl.c (__atanhl): Likewise.
46664 * math/w_coshl.c (__coshl): Likewise.
46665 * math/w_exp10l.c (__exp10l): Likewise.
46666 * math/w_exp2l.c (__exp2l): Likewise.
46667 * math/w_fmodl.c (__fmodl): Likewise.
46668 * math/w_hypotl.c (__hypotl): Likewise.
46669 * math/w_j0l.c (__j0l, __y0l): Likewise.
46670 * math/w_j1l.c (__j1l, __y1l): Likewise.
46671 * math/w_jnl.c (__jnl, __ynl): Likewise.
46672 * math/w_lgammal.c (__lgammal): Likewise.
46673 * math/w_log10l.c (__log10l): Likewise.
46674 * math/w_log2l.c (__log2l): Likewise.
46675 * math/w_logl.c (__logl): Likewise.
46676 * math/w_powl.c (__powl): Likewise.
46677 * math/w_remainderl.c (__remainderl): Likewise.
46678 * math/w_scalbl.c (sysv_scalbl): Likewise.
46679 * math/w_sinhl.c (__sinhl): Likewise.
46680 * math/w_sqrtl.c (__sqrtl): Likewise.
46681 * math/w_tgammal.c (__tgammal): Likewise.
46682 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46683 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46684 * math/libm-test.inc (acos_test): Add more tests.
46685 (acosh_test): Likewise.
46686 (asin_test): Likewise.
46687 (atanh_test): Likewise.
46688 (exp_test): Likewise.
46689 (exp10_test): Likewise.
46690 (exp2_test): Likewise.
46691 (expm1_test): Likewise.
46692 (lgamma_test): Likewise.
46693 (log_test): Likewise.
46694 (log10_test): Likewise.
46695 (log1p_test): Likewise.
46696 (log2_test): Likewise.
46697 (pow_test): Do not allow some spurious overflow exceptions.
46698 (sqrt_test): Add more tests.
46699 (tgamma_test): Likewise.
46700 (y0_test): Likewise.
46701 (y1_test): Likewise.
46702 (yn_test): Likewise.
46704 2012-03-27 Anton Blanchard <anton@samba.org>
46706 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46708 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46709 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46710 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46712 2012-03-27 David S. Miller <davem@davemloft.net>
46714 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46716 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46717 have-as-vis3 check.
46719 2012-03-27 Andreas Jaeger <aj@suse.de>
46721 * sysdeps/x86_64/elf/configure.in: Moved to ...
46722 * sysdeps/x86_64/configure.in: ... here.
46723 * sysdeps/x86_64/elf/start.S: Moved to ...
46724 * sysdeps/x86_64/start.S: ... here.
46725 * sysdeps/x86_64/elf/configure: Delete.
46727 * sysdeps/x86_64/configure.in: Merge contents from
46728 sysdeps/i386/configure.in (without i686 check).
46730 * sysdeps/i386/elf/Versions: Merge into ...
46731 * sysdeps/i386/Versions: ... this.
46732 * sysdeps/i386/elf/Versions: Delete file.
46733 * sysdeps/i386/elf/start.S: Moved to ...
46734 * sysdeps/i386/start.S: ...here.
46735 * sysdeps/i386/elf/configure.in: Merge into...
46736 * sysdeps/i386/configure.in: ...here.
46737 * sysdeps/i386/elf/configure.in: Delete file.
46738 * sysdeps/i386/elf/configure: Delete file.
46740 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46741 * debug/backtracesyms.c: ... here.
46742 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46743 * debug/backtracesymsfd.c: ... here.
46744 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46745 * sysdeps/generic/ifunc-sel.h: ... here.
46747 * sysdeps/unix/i386/start.c: Delete file.
46748 * sysdeps/unix/sparc/start.c: Delete file.
46749 * sysdeps/unix/start.c: Delete file.
46751 * sysdeps/sh/elf/configure.in: Moved to ...
46752 * sysdeps/sh/configure.in: ... here.
46753 * sysdeps/sh/elf/start.S: Moved to ...
46754 * sysdeps/sh/start.S: ... here.
46755 * sysdeps/sh/elf/configure: Delete file.
46757 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46758 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46759 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46760 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46761 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46762 * sysdeps/powerpc/powerpc64/start.S: here.
46763 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46764 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46765 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46766 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46767 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46769 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46770 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46771 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46772 * sysdeps/powerpc/powerpc32/start.S: ... here.
46773 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46774 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46775 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46777 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46778 * sysdeps/powerpc/ifunc-sel.h: ... here.
46779 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46780 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46782 * sysdeps/sparc/elf/configure.in: Moved to ...
46783 * sysdeps/sparc/configure.in: ... here.
46784 * sysdeps/sparc/elf/configure: Delete file.
46785 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46786 * sysdeps/sparc/sparc32/start.S: ... here.
46787 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46788 * sysdeps/sparc/sparc64/start.S: ... here.
46789 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46790 * sysdeps/sparc/sparc32/Makefile: ... this.
46791 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46792 * sysdeps/sparc/sparc64/Makefile: ... this.
46794 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46795 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46796 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46797 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46798 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46799 * sysdeps/s390/s390-32/setjmp.S: ... here.
46800 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46801 * sysdeps/s390/s390-32/configure.in: ... here.
46802 * sysdeps/s390/s390-32/elf/configure: Delete file.
46803 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46804 * sysdeps/s390/s390-32/start.S: ... here.
46806 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46807 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46808 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46809 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46810 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46811 * sysdeps/s390/s390-64/setjmp.S: ... here.
46812 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46813 * sysdeps/s390/s390-64/configure.in: ... here
46814 * sysdeps/s390/s390-64/elf/configure: Delete file.
46815 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46816 * sysdeps/s390/s390-64/start.S: ... here.
46817 * sysdeps/s390/s390-64/elf/configure: Delete.
46819 * configure.in: Remove support for elf directories in sysdeps.
46821 * configure: Regenerated.
46822 * sysdeps/i386/configure: Regenerated.
46823 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46824 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46825 * sysdeps/s390/s390-32/configure: Regenerated.
46826 * sysdeps/s390/s390-64/configure: Regenerated.
46827 * sysdeps/sh/configure: Regenerated.
46828 * sysdeps/sparc/configure: Regenerated.
46829 * sysdeps/x86_64/configure: Regenerated.
46831 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46835 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46836 denormal result into account.
46838 2012-03-25 Roland McGrath <roland@hack.frob.com>
46840 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46841 Reported by Allan McRae <allan@archlinux.org>.
46843 2012-03-23 Jeff Law <law@redhat.com>
46845 * nss/getnssent.c (__nss_getent): Fix typo.
46847 2012-03-23 David S. Miller <davem@davemloft.net>
46849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46851 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46853 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46854 to pad to uint64_t for each field.
46855 (dl_tls_index): Replace unsigned long with uint64_t.
46857 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46858 Paul Pluzhnikov <ppluzhnikov@google.com>
46861 * grp/Makefile (otherlibs): Don't set it.
46862 * inet/Makefile (otherlibs): Likewise.
46863 * login/Makefile (otherlibs): Likewise.
46864 * nscd/Makefile (otherlibs): Likewise.
46865 * posix/Makefile (otherlibs): Likewise.
46866 * pwd/Makefile (otherlibs): Likewise.
46867 * rt/Makefile (otherlibs): Likewise.
46868 * sunrpc/Makefile (otherlibs): Likewise.
46869 * nss/Makefile (otherlibs): Likewise.
46870 Add libnss_files to routines and static-only-routines.
46871 ($(objpfx)getent): Remove rule.
46872 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46873 static-only-routines.
46875 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46878 * math/s_cexp.c: Include <float.h>.
46879 (__cexp): Handle exp result overflowing not necessarily
46880 overflowing both real and imaginary parts of result.
46881 * math/s_cexpf.c: Likewise.
46882 * math/s_cexpl.c: Likewise.
46883 * math/libm-test.inc (cexp_test): Add more tests.
46884 * sysdeps/i386/fpu/libm-test-ulps: Update.
46885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46887 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46889 * include/link.h (ELFW): New macro.
46890 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46891 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46893 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46895 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46898 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46900 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46902 (struct La_x32_retval): Likewise.
46904 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46906 * sysdeps/x86_64/preconfigure.in: New file.
46907 * sysdeps/x86_64/preconfigure: New generated file.
46909 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46912 * math/e_exp2l.c: Include <float.h>.
46913 (__ieee754_exp2l): Handle overflow and underflow cases
46914 separately. Only pass fractional part of argument to
46916 * math/libm-test.inc (exp2_test): Add more tests.
46918 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46919 negating x to take absolute value.
46920 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46922 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46923 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46925 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46926 computing low part if x was negated.
46927 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46929 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46931 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46932 la_x32_gnu_pltexit.
46933 (pltexit): Cast int_retval to ptrdiff_t.
46934 * elf/tst-auditmod3b.c: Likewise.
46935 * elf/tst-auditmod4b.c: Likewise.
46936 * elf/tst-auditmod5b.c: Likewise.
46937 * elf/tst-auditmod6b.c: Likewise.
46938 * elf/tst-auditmod6c.c: Likewise.
46939 * elf/tst-auditmod7b.c: Likewise.
46941 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46942 and x32_gnu_pltexit.
46944 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46945 __ELF_NATIVE_CLASS.
46946 (La_x32_regs): New macro.
46947 (La_x32_retval): Likewise.
46948 (la_x32_gnu_pltenter): New function prototype.
46949 (la_x32_gnu_pltexit): Likewise.
46951 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
46953 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46956 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46958 * configure.in (libc_cv_cc_nofma): Check for option to disable
46959 generation of FMA instructions.
46960 * configure: Regenerate.
46961 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46962 * sysdeps/ieee754/dbl-64/Makefile: New file.
46963 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46964 Remove brandred-fma4.
46965 (CFLAGS-brandred-fma4.c): Remove.
46966 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46967 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46972 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46974 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46975 LLONG_MAX != LONG_MAX.
46976 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46977 (_fitoa_word): Likewise.
46978 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46979 LLONG_MAX != LONG_MAX.
46980 * stdio-common/_itowa.h: Include <_itoa.h>.
46981 (_itowa_word): Use _ITOA_WORD_TYPE on value.
46982 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
46983 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
46984 only if not defined.
46985 (_ITOA_WORD_TYPE): Likewise.
46986 (_itoa_word): Use _ITOA_WORD_TYPE on value.
46987 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46989 2012-03-21 David S. Miller <davem@davemloft.net>
46991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46993 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46995 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46996 of x86_64 when setting libc_cv_slibdir, libdir and
46998 * sysdeps/unix/sysv/linux/configure: Regenerated.
47000 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47002 * manual/lang.texi (Old Varargs): Remove section.
47003 (How Variadic): Update menu.
47004 (va_start): Do not mention varargs.h.
47006 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47007 Joseph Myers <joseph@codesourcery.com>
47009 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47011 * configure: Regenerated.
47013 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47015 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47016 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47019 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47022 * Makefile (files-for-dist): Remove NOTES.
47023 (NOTES): Remove rule.
47024 * README: Don't refer to NOTES.
47025 * manual/creature.texi: Don't include macros.texi.
47026 * manual/intro.texi (creature.texi): Remove comment referring to
47029 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47030 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47031 * configure: Regenerated.
47032 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47033 LIBC_TRY_CC_OPTION.
47034 (libc_cv_as_i686): Likewise.
47035 (libc_cv_cc_avx): Likewise.
47036 (libc_cv_cc_sse2avx): Likewise.
47037 (libc_cv_cc_fma4): Likewise.
47038 (libc_cv_cc_novzeroupper): Likewise.
47039 * sysdeps/i386/configure: Regenerated.
47042 * sysdeps/i386/fpu/s_cexp.S: Remove.
47043 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47044 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47045 * math/libm-test.inc (cexp_test): Add more tests.
47046 * sysdeps/i386/fpu/libm-test-ulps: Update.
47047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47049 2012-03-21 Allan McRae <allan@archlinux.org>
47051 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47053 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47056 * math/w_exp2.c: Do not include <float.h>.
47057 (o_threshold, u_threshold): Remove.
47058 (__exp2): Calculate result before checking finiteness and calling
47060 * math/w_exp2f.c: Likewise.
47061 * math/w_exp2l.c: Likewise.
47062 * math/libm-test.inc (exp2_test): Require overflow exception for
47066 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47067 range of signed 64-bit integers before using fistpll. Remove
47068 checks for whether integers fit in mantissa bits.
47069 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47070 the range of signed 32-bit integers before using fistpl. Remove
47071 checks for whether integers fit in mantissa bits.
47072 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47073 (__ieee754_powl): Test for y outside the range of signed 64-bit
47074 integers before using fistpll. Reduce 64-bit values to 63-bit
47076 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47077 divide-by-zero is raised for zero to large negative powers.
47078 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47079 (__ieee754_powl): Test for y outside the range of signed 64-bit
47080 integers before using fistpll. Reduce 64-bit values to 63-bit
47082 * math/libm-test.inc (pow_test): Add more tests.
47084 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47086 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47087 <stdio-common/_itoa.h>.
47088 * debug/segfault.c: Likewise.
47089 * elf/dl-cache.c: Likewise.
47090 * elf/dl-minimal.c: Likewise.
47091 * elf/dl-misc.c: Likewise.
47092 * elf/dl-sysdep.c: Likewise.
47093 * elf/dl-version.c: Likewise.
47094 * elf/rtld.c: Likewise.
47095 * hurd/hurdsock.c: Likewise.
47096 * hurd/lookup-retry.c: Likewise.
47097 * malloc/malloc.c: Likewise.
47098 * malloc/mtrace.c: Likewise.
47099 * nscd/nscd_getgr_r.c: Likewise.
47100 * nscd/nscd_getpw_r.c: Likewise.
47101 * nscd/nscd_getserv_r.c: Likewise.
47102 * posix/getopt_init.c: Likewise.
47103 * posix/wordexp.c: Likewise.
47104 * stdio-common/_itoa.c: Likewise.
47105 * stdio-common/printf_fphex.c: Likewise.
47106 * stdio-common/vfprintf.c: Likewise.
47107 * string/_strerror.c: Likewise.
47108 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47109 * sysdeps/i386/i686/hp-timing.h: Likewise.
47110 * sysdeps/mach/_strerror.c: Likewise.
47111 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47112 * sysdeps/mach/hurd/sethostid.c: Likewise.
47113 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47114 * sysdeps/mach/xpg-strerror.c: Likewise.
47115 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47116 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47117 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47118 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47119 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47120 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47121 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47122 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47123 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47124 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47125 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47126 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47127 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47128 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47129 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47130 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47131 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47132 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47133 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47134 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47135 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47137 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47139 * stdio-common/_itoa.h: Moved to ...
47140 * sysdeps/generic/_itoa.h: Here.
47142 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47144 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47145 instead of "_itoa.h" and "_itowa.h".
47146 * stdio-common/vfprintf.: Likewise.
47148 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47150 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47152 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47153 (__signbit): Likwise.
47154 (llrintf): Likwise.
47157 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47159 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47162 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47164 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47165 OVERFLOW_EXCEPTION_OK.
47166 * math/libm-test.inc ("Philosophy"): Update comment about
47168 (OVERFLOW_EXCEPTION): Define.
47169 (OVERFLOW_EXCEPTION_OK): Likewise.
47170 (INVALID_EXCEPTION_OK): Renumber.
47171 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47172 (IGNORE_ZERO_INF_SIGN): Likewise.
47173 (test_exceptions): Handle FE_OVERFLOW.
47174 (exp10_test): Expect overflow exceptions.
47175 (exp2_test): Likewise.
47176 (expm1_test): Likewise.
47177 (nextafter_test): Likewise.
47178 (pow_test): Likewise.
47179 (scalbn_test): Likewise.
47180 (scalbln_test): Likewise.
47182 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47184 * sysdeps/x86_64/bits/atomic.h
47185 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47187 (atomic_exchange_acq): Likewise.
47188 (__arch_exchange_and_add_body): Likewise.
47189 (__arch_add_body): Likewise.
47190 (atomic_add_negative): Likewise.
47191 (atomic_add_zero): Likewise.
47193 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47195 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47196 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47198 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47200 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47201 Check __x86_64__ instead of __WORDSIZE.
47203 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47205 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47207 2012-03-19 David S. Miller <davem@davemloft.net>
47209 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47211 * sysdeps/sparc/fpu/fenv_private.h: New file.
47212 * sysdeps/sparc/fpu/math_private.h: Use it.
47213 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47215 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47216 (libc_feholdexcept_setroundl): Remove.
47217 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47219 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47220 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47222 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47224 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47225 int64_t instead of long int.
47226 (INSERT_WORDS64): Likwise.
47228 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47230 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47231 _Unwind_GetCFA return to _Unwind_Ptr first.
47233 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47236 * math/s_clog.c: Include <float.h>.
47237 (__clog): Scale large or subnormal inputs.
47238 * math/s_clogf.c: Likewise.
47239 * math/s_clogl.c: Likewise.
47240 * math/s_clog10.c: Include <float.h>.
47241 (M_LOG10_2): Define.
47242 (__clog10): Scale large or subnormal inputs.
47243 * math/s_clog10f.c: Likewise.
47244 * math/s_clog10l.c: Likewise.
47245 * math/libm-test.inc (clog_test): Add more tests.
47246 (clog10_test): Likewise.
47247 * sysdeps/i386/fpu/libm-test-ulps: Update.
47248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47251 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47253 * math/libm-test.inc (atan2_test): Add another test.
47255 * Makerules (common-objdir-compile): Remove.
47256 * sysdeps/unix/Makefile (config-generated): Do not add
47257 $(unix-generated) to variable.
47258 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47259 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47261 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47263 [generic bits/local_lim.h] (before-compile): Do not append to
47265 [generic bits/local_lim.h] (common-generated): Likewise.
47266 [generic sys/param.h] (before-compile): Do not append to variable.
47267 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47268 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47269 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47270 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47272 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47273 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47274 [generic sys/param.h] ($(addprefix
47275 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47276 [generic sys/param.h] (common-generated): Do not append to
47278 [generic sys/param.h] (sysdep_headers): Likewise.
47279 [generic bits/errno.h] (before-compile): Do not append to
47281 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47283 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47284 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47285 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47286 [generic bits/errno.h] (common-generated): Do not append to
47288 [generic bits/ioctls.h] (before-compile): Do not append to
47290 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47292 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47293 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47294 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47296 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47297 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47298 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47299 [generic bits/ioctls.h] (common-generated): Do not append to
47301 [generic sys/syscall.h] (syscall.h): Remove variable.
47302 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47304 [generic sys/syscall.h] (before-compile): Do not append to
47306 [generic sys/syscall.h] (common-generated): Likewise.
47307 * sysdeps/unix/errnos-tmpl.c: Remove file.
47308 * sysdeps/unix/errnos.awk: Likewise.
47309 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47310 * sysdeps/unix/ioctls.awk: Likewise.
47311 * sysdeps/unix/mk-local_lim.c: Likewise.
47312 * sysdeps/unix/snarf-ioctls: Likewise.
47314 2012-03-19 Richard Henderson <rth@twiddle.net>
47316 * sysdeps/i386/fpu/fenv_private.h: New file.
47317 * sysdeps/i386/fpu/math_private.h: Use it.
47318 (math_opt_barrier, math_force_eval): Remove.
47319 (libc_feholdexcept_setround_53bit): Remove.
47320 (libc_feupdateenv_53bit): Remove.
47321 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47322 (math_opt_barrier, math_force_eval): Remove.
47323 (libc_feholdexcept): Remove.
47324 (libc_feholdexcept_setround): Remove.
47325 (libc_fetestexcept, libc_fesetenv): Remove.
47326 (libc_feupdateenv_test): Remove.
47327 (libc_feupdateenv, libc_feholdsetround): Remove.
47328 (libc_feresetround): Remove.
47330 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47331 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47333 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47334 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47335 (libc_feupdateenv_testl): New.
47336 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47337 (libc_feupdateenv_testf): New.
47338 (libc_feupdateenv): Use libc_feupdateenv_test.
47339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47340 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47342 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47343 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47344 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47345 (libc_feresetround_noex): New.
47346 (libc_feresetround_noexf): New.
47347 (libc_feresetround_noexl): New.
47348 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47349 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47350 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47351 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47353 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47354 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47356 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47357 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47358 SET_RESTORE_ROUND_NOEX.
47359 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47360 SET_RESTORE_ROUND_NOEXF.
47361 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47362 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47363 (libc_feholdsetroundf): New.
47364 (libc_feresetround, libc_feresetroundf): New.
47366 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47367 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47368 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47370 * sysdeps/generic/math_private.h: Include <fenv.h>.
47371 (default_libc_feholdexcept): New.
47372 (default_libc_feholdexcept_setround): New.
47373 (default_libc_fesetenv, default_libc_feupdateenv): New.
47374 (libc_feholdexcept): Only define if undefined.
47375 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47376 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47377 (libc_feholdexcept_setroundl): Likewise.
47378 (libc_feholdexcept_setround_53bit): Likewise.
47379 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47380 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47381 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47382 (libc_feupdateenv_53bit): Likewise.
47383 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47384 (libc_feholdexcept): Convert from macro to inline function.
47385 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47386 (libc_fesetenv, libc_feupdateenv): Likewise.
47388 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47389 not previously defined.
47390 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47391 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47392 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47393 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47394 * sysdeps/ieee754/flt-32/math_private.h: New file.
47395 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47396 math_private.h below SET_FLOAT_WORD.
47397 (__isnan, __isinf_ns, __finite): Remove.
47398 (__isnanf, __isinf_nsf, __finitef): Remove.
47400 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47402 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47404 2012-03-17 David S. Miller <davem@davemloft.net>
47407 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47410 2012-03-16 David S. Miller <davem@davemloft.net>
47412 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47416 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47418 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47419 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47420 sysdep_routines when subdir is sysvipc.
47421 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47422 __getshmlba helper.
47424 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47426 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47428 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47431 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47433 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47434 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47435 (__lround): Renamed to ...
47436 (__llround): This. Replace long int with long long int.
47437 Define lround functions as aliases of llround functions.
47438 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47440 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47442 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47443 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47444 adresses to uintptr_t. Replace "long int" and "unsigned long
47445 int" with "greg_t" on va_arg.
47447 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47449 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47450 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47452 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47453 Move e_machine check before EI_CLASS check. Handle x32
47454 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47455 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47456 SKIP_EM_IA_64 and include
47457 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47459 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47460 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47461 (add_system_dir): New macro.
47463 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47464 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47466 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47477 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47479 * math/w_j0f.c (j0f): Likewise.
47481 * math/w_j0l.c (__j0l): Likewise.
47483 * math/w_j1.c (j1): Likewise.
47485 * math/w_j1f.c (j1f): Likewise.
47487 * math/w_j1l.c (__j1l): Likewise.
47489 * math/w_jn.c (jn): Likewise.
47491 * math/w_jnf.c (jnf): Likewise.
47493 * math/w_jnl.c (__jnl): Likewise.
47495 * math/libm-test.inc (j0_test): Add more tests.
47496 (j1_test): Likewise.
47497 (jn_test): Likewise. Add trailing semicolon to existing test.
47498 (y0_test): Likewise.
47499 (y1_test): Likewise.
47500 * sysdeps/i386/fpu/libm-test-ulps: Update.
47501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47505 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47506 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47507 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47508 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47509 (__tanl): Set errno for infinite argument.
47510 * sysdeps/i386/fpu/mptan.c: Remove.
47511 * sysdeps/i386/fpu/s_tan.S: Likewise.
47512 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47513 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47514 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47515 * math/libm-test.inc (tan_test): Add more tests and enable more
47516 tests for double and long double.
47517 * sysdeps/i386/fpu/libm-test-ulps: Update.
47518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47520 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47522 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47523 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47525 2012-03-16 Roland McGrath <roland@hack.frob.com>
47527 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47528 * configure.in: Use it for both main tree and add-ons.
47529 * configure: Regenerated.
47531 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47533 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47535 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47537 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47541 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47542 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47543 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47544 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47545 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47547 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47549 != 0 for prec == 2.
47550 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47551 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47552 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47553 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47554 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47555 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47556 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47557 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47558 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47559 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47560 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47561 * math/libm-test.inc (cos_test): Add more tests and enable more
47562 tests for long double.
47563 (sin_test): Likewise.
47564 (sincos_test): Likewise.
47565 * sysdeps/i386/fpu/libm-test-ulps: Update.
47566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47568 2012-03-16 David S. Miller <davem@davemloft.net>
47570 * sysdeps/sparc/fpu/math_private.h: New file.
47572 2012-03-15 David S. Miller <davem@davemloft.net>
47574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47576 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47580 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47581 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47582 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47583 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47584 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47588 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47589 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47591 * sysdeps/sparc/sparc-ifunc.h: New file.
47592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47616 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47617 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47619 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47624 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47625 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47630 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47632 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47633 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47634 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47635 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47637 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47639 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47643 2012-03-15 Andreas Jaeger <aj@suse.de>
47646 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47647 ieee754/flt-32 implementation for sin, cos and sincos.
47648 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47649 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47650 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47651 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47652 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47653 ieee754/flt-32 implementation for tan.
47655 * math/libm-test.inc (cos_test): Enable some large input tests for
47657 (sin_test): Likewise.
47658 (sincos_test): Likewise.
47659 (tan_test): Add tests for large input.
47661 * sysdeps/i386/fpu/libm-test-ulps: Update.
47663 2012-03-15 Andreas Jaeger <aj@suse.de>
47666 * math/libm-test.inc (cos_test): Add more test cases.
47667 (sin_test): Likewise.
47668 (sincos_test): Likewise.
47670 2012-03-15 Andreas Jaeger <aj@suse.de>
47673 * math/libm-test.inc (cos_test): Add a test case for large input
47675 (sin_test): Likewise.
47676 (sincos_test): Likewise.
47678 2012-03-15 Andreas Jaeger <aj@suse.de>
47679 Joseph Myers <joseph@codesourcery.com>
47682 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47683 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47684 * sysdeps/i386/fpu/branred.c: Likewise.
47685 * sysdeps/i386/fpu/dosincos.c: Likewise.
47686 * sysdeps/i386/fpu/mpa.c: Likewise.
47687 * sysdeps/i386/fpu/s_cos.S: Likewise.
47688 * sysdeps/i386/fpu/s_sin.S: Likewise.
47689 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47690 * sysdeps/i386/fpu/sincos32.c: Likewise.
47692 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47694 (libc_feupdateenv_53bit): Define.
47695 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47697 (libc_feupdateenv_53bit): Define.
47699 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47700 53 bit (without extend i386 double precision).
47702 * math/libm-test.inc (sincos_test): Add tests for large input.
47706 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47708 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47712 2012-03-15 David S. Miller <davem@davemloft.net>
47714 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47715 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47716 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47717 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47721 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47723 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47724 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47725 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47741 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47742 fmin/fmax sysdep routines.
47743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47745 2012-03-14 David S. Miller <davem@davemloft.net>
47747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47750 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47751 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47752 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47753 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47754 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47755 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47758 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47759 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47760 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47761 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47762 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47767 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47768 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47769 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47770 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47772 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47773 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47774 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47775 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47819 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47824 * sysdeps/sparc/configure.in: New file.
47825 * sysdeps/sparc/configure: Generate.
47826 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47827 * configure: Regenerate.
47828 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47829 * config.make.in (have-as-vis3): New.
47830 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47831 available use -Av9d instead of -Av9a.
47832 * sysdeps/sparc/sparc64/Makefile: Likewise.
47833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47842 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47843 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47844 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47845 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47846 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47848 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47849 fzeros/fnegs to load 0x80000000 into a float register instead of
47851 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47853 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47855 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47857 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47858 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47859 ($(inst_includedir)/bits/syscall.h): Remove rule.
47860 ($(objpfx)bits/syscall.d): Include instead of
47861 $(objpfx)syscall-list.d.
47862 (generated): Change syscall-list.h and syscall-list.d to
47863 bits/syscall.h and bits/syscall.d.
47865 2012-03-14 Roland McGrath <roland@hack.frob.com>
47868 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47870 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47873 * math/s_csqrt.c: Include <float.h>.
47874 (__csqrt): Scale large or subnormal inputs.
47875 * math/s_csqrtf.c: Likewise.
47876 * math/s_csqrtl.c: Likewise.
47877 * math/libm-test.inc (csqrt_test): Add more tests.
47878 * sysdeps/i386/fpu/libm-test-ulps: Update.
47879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47882 * math/libm-test.inc (hypot_test): Add more tests.
47884 2012-03-13 David S. Miller <davem@davemloft.net>
47887 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47888 double-precision for the calculation instead of scaling.
47890 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47892 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47893 manipulate bits before adding and subtracting TWO52[sx].
47894 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47895 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47897 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47899 2012-03-13 David S. Miller <davem@davemloft.net>
47901 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47902 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47903 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47904 rtld-global-offsets.h
47905 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47907 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47910 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47912 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47913 'err' in the ifdef scope in which it is actually used.
47915 * nss/nss_db/db-init.c: Include string.h
47917 2012-03-12 David S. Miller <davem@davemloft.net>
47919 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47920 masking out of the most significant byte of random value used.
47921 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47922 Fix coding style in previous change.
47924 * sysdeps/unix/sysv/linux/kernel-features.h
47925 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47926 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47928 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47931 2012-03-11 David S. Miller <davem@davemloft.net>
47933 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47934 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47935 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47936 for 'resultvar' otherwise things get truncated on 64-bit.
47938 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47939 Fix masking out of the most significant byte of random value used.
47941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47943 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
47945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47947 2012-03-09 David S. Miller <davem@davemloft.net>
47949 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47950 variables with appropriate CPP guards.
47951 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47952 from the frame pointer, not the stack pointer. Correct layout
47953 comments. Fix test on resulting framesize and the management of
47954 the outregs buffer for pltexit. Preserve floating point return
47955 values across _dl_call_pltexit call.
47956 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47957 framesize and the management of the outregs buffer for pltexit.
47958 Preserve floating point return values across _dl_call_pltexit
47960 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47961 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47962 (la_sparc64_gnu_pltexit): New functions.
47963 (print_exit): Fix format string for return register value.
47965 2012-03-10 Joseph Myers <joseph@codesourcery.com>
47967 * sunrpc/Makefile (others): Add rpcgen.
47968 ($(objpfx)rpcgen): Remove special build rule and dependency on
47970 * sunrpc/rpcgen.c: New file.
47972 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
47975 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47976 * stdio-common/bug-vfprintf-nargs.c: Likewise.
47977 * sysdeps/i386/crti.S: Likewise.
47978 * sysdeps/i386/crtn.S: Likewise.
47979 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47980 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47981 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47982 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47983 * sysdeps/sh/crti.S: Likewise.
47984 * sysdeps/sh/crtn.S: Likewise.
47985 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47988 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47990 * locale/programs/locfile-kw.gperf: Likewise.
47991 * locale/programs/charmap-kw.h: Regenerated.
47992 * locale/programs/locfile-kw.h: Likewise.
47995 * intl/plural.y: Replace FSF snail mail address with URL.
47996 * intl/plural.c: Regenerated.
47998 2012-03-09 Richard Henderson <rth@twiddle.net>
48000 * include/math_private.h: Remove file.
48001 * math/math_private.h: Move file ...
48002 * sysdeps/generic/math_private.h: ... here.
48004 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48005 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48006 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48008 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48009 and <math_private.h>.
48010 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48011 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48012 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48013 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48014 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48015 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48016 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48018 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48019 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48021 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48022 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48023 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48024 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48025 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48026 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48027 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48028 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48029 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48030 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48031 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48032 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48033 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48034 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48035 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48036 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48037 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48038 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48039 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48040 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48041 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48042 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48043 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48044 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48045 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48046 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48047 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48048 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48049 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48050 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48051 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48052 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48053 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48054 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48055 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48056 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48057 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48058 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48059 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48060 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48061 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48062 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48063 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48064 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48065 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48066 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48067 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48068 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48069 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48070 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48071 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48072 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48073 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48074 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48075 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48076 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48077 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48078 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48079 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48080 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48081 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48082 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48083 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48084 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48086 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48088 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48089 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48090 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48091 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48092 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48093 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48094 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48095 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48096 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48097 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48098 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48099 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48100 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48101 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48102 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48103 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48104 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48105 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48106 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48107 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48108 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48109 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48110 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48111 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48112 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48113 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48114 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48115 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48116 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48117 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48118 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48119 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48120 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48121 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48122 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48123 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48124 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48125 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48126 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48127 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48128 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48129 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48130 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48131 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48132 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48133 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48134 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48135 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48136 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48137 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48138 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48139 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48140 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48141 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48142 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48143 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48144 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48145 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48146 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48147 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48148 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48149 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48150 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48151 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48152 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48153 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48154 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48155 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48156 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48157 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48158 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48159 * sysdeps/ieee754/k_standard.c: Likewise.
48160 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48161 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48162 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48163 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48164 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48165 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48166 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48167 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48168 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48169 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48170 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48171 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48172 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48173 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48174 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48175 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48176 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48177 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48178 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48179 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48180 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48181 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48182 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48183 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48184 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48185 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48186 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48187 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48188 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48189 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48190 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48191 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48192 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48193 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48194 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48195 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48196 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48197 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48198 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48199 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48200 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48201 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48202 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48203 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48204 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48205 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48206 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48207 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48208 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48209 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48210 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48211 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48212 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48213 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48214 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48215 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48216 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48217 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48218 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48219 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48220 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48221 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48222 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48223 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48224 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48225 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48226 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48227 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48228 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48229 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48230 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48232 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48233 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48234 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48235 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48236 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48237 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48238 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48239 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48240 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48241 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48242 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48243 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48244 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48245 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48246 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48247 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48248 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48249 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48250 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48251 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48252 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48253 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48254 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48255 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48256 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48257 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48258 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48259 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48261 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48262 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48263 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48264 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48265 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48266 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48267 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48268 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48269 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48270 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48271 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48272 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48273 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48274 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48275 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48276 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48277 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48278 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48279 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48280 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48281 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48282 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48283 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48284 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48285 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48286 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48287 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48288 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48289 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48290 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48291 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48292 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48293 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48294 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48295 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48296 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48297 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48298 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48299 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48301 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48302 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48303 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48304 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48305 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48306 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48307 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48308 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48309 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48310 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48311 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48312 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48313 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48314 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48315 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48316 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48317 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48318 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48319 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48320 * sysdeps/ieee754/s_lib_version.c: Likewise.
48321 * sysdeps/ieee754/s_matherr.c: Likewise.
48322 * sysdeps/ieee754/s_signgam.c: Likewise.
48323 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48324 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48325 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48326 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48327 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48328 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48329 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48330 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48331 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48332 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48333 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48334 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48335 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48336 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48337 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48338 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48339 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48340 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48341 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48342 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48343 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48345 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48347 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48348 * sunrpc/rpc_main.c: Likewise.
48349 * sunrpc/rpc_svcout.c: Likewise.
48351 2012-03-09 David S. Miller <davem@davemloft.net>
48353 * include/math_private.h: New file.
48355 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48357 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48358 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48359 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48360 from <bits/socket_type.h>.
48361 (enum __socket_type): Don't define here.
48362 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48363 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48364 bits/socket_type.h.
48367 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48368 checking __USE_GNU.
48370 * Makerules ($(inst_includedir)/%.h): New rule.
48371 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48372 (install-others): Remove variable setting.
48373 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48375 2012-03-08 Richard Henderson <rth@twiddle.net>
48377 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48378 from macro to inline function; merge with the
48379 !__LIBC_INTERNAL_MATH_INLINES version.
48380 (__ieee754_sqrtf): Likewise.
48382 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48383 to inline function.
48384 (__rintf, __floor, __floorf): Likewise.
48386 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48387 macro to inline function.
48388 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48390 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48391 not <math/math_private.h>.
48393 2012-03-08 David S. Miller <davem@davemloft.net>
48395 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48397 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48399 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48401 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48403 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48404 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48406 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48408 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48409 be defined individually, they must be defined as a block. Define
48410 S for printing a string instead of hidint the different by using a
48411 macro for adding the 'l'.
48412 * stdio-common/tst-fphex-wide.c: Adjust.
48414 2012-03-07 Marek Polacek <polacek@redhat.com>
48416 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48418 2012-03-08 Marek Polacek <polacek@redhat.com>
48421 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48422 * stdio-common/tst-fphex.c: Define a few macros to make the
48423 test reusable. Use them.
48424 * stdio-common/tst-fphex-wide.c: New file.
48426 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48429 * manual/macros.texi (gnusystems): New macro.
48430 (nongnusystems): Likewise.
48431 (gnulinuxhurdsystems): Likewise.
48432 (gnuhurdsystems): Likewise..
48433 (gnulinuxsystems): Likewise.
48434 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48435 variants of the GNU system, not "GNU system".
48436 * manual/conf.texi: Likewise.
48437 * manual/errno.texi: Likewise. Update example of errno macro
48439 * manual/filesys.texi: Likewise.
48440 (getumask): Document as specific to GNU/Hurd.
48441 * manual/install.texi: Likewise. Reword some references to
48443 * manual/intro.texi: Likewise.
48444 * manual/io.texi: Likewise.
48445 (File Name Portability): Detail which constraints are inapplicable
48446 to all GNU systems and which are only inapplicable to GNU/Hurd.
48447 * manual/job.texi: Likewise.
48448 * manual/llio.texi: Likewise.
48449 (O_NOCTTY): Document as present on GNU/Linux.
48450 * manual/maint.texi: Likewise.
48451 * manual/memory.texi: Likewise.
48452 * manual/pattern.texi: Likewise.
48453 * manual/pipe.texi: Likewise.
48454 * manual/process.texi: Likewise.
48455 * manual/resource.texi: Likewise.
48456 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48458 * manual/setjmp.texi: Likewise.
48459 * manual/signal.texi: Likewise.
48460 * manual/startup.texi: Likewise.
48461 * manual/stdio.texi: Likewise.
48462 * manual/terminal.texi: Likewise.
48463 (ONLCR): Document as POSIX.
48464 (OXTABS): Document availability on GNU/Linux as XTABS.
48465 (ONOEOT): Document availability separately from other bits.
48466 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48467 * manual/time.texi: Likewise.
48468 * manual/users.texi: Likewise.
48469 * INSTALL: Regenerated.
48470 * sysdeps/gnu/errlist.c: Regenerated.
48472 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48473 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48474 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48476 * configure: Regenerated.
48478 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48480 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48481 default includes instead of AC_HEADER_CHECK.
48482 * sysdeps/i386/configure: Regenerated.
48485 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48486 * math/s_cacoshf.c (__cacoshf): Likewise.
48487 * math/s_cacoshl.c (__cacoshl): Likewise.
48488 * math/s_casinh.c (__casinh): Set signs of result from argument.
48489 * math/s_casinhf.c (__casinhf): Likewise.
48490 * math/s_casinhl.c (__casinhl): Likewise.
48491 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48492 (casinh_test): Add more tests.
48493 * sysdeps/i386/fpu/libm-test-ulps: Update.
48494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48496 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48498 * po/zh_TW.po: Update from translation team.
48500 * login/Makefile (distribute): Remove variable.
48501 * catgets/Makefile: Likewise.
48502 * mach/Makefile: Likewise.
48503 * malloc/Makefile: Likewise.
48504 * misc/Makefile: Likewise.
48505 * iconv/Makefile: Likewise.
48506 * nscd/Makefile: Likewise.
48507 * hurd/Makefile: Likewise.
48508 * manual/Makefile: Likewise.
48509 * locale/Makefile: Likewise.
48510 * intl/Makefile: Likewise.
48511 * conform/Makefile: Likewise.
48512 * nss/Makefile: Likewise.
48513 * time/Makefile: Likewise.
48514 * soft-fp/Makefile: Likewise.
48515 * dirent/Makefile: Likewise.
48516 * gmon/Makefile: Likewise.
48517 * po/Makefile: Likewise.
48518 * rt/Makefile: Likewise.
48519 * socket/Makefile: Likewise.
48520 * math/Makefile: Likewise.
48521 * signal/Makefile: Likewise.
48522 * debug/Makefile: Likewise.
48523 * elf/Makefile: Likewise.
48524 * timezone/Makefile: Likewise.
48525 * stdlib/Makefile: Likewise.
48526 * iconvdata/Makefile: Likewise.
48527 * sunrpc/Makefile: Likewise.
48528 * io/Makefile: Likewise.
48529 * argp/Makefile: Likewise.
48530 * inet/Makefile: Likewise.
48531 * hesiod/Makefile: Likewise.
48532 * grp/Makefile: Likewise.
48533 * csu/Makefile: Likewise.
48534 * wctype/Makefile: Likewise.
48535 * crypt/Makefile: Likewise.
48536 * libio/Makefile: Likewise.
48537 * string/Makefile: Likewise.
48538 * nis/Makefile: Likewise.
48539 * resolv/Makefile: Likewise.
48540 * stdio-common/Makefile: Likewise.
48541 * wcsmbs/Makefile: Likewise.
48542 * dlfcn/Makefile: Likewise.
48543 * posix/Makefile: Likewise.
48546 * timezone/Makefile: Don't install timezone files, just the programs
48549 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48551 * nss/databases.def: Add missing gshadow entry.
48553 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48555 2012-03-06 Marek Polacek <polacek@redhat.com>
48558 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48559 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48560 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48561 * stdio-common/tst-long-dbl-fphex.c: New file.
48563 2012-03-06 David S. Miller <davem@davemloft.net>
48565 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48566 (set_obp_int): New function.
48567 (get_obp_int): New function.
48568 (__get_clockfreq_via_dev_openprom): Likewise.
48569 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48570 Avoid unused variable warnings on 'val' and use builtin_expect.
48571 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48573 (INLINE_CLONE_SYSCALL): Likewise.
48575 2012-03-05 David S. Miller <davem@davemloft.net>
48577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48579 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48583 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48584 only for |x| >= 40.
48585 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48587 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48589 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48590 Replace gettimeofday with __vdso_gettimeofday.
48592 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48593 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48594 __vdso_clock_gettime and __vdso_getcpu.
48596 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48597 time with __vdso_time.
48599 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48601 * manual/lang.texi (size_t): Note types to which size_t may be
48602 equivalent with the GNU C Library, but do not describe when
48603 differences between them are significant.
48605 2012-03-05 Andreas Jaeger <aj@suse.de>
48607 * sysdeps/i386/fpu/libm-test-ulps: Update.
48609 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48612 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48613 (__ieee754_pow): Save and restore rounding mode and use
48614 round-to-nearest for main computations.
48615 * math/libm-test.inc (pow_test_tonearest): New function.
48616 (pow_test_towardzero): Likewise.
48617 (pow_test_downward): Likewise.
48618 (pow_test_upward): Likewise.
48619 (main): Call the new functions.
48620 * sysdeps/i386/fpu/libm-test-ulps: Update.
48621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48624 * math/libm-test.inc (cosh_test_tonearest): New function.
48625 (cosh_test_towardzero): Likewise.
48626 (cosh_test_downward): Likewise.
48627 (cosh_test_upward): Likewise.
48628 (sinh_test_tonearest): Likewise.
48629 (sinh_test_towardzero): Likewise.
48630 (sinh_test_downward): Likewise.
48631 (sinh_test_upward): Likewise.
48632 (main): Call the new functions.
48633 * sysdeps/i386/fpu/libm-test-ulps: Update.
48634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48636 2012-03-05 Tom de Vries <tom@codesourcery.com>
48638 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48639 default stack guard is set in last bytes.
48640 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48642 2012-03-05 Kees Cook <keescook@chromium.org>
48644 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48647 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48648 possibly allocate from heap instead of stack.
48649 * stdio-common/bug-vfprintf-nargs.c: New file.
48650 * stdio-common/Makefile (tests): Add nargs overflow test.
48652 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48656 2012-03-03 Marek Polacek <polacek@redhat.com>
48658 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48659 * math/math_private.h: Likewise.
48660 * stdlib/tst-strtod.c: Likewise.
48661 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48662 * sysdeps/x86_64/bits/atomic.h: Likewise.
48664 2012-03-02 David S. Miller <davem@davemloft.net>
48666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48670 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48671 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48672 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48673 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48675 2012-03-02 Roland McGrath <roland@hack.frob.com>
48678 * manual/examples/README: New file, says the example source files
48679 can be used under GPL>=2.
48680 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48681 line containing just "*/".
48682 * manual/examples/add.c: Add copyright header (GPL>=2).
48683 * manual/examples/argp-ex1.c: Likewise.
48684 * manual/examples/argp-ex2.c: Likewise.
48685 * manual/examples/argp-ex3.c: Likewise.
48686 * manual/examples/argp-ex4.c: Likewise.
48687 * manual/examples/atexit.c: Likewise.
48688 * manual/examples/db.c: Likewise.
48689 * manual/examples/dir.c: Likewise.
48690 * manual/examples/dir2.c: Likewise.
48691 * manual/examples/execinfo.c: Likewise.
48692 * manual/examples/filecli.c: Likewise.
48693 * manual/examples/filesrv.c: Likewise.
48694 * manual/examples/fmtmsgexpl.c: Likewise.
48695 * manual/examples/genpass.c: Likewise.
48696 * manual/examples/inetcli.c: Likewise.
48697 * manual/examples/inetsrv.c: Likewise.
48698 * manual/examples/isockad.c: Likewise.
48699 * manual/examples/longopt.c: Likewise.
48700 * manual/examples/memopen.c: Likewise.
48701 * manual/examples/memstrm.c: Likewise.
48702 * manual/examples/mkfsock.c: Likewise.
48703 * manual/examples/mkisock.c: Likewise.
48704 * manual/examples/mygetpass.c: Likewise.
48705 * manual/examples/pipe.c: Likewise.
48706 * manual/examples/popen.c: Likewise.
48707 * manual/examples/rprintf.c: Likewise.
48708 * manual/examples/search.c: Likewise.
48709 * manual/examples/select.c: Likewise.
48710 * manual/examples/setjmp.c: Likewise.
48711 * manual/examples/sigh1.c: Likewise.
48712 * manual/examples/sigusr.c: Likewise.
48713 * manual/examples/stpcpy.c: Likewise.
48714 * manual/examples/strdupa.c: Likewise.
48715 * manual/examples/strftim.c: Likewise.
48716 * manual/examples/strncat.c: Likewise.
48717 * manual/examples/subopt.c: Likewise.
48718 * manual/examples/swapcontext.c: Likewise.
48719 * manual/examples/termios.c: Likewise.
48720 * manual/examples/testopt.c: Likewise.
48721 * manual/examples/testpass.c: Likewise.
48722 * manual/examples/timeval_subtract.c: Likewise.
48725 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48727 * manual/timeval_subtract.c.texi: ... here, new file.
48729 2012-03-02 David S. Miller <davem@davemloft.net>
48731 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48733 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48736 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48737 (__sin): Save and restore rounding mode and use round-to-nearest
48738 for all computations.
48739 (__cos): Save and restore rounding mode and use round-to-nearest
48740 for all computations.
48741 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48743 (tan): Save and restore rounding mode and use round-to-nearest for
48745 * math/libm-test.inc (cos_test_tonearest): New function.
48746 (cos_test_towardzero): Likewise.
48747 (cos_test_downward): Likewise.
48748 (cos_test_upward): Likewise.
48749 (sin_test_tonearest): Likewise.
48750 (sin_test_towardzero): Likewise.
48751 (sin_test_downward): Likewise.
48752 (sin_test_upward): Likewise.
48753 (tan_test_tonearest): Likewise.
48754 (tan_test_towardzero): Likewise.
48755 (tan_test_downward): Likewise.
48756 (tan_test_upward): Likewise.
48757 (main): Call the new functions.
48758 * sysdeps/i386/fpu/libm-test-ulps: Update.
48759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48762 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48763 small n, then large n, before computing and testing k+n.
48764 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48765 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48769 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48770 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48771 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48772 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48773 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48774 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48775 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48776 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48777 * math/libm-test.inc (scalbn_test): Add more tests.
48778 (scalbln_test): Likewise.
48780 * manual/filesys.texi (mode_t): Describe constraints on size and
48781 signedness, not exact equivalence to a particular type.
48783 (ino64_t): Likewise.
48785 (nlink_t): Likewise.
48786 (blkcnt_t): Likewise.
48787 (blkcnt64_t): Likewise.
48788 * manual/llio.texi (off_t): Likewise.
48791 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48792 (__ieee754_exp): Save and restore rounding mode and use
48793 round-to-nearest for all computations.
48794 * math/libm-test.inc (exp_test_tonearest): New function.
48795 (exp_test_towardzero): Likewise.
48796 (exp_test_downward): Likewise.
48797 (exp_test_upward): Likewise.
48798 (main): Call the new functions.
48799 * sysdeps/i386/fpu/libm-test-ulps: Update.
48800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48802 2012-03-01 Chris Demetriou <cgd@google.com>
48804 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48805 have predictable order.
48807 2012-03-01 David S. Miller <davem@davemloft.net>
48809 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48811 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48812 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48813 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48814 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48816 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48817 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48818 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48820 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48821 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48822 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48823 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48824 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48828 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48829 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48830 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48832 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48833 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48834 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48835 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48836 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48837 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48838 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48839 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48840 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48841 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48842 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48843 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48844 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48845 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48846 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48847 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48848 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48849 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48850 * sysdeps/sparc/elf/configure: Regenerated.
48852 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48854 * configure.in (AS, LD): Require binutils 2.20 or later.
48855 * configure: Regenerated.
48856 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48857 as required minimum version.
48858 * INSTALL: Regenerated.
48862 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48863 before squaring exponent.
48864 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48865 bottom long double and 27 bits of top long double before squaring
48867 * math/libm-test.inc (erfc_test): Add more tests.
48868 * sysdeps/i386/fpu/libm-test-ulps: Update.
48869 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48872 2012-03-01 Kai Tietz <ktietz@redhat.com>
48874 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48875 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48876 containing bit-fields.
48877 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48878 * soft-fp/single.h (_FP_UNION_S): Likewise.
48879 * soft-fp/double.h (_FP_UNION_D): Likewise.
48881 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48884 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48885 not include ../strcmp.S.
48886 [USE_AS_STRNCASECMP_L]: Likewise.
48887 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48888 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48889 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48890 (__strncasecmp_l_ia32): Define as alias to
48891 __strncasecmp_l_nonascii.
48894 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48895 * sysdeps/i386/fpu/libm-test-ulps: Update.
48896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48898 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48901 2012-02-29 Jeff Law <law@redhat.com>
48903 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48904 out of bounds read.
48906 2012-02-29 Marek Polacek <polacek@redhat.com>
48909 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48910 * elf/Makefile: Add rules to run tst-unused-dep.out.
48912 2012-02-28 David S. Miller <davem@davemloft.net>
48914 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48915 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48918 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48919 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48921 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48923 * math/libm-test.inc (llround_test): Move one test from
48924 lround_test. Use TEST_f_L in moved test.
48925 (lround_test): Move misplaced test to llround_test. Add testcase
48928 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48930 * sysdeps/x86_64/fpu/e_expf.S: New file.
48931 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48933 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48936 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48937 of remain_len that may cause incomplete multi-byte character and
48939 * posix/bug-regex33.c: New file.
48940 * posix/Makefile (tests): Add bug-regex33.
48942 2012-02-28 Joseph Myers <joseph@codesourcery.com>
48944 * manual/macros.texi: New file.
48945 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48946 * manual/libc.texinfo: Include macros.texi.
48947 * manual/creatute.texi: Likewise.
48948 * manual/install.texi: Likewise.
48949 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48950 @glibcadj{} in references to the GNU C Library.
48951 * manual/charset.texi: Likewise.
48952 * manual/conf.texi: Likewise.
48953 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
48954 when not using those macros.
48955 * manual/creature.texi: Likewise.
48956 * manual/crypt.texi: Likewise.
48957 * manual/errno.texi: Likewise.
48958 * manual/filesys.texi: Likewise.
48959 * manual/header.texi: Likewise.
48960 * manual/install.texi: Likewise.
48961 * manual/intro.texi: Likewise.
48962 * manual/io.texi: Likewise.
48963 * manual/job.texi: Likewise.
48964 * manual/lang.texi: Likewise.
48965 * manual/libc.texiinfo: Likewise.
48966 * manual/llio.texi: Likewise.
48967 * manual/locale.texi: Likewise.
48968 * manual/maint.texi: Likewise.
48969 * manual/math.texi: Likewise.
48970 * manual/memory.texi: Likewise.
48971 * manual/message.texi: Likewise.
48972 * manual/nss.texi: Likewise.
48973 * manual/pattern.texi: Likewise.
48974 * manual/process.texi: Likewise.
48975 * manual/resource.texi: Likewise.
48976 * manual/search.texi: Likewise.
48977 * manual/setjmp.texi: Likewise.
48978 * manual/signal.texi: Likewise.
48979 * manual/socket.texi: Likewise.
48980 * manual/startup.texi: Likewise.
48981 * manual/stdio.texi: Likewise.
48982 * manual/string.texi: Likewise.
48983 * manual/sysinfo.texi: Likewise.
48984 * manual/syslog.texi: Likewise.
48985 * manual/terminal.texi: Likewise.
48986 * manual/time.texi: Likewise.
48987 * manual/users.texi: Likewise.
48988 * INSTALL: Regenerated.
48989 * NOTES: Regenerated.
48990 * sysdeps/gnu/errlist.c: Regenerated.
48992 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
48994 * include/dirent.h: Include <dirstream.h> before
48997 2012-02-28 David S. Miller <davem@davemloft.net>
48999 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49000 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49001 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49002 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49004 2012-02-27 David S. Miller <davem@davemloft.net>
49006 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49008 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49009 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49012 frame pointer instead of stack pointer relative arg slot.
49013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49014 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49015 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49017 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49020 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49022 2012-02-27 David S. Miller <davem@davemloft.net>
49024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49025 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49028 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49029 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49030 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49031 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49033 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49035 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49036 later. Allow versions 5-9.
49037 * configure: Regenerated.
49038 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49039 required minimum version and 4.6 as recommended version. Do not
49040 mention bugs in GCC 2.7 and 2.8.
49041 * INSTALL: Regenerated.
49043 2012-02-27 David S. Miller <davem@davemloft.net>
49045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49049 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49050 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49051 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49052 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49054 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49055 manipulate bits before adding and subtracting TWO112[sx].
49056 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49058 2012-02-27 Roland McGrath <roland@hack.frob.com>
49061 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49062 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49063 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49064 being in POSIX, because they are in 1003.1-2008.
49066 * rt/tst-aio.c: Include <fcntl.h>.
49067 * rt/tst-aio7.c: Likewise.
49068 * rt/tst-aio64.c: Likewise.
49070 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49072 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49074 * manual/install.texi (--with-headers): Describe headers as
49075 interface headers, not private headers.
49076 (Specific advice for GNU/Linux systems): Describe use of headers
49077 from "make headers_install", not private headers from older
49079 * INSTALL: Regenerated.
49080 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49082 * sysdeps/unix/sysv/linux/configure: Regenerated.
49084 * manual/llio.texi (fclean): Remove documentation.
49086 * manual/Makefile (libc-texi-generated): New variable. Include
49088 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49089 $(libc-texi-generated), not duplicated list of files.
49090 (version.texi, stamp-version): New rules.
49091 (realclean): Remove $(libc-texi-generated), not individual files
49092 from that list. Do not remove dir-add.texinfo.
49093 * manual/libc.texinfo: Comment out uses of edition numbers and
49094 references to printed manual. Remove last-updated dates.
49095 (EDITION): Comment out.
49097 (VERSION, UPDATED): Remove.
49098 (version.texi): Include.
49100 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49102 * sysdeps/posix/spawni.c: Include <signal.h>.
49103 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49104 * sysdeps/pthread/aio_fsync.c: Likewise.
49106 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49108 * conform/Makefile (tests): Run only when not cross-compiling and
49109 when fast-check is not defined.
49111 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49112 * conform/data/limits.h-data: Fixes for POSIX2008.
49113 * conform/run-conformtest.sh: Run all tests.
49114 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49116 * include/bits/dlfcn.h: Likewise.
49117 * include/langinfo.h: Likewise.
49118 * include/monetary.h: Likewise.
49119 * include/sys/poll.h: Likewise.
49121 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49123 * posix/spawn.h: Define __need_sigset_t.
49124 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49125 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49126 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49127 to get sigevent_t only.
49128 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49129 only for __USE_GNU.
49130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49131 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49132 process_vm_writev only for __USE_GNU.
49133 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49135 * conform/Makefile: For now ignore errors from run-conformtest.
49136 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49137 POSIX to avoid namespace pollution. Don't prepend headers.
49138 * conform/data/aio.h-data: Fixes for POSIX testing.
49139 * conform/data/fcntl.h-data: Likewise.
49140 * conform/data/glob.h-data: Likewise.
49141 * conform/data/grp.h-data: Likewise.
49142 * conform/data/pthread.h-data: Likewise.
49143 * conform/data/pwd.h-data: Likewise.
49144 * conform/data/signal.h-data: Likewise.
49145 * conform/data/spawn.h-data: Likewise.
49146 * conform/data/stdio.h-data: Likewise.
49147 * conform/data/stdlib.h-data: Likewise.
49148 * conform/data/stropts.h-data: Likewise.
49149 * conform/data/sys/mman.h-data: Likewise.
49150 * conform/data/sys/stat.h-data: Likewise.
49151 * conform/data/sys/types.h-data: Likewise.
49152 * conform/data/sys/wait.h-data: Likewise.
49153 * conform/data/time.h-data: Likewise.
49154 * conform/data/unistd.h-data: Likewise.
49155 * conform/data/utime.h-data: Likewise.
49157 * io/sys/stat.h: fchmod was always in POSIX.
49158 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49159 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49160 * rt/aio.h: Define __need_timespec before including <time.h>.
49161 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49162 struct. Add forward declaration of pthread_attr_t and use it in
49164 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49165 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49166 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49167 always remove CLK_TCK definition.
49169 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49171 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49173 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49175 * conform/run-conformtest.sh: New file.
49176 * conform/Makefile: Run run-conformtest for tests.
49177 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49180 * conform/data/uchar.h-data: New file.
49181 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49182 * conform/data/arpa/inet.h-data: Likewise.
49183 * conform/data/assert.h-data: Likewise.
49184 * conform/data/complex.h-data: Likewise.
49185 * conform/data/cpio.h-data: Likewise.
49186 * conform/data/ctype.h-data: Likewise.
49187 * conform/data/dirent.h-data: Likewise.
49188 * conform/data/dlfcn.h-data: Likewise.
49189 * conform/data/errno.h-data: Likewise.
49190 * conform/data/fcntl.h-data: Likewise.
49191 * conform/data/float.h-data: Likewise.
49192 * conform/data/fmtmsg.h-data: Likewise.
49193 * conform/data/fnmatch.h-data: Likewise.
49194 * conform/data/ftw.h-data: Likewise.
49195 * conform/data/glob.h-data: Likewise.
49196 * conform/data/grp.h-data: Likewise.
49197 * conform/data/iconv.h-data: Likewise.
49198 * conform/data/inttypes.h-data: Likewise.
49199 * conform/data/langinfo.h-data: Likewise.
49200 * conform/data/libgen.h-data: Likewise.
49201 * conform/data/limits.h-data: Likewise.
49202 * conform/data/locale.h-data: Likewise.
49203 * conform/data/math.h-data: Likewise.
49204 * conform/data/monetary.h-data: Likewise.
49205 * conform/data/mqueue.h-data: Likewise.
49206 * conform/data/ndbm.h-data: Likewise.
49207 * conform/data/net/if.h-data: Likewise.
49208 * conform/data/netdb.h-data: Likewise.
49209 * conform/data/netinet/in.h-data: Likewise.
49210 * conform/data/nl_types.h-data: Likewise.
49211 * conform/data/poll.h-data: Likewise.
49212 * conform/data/pthread.h-data: Likewise.
49213 * conform/data/pwd.h-data: Likewise.
49214 * conform/data/regex.h-data: Likewise.
49215 * conform/data/sched.h-data: Likewise.
49216 * conform/data/search.h-data: Likewise.
49217 * conform/data/semaphore.h-data: Likewise.
49218 * conform/data/setjmp.h-data: Likewise.
49219 * conform/data/signal.h-data: Likewise.
49220 * conform/data/spawn.h-data: Likewise.
49221 * conform/data/stdarg.h-data: Likewise.
49222 * conform/data/stdio.h-data: Likewise.
49223 * conform/data/stdlib.h-data: Likewise.
49224 * conform/data/string.h-data: Likewise.
49225 * conform/data/strings.h-data: Likewise.
49226 * conform/data/stropts.h-data: Likewise.
49227 * conform/data/sys/ipc.h-data: Likewise.
49228 * conform/data/sys/mman.h-data: Likewise.
49229 * conform/data/sys/msg.h-data: Likewise.
49230 * conform/data/sys/resource.h-data: Likewise.
49231 * conform/data/sys/select.h-data: Likewise.
49232 * conform/data/sys/sem.h-data: Likewise.
49233 * conform/data/sys/shm.h-data: Likewise.
49234 * conform/data/sys/socket.h-data: Likewise.
49235 * conform/data/sys/stat.h-data: Likewise.
49236 * conform/data/sys/statvfs.h-data: Likewise.
49237 * conform/data/sys/time.h-data: Likewise.
49238 * conform/data/sys/timeb.h-data: Likewise.
49239 * conform/data/sys/times.h-data: Likewise.
49240 * conform/data/sys/types.h-data: Likewise.
49241 * conform/data/sys/uio.h-data: Likewise.
49242 * conform/data/sys/un.h-data: Likewise.
49243 * conform/data/sys/utsname.h-data: Likewise.
49244 * conform/data/sys/wait.h-data: Likewise.
49245 * conform/data/syslog.h-data: Likewise.
49246 * conform/data/tar.h-data: Likewise.
49247 * conform/data/termios.h-data: Likewise.
49248 * conform/data/utime.h-data: Likewise.
49249 * conform/data/utmpx.h-data: Likewise.
49250 * conform/data/varargs.h-data: Likewise.
49251 * conform/data/wchar.h-data: Likewise.
49252 * conform/data/wctype.h-data: Likewise.
49253 * conform/data/wordexp.h-data: Likewise.
49255 * include/stropts.h: New file.
49256 * include/uchar.h: New file.
49257 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49258 * include/assert.h: Likewise.
49259 * include/ctype.h: Likewise.
49260 * include/dirent.h: Likewise.
49261 * include/dlfcn.h: Likewise.
49262 * include/fcntl.h: Likewise.
49263 * include/fnmatch.h: Likewise.
49264 * include/glob.h: Likewise.
49265 * include/grp.h: Likewise.
49266 * include/libio.h: Likewise.
49267 * include/locale.h: Likewise.
49268 * include/math.h: Likewise.
49269 * include/net/if.h: Likewise.
49270 * include/netdb.h: Likewise.
49271 * include/netinet/in.h: Likewise.
49272 * include/pthread.h: Likewise.
49273 * include/pwd.h: Likewise.
49274 * include/regex.h: Likewise.
49275 * include/sched.h: Likewise.
49276 * include/search.h: Likewise.
49277 * include/setjmp.h: Likewise.
49278 * include/signal.h: Likewise.
49279 * include/stdio.h: Likewise.
49280 * include/stdlib.h: Likewise.
49281 * include/string.h: Likewise.
49282 * include/sys/cdefs.h: Likewise.
49283 * include/sys/mman.h: Likewise.
49284 * include/sys/msg.h: Likewise.
49285 * include/sys/resource.h: Likewise.
49286 * include/sys/select.h: Likewise.
49287 * include/sys/socket.h: Likewise.
49288 * include/sys/stat.h: Likewise.
49289 * include/sys/statvfs.h: Likewise.
49290 * include/sys/time.h: Likewise.
49291 * include/sys/times.h: Likewise.
49292 * include/sys/uio.h: Likewise.
49293 * include/sys/utsname.h: Likewise.
49294 * include/sys/wait.h: Likewise.
49295 * include/termios.h: Likewise.
49296 * include/time.h: Likewise.
49297 * include/ulimit.h: Likewise.
49298 * include/unistd.h: Likewise.
49299 * include/utime.h: Likewise.
49300 * include/wchar.h: Likewise.
49301 * include/wctype.h: Likewise.
49302 * include/wordexp.h: Likewise.
49304 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49306 * time/time.h: TIME_UTC must be a macro.
49307 Make timespec_get available for ISO C11 only as well.
49309 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49311 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49312 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49314 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49316 * configure.in: Use -o not -a in test for unsupported multi-arch.
49318 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49320 * manual/texinfo.tex: Update to version 2012-01-19.16.
49322 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49324 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49326 2012-02-24 Roland McGrath <roland@hack.frob.com>
49329 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49330 * manual/fdl-1.3.texi: New file.
49331 * manual/fdl-1.1.texi: File removed.
49334 * manual/libc.texinfo (FDL_VERSION): New @set.
49335 Use it for mention of FDL in cover text.
49336 (Documentation License): Use it in @include file name.
49338 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49339 Roland McGrath <roland@hack.frob.com>
49342 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49343 (not LONG_LONG_MAX and LONG_LONG_MIN.
49344 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49345 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49347 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49349 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49353 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49354 manipulate bits before adding and subtracting TWO23[sx].
49355 * math/libm-test.inc (nearbyint_test): Add more tests.
49357 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49360 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49361 bits before adding and subtracting TWO23[sx].
49362 * math/libm-test.inc (rint_test): Add more tests.
49363 (rint_test_tonearest): Likewise.
49364 (rint_test_towardzero): Likewise.
49365 (rint_test_downward): Likewise.
49366 (rint_test_upward: Likewise.
49368 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49371 * include/stdc-predef.h: New file. Extracted from features.h.
49372 * include/features.h: Include stdc-predef.h.
49373 * Makefile (headers): Add stdc-predef.h.
49374 * CONFORMANCE (Compiler limitations): Update.
49376 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49378 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49380 2012-02-21 David S. Miller <davem@davemloft.net>
49382 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49383 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49385 2012-02-20 David S. Miller <davem@davemloft.net>
49387 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49388 using a normal save/restore sequence, rather than allocating a
49389 dummy stack frame just to store a frame pointer and restore.
49390 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49392 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49394 * manual/install.texi: Fix stray word in line-wrapped comment.
49396 2012-02-20 David S. Miller <davem@davemloft.net>
49398 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49399 both binutils and gcc support GOTDATA.
49401 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49402 "rd %pc" in the PIC register setup sequences.
49404 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49405 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49406 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49407 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49408 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49410 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49412 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49413 (SYSCALL_ERROR_HANDLER): Likewise.
49414 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49415 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49417 (SYSCALL_ERROR_HANDLER): Likewise.
49419 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49420 (HAVE_GCC_GOTDATA): New.
49421 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49422 relocation support in both binutils and gcc.
49423 * sysdeps/sparc/elf/configure: Regenerate.
49425 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49426 * sysdeps/sparc/sparc32/elf/configure: Delete.
49427 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49428 * sysdeps/sparc/sparc64/elf/configure: Delete.
49429 * sysdeps/sparc/elf/configure.in: New file.
49430 * sysdeps/sparc/elf/configure: Generate.
49432 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49433 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49434 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49435 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49436 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49438 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49440 * manual/install.texi: Do not mention specific glibc version
49442 * manual/libc.texinfo (VERSION, UPDATED): Update.
49443 (@copying): Use @copyright{} and range of years.
49445 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49448 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49449 [crti.S not in sysdirs] (generated): Do not append.
49450 [crti.S not in sysdirs] (omit-deps): Likewise.
49451 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49452 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49453 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49454 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49455 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49457 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49458 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49459 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49460 * csu/defs.awk: Remove file.
49461 * sysdeps/generic/initfini.c: Likewise.
49462 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49464 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49467 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49469 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49470 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49471 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49472 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49473 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49474 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49476 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49477 (__EPOLL_PACKED): Define to empty if not defined by
49479 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49483 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49485 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49486 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49487 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49488 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49490 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49494 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49496 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49498 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49499 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49500 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49503 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49505 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49506 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49508 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49510 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49511 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49513 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49515 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49518 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49520 * math/w_acos.c: Use non-signaling floating-point comparisons.
49521 * math/w_acosf.c: Likewise.
49522 * math/w_acosh.c: Likewise.
49523 * math/w_acoshf.c: Likewise.
49524 * math/w_acoshl.c: Likewise.
49525 * math/w_acosl.c: Likewise.
49526 * math/w_asin.c: Likewise.
49527 * math/w_asinf.c: Likewise.
49528 * math/w_asinl.c: Likewise.
49529 * math/w_atanh.c: Likewise.
49530 * math/w_atanhf.c: Likewise.
49531 * math/w_atanhl.c: Likewise.
49532 * math/w_exp2.c: Likewise.
49533 * math/w_exp2f.c: Likewise.
49534 * math/w_exp2l.c: Likewise.
49535 * math/w_j0.c: Likewise.
49536 * math/w_j0f.c: Likewise.
49537 * math/w_j0l.c: Likewise.
49538 * math/w_j1.c: Likewise.
49539 * math/w_j1f.c: Likewise.
49540 * math/w_j1l.c: Likewise.
49541 * math/w_jn.c: Likewise.
49542 * math/w_jnf.c: Likewise.
49543 * math/w_log.c: Likewise.
49544 * math/w_log10.c: Likewise.
49545 * math/w_log10f.c: Likewise.
49546 * math/w_log10l.c: Likewise.
49547 * math/w_log2.c: Likewise.
49548 * math/w_log2f.c: Likewise.
49549 * math/w_log2l.c: Likewise.
49550 * math/w_logf.c: Likewise.
49551 * math/w_logl.c: Likewise.
49552 * math/w_sqrt.c: Likewise.
49553 * math/w_sqrtf.c: Likewise.
49554 * math/w_sqrtl.c: Likewise.
49555 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49556 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49557 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49558 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49559 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49561 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49564 * manual/string.texi (strnlen): Use correct parameter name in
49565 equivalent expression.
49567 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49570 * manual/users.texi (seteuid): Consistently use neweuid for
49573 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49576 * manual/nss.texi (Services in the NSS configuration): Correct
49577 list of services in example configuration file.
49579 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49582 * manual/arith.texi: Remove statements about negative zero
49583 behaving identically to zero.
49585 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49588 * manual/install.texi: Do not document upgrading from libc5.
49590 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49593 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49595 2012-02-18 David S. Miller <davem@davemloft.net>
49597 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49598 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49599 %o7 across the call.
49600 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49602 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49603 SETUP_PIC_REG_LEAF.
49604 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49605 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49606 * sysdeps/sparc/crtn.S: Likewise.
49608 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49610 * aout/Makefile: Remove.
49612 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49615 * manual/examples/argp-ex1.c (main): Format definition in GNU
49617 * manual/examples/argp-ex2.c (main): Likewise.
49618 * manual/examples/argp-ex3.c (main): Likewise.
49619 * manual/examples/argp-ex4.c (main): Likewise.
49620 * manual/examples/longopt.c (main): Use new-style prototype
49622 * manual/examples/strncat.c (main): Specify return type and use
49623 (void) for arguments.
49624 * manual/examples/subopt.c (main): Use char **argv argument.
49626 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49629 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49632 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49635 * manual/string.texi (strchr): Change when strchrnul is
49638 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49641 * manual/locale.texi (setlocale): Document LOCPATH.
49643 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49646 * manual/process.texi (execle): Move @dots{} before last argument.
49648 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49651 * manual/charset.texi (Generic Charset Conversion): Fix typo
49652 (LC_TYPE -> LC_CTYPE).
49654 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49657 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49658 (scalbnf): Likewise.
49659 (scalbnl): Likewise.
49660 (scalbln): Likewise.
49661 (scalblnf): Likewise.
49662 (scalblnl): Likewise.
49663 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49664 (vwarnx): Likewise.
49667 * manual/filesys.texi (telldir): Use braces around return type.
49668 * manual/llio.texi (mmap): Add space after comma.
49669 (mmap64): Likewise.
49670 * manual/math.texi (jn): Use @var{} on parameter names.
49676 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49678 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49680 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49681 (sched_get_priority_max): Likewise.
49682 * manual/signal.texi (sigvec): Add space after comma.
49683 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49685 (if_indextoname): Likewise.
49686 (if_freenameindex): Likewise.
49687 (sendto): Use ',' instead of '.' in prototype.
49688 * manual/startup.texi (syscall): Use @dots{} instead of literal
49690 * manual/stdio.texi (__fpending): Separate initial words of
49691 paragraph from @deftypefun line.
49692 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49694 (vsyslog): Use @var{} on parameter names.
49695 * manual/terminal.texi (stty): Use @var{} on parameter names.
49696 * manual/users.texi (getutmp): Use @var{} on parameter names.
49697 (getutmpx): Likewise.
49699 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49702 * manual/stdio.texi (fopen): Fix typos in description of
49705 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49708 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49709 get clock_id definition.
49711 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49714 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49715 (madvise): Cast every argument to void on its own.
49717 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49720 * manual/startup.texi (Exit Status): Fix typo.
49722 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49725 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49726 * manual/examples/argp-ex2.c: Likewise.
49727 * manual/examples/argp-ex3.c: Likewise.
49729 2012-02-16 Richard Henderson <rth@redhat.com>
49731 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49732 * sysdeps/s390/s390-32/initfini.c: Remove.
49733 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49734 * sysdeps/s390/s390-64/initfini.c: Remove.
49736 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49738 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49739 compiler output for sysdeps/generic/initfini.c.
49740 * sysdeps/sh/elf/initfini.c: Remove file.
49742 2012-02-16 David S. Miller <davem@davemloft.net>
49745 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49747 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49748 * sysdeps/sparc/crti.S: New file.
49749 * sysdeps/sparc/crtn.S: New file.
49750 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49751 * sysdeps/sparc/sparc64/Makefile: Likewise.
49753 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49756 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49758 2012-02-15 Roland McGrath <roland@hack.frob.com>
49761 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49763 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49764 (write, read, close): Likewise.
49765 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49767 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49769 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49770 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49771 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49772 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49774 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49775 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49778 2012-02-14 Marek Polacek <polacek@redhat.com>
49780 * sysdeps/x86_64/crti.S: New file.
49781 * sysdeps/x86_64/crtn.S: New file.
49782 * sysdeps/x86_64/elf/initfini.c: Remove file.
49784 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49786 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49787 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49788 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49789 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49791 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49792 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49795 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49797 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49798 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49799 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49800 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49802 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49806 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49808 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49809 __feraiseexcept instead of feraiseexcept.
49811 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49812 nanosleep invocations.
49813 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49814 strings, and add error checking for a nanosleep invocations.
49816 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49818 Replace FSF snail mail address with URLs, as per GNU coding standards.
49819 Most of the snail mail addresses were wrong anyway, and omitting
49820 them makes the source code easier to maintain. Almost all of the
49821 changes are to license notices and to locale LC_IDENTIFICATION
49822 addresses, except for this one:
49823 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49824 not its snail mail address.
49826 2012-02-09 Richard Henderson <rth@twiddle.net>
49828 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49829 of kernel-features.h.
49831 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49833 2012-02-08 Marek Polacek <polacek@redhat.com>
49835 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49836 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49837 * sysdeps/gnu/_G_config.h: Likewise.
49838 * sysdeps/generic/_G_config.h: Likewise.
49840 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49842 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49844 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49846 * sysdeps/powerpc/powerpc32/crti.S: New file.
49847 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49848 * sysdeps/powerpc/powerpc64/crti.S: New file.
49849 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49851 * Makeconfig (have-initfini): Don't set.
49852 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49853 * configure.in (nopic_initfini): Don't substitute.
49854 * config.h.in (HAVE_INITFINI): Don't #undef.
49855 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49856 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49858 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49860 Support crti.S and crtn.S provided directly by architectures.
49861 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49862 [crti.S in sysdirs] (omit-deps): Likewise.
49863 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49864 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49865 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49866 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49867 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49868 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49869 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49870 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49871 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49872 compiler output for sysdeps/generic/initfini.c.
49873 * sysdeps/i386/elf/Makefile: Remove file.
49874 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49876 2012-02-07 Marek Polacek <polacek@redhat.com>
49878 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49879 * sysdeps/gnu/_G_config.h: Likewise.
49880 * sysdeps/mach/hurd/_G_config.h: Likewise.
49882 2012-02-07 Marek Polacek <polacek@redhat.com>
49884 * math/Makefile (tests): Add tst-CMPLX2.
49885 * math/tst-CMPLX2.c: New file.
49887 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49889 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49891 * math/libm-test.inc (jn_test): Add missing L suffix.
49893 2012-02-06 Marek Polacek <polacek@redhat.com>
49895 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49896 * sysdeps/i386/fpu/e_powf.S: Likewise.
49897 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49898 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49899 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49900 * sysdeps/i386/fpu/e_pow.S: Likewise.
49901 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49902 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49903 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49904 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49905 * sysdeps/i386/fpu/e_log2.S: Likewise.
49906 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49907 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49908 * sysdeps/i386/fpu/e_powl.S: Likewise.
49909 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49910 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49911 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49912 * sysdeps/i386/fpu/e_logl.S: Likewise.
49913 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49914 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49915 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49916 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49917 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49918 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49919 * sysdeps/i386/fpu/e_log.S: Likewise.
49920 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49921 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49922 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49923 * sysdeps/i386/fpu/e_logf.S: Likewise.
49924 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49925 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49926 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49927 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49928 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49929 * sysdeps/i386/fpu/e_log10.S: Likewise.
49930 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49931 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49932 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49933 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49934 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49935 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49936 * sysdeps/i386/asm-syntax.h: Likewise.
49937 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49938 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49939 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49940 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49941 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49942 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49943 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49944 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49945 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49946 * sysdeps/powerpc/sysdep.h: Likewise.
49947 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49948 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49950 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49953 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49955 2012-02-06 Joseph Myers <joseph@codesourcery.com>
49957 * sysdeps/i386/sysdep.h: Include <features.h>.
49958 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49961 2012-02-05 Joseph Myers <joseph@codesourcery.com>
49963 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49965 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49968 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49970 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49971 (SETUP_PIC_REG): Use GET_PC_THUNK.
49972 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49975 2012-02-03 Joseph Myers <joseph@codesourcery.com>
49977 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49978 for non-PIC compilation.
49979 (SETUP_PIC_REG): Add .p2align directive.
49980 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49981 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49982 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49983 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49984 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49985 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49986 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49987 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49988 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49989 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49990 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49991 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49992 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49993 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49994 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49995 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49996 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49997 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49998 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49999 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50000 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50001 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50002 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50003 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50004 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50005 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50006 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50007 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50008 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50009 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50010 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50011 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50012 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50013 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50014 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50015 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50016 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50017 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50018 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50019 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50020 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50022 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50024 * math/tst-CMPLX.c: Include <stdio.h>.
50026 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50028 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50030 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50031 * sysdeps/sparc/bits/mathdef.h: Likewise.
50033 2012-01-31 Marek Polacek <polacek@redhat.com>
50035 * libio/libio.h: Don't define _PARAMS.
50036 * locale/programs/config.h: Don't define PARAMS.
50037 * stdlib/strtol_l.c: Likewise.
50038 (__strtol_l): Remove PARAMS from the prototype.
50040 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50042 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50043 names. Just use the correct names. Remove unnecessary wrapper
50045 * malloc/arena.c: Likewise.
50046 * malloc/hooks.c: Likewise.
50048 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50049 ARENA_TEST says not to. Simplify test for creation of a new arena.
50050 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50052 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50054 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50056 (update_get_addr): New function.
50057 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50058 GET_ADDR_MODULE parameter.
50060 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50062 * crypt/cert.c: Remove __STDC__ conditionals.
50063 * crypt/crypt-entry.c: Likewise.
50064 * crypt/crypt_util.c: Likewise.
50065 * libio/filedoalloc.c: Likewise.
50066 * libio/fileops.c: Likewise.
50067 * libio/genops.c: Likewise.
50068 * libio/iofclose.c: Likewise.
50069 * libio/iofdopen.c: Likewise.
50070 * libio/iofopen.c: Likewise.
50071 * libio/iofopen64.c: Likewise.
50072 * libio/iogetdelim.c: Likewise.
50073 * libio/iopopen.c: Likewise.
50074 * libio/obprintf.c: Likewise.
50075 * libio/oldfileops.c: Likewise.
50076 * libio/oldiofclose.c: Likewise.
50077 * libio/oldiofdopen.c: Likewise.
50078 * libio/oldiofopen.c: Likewise.
50079 * libio/oldiopopen.c: Likewise.
50080 * libio/wfiledoalloc.c: Likewise.
50081 * libio/wgenops.c: Likewise.
50082 * locale/programs/xmalloc.c: Likewise.
50083 * misc/syslog.c: Likewise.
50084 * stdio-common/xbug.c: Likewise.
50085 * string/memchr.c: Likewise.
50086 * string/memcmp.c: Likewise.
50087 * string/memrchr.c: Likewise.
50088 * string/rawmemchr.c: Likewise.
50089 * sysdeps/posix/getcwd.c: Likewise.
50090 * time/strftime_l.c: Likewise.
50092 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50094 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50095 * config.make.in (config-cflags-sse2avx): Define.
50096 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50099 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50101 * scripts/config.guess: Update from upstream config git repository.
50102 * scripts/config.sub: Likewise.
50104 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50106 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50108 (R_TILEPRO_*, R_TILEGX_*): New macros.
50110 * scripts/firstversions.awk: Fix bug in version range handling.
50112 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50114 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50116 * include/sys/epoll.h: New file.
50117 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50120 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50122 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50123 Avoid unnecessary __WORDSIZE == 64 test.
50124 (fmaxf): Use VEX format if possible.
50129 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50130 * math/math_private.h: Remove libc_fegetround* and
50132 * sysdeps/i386/configure.in: Check for -msse2avx.
50133 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50134 also if SSE2AVX is defined.
50135 Remove libc_fegetround* and libc_fesetround*.
50136 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50137 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50138 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50140 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50141 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50142 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50143 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50144 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50146 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50148 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50150 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50152 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50154 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50157 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50159 * Makeconfig (libm): Define.
50160 * elf/Makefile: Add rules to build and run tst-relsort1.
50161 * elf/tst-relsort1.c: New file.
50162 * elf/tst-relsort1mod1.c: New file.
50163 * elf/tst-relsort1mod2.c: New file.
50165 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50167 * math/s_ldexp.c: Remove __STDC__ conditionals.
50168 * math/s_ldexpf.c: Likewise.
50169 * math/s_ldexpl.c: Likewise.
50170 * math/s_nextafter.c: Likewise.
50171 * math/s_nexttowardf.c: Likewise.
50172 * math/s_significand.c: Likewise.
50173 * math/s_significandf.c: Likewise.
50174 * math/s_significandl.c: Likewise.
50175 * math/w_jnl.c: Likewise.
50176 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50177 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50178 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50179 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50180 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50181 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50182 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50183 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50184 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50185 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50186 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50187 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50188 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50189 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50190 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50191 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50192 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50193 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50194 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50195 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50196 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50197 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50198 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50199 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50200 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50201 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50202 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50203 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50204 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50205 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50206 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50207 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50208 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50209 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50210 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50211 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50212 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50213 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50214 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50215 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50216 * sysdeps/ieee754/k_standard.c: Likewise.
50217 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50218 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50219 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50220 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50221 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50222 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50223 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50224 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50225 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50226 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50227 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50228 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50229 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50230 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50231 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50232 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50233 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50234 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50235 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50236 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50237 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50238 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50239 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50240 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50241 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50242 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50243 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50245 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50246 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50247 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50248 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50249 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50250 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50252 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50253 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50254 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50255 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50256 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50257 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50258 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50259 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50260 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50261 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50262 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50263 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50264 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50265 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50266 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50267 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50268 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50269 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50270 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50271 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50272 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50273 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50274 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50275 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50276 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50277 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50278 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50279 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50280 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50281 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50282 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50283 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50284 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50285 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50286 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50287 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50288 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50289 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50290 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50291 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50292 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50293 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50294 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50295 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50296 * sysdeps/ieee754/s_matherr.c: Likewise.
50297 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50298 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50299 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50302 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50304 * crypt/md5.h: Remove __STDC__ conditionals.
50305 * libio/libioP.h: Likewise.
50306 * locale/programs/config.h: Likewise.
50307 * sysdeps/generic/sysdep.h: Likewise.
50308 * sysdeps/i386/asm-syntax.h: Likewise.
50309 * sysdeps/s390/asm-syntax.h: Likewise.
50310 * sysdeps/unix/sysdep.h: Likewise.
50311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50314 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50316 * libio/libio.h: Remove __STDC__ conditionals.
50317 * malloc/obstack.h: Likewise.
50318 * math/complex.h: Likewise.
50319 * math/math.h: Likewise.
50320 * sysdeps/generic/_G_config.h: Likewise.
50321 * sysdeps/gnu/_G_config.h: Likewise.
50322 * sysdeps/mach/hurd/_G_config.h: Likewise.
50323 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50324 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50325 * sysdeps/sparc/bits/mathdef.h: Likewise.
50327 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50330 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50331 Clean up HAS_* macros.
50332 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50333 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50335 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50337 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50338 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50339 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50340 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50341 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50343 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50345 * elf/tst-unique3.cc (gets): Remove declaration.
50346 * elf/tst-unique3lib.cc (gets): Likewise.
50347 * elf/tst-unique3lib2.cc (gets): Likewise.
50348 * elf/tst-unique4.cc (gets): Likewise.
50350 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50352 * include/stdio.h: Add C++ protection. Add gets declarations and
50354 * debug/tst-chk1.c: Don't declare gets here.
50355 * stdio-common/tst-gets.c: Likewise.
50357 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50359 * posix/glob: Remove directory.
50361 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50363 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50365 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50367 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50368 of the non-standard EPFNOSUPPORT.
50370 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50372 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50373 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50374 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50376 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50378 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50380 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50382 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50384 * nscd/grpcache.c (cache_addgr): Likewise.
50385 * nscd/hstcache.c (cache_addhst): Likewise.
50386 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50387 * nscd/pwdcache.c (cache_addpw): Likewise.
50388 * nscd/servicescache.c (cache_addserv): Likewise.
50390 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50392 * malloc/malloc.c: Various cleanups.
50393 * malloc/hooks.c: Likewise.
50395 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50396 * stdlib/bug-fmtmsg1.c: New file.
50398 * stdlib/fmtmsg.c (init): Add missing unlock.
50399 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50401 2012-01-12 Marek Polacek <polacek@redhat.com>
50403 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50406 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50408 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50409 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50410 macro to ensure uniqueness of label name.
50411 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50412 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50414 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50416 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50418 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50419 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50420 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50421 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50423 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50425 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50427 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50428 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50429 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50431 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50433 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50434 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50435 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50436 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50438 * math/bits/math-finite.h: Add ldexp support.
50440 2012-01-10 Marek Polacek <polacek@redhat.com>
50442 * locale/programs/localedef.h (show_archive_content): Add noreturn
50445 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50447 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50449 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50451 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50453 * io/Makefile (headers): Add bits/poll2.h.
50455 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50458 typo #include statement.
50460 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50462 * include/sys/cdefs.h: Define __attribute_alloc_size.
50463 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50464 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50465 * elf/pldd.c: Likewise.
50466 * iconv/iconv_charmap.c: Likewise.
50467 * iconv/iconvconfig.c: Likewise.
50468 * iconv/strtab.c: Likewise.
50469 * locale/programs/locale.c: Likewise.
50470 * locale/programs/localedef.h: Likewise.
50471 * locale/programs/simple-hash.c: Likewise.
50472 * nscd/nscd.h: Likewise.
50473 * nss/makedb.c: Likewise.
50474 * sysdeps/generic/ldconfig.h: Likewise.
50475 * locale/programs/localedef.c: Remove xmalloc prototype.
50476 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50478 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50480 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50483 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50485 * math/Makefile (tests): Add tst-CMPLX.
50486 * math/tst-CMPLX.c: New file.
50488 * math/complex.h (CMPLXL): Fix typo.
50490 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50491 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50493 * debug/tst-chk1.c: Add poll and ppoll tests.
50494 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50495 * include/sys/poll.h: Add hidden proto for ppoll.
50496 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50497 * sysdeps/mach/hurd/ppoll.c: Likewise.
50498 * io/ppoll.c: Likewise.
50499 * debug/poll_chk.c: New file.
50500 * debug/ppoll_chk.c: New file.
50501 * include/bits/poll2.h: New file.
50502 * io/bits/poll2.h: New file.
50505 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50507 * configure.in: static is always set to yes. Remove.
50508 * config.make.in: Don't set build-static.
50509 * Makeconfig: Remove use of build-static.
50510 * dlfcn/Makefile: Likewise.
50511 * elf/Makefile: Likewise.
50512 * math/Makefile: Likewise.
50513 * misc/Makefile: Likewise.
50514 * nptl/Makefile: Likewise.
50515 * sysdeps/mach/hurd/Makefile: Likewise.
50517 * configure.in: PWD_P is not used anymore.
50518 * config.make.in: Remove PWD_P entry.
50520 * configure.in: Remove last remnants of RANLIB.
50521 No need to check for signed size_t anymore.
50522 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50524 Remove __builtin_expect test because we require at least gcc 3.4.
50525 * aclocal.m4: Likewise.
50527 * wcsmbs/mbrtoc16.c: Implement using towc function.
50528 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50529 * wcsmbs/wcsmbsload.c: Likewise.
50530 * iconv/gconv_simple.c: Likewise.
50531 * iconv/gconv_int.h: Likewise.
50532 * iconv/gconv_builtin.h: Likewise.
50533 * iconv/iconv_prog.c: Remove CHAR16 handling.
50535 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50537 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50539 * configure.in: Remove --with-elf and --enable-bounded options.
50540 Dont set base_machine for ia64. More non-ELF conditions removed.
50541 Remove testing and setting of leading underscore information.
50542 * config.make.in (build-bounded): Set to no.
50543 * config.h.in: Remove NO_UNDERSCORES entry.
50544 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50546 * csu/start.c: Remove !NO_UNDERSCORE code.
50547 * locale/localeinfo.h: Likewise.
50548 * sysdeps/generic/machine-gmon.h: Likewise.
50549 * sysdeps/generic/sysdep.h: Likewise.
50550 * sysdeps/i386/sysdep.h: Likewise.
50551 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50552 * sysdeps/mach/sysdep.h: Likewise.
50553 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50554 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50555 * sysdeps/sh/sysdep.h: Likewise.
50556 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50557 * sysdeps/unix/i386/sysdep.S: Likewise.
50558 * sysdeps/unix/sparc/start.c: Likewise.
50559 * sysdeps/unix/sparc/sysdep.S: Likewise.
50560 * sysdeps/unix/sparc/sysdep.h: Likewise.
50561 * sysdeps/unix/start.c: Likewise.
50562 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50563 * sysdeps/x86_64/sysdep.h: Likewise.
50565 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50568 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50570 * argp/argp-fmtstream.h: Use const instead __const.
50571 * argp/argp.h: Likewise.
50572 * assert/assert.h: Likewise.
50573 * bits/fenv.h: Likewise.
50574 * bits/sched.h: Likewise.
50575 * bits/sigset.h: Likewise.
50576 * bits/sigthread.h: Likewise.
50577 * catgets/nl_types.h: Likewise.
50578 * conform/data/pthread.h-data: Likewise.
50579 * crypt/crypt-private.h: Likewise.
50580 * crypt/crypt.h: Likewise.
50581 * crypt/crypt_util.c: Likewise.
50582 * ctype/ctype.h: Likewise.
50583 * debug/execinfo.h: Likewise.
50584 * debug/mbsnrtowcs_chk.c: Likewise.
50585 * debug/mbsrtowcs_chk.c: Likewise.
50586 * debug/wcsnrtombs_chk.c: Likewise.
50587 * debug/wcsrtombs_chk.c: Likewise.
50588 * debug/wcstombs_chk.c: Likewise.
50589 * dirent/dirent.h: Likewise.
50590 * dlfcn/dlfcn.h: Likewise.
50591 * elf/neededtest4.c: Likewise.
50592 * grp/grp.h: Likewise.
50593 * gshadow/gshadow.h: Likewise.
50594 * iconv/gconv.h: Likewise.
50595 * iconv/gconv_int.h: Likewise.
50596 * iconv/gconv_simple.c: Likewise.
50597 * iconv/iconv.h: Likewise.
50598 * iconv/loop.c: Likewise.
50599 * iconv/skeleton.c: Likewise.
50600 * include/aio.h: Likewise.
50601 * include/aliases.h: Likewise.
50602 * include/argz.h: Likewise.
50603 * include/arpa/inet.h: Likewise.
50604 * include/assert.h: Likewise.
50605 * include/dirent.h: Likewise.
50606 * include/dlfcn.h: Likewise.
50607 * include/execinfo.h: Likewise.
50608 * include/fcntl.h: Likewise.
50609 * include/fenv.h: Likewise.
50610 * include/glob.h: Likewise.
50611 * include/grp.h: Likewise.
50612 * include/libintl.h: Likewise.
50613 * include/mntent.h: Likewise.
50614 * include/netdb.h: Likewise.
50615 * include/pwd.h: Likewise.
50616 * include/rpc/netdb.h: Likewise.
50617 * include/sched.h: Likewise.
50618 * include/search.h: Likewise.
50619 * include/shadow.h: Likewise.
50620 * include/signal.h: Likewise.
50621 * include/stdio.h: Likewise.
50622 * include/stdlib.h: Likewise.
50623 * include/string.h: Likewise.
50624 * include/sys/socket.h: Likewise.
50625 * include/sys/stat.h: Likewise.
50626 * include/sys/statfs.h: Likewise.
50627 * include/sys/statvfs.h: Likewise.
50628 * include/sys/syslog.h: Likewise.
50629 * include/sys/time.h: Likewise.
50630 * include/sys/uio.h: Likewise.
50631 * include/time.h: Likewise.
50632 * include/unistd.h: Likewise.
50633 * include/utmp.h: Likewise.
50634 * include/wchar.h: Likewise.
50635 * include/wctype.h: Likewise.
50636 * inet/aliases.h: Likewise.
50637 * inet/arpa/inet.h: Likewise.
50638 * inet/netinet/ether.h: Likewise.
50639 * inet/netinet/in.h: Likewise.
50640 * intl/libintl.h: Likewise.
50641 * io/bits/fcntl2.h: Likewise.
50642 * io/fcntl.h: Likewise.
50643 * io/ftw.h: Likewise.
50644 * io/sys/poll.h: Likewise.
50645 * io/sys/stat.h: Likewise.
50646 * io/sys/statfs.h: Likewise.
50647 * io/sys/statvfs.h: Likewise.
50648 * io/utime.h: Likewise.
50649 * libio/bits/stdio.h: Likewise.
50650 * libio/bits/stdio2.h: Likewise.
50651 * libio/libio.h: Likewise.
50652 * libio/libioP.h: Likewise.
50653 * libio/stdio.h: Likewise.
50654 * locale/lc-ctype.c: Likewise.
50655 * locale/locale.h: Likewise.
50656 * login/utmp.h: Likewise.
50657 * malloc/arena.c: Likewise.
50658 * malloc/malloc.c: Likewise.
50659 * malloc/malloc.h: Likewise.
50660 * malloc/mcheck.c: Likewise.
50661 * malloc/mtrace.c: Likewise.
50662 * math/bits/mathcalls.h: Likewise.
50663 * math/fenv.h: Likewise.
50664 * math/math_private.h: Likewise.
50665 * misc/bits/error.h: Likewise.
50666 * misc/bits/syslog.h: Likewise.
50667 * misc/err.h: Likewise.
50668 * misc/error.h: Likewise.
50669 * misc/fstab.h: Likewise.
50670 * misc/mntent.h: Likewise.
50671 * misc/regexp.h: Likewise.
50672 * misc/search.h: Likewise.
50673 * misc/sgtty.h: Likewise.
50674 * misc/sys/mman.h: Likewise.
50675 * misc/sys/syslog.h: Likewise.
50676 * misc/sys/uio.h: Likewise.
50677 * misc/sys/xattr.h: Likewise.
50678 * misc/ttyent.h: Likewise.
50679 * nis/rpcsvc/ypclnt.h: Likewise.
50680 * nss/nss.h: Likewise.
50681 * posix/bits/unistd.h: Likewise.
50682 * posix/fnmatch.h: Likewise.
50683 * posix/glob.h: Likewise.
50684 * posix/sched.h: Likewise.
50685 * posix/spawn.h: Likewise.
50686 * posix/sys/wait.h: Likewise.
50687 * posix/unistd.h: Likewise.
50688 * posix/wordexp.h: Likewise.
50689 * pwd/pwd.h: Likewise.
50690 * resolv/netdb.h: Likewise.
50691 * resource/sys/resource.h: Likewise.
50692 * rt/aio.h: Likewise.
50693 * rt/bits/mqueue2.h: Likewise.
50694 * rt/mqueue.h: Likewise.
50695 * shadow/shadow.h: Likewise.
50696 * signal/signal.h: Likewise.
50697 * socket/send.c: Likewise.
50698 * socket/sendto.c: Likewise.
50699 * socket/sys/socket.h: Likewise.
50700 * stdio-common/printf.h: Likewise.
50701 * stdlib/bits/stdlib.h: Likewise.
50702 * stdlib/fmtmsg.h: Likewise.
50703 * stdlib/monetary.h: Likewise.
50704 * stdlib/stdlib.h: Likewise.
50705 * stdlib/ucontext.h: Likewise.
50706 * streams/stropts.h: Likewise.
50707 * string/argz.h: Likewise.
50708 * string/bits/string2.h: Likewise.
50709 * string/string.h: Likewise.
50710 * string/strings.h: Likewise.
50711 * sunrpc/rpc/auth.h: Likewise.
50712 * sunrpc/rpc/auth_des.h: Likewise.
50713 * sunrpc/rpc/clnt.h: Likewise.
50714 * sunrpc/rpc/netdb.h: Likewise.
50715 * sunrpc/rpc/pmap_clnt.h: Likewise.
50716 * sunrpc/rpc/xdr.h: Likewise.
50717 * sysdeps/generic/inttypes.h: Likewise.
50718 * sysdeps/generic/net/if.h: Likewise.
50719 * sysdeps/generic/sys/swap.h: Likewise.
50720 * sysdeps/gnu/net/if.h: Likewise.
50721 * sysdeps/gnu/utmpx.h: Likewise.
50722 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50723 * sysdeps/i386/i486/bits/string.h: Likewise.
50724 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50725 * sysdeps/s390/bits/string.h: Likewise.
50726 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50727 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50728 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50729 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50730 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50731 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50732 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50733 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50734 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50735 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50736 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50737 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50738 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50739 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50740 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50741 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50742 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50743 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50744 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50745 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50746 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50747 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50748 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50749 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50750 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50751 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50752 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50753 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50754 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50755 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50756 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50757 * sysvipc/sys/ipc.h: Likewise.
50758 * sysvipc/sys/msg.h: Likewise.
50759 * sysvipc/sys/sem.h: Likewise.
50760 * sysvipc/sys/shm.h: Likewise.
50761 * termios/termios.h: Likewise.
50762 * time/sys/time.h: Likewise.
50763 * time/time.h: Likewise.
50764 * wcsmbs/bits/wchar2.h: Likewise.
50765 * wcsmbs/uchar.h: Likewise.
50766 * wcsmbs/wchar.h: Likewise.
50767 * wctype/wctype.h: Likewise.
50770 * Makeconfig: Remove all but ELF support including AIX support.
50771 * Makerules: Likewise.
50772 * config.h.in: Likewise.
50773 * config.make.in: Likewise.
50774 * configure: Likewise.
50775 * configure.in: Likewise.
50776 * csu/Makefile: Likewise.
50777 * csu/version.c: Likewise.
50778 * debug/Makefile: Likewise.
50779 * dlfcn/Makefile: Likewise.
50780 * elf/Makefile: Likewise.
50781 * extra-lib.mk: Likewise.
50782 * iconv/Makefile: Likewise.
50783 * include/libc-symbols.h: Likewise.
50784 * include/shlib-compat.h: Likewise.
50785 * resolv/Makefile: Likewise.
50786 * resolv/res_libc.c: Likewise.
50787 * rt/Makefile: Likewise.
50788 * sysdeps/i386/asm-syntax.h: Likewise.
50789 * sysdeps/i386/sysdep.h: Likewise.
50790 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50791 * sysdeps/mach/sysdep.h: Likewise.
50792 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50793 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50794 * sysdeps/s390/asm-syntax.h: Likewise.
50795 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50796 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50797 * sysdeps/sh/sysdep.h: Likewise.
50798 * sysdeps/unix/sparc/sysdep.h: Likewise.
50799 * sysdeps/wordsize-32/divdi3.c: Likewise.
50800 * sysdeps/x86_64/sysdep.h: Likewise.
50802 * argp/Versions: Remove _argp_unlock_xxx.
50805 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50806 * abilist/libBrokenLocale.abilist: Likewise.
50807 * abilist/libanl.abilist: Likewise.
50808 * abilist/libc.abilist: Likewise.
50809 * abilist/libcrypt.abilist: Likewise.
50810 * abilist/libdl.abilist: Likewise.
50811 * abilist/libm.abilist: Likewise.
50812 * abilist/libnsl.abilist: Likewise.
50813 * abilist/libpthread.abilist: Likewise.
50814 * abilist/libresolv.abilist: Likewise.
50815 * abilist/librt.abilist: Likewise.
50816 * abilist/libthread_db.abilist: Likewise.
50817 * abilist/libutil.abilist: Likewise.
50818 * abilist/libnss_db.abilist: New file.
50820 * scripts/abilist.awk: Add support for indirect functions.
50822 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50824 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50826 * shlib-versions: Remove entries for ports architectures.
50828 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50830 * elf/stackguard-macros.h: Remove support for IA-64.
50831 * elf/tst-auditmod1.c: Likewise.
50832 * sysdeps/generic/ldsodefs.h: Likewise.
50834 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50835 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50839 * configure.in: Remove --enable-omitfp support.
50841 * config.make.in: Likewise.
50842 * Makeconfig: Likewise.
50843 * manual/install.texi: Likewise.
50845 In case anyone cares, the IA-64 architecture could move to ports.
50846 * sysdeps/ia64/*: Removed.
50847 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50848 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50851 * configure.in: Remove entries for unsupported architectures.
50854 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50855 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50857 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50858 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50859 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50860 fall back to using wcrtomb.
50861 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50862 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50864 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50865 * wcsmbs/tst-c16c32-1.c: New file.
50867 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50870 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50872 * elf/tst-unique3.cc: Add explicit declaration of gets.
50873 * elf/tst-unique3lib.cc: Likewise.
50874 * elf/tst-unique3lib2.cc: Likewise.
50875 * elf/tst-unique4.cc: Likewise.
50877 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50879 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50882 * assert/assert.h (static_assert): Don't define for C++.
50883 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50884 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50886 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50888 * iconv/loop.c (single loop): Fix assertion in storing of
50891 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50893 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50895 * posix/getconf.c: Update copyright year.
50896 * nss/getent.c: Likewise.
50897 * nss/makedb.c: Likewise.
50898 * iconv/iconvconfig.c: Likewise.
50899 * iconv/iconv_prog.c: Likewise.
50900 * elf/ldconfig.c: Likewise.
50901 * elf/pldd.c: Likewise.
50902 * elf/sotruss.ksh: Likewise.
50903 * catgets/gencat.c: Likewise.
50904 * csu/version.c: Likewise.
50905 * elf/ldd.bash.in: Likewise.
50906 * elf/sprof.c (print_version): Likewise.
50907 * locale/programs/locale.c: Likewise.
50908 * locale/programs/localedef.c: Likewise.
50909 * login/programs/pt_chown.c: Likewise.
50910 * nscd/nscd.c (print_version): Likewise.
50911 * debug/xtrace.sh: Likewise.
50912 * malloc/memusage.sh: Likewise.
50913 * malloc/mtrace.pl: Likewise.
50914 * debug/catchsegv.sh: Likewise.
50916 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50918 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50921 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50924 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50925 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50927 * iconv/gconv_int.h: Likewise.
50928 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50929 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50930 from libc for GLIBC_2.16.
50931 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50932 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50933 * wcsmbs/uchar.h: Really define mbstate_t.
50934 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50935 * wcsmbs/c16rtomb.c: New file.
50936 * wcsmbs/mbrtoc16.c: New file.
50937 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50938 for C/POSIX locale.
50939 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50940 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50942 * wcsmbs/wchar.h: Add missing __restrict.
50944 2011-12-23 Ulrich Drepper <drepper@gmail.com>
50947 * time/Makefile (routines): Add timespec_get.
50948 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50949 * time/time.h: Define TIME_UTC and declare timespec_get. Define
50950 timespec for ISO C11.
50951 * time/timespec_get.c: New file.
50952 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50953 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50956 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50957 * stdlib/stdlib.h: Declare aligned_alloc.
50958 * Versions.def: Add GLIBC_2.16 for libc.
50959 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50962 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50965 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50969 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50972 * assert/assert.h (static_assert): Define.
50974 * version.h: Update for 2.16 development version.
50977 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50980 * version.h (RELEASE): Bump for 2.15 release.
50981 * include/features.h (__GLIBC_MINOR__): Bump to 15.
50983 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50984 Patch by Marek Polacek <mpolacek@redhat.com>.
50986 * bits/byteswap.h: Protect long long constants with __extension__.
50987 * sysdeps/i386/bits/byteswap.h: Likewise.
50988 * sysdeps/ia64/bits/byteswap.h: Likewise.
50989 * sysdeps/s390/bits/byteswap.h: Likewise.
50990 * sysdeps/x86_64/bits/byteswap.h: Likewise.
50992 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50995 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50996 destination buffer.
50997 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50999 2011-12-23 Marek Polacek <polacek@redhat.com>
51001 * elf/dl-addr.c (determine_info): Add inline keyword.
51002 * elf/tst-auditmod4b.c (check_avx): Likewise.
51003 * elf/tst-auditmod6b.c (check_avx): Likewise.
51004 * elf/tst-auditmod6c.c (check_avx): Likewise.
51005 * elf/tst-auditmod7b.c (check_avx): Likewise.
51007 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51009 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51012 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51015 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51016 processing for last bytes.
51018 2011-08-06 Bruno Haible <bruno@clisp.org>
51021 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51022 U+0385, not to U+1FEE.
51025 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51026 entry for U+00A5 U+0301.
51028 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51031 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51032 buffer for the output is too small.
51034 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51038 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51039 SSE flags if possible.
51041 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51044 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51045 processing for last bytes.
51047 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51049 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51050 (syscall-list-default-options, syscall-list-default-condition)
51051 (syscall-list-includes): Define.
51052 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51053 list of ABIs and options and #if conditions for each ABI. Do not
51054 handle common syscalls between ABIs specially.
51055 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51057 (syscall-list-variants, syscall-list-32bit-options)
51058 (syscall-list-32bit-condition, syscall-list-64bit-options)
51059 (syscall-list-64bit-condition): Define.
51060 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51061 (syscall-list-variants, syscall-list-32bit-options)
51062 (syscall-list-32bit-condition, syscall-list-64bit-options)
51063 (syscall-list-64bit-condition): Define.
51064 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51066 (syscall-list-variants, syscall-list-32bit-options)
51067 (syscall-list-32bit-condition, syscall-list-64bit-options)
51068 (syscall-list-64bit-condition): Define.
51069 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51071 (syscall-list-variants, syscall-list-32bit-options)
51072 (syscall-list-32bit-condition, syscall-list-64bit-options)
51073 (syscall-list-64bit-condition): Define.
51075 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51077 * locale/iso-639.def: Add brx entry.
51080 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51081 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51083 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51084 __feraiseexcept_renamed.
51086 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51089 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51090 EPOLLET with unsigned values.
51091 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51092 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51094 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51095 to large cancellation.
51096 * math/s_cacoshf.c: Likewise.
51097 * math/s_cacoshl.c: Likewise.
51099 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51103 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51104 * math/s_cacoshf.c: Likewise.
51105 * math/s_cacoshl.c: Likewise.
51107 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51110 * iconv/gconv.h: Define __GCONV_SWAP.
51111 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51112 * iconvdata/utf-16.c: Likewise.
51113 * iconvdata/utf-32.c: Likewise.
51115 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51119 numerator after shifting it by one limb.
51121 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51123 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51124 under [__USE_EXTERN_INLINES].
51126 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51129 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51131 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51133 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51134 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51136 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51137 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51138 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51139 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51140 for strncasecmp/strncasecmp_l compilation.
51141 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51142 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51144 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51147 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51150 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51153 * time/tzfile.c (__tzfile_read): Check values from file header.
51155 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51157 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51158 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51159 * powerpc/powerpc32/dl-start.S: Likewise.
51160 * powerpc/powerpc32/elf/start.S: Likewise.
51161 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51162 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51163 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51164 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51165 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51166 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51167 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51168 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51169 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51170 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51171 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51172 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51173 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51174 * powerpc/powerpc32/memset.S: Likewise.
51175 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51176 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51177 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51178 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51179 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51180 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51181 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51182 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51183 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51184 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51185 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51186 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51187 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51189 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51191 * math/libm-test.inc: Added more nearbyint tests.
51192 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51193 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51194 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51195 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51197 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51199 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51202 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51204 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51205 Add wcscpy-ssse3 wcscpy-c.
51206 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51207 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51208 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51209 * sysdeps/x86_64/wcschr.S: New file.
51210 * sysdeps/x86_64/wcsrchr.S: New file.
51211 * string/test-strcmp.c: Remove checking of wcscmp function for
51213 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51214 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51215 wcsrchr-sse2 wcsrchr-c.
51216 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51217 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51218 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51219 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51220 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51221 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51222 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51223 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51224 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51225 * wcsmbc/wcschr.c (WCSCHR): New macro.
51227 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51229 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51230 * wcsmbs/test-wcsrchr.c: New file.
51231 * string/test-strrchr.c: Add wcsrchr support.
51233 * wcsmbs/test-wcscpy.c: New file.
51234 * string/test-strcpy.c: Add wcscpy support.
51237 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51239 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51242 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51245 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51247 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51249 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51250 Minor optimizations.
51252 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51253 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51254 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51256 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51258 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51259 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51260 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51261 for gcc to avoid warnings.
51262 * inet/Makefile (tests): Add tst-checks.
51263 * inet/tst-checks.c: New file.
51265 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51268 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51271 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51272 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51274 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51276 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51278 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51281 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51283 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51285 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51286 conditional on GCC version.
51287 (__arch_compare_and_exchange_val_8_acq)
51288 (__arch_compare_and_exchange_val_16_acq)
51289 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51290 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51291 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51293 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51295 * sysdeps/sh/backtrace.c: New file.
51297 2011-12-02 Andreas Schwab <schwab@redhat.com>
51299 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51302 2011-12-01 Andreas Schwab <schwab@redhat.com>
51304 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51305 falling back to utime.
51307 2011-11-30 Andreas Schwab <schwab@redhat.com>
51309 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51310 expectations for float.
51312 2011-11-29 Andreas Schwab <schwab@redhat.com>
51314 * locale/weight.h (findidx): Add parameter len.
51315 * locale/weightwc.h (findidx): Likewise.
51316 * posix/fnmatch_loop.c (FCT): Adjust caller.
51317 * posix/regcomp.c (build_equiv_class): Likewise.
51318 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51319 * posix/regexec.c (check_node_accept_bytes): Likewise.
51320 * string/strcoll_l.c (STRCOLL): Likewise.
51321 * string/strxfrm_l.c (STRXFRM): Likewise.
51323 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51325 * Makefile.in: Remove CVSOPT handling.
51326 * configure.in: Remove use of AC_REVISION.
51327 * iconvdata/Makefile (distribute): No need to filter out CVS.
51328 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51331 2011-11-16 Andreas Schwab <schwab@redhat.com>
51333 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51334 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51335 [USE_AS_STRNCASECMP_L]: Likewise.
51336 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51337 NO_TLS_DIRECT_SEG_REFS.
51338 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51339 Fix argument offsets for non-PIC.
51340 [USE_AS_STRNCASECMP_L]: Likewise.
51341 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51342 NO_TLS_DIRECT_SEG_REFS.
51344 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51346 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51348 * locale/loadlocale.c (_nl_load_locale): Likewise.
51350 2011-11-15 Andreas Schwab <schwab@redhat.com>
51352 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51353 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51354 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51355 (SYSCALL_GETTIME): Set errno on error.
51357 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51358 count references to noai6ai_cached.
51360 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51362 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51364 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51365 FD_CLOEXEC for /proc/self/maps.
51367 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51368 FD_CLOEXEC for /proc/meminfo.
51370 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51373 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51374 FD_CLOEXEC for given file.
51376 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51378 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51379 FD_CLOEXEC for /etc/hosts.
51380 (_gethtent): Likewise.
51382 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51384 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51385 cancellation and set FD_CLOEXEC for /etc/netgroup.
51387 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51388 reading /etc/publickey.
51390 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51391 allow cancellation when reading /etc/group.
51393 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51395 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51397 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51398 when using data file.
51400 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51402 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51403 (write_nis_obj): Use "c" and "e" in fopen.
51405 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51407 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51409 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51411 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51413 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51416 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51418 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51420 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51422 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51423 file parsing and set FD_CLOEXEC.
51425 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51427 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51429 2011-11-14 Andreas Schwab <schwab@redhat.com>
51431 * malloc/arena.c (arena_get2): Don't call reused_arena when
51432 _int_new_arena failed.
51434 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51436 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51437 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51438 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51439 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51440 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51441 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51442 to compile strcasecmp and strncasecmp.
51443 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51444 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51446 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51448 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51450 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51451 locale-defines.sym to gen-as-const-headers.
51452 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51453 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51455 to compile strcasecmp and strncasecmp.
51456 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51457 strcasecmp_l and strncasecmp_l.
51458 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51459 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51460 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51461 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51462 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51463 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51464 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51465 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51466 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51467 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51468 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51470 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51472 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51473 result of SYSDEP_GETTIME_CPU to retval.
51474 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51475 parameter list to macro. Remove trailing semicolon. Adjust users.
51477 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51480 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51482 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51484 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51485 from unused variable.
51487 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51489 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51492 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51495 * sunrpc/rpc_prot.c (rejected): Fix case value.
51497 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51498 unsigned long long int to avoid warnings in shift.
51500 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51502 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51505 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51506 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51507 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51509 * nis/nis_table.c (nis_list): Use variable of correct type for
51510 result of __follow_path call.
51512 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51514 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51515 of math functions ceil, trunc, floor, round, and sqrt, when
51516 avaliable on the platform.
51517 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51519 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51520 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51521 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51523 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51525 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51526 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51528 2011-11-11 Roland McGrath <roland@hack.frob.com>
51530 * include/unistd.h: Fix __readlink return type.
51531 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51533 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51535 * stdlib/ucontext.h: Undo last change for makecontext.
51537 2011-11-11 Andreas Schwab <schwab@redhat.com>
51539 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51541 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51542 * setjmp/setjmp.h: Mark functions as non-leaf.
51543 * setjmp/bits/setjmp2.h: Likewise.
51544 * stdlib/ucontext.h: Likewise.
51546 2011-11-10 Andreas Schwab <schwab@redhat.com>
51548 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51549 (reused_arena): Don't check arena limit.
51550 (arena_get2): Atomically check arena limit.
51552 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51554 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51555 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51557 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51560 2011-11-07 Andreas Schwab <schwab@redhat.com>
51562 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51563 handler when locking.
51565 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51566 Fix size of allocated buffer.
51568 2011-11-04 Andreas Schwab <schwab@redhat.com>
51571 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51572 declarations for long double functions.
51573 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51575 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51577 2011-11-03 Andreas Schwab <schwab@redhat.com>
51579 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51582 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51585 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51587 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51589 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51591 * include/alloca.h (stackinfo_alloca_round): Define.
51592 (extend_alloca): Use it.
51593 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51594 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51597 * scripts/check-local-headers.sh: Ignore libaudit.h.
51599 * nscd/Makefile (extra-objs): Make recursively expanded.
51601 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51603 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51604 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51606 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51607 * posix/tst-rfc3484-2.c: Likewise.
51608 * posix/tst-rfc3484-3.c: Likewise.
51610 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51612 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51614 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51615 process_vm_writev from libc using GLIBC_2.15 version.
51617 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51619 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51621 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51624 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51627 * nss/getent.c (initgroups_keys): Show error message in case no group
51630 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51631 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51632 __bump_nl_timestamp.
51633 * nscd/connections (nscd_init): When host database is served open
51634 netlink socket and request notification about configuration changes.
51635 (main_loop_poll): Track netlink file descriptor and bump timestamp
51636 in case data becomes available.
51637 (main_loop_epoll): Likewise.
51638 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51639 (database_pers_head): Add extra_data fileds.
51640 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51641 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51642 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51644 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51645 in6ai data, call __free_in6ai.
51646 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51647 Add -DHAVE_NETLINK.
51648 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51649 interface information. Reuse previous data if netlink timestamp
51651 (__bump_nl_timestamp): New function.
51652 (__free_in6ai): New function.
51654 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51656 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51657 close_not_cancel_no_status here.
51658 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51660 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51663 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51666 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51667 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51668 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51670 2011-07-03 Andreas Jaeger <aj@suse.de>
51673 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51674 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51675 * math/libm-test.inc (sin_test): Add test case.
51677 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51680 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51681 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51683 * elf/chroot_canon.c (chroot_canon): Cleanups.
51685 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51688 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51689 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51691 * string/test-strchr.c: Make usable for strchrnul testing.
51692 * string/test-strchrnul.c: New file.
51693 * string/Makefile (strop-tests): Add strchrnul.
51695 * po/it.po: Update from translation team.
51696 * po/es.po: Likewise.
51698 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51700 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51701 the three constants needed as parameters. Drop the others.
51702 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51703 __m128i_strloadu_tolower.
51704 Create and initialize variable zero and use it in all the places
51705 where _mm_setzero_si128 was used.
51707 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51708 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51709 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51710 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51712 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51713 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51714 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51715 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51716 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51717 __mpranred, __mptan.
51718 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51719 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51720 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51721 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51722 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51723 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51724 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51725 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51726 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51728 2011-10-28 Andreas Schwab <schwab@redhat.com>
51730 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51731 redefine if SHARED.
51732 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51735 wide char related routines to wcsmbs subdir.
51737 2011-10-27 Andreas Schwab <schwab@redhat.com>
51740 * misc/sys/cdefs.h (__THROWNL): Define.
51741 * posix/unistd.h: Use __THREADNL instead of __THREAD
51742 for memory synchronization functions.
51744 2011-10-26 Roland McGrath <roland@hack.frob.com>
51747 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51749 * manual/stdio.texi (Obstack Streams): Node removed.
51751 2011-10-26 Andreas Schwab <schwab@redhat.com>
51753 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51754 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51755 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51757 * math/math_private.h (math_force_eval): Allow non-addressable
51759 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51761 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51763 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51764 file is not needed.
51766 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51767 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51768 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51769 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51770 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51771 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51772 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51773 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51775 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51776 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51777 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51778 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51779 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51780 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51781 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51782 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51783 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51784 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51785 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51786 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51787 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51788 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51789 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51790 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51791 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51792 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51793 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51795 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51796 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51798 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51799 place. Use VEX encoding when compiling for AVX.
51801 2011-10-25 Andreas Schwab <schwab@redhat.com>
51803 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51804 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51806 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51808 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51810 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51811 useless if() expression.
51812 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51813 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51814 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51815 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51816 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51817 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51818 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51819 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51820 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51821 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51822 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51823 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51824 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51825 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51826 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51827 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51828 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51829 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51830 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51832 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51834 2011-10-25 Andreas Schwab <schwab@redhat.com>
51836 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51838 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51840 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51842 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51843 .text section. Avoid duplicate constants.
51844 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51845 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51846 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51847 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51848 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51849 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51851 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51852 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51853 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51854 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51855 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51856 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51857 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51858 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51859 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51860 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51861 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51862 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51863 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51864 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51865 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51866 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51867 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51868 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51869 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51870 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51871 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51872 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51873 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51874 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51875 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51876 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51877 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51878 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51879 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51880 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51881 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51882 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51883 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51884 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51885 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51886 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51887 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51888 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51890 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51892 * sysdeps/x86_64/dla.h: Move to ...
51893 * sysdeps/x86_64/fpu/dla.h: ...here.
51894 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51895 situations. Use __builtin_fma only for gcc 4.6 and up.
51897 * config.make.in: Add have-mfma4 entry.
51898 * configure.in: Substitute libc_cv_cc_fma4.
51899 * math/Makefile (dbl-only-routines): Add sincostab.
51900 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51901 Use __sincostab not sincos.
51902 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51904 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51907 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51909 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51910 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51911 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51912 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51914 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51915 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51917 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51918 define aliases when function name is a macro.
51919 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51920 sysdeps/ieee754/dbl-64/sincos.tbl.
51921 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51922 fma4-enabled routines.
51923 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51924 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51925 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51926 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51927 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51928 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51929 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51930 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51931 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51932 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51933 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51934 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51935 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51936 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51937 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51938 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51939 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51940 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51941 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51942 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51943 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51944 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51945 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51946 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51947 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51948 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51949 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51950 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51951 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51952 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51954 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51956 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51957 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51958 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51960 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51962 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51963 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51965 2011-10-24 Andreas Schwab <schwab@redhat.com>
51967 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51969 2011-10-23 Ulrich Drepper <drepper@gmail.com>
51971 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51973 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51977 * string/strnlen.c: Don't define STRNLEN, reverse logic.
51978 Remove unused variable magic_bits.
51979 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51981 * string/strnlen.c: Define and use STRNLEN macro.
51982 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51983 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51984 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51985 * wcsmbs/wcslen.c: Define and use WCSLEN.
51986 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51987 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51988 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51989 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51990 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51991 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51992 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51994 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51996 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51997 strnlen-sse2-no-bsf.
51998 Rename strlen-no-bsf to strlen-sse2-no-bsf.
51999 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52000 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52001 Add strnlen support.
52002 (USE_AS_STRNLEN): New macro.
52003 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52004 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52005 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52006 * sysdeps/x86_64/wcslen.S: New file.
52008 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52010 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52011 XMM-moves are used for copying on small sizes.
52013 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52015 * wcsmbs/Makefile (strop-tests): Add wcschr.
52016 * wcsmbs/test-wcschr.c: New file.
52017 * string/test-strchr.c: Update.
52018 Add wcschr support.
52021 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52023 * wcsmbs/Makefile (strop-tests): Add wcslen.
52024 * wcsmbs/test-wcslen.c: New file.
52025 * string/test-strlen.c: Update.
52026 Add wcslen support.
52029 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52031 * po/it.po: Update from translation team.
52033 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52035 * sysdeps/x86_64/wcscmp.S: Update.
52036 Fix wrong comparison semantics.
52037 wcscmp shall use signed comparison not unsigned.
52038 Don't use substraction to avoid overflow bug.
52039 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52040 * wcsmbc/wcscmp.c: Likewise.
52041 * string/test-strcmp.c: Likewise.
52042 Add new tests to check cases with negative values.
52044 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52046 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52047 * sysdeps/x86_64/dla.h: ...here. New file.
52048 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52050 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52053 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52054 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52055 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52056 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52058 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52060 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52061 __ynl_finite aliases.
52063 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52067 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52069 [DLA_FMA] (EMULV): Use DLA_FMA.
52070 [DLA_FMA] (MUL12): Use EMULV.
52071 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52072 that are not needed.
52073 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52074 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52075 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52076 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52077 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52078 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52079 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52081 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52083 * math/s_nan.c: Undef __nan.
52084 * math/s_nanf.c: Undef __nanf.
52085 * math/s_nanl.c: Undef __nanl.
52086 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52089 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52091 * math/s_catan.c: Add branch predictions.
52092 * math/s_catanf.c: Likewise.
52093 * math/s_catanh.c: Likewise.
52094 * math/s_catanhf.c: Likewise.
52095 * math/s_catanhl.c: Likewise.
52096 * math/s_catanl.c: Likewise.
52097 * math/s_cexp.c: Likewise.
52098 * math/s_cexpf.c: Likewise.
52099 * math/s_cexpl.c: Likewise.
52100 * math/s_clog.c: Likewise.
52101 * math/s_clog10.c: Likewise.
52102 * math/s_clog10f.c: Likewise.
52103 * math/s_clog10l.c: Likewise.
52104 * math/s_clogf.c: Likewise.
52105 * math/s_clogl.c: Likewise.
52106 * math/s_csqrt.c: Likewise.
52107 * math/s_csqrtf.c: Likewise.
52108 * math/s_csqrtl.c: Likewise.
52109 * math/s_ctanf.c: Likewise.
52110 * math/s_ctanh.c: Likewise.
52111 * math/s_ctanhf.c: Likewise.
52112 * math/s_ctanhl.c: Likewise.
52113 * math/s_ctanl.c: Likewise.
52115 * math/math_private.h: Define __nan, __nanf, __nanl.
52116 * math/s_cacosh.c: Include <math_private.h>.
52117 * math/s_cacoshl.c: Likewise.
52118 * math/s_casinh.c: Likewise.
52119 * math/s_casinhf.c: Likewise.
52120 * math/s_casinhl.c: Likewise.
52121 * math/s_ccos.c: Rely entire on ccosh.
52122 * math/s_ccosf.c: Rely entire on ccoshf.
52123 * math/s_ccosl.c: Rely entirely on ccoshl.
52124 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52125 Remove tests for FE_INVALID.
52126 * math/s_ccoshf.c: Likewise.
52127 * math/s_ccoshl.c: Likewise.
52128 * math/s_csin.c: Likewise.
52129 * math/s_csinf.c: Likewise.
52130 * math/s_csinh.c Likewise.
52131 * math/s_csinhf.c: Likewise.
52132 * math/s_csinhl.c: Likewise.
52133 * math/s_csinl.c: Likewise.
52134 * math/s_ctan.c: Likewise.
52135 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52136 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52137 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52139 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52142 compilation problems.
52144 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52147 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52149 * sysdeps/i386/configure.in: Test for -mfma4 option.
52150 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52151 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52152 COMMON_CPUID_INDEX_80000001.
52153 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52154 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52155 use it if FMA3 is not supported.
52156 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52158 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52159 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52161 2011-10-20 Andreas Schwab <schwab@redhat.com>
52164 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52165 it would create a cycle with a link time dependency.
52167 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52169 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52171 * string/Makefile (strop-tests): Add rawmemchr.
52172 * string/test-rawmemchr.c: New file.
52174 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52175 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52176 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52177 when compiling str{,n}casecmp and when AVX is available. Hook up
52178 new optimized code in initializers.
52180 2011-10-19 Andreas Schwab <schwab@redhat.com>
52182 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52183 __feraiseexcept instead of feraiseexcept.
52185 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52187 * math/math_private.h: Define defaults for libc_fetestexcept and
52189 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52190 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52191 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52192 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52193 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52194 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52195 libc_fetestexcept and libc_feupdateenv.
52197 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52198 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52199 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52200 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52201 libc_feholdexcept_setround.
52203 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52204 Add s_nearbyint-c and s_nearbyintf-c.
52205 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52206 nearbyintf inlines.
52207 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52208 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52209 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52210 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52212 * math/math_private.h: Define defaults for libc_fegetround,
52213 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52214 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52215 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52216 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52217 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52218 standard functions.
52219 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52220 Remove comments and hacks for old compiler versions.
52221 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52222 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52223 libc_feholdexceptl.
52225 2011-10-18 Andreas Schwab <schwab@redhat.com>
52227 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52228 (__feraiseexcept_renamed): Add __NTH.
52229 (feraiseexcept): Add __NTH. Rename local variables to fix
52230 namespace violations.
52232 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52234 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52236 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52238 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52239 recently added interfaces.
52240 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52242 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52243 about macro parameter expansion.
52245 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52246 __NO_MATH_INLINES is defined. Cleanups.
52248 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52249 and __floorf is target has SSE4.1.
52250 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52251 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52252 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52253 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52255 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52257 (floorf): Likewise.
52259 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52261 2011-10-17 Andreas Schwab <schwab@redhat.com>
52263 * misc/sys/cdefs.h: Fix last change.
52265 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52268 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52270 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52272 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52274 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52275 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52276 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52277 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52278 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52279 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52280 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52281 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52282 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52283 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52284 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52285 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52286 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52287 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52288 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52289 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52290 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52291 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52292 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52293 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52295 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52296 ceil, ceilf, floor, floorf.
52298 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52299 Perform IRELATIVE relocations last.
52301 * elf/do-rel.h: Add another parameter nrelative, replacing the
52302 local variable with the same name. Change name of the function
52303 to end in Rel or Rela (uppercase).
52304 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52305 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52306 elf_dynamic_do_##reloc function.
52308 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52310 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52311 is sufficient, at least on modern CPUs.
52313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52315 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52316 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52318 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52320 * math/bits/math-finite.h: Add entries for exp.
52321 * math/e_expl.c: Add __*_finite alias.
52322 * sysdeps/i386/fpu/e_exp.S: Likewise.
52323 * sysdeps/i386/fpu/e_expf.S: Likewise.
52324 * sysdeps/i386/fpu/e_expl.c: Likewise.
52325 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52326 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52327 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52329 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52330 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52331 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52333 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52334 is sufficient, at least on modern CPUs.
52336 * ctype/ctype-info.c (__ctype_init): Define.
52337 * include/ctype.h (__ctype_init): Declare.
52338 (__ctype_b_loc): The variable is always initialized.
52339 (__ctype_toupper_loc): Likewise.
52340 (__ctype_tolower_loc): Likewise.
52341 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52342 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52344 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52346 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52348 * configure.in: Also look in $cxxmachine/include for C++ system
52351 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52353 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52354 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52355 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52356 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52357 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52358 (USE_AS_WMEMCMP): New macro.
52360 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52361 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52362 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52363 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52364 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52365 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52366 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52367 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52368 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52369 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52370 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52371 (USE_AS_WMEMCMP): New macro.
52372 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52373 * sysdeps/string/test-memcmp.c: Update.
52374 Fix simple_wmemcmp.
52376 * wcsmbs/wmemcmp.c: Update.
52377 (WMEMCMP): New macro.
52380 2011-10-12 Andreas Jaeger <aj@suse.de>
52383 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52385 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52387 * libio/iofwide.c (do_length): Avoid warning.
52389 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52391 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52393 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52395 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52396 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52397 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52398 * sysdeps/i386/i686/fpu/e_log.S: New file.
52399 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52400 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52402 * ctype/ctype.h: Add support for inlined isXXX functions when
52403 compiling C++ code.
52405 2011-10-14 Andreas Schwab <schwab@redhat.com>
52407 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52409 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52411 2011-10-13 Roland McGrath <roland@hack.frob.com>
52414 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52416 2011-10-13 Andreas Schwab <schwab@redhat.com>
52418 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52419 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52422 * sysdeps/x86_64/memrchr.S: Check for zero size.
52424 * string/stratcliff.c: Add memrchr tests.
52426 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52428 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52429 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52430 rawmemchr-sse2 rawmemchr-sse2-bsf.
52431 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52432 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52433 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52434 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52435 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52436 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52437 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52438 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52439 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52440 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52441 * string/memrchr.c (MEMRCHR): New macro.
52443 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52445 Add integration with gcc's -ffinite-math-only and optimize wrapper
52447 * Versions.def: Define GLIBC_2.15 version for libm.
52448 * math/Makefile (headers): Add bits/math-finite.h.
52449 * math/bits/math-finite.h: New file.
52450 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52451 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52452 * math/e_acoshl.c: Add __*_finite alias.
52453 * math/e_acosl.c: Likewise.
52454 * math/e_asinl.c: Likewise.
52455 * math/e_atan2l.c: Likewise.
52456 * math/e_atanhl.c: Likewise.
52457 * math/e_coshl.c: Likewise.
52458 * math/e_exp10.c: Likewise.
52459 * math/e_exp10f.c: Likewise.
52460 * math/e_exp10l.c: Likewise.
52461 * math/e_exp2l.c: Likewise.
52462 * math/e_fmodl.c: Likewise.
52463 * math/e_gammal_r.c: Likewise.
52464 * math/e_hypotl.c: Likewise.
52465 * math/e_j0l.c: Likewise.
52466 * math/e_j1l.c: Likewise.
52467 * math/e_jnl.c: Likewise.
52468 * math/e_lgammal_r.c: Likewise.
52469 * math/e_log10l.c: Likewise.
52470 * math/e_log2l.c: Likewise.
52471 * math/e_logl.c: Likewise.
52472 * math/e_powl.c: Likewise.
52473 * math/e_sinhl.c: Likewise.
52474 * math/e_sqrtl.c: Likewise.
52475 * math/e_scalb.c: Completely rewritten and optimized.
52476 * math/e_scalbf.c: Likewise.
52477 * math/e_scalbl.c: Likewise.
52478 * math/w_acos.c: Likewise.
52479 * math/w_acosf.c: Likewise.
52480 * math/w_acosl.c: Likewise.
52481 * math/w_acosh.c: Likewise.
52482 * math/w_acoshf.c: Likewise.
52483 * math/w_acoshl.c: Likewise.
52484 * math/w_asin.c: Likewise.
52485 * math/w_asinf.c: Likewise.
52486 * math/w_asinl.c: Likewise.
52487 * math/w_atan2.c: Likewise.
52488 * math/w_atan2f.c: Likewise.
52489 * math/w_atan2l.c: Likewise.
52490 * math/w_atanh.c: Likewise.
52491 * math/w_atanhf.c: Likewise.
52492 * math/w_atanhl.c: Likewise.
52493 * math/w_exp10.c: Likewise.
52494 * math/w_exp10f.c: Likewise.
52495 * math/w_exp10l.c: Likewise.
52496 * math/w_fmod.c: Likewise.
52497 * math/w_fmodf.c: Likewise.
52498 * math/w_fmodl.c: Likewise.
52499 * math/w_j0.c: Likewise.
52500 * math/w_j0f.c: Likewise.
52501 * math/w_j0l.c: Likewise.
52502 * math/w_j1.c: Likewise.
52503 * math/w_j1f.c: Likewise.
52504 * math/w_j1l.c: Likewise.
52505 * math/w_jn.c: Likewise.
52506 * math/w_jnf.c: Likewise.
52507 * math/w_log.c: Likewise.
52508 * math/w_logf.c: Likewise.
52509 * math/w_logl.c: Likewise.
52510 * math/w_log10.c: Likewise.
52511 * math/w_log10f.c: Likewise.
52512 * math/w_log10l.c: Likewise.
52513 * math/w_log2.c: Likewise.
52514 * math/w_log2f.c: Likewise.
52515 * math/w_log2l.c: Likewise.
52516 * math/w_pow.c: Likewise.
52517 * math/w_powf.c: Likewise.
52518 * math/w_powl.c: Likewise.
52519 * math/w_remainder.c: Likewise.
52520 * math/w_remainderf.c: Likewise.
52521 * math/w_remainderl.c: Likewise.
52522 * math/w_scalb.c: Likewise.
52523 * math/w_scalbf.c: Likewise.
52524 * math/w_scalbl.c: Likewise.
52525 * math/w_sqrt.c: Likewise.
52526 * math/w_sqrtf.c: Likewise.
52527 * math/w_sqrtl.c: Likewise.
52528 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52529 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52531 * math/math_private.h: Declare __kernel_standard_f.
52532 * math/w_cosh.c: Remove cruft and optimize a bit.
52533 * math/w_coshf.c: Likewise.
52534 * math/w_coshl.c: Likewise.
52535 * math/w_exp2.c: Likewise.
52536 * math/w_exp2f.c: Likewise.
52537 * math/w_exp2l.c: Likewise.
52538 * math/w_hypot.c: Likewise.
52539 * math/w_hypotf.c: Likewise.
52540 * math/w_hypotl.c: Likewise.
52541 * math/w_lgamma.c: Likewise.
52542 * math/w_lgamma_r.c: Likewise.
52543 * math/w_lgammaf.c: Likewise.
52544 * math/w_lgammaf_r.c: Likewise.
52545 * math/w_lgammal.c: Likewise.
52546 * math/w_lgammal_r.c: Likewise.
52547 * math/w_sinh.c: Likewise.
52548 * math/w_sinhf.c: Likewise.
52549 * math/w_sinhl.c: Likewise.
52550 * math/w_tgamma.c: Likewise.
52551 * math/w_tgammaf.c: Likewise.
52552 * math/w_tgammal.c: Likewise.
52553 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52554 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52555 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52556 Minor optimizations. Pretty printing. Remove cruft.
52557 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52558 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52559 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52560 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52561 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52562 * sysdeps/i386/fpu/e_asin.S: Likewise.
52563 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52564 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52565 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52566 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52567 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52568 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52569 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52570 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52571 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52572 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52573 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52574 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52575 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52576 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52577 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52578 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52579 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52580 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52581 * sysdeps/i386/fpu/e_log.S: Likewise.
52582 * sysdeps/i386/fpu/e_log10.S: Likewise.
52583 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52584 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52585 * sysdeps/i386/fpu/e_log2.S: Likewise.
52586 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52587 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52588 * sysdeps/i386/fpu/e_logf.S: Likewise.
52589 * sysdeps/i386/fpu/e_logl.S: Likewise.
52590 * sysdeps/i386/fpu/e_pow.S: Likewise.
52591 * sysdeps/i386/fpu/e_powf.S: Likewise.
52592 * sysdeps/i386/fpu/e_powl.S: Likewise.
52593 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52594 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52595 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52596 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52597 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52598 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52599 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52600 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52601 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52602 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52603 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52605 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52606 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52607 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52608 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52609 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52610 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52611 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52612 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52613 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52614 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52615 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52616 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52617 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52618 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52619 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52620 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52621 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52622 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52623 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52624 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52625 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52626 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52627 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52628 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52629 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52630 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52631 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52632 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52633 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52634 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52635 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52636 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52637 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52638 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52639 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52640 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52641 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52642 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52643 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52644 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52645 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52647 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52648 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52649 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52650 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52651 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52652 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52653 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52654 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52655 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52656 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52657 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52658 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52659 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52660 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52661 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52662 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52663 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52665 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52666 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52667 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52668 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52669 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52670 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52671 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52672 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52673 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52674 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52675 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52676 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52677 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52678 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52679 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52680 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52681 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52682 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52683 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52684 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52685 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52686 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52687 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52688 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52689 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52690 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52691 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52692 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52693 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52694 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52695 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52696 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52697 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52698 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52699 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52700 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52701 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52702 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52703 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52704 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52705 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52706 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52707 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52708 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52709 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52710 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52711 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52712 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52713 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52714 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52715 (__isnanf): Likewise.
52716 (__isinf_ns): Likewise.
52717 (__isinf_nsf): Likewise.
52718 (__finite): Likewise.
52719 (__finitef): Likewise.
52720 (__ieee754_sqrt): Define as macro.
52721 (__ieee754_sqrtf): Define as macro.
52722 (__ieee754_sqrtl): Define as macro.
52723 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52725 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52726 __FINITE_MATH_ONLY__ consistent.
52727 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52729 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52731 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52734 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52736 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52738 * po/ja.po: Update from translation team.
52740 2011-10-08 Roland McGrath <roland@hack.frob.com>
52742 * locale/programs/locarchive.c (prepare_address_space): New function.
52743 (create_archive, enlarge_archive, open_archive): Use it.
52745 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52746 inside [SHARED], where it is used.
52748 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52750 * nss/getent.c (netgroup_keys): Remove unused variable.
52751 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52753 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52755 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52756 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52757 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52758 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52759 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52760 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52761 * math/Makefile (libm-calls): Add s_isinf_ns.
52762 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52763 * math/multc3.c: Likewise.
52764 * math/s_casin.c: Likewise.
52765 * math/s_casinf.c: Likewise.
52766 * math/s_casinl.c: Likewise.
52767 * math/s_ccos.c: Likewise.
52768 * math/s_ccosf.c: Likewise.
52769 * math/s_ccosl.c: Likewise.
52770 * math/s_ctan.c: Likewise.
52771 * math/s_ctanf.c: Likewise.
52772 * math/s_ctanh.c: Likewise.
52773 * math/s_ctanhf.c: Likewise.
52774 * math/s_ctanhl.c: Likewise.
52775 * math/s_ctanl.c: Likewise.
52776 * math/w_fmod.c: Likewise.
52777 * math/w_fmodf.c: Likewise.
52778 * math/w_fmodl.c: Likewise.
52779 * math/w_remainder.c: Likewise.
52780 * math/w_remainderf.c: Likewise.
52781 * math/w_remainderl.c: Likewise.
52782 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52783 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52784 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52786 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52787 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52788 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52789 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52791 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52793 * stdio-common/printf_fphex.c: Likewise.
52794 * stdio-common/printf_size.c: Likewise.
52796 * math/e_exp10.c: Include math_private.h using <...> not "...".
52797 * math/e_exp10f.c: Likewise.
52798 * math/e_exp10l.c: Likewise.
52799 * math/e_exp2l.c: Likewise.
52800 * math/e_j0l.c: Likewise.
52801 * math/e_j1l.c: Likewise.
52802 * math/e_jnl.c: Likewise.
52803 * math/e_lgammal_r.c: Likewise.
52804 * math/e_rem_pio2l.c: Likewise.
52805 * math/e_scalb.c: Likewise.
52806 * math/e_scalbf.c: Likewise.
52807 * math/e_scalbl.c: Likewise.
52808 * math/k_cosl.c: Likewise.
52809 * math/k_sinl.c: Likewise.
52810 * math/k_tanl.c: Likewise.
52811 * math/s_cacoshf.c: Likewise.
52812 * math/s_catan.c: Likewise.
52813 * math/s_catanf.c: Likewise.
52814 * math/s_catanh.c: Likewise.
52815 * math/s_catanhf.c: Likewise.
52816 * math/s_catanhl.c: Likewise.
52817 * math/s_catanl.c: Likewise.
52818 * math/s_ccosh.c: Likewise.
52819 * math/s_ccoshf.c: Likewise.
52820 * math/s_ccoshl.c: Likewise.
52821 * math/s_cexp.c: Likewise.
52822 * math/s_cexpf.c: Likewise.
52823 * math/s_cexpl.c: Likewise.
52824 * math/s_clog.c: Likewise.
52825 * math/s_clog10.c: Likewise.
52826 * math/s_clog10f.c: Likewise.
52827 * math/s_clog10l.c: Likewise.
52828 * math/s_clogf.c: Likewise.
52829 * math/s_clogl.c: Likewise.
52830 * math/s_csin.c: Likewise.
52831 * math/s_csinf.c: Likewise.
52832 * math/s_csinh.c: Likewise.
52833 * math/s_csinhf.c: Likewise.
52834 * math/s_csinhl.c: Likewise.
52835 * math/s_csinl.c: Likewise.
52836 * math/s_csqrt.c: Likewise.
52837 * math/s_csqrtf.c: Likewise.
52838 * math/s_csqrtl.c: Likewise.
52839 * math/s_ctan.c: Likewise.
52840 * math/s_ctanf.c: Likewise.
52841 * math/s_ctanh.c: Likewise.
52842 * math/s_ctanhf.c: Likewise.
52843 * math/s_ctanhl.c: Likewise.
52844 * math/s_ctanl.c: Likewise.
52845 * math/s_ldexp.c: Likewise.
52846 * math/s_ldexpf.c: Likewise.
52847 * math/s_ldexpl.c: Likewise.
52848 * math/s_significand.c: Likewise.
52849 * math/s_significandf.c: Likewise.
52850 * math/s_significandl.c: Likewise.
52851 * math/w_acos.c: Likewise.
52852 * math/w_acosf.c: Likewise.
52853 * math/w_acosh.c: Likewise.
52854 * math/w_acoshf.c: Likewise.
52855 * math/w_acoshl.c: Likewise.
52856 * math/w_acosl.c: Likewise.
52857 * math/w_asin.c: Likewise.
52858 * math/w_asinf.c: Likewise.
52859 * math/w_asinl.c: Likewise.
52860 * math/w_atan2.c: Likewise.
52861 * math/w_atan2f.c: Likewise.
52862 * math/w_atan2l.c: Likewise.
52863 * math/w_atanh.c: Likewise.
52864 * math/w_atanhf.c: Likewise.
52865 * math/w_atanhl.c: Likewise.
52866 * math/w_cosh.c: Likewise.
52867 * math/w_coshf.c: Likewise.
52868 * math/w_coshl.c: Likewise.
52869 * math/w_dremf.c: Likewise.
52870 * math/w_exp10.c: Likewise.
52871 * math/w_exp10f.c: Likewise.
52872 * math/w_exp10l.c: Likewise.
52873 * math/w_exp2.c: Likewise.
52874 * math/w_exp2f.c: Likewise.
52875 * math/w_fmod.c: Likewise.
52876 * math/w_fmodf.c: Likewise.
52877 * math/w_fmodl.c: Likewise.
52878 * math/w_hypot.c: Likewise.
52879 * math/w_hypotf.c: Likewise.
52880 * math/w_hypotl.c: Likewise.
52881 * math/w_j0.c: Likewise.
52882 * math/w_j0f.c: Likewise.
52883 * math/w_j0l.c: Likewise.
52884 * math/w_j1.c: Likewise.
52885 * math/w_j1f.c: Likewise.
52886 * math/w_j1l.c: Likewise.
52887 * math/w_jn.c: Likewise.
52888 * math/w_jnf.c: Likewise.
52889 * math/w_jnl.c: Likewise.
52890 * math/w_lgamma.c: Likewise.
52891 * math/w_lgamma_r.c: Likewise.
52892 * math/w_lgammaf.c: Likewise.
52893 * math/w_lgammaf_r.c: Likewise.
52894 * math/w_lgammal.c: Likewise.
52895 * math/w_lgammal_r.c: Likewise.
52896 * math/w_log.c: Likewise.
52897 * math/w_log10.c: Likewise.
52898 * math/w_log10f.c: Likewise.
52899 * math/w_log10l.c: Likewise.
52900 * math/w_log2.c: Likewise.
52901 * math/w_log2f.c: Likewise.
52902 * math/w_log2l.c: Likewise.
52903 * math/w_logf.c: Likewise.
52904 * math/w_logl.c: Likewise.
52905 * math/w_pow.c: Likewise.
52906 * math/w_powf.c: Likewise.
52907 * math/w_powl.c: Likewise.
52908 * math/w_remainder.c: Likewise.
52909 * math/w_remainderf.c: Likewise.
52910 * math/w_remainderl.c: Likewise.
52911 * math/w_scalb.c: Likewise.
52912 * math/w_scalbf.c: Likewise.
52913 * math/w_scalbl.c: Likewise.
52914 * math/w_sinh.c: Likewise.
52915 * math/w_sinhf.c: Likewise.
52916 * math/w_sinhl.c: Likewise.
52917 * math/w_sqrt.c: Likewise.
52918 * math/w_sqrtf.c: Likewise.
52919 * math/w_sqrtl.c: Likewise.
52920 * math/w_tgamma.c: Likewise.
52921 * math/w_tgammaf.c: Likewise.
52922 * math/w_tgammal.c: Likewise.
52924 * po/ja.po: Update from translation team.
52926 2011-09-29 Andreas Jaeger <aj@suse.de>
52929 * sunrpc/netname.c (netname2host): Fix logic.
52933 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52935 * math/w_remainder.c (__remainder): Likewise.
52936 * math/w_remainderf.c (__remainderf): Likewise.
52937 * math/libm-test.inc (remainder_test): Add test cases.
52939 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52941 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
52944 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52946 * string/test-memcmp.c: Avoid unncessary #defines.
52947 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52949 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52951 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52952 Use new sse2 version for core i3 - i7 as it's faster
52953 than sse42 version.
52954 (bit_Prefer_PMINUB_for_stringop): New.
52955 * sysdeps/x86_64/rawmemchr.S: Update.
52956 Replace with faster SSE2 version.
52957 * sysdeps/x86_64/memrchr.S: New file.
52958 * sysdeps/x86_64/memchr.S: Update.
52959 Replace with faster SSE2 version.
52961 2011-09-12 Marek Polacek <mpolacek@redhat.com>
52963 * elf/dl-load.c (lose): Add cast to avoid warning.
52965 2011-10-07 Ulrich Drepper <drepper@gmail.com>
52967 * po/ca.po: Update from translation team.
52969 * inet/getnetgrent_r.c: Hook up nscd.
52970 * nscd/Makefile (routines): Add nscd_netgroup.
52971 (nscd-modules): Add netgroupcache.
52972 (CFLAGS-netgroupcache.c): Define.
52973 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52974 (cache_search): Add const to second parameter.
52975 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52977 (dbs): Add netgrdb entry.
52978 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52979 (verify_persistent_db): Handle netgrdb.
52980 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52981 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52983 (netgroup_response_header): Define.
52984 (innetgroup_response_header): Define.
52985 (datahead): Add netgroup_response_header and innetgroup_response_header
52987 * nscd/nscd.conf: Add entries for netgroup cache.
52988 * nscd/nscd.h (dbtype): Add netgrdb.
52989 (_PATH_NSCD_NETGROUP_DB): Define.
52990 (netgroup_iov_disabled): Declare.
52991 (xmalloc, xcalloc, xrealloc): Move declarations here.
52992 (cache_search): Adjust prototype.
52993 Add netgroup-related prototypes.
52994 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52995 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52996 (__nscd_innetgr): Declare.
52997 * nscd/selinux.c (perms): Use access_vector_t as element type and
52998 add netgroup-related initializers.
52999 * nscd/netgroupcache.c: New file.
53000 * nscd/nscd_netgroup.c: New file.
53001 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53002 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53003 For four parameters use innetgr.
53004 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53005 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53006 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53007 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53009 * nscd/connections.c (register_traced_file): Don't register file
53010 for disabled databases.
53012 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53014 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53016 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53017 from tree and freeing node.
53019 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53021 * nss/nsswitch.c (__nss_database_lookup): Handle
53022 nss_parse_service_list out of memory case.
53024 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53026 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53027 out of memory case.
53029 2011-10-04 Andreas Schwab <schwab@redhat.com>
53031 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53032 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53034 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53035 elf_machine_rela, elf_machine_lazy_rel.
53036 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53037 (ELF_DYNAMIC_DO_REL): Likewise.
53038 (ELF_DYNAMIC_DO_RELA): Likewise.
53039 (ELF_DYNAMIC_RELOCATE): Likewise.
53040 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53041 to ELF_DYNAMIC_DO_REL.
53042 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53043 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53044 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53046 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53047 skip_ifunc, don't call ifunc function if non-zero.
53048 (elf_machine_rela): Likewise.
53049 (elf_machine_lazy_rel): Likewise.
53050 (elf_machine_lazy_rela): Likewise.
53051 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53052 (elf_machine_lazy_rel): Likewise.
53053 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53055 (elf_machine_lazy_rel): Likewise.
53056 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53058 (elf_machine_lazy_rel): Likewise.
53059 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53060 (elf_machine_lazy_rel): Likewise.
53061 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53062 (elf_machine_lazy_rel): Likewise.
53063 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53064 (elf_machine_lazy_rel): Likewise.
53065 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53066 (elf_machine_lazy_rel): Likewise.
53067 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53068 (elf_machine_lazy_rel): Likewise.
53069 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53070 (elf_machine_lazy_rel): Likewise.
53072 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53074 * nss/nss_files/files-init.c (_nss_files_init): Use static
53075 initialization for all the *_traced_file variables.
53077 2011-09-28 Andreas Schwab <schwab@redhat.com>
53079 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53081 2011-09-27 Roland McGrath <roland@hack.frob.com>
53084 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53086 2011-09-27 Andreas Schwab <schwab@redhat.com>
53088 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53089 Reread the line before reparsing it.
53091 2011-09-26 Andreas Schwab <schwab@redhat.com>
53093 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53095 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53096 Maxim Kuvyrkov <maxim@codesourcery.com>
53097 Joseph Myers <joseph@codesourcery.com>
53099 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53100 if needed for __stack_chk_guard.
53102 2011-09-19 Roland McGrath <roland@hack.frob.com>
53104 * sysdeps/posix/spawni.c (script_execute): Always define it.
53105 It will be optimized away if unused.
53106 (maybe_script_execute): New function.
53107 (__spawni): Call it.
53109 * Makerules: Don't include tls.make.
53110 (config-tls): Always set to thread.
53111 * tls.make.c: File removed.
53113 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53115 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53116 * config.make.in (CPPFLAGS-config): New substituted variable.
53118 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53120 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53123 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53124 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53126 2011-09-15 Roland McGrath <roland@hack.frob.com>
53128 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53129 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53130 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53131 (CALL_FAIL): Likewise.
53132 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53133 (CALL_FAIL): Macro removed.
53134 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53136 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53138 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53139 for __FINITE_MATH_ONLY__ == 1.
53141 2011-09-15 Andreas Schwab <schwab@redhat.com>
53143 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53144 __ieee754_sqrt instead of sqrt.
53145 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53146 __ieee754_sqrtf instead of sqrtf.
53147 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53148 __floorf instead of floorf.
53149 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53150 __floorf, __truncf instead of floorf, truncf.
53152 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53154 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53156 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53157 __extern_always_inline.
53158 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53161 2011-09-14 Andreas Schwab <schwab@redhat.com>
53163 * elf/rtld.c (dl_main): Also relocate in dependency order when
53164 doing symbol dependency testing.
53166 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53168 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53169 Always define `refsym'.
53171 2011-09-13 Andreas Schwab <schwab@redhat.com>
53173 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53174 (__FD_ELT): Renamed from __FDELT.
53175 * misc/bits/select2.h (__FD_ELT): Likewise.
53176 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53177 __FD_MASK instead of __FDELT, __FDMASK.
53178 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53180 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53183 * elf/Makefile (gen-ldd): Fix pattern.
53185 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53186 (init_tls): Likewise.
53188 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53190 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53192 2011-09-12 Andreas Schwab <schwab@redhat.com>
53194 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53195 `struct cmsghdr *' instead of `void *'.
53196 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53199 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53201 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53203 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53204 ldd_rewrite_script.
53206 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53208 * configure.in: Remove --with-tls option.
53209 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53210 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53211 out in case it is missing.
53212 * sysdeps/ia64/elf/configure.in: Likewise.
53213 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53214 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53215 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53216 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53217 * sysdeps/sh/elf/configure.in: Likewise.
53218 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53219 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53220 * sysdeps/x86_64/elf/configure.in: Likewise.
53221 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53222 * sysdeps/mach/hurd/tls.h: Likewise.
53225 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53228 * configure.in: Fix use of AC_INIT.
53230 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53232 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53234 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53236 * malloc/hooks.c: Likewise.
53239 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53240 variables statically.
53241 (narenas): Initialize.
53242 (list_lock): Initialize.
53243 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53244 initializtion of main_arena and list_lock. Small cleanups.
53245 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53246 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53247 Add initializers to main_arena and mp_.
53248 (malloc_state): Remove pagesize member. Change all users to use
53251 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53252 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53253 is always initialized.
53255 * malloc/malloc.c: Removed unused configurations and dead code.
53256 * malloc/arena.c: Likewise.
53257 * malloc/hooks.c: Likewise.
53258 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53260 * include/tls.h: Removed. USE___THREAD must always be defined.
53261 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53262 * elf/dl-libc.c: Likewise.
53263 * elf/dl-tsd.c: Likewise.
53264 * include/errno.h: Likewise.
53265 * include/netdb.h: Likewise.
53266 * include/resolv.h: Likewise.
53267 * inet/herrno-loc.c: Likewise.
53268 * inet/herrno.c: Likewise.
53269 * malloc/arena.c: Likewise.
53270 * malloc/hooks.c: Likewise.
53271 * malloc/malloc.c: Likewise.
53272 * resolv/res-state.c: Likewise.
53273 * resolv/res_libc.c: Likewise.
53274 * sysdeps/i386/dl-machine.h: Likewise.
53275 * sysdeps/ia64/dl-machine.h: Likewise.
53276 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53277 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53278 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53279 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53280 * sysdeps/sh/dl-machine.h: Likewise.
53281 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53282 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53283 * sysdeps/unix/i386/sysdep.S: Likewise.
53284 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53285 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53286 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53287 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53288 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53290 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53292 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53294 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53295 * sysdeps/x86_64/dl-machine.h: Likewise.
53296 * tls.make.c: Likewise.
53298 * configure.in: Remove --with-__thread option. Make tests for
53299 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53300 tls_model attribute fail if no support is available. Remove
53302 * Makeconfig: Adjust for dropped configure option. All features are
53304 * Makerules: Likewise.
53305 * Versions.def: Likewise.
53306 * argp/argp-fmtstream.c: Likewise.
53307 * argp/argp-fmtstream.h: Likewise.
53308 * argp/argp-help.c: Likewise.
53309 * assert/assert.c: Likewise.
53310 * config.h.in: Likewise.
53311 * config.make.in: Likewise.
53312 * configure: Likewise.
53313 * configure.in: Likewise.
53314 * csu/Versions: Likewise.
53315 * csu/init.c: Likewise.
53316 * elf/tst-audit2.c: Likewise.
53317 * elf/tst-tls10.c: Likewise.
53318 * elf/tst-tls10.h: Likewise.
53319 * elf/tst-tls11.c: Likewise.
53320 * elf/tst-tls12.c: Likewise.
53321 * elf/tst-tls14.c: Likewise.
53322 * elf/tst-tlsmod11.c: Likewise.
53323 * elf/tst-tlsmod12.c: Likewise.
53324 * elf/tst-tlsmod13.c: Likewise.
53325 * elf/tst-tlsmod13a.c: Likewise.
53326 * elf/tst-tlsmod14a.c: Likewise.
53327 * elf/tst-tlsmod15b.c: Likewise.
53328 * elf/tst-tlsmod16a.c: Likewise.
53329 * elf/tst-tlsmod16b.c: Likewise.
53330 * elf/tst-tlsmod7.c: Likewise.
53331 * elf/tst-tlsmod8.c: Likewise.
53332 * elf/tst-tlsmod9.c: Likewise.
53333 * gmon/gmon.c: Likewise.
53334 * grp/fgetgrent_r.c: Likewise.
53335 * grp/putgrent.c: Likewise.
53336 * hurd/fopenport.c: Likewise.
53337 * include/libc-symbols.h: Likewise.
53338 * include/tls.h: Likewise.
53339 * intl/gettextP.h: Likewise.
53340 * intl/loadinfo.h: Likewise.
53341 * locale/global-locale.c: Likewise.
53342 * locale/localeinfo.h: Likewise.
53343 * mach/devstream.c: Likewise.
53344 * malloc/arena.c: Likewise.
53345 * malloc/set-freeres.c: Likewise.
53346 * misc/err.c: Likewise.
53347 * misc/getttyent.c: Likewise.
53348 * misc/mntent_r.c: Likewise.
53349 * posix/getopt.c: Likewise.
53350 * posix/wordexp.c: Likewise.
53351 * pwd/fgetpwent_r.c: Likewise.
53352 * resolv/Versions: Likewise.
53353 * resolv/res_hconf.c: Likewise.
53354 * shadow/fgetspent_r.c: Likewise.
53355 * shadow/putspent.c: Likewise.
53356 * stdio-common/printf_fphex.c: Likewise.
53357 * stdio-common/tmpfile.c: Likewise.
53358 * stdlib/abort.c: Likewise.
53359 * stdlib/fmtmsg.c: Likewise.
53360 * sunrpc/auth_unix.c: Likewise.
53361 * sunrpc/clnt_perr.c: Likewise.
53362 * sunrpc/clnt_tcp.c: Likewise.
53363 * sunrpc/clnt_udp.c: Likewise.
53364 * sunrpc/clnt_unix.c: Likewise.
53365 * sunrpc/openchild.c: Likewise.
53366 * sunrpc/svc_simple.c: Likewise.
53367 * sunrpc/svc_tcp.c: Likewise.
53368 * sunrpc/svc_udp.c: Likewise.
53369 * sunrpc/svc_unix.c: Likewise.
53370 * sunrpc/xdr.c: Likewise.
53371 * sunrpc/xdr_array.c: Likewise.
53372 * sunrpc/xdr_rec.c: Likewise.
53373 * sunrpc/xdr_ref.c: Likewise.
53374 * sunrpc/xdr_stdio.c: Likewise.
53376 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53378 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53380 2011-07-03 Andreas Jaeger <aj@suse.de>
53382 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53383 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53384 regenerate with gen-libm-tests.pl.
53386 2010-05-12 Petr Baudis <pasky@suse.cz>
53389 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53390 around j0() zero points by switching to j1().
53391 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53392 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53393 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53394 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53396 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53398 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53400 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53402 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53403 Patch in part by Pavel Roskin <proski@gnu.org>.
53406 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53408 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53409 Free memory block if necessary.
53412 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53413 be NULL. Don't lock in this case.
53415 2011-09-09 Roland McGrath <roland@hack.frob.com>
53417 * elf/elf.h (ELFOSABI_GNU): New macro.
53418 (ELFOSABI_LINUX): Define to that.
53420 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53422 * string/strncat.c (strncat): Undef the symbol in case it has been
53423 defined in bits/string.h.
53425 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53427 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53429 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53432 2011-08-17 Andreas Jaeger <aj@suse.de>
53434 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53436 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53437 Ian Lance Taylor <iant@google.com>
53439 * math/libm-test.inc (lround_test): New testcase.
53440 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53442 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53444 * Makefile: Remove support for automatic cvs check-ins.
53445 * Makerules: Likewise.
53446 * config.make.in: Likewise.
53447 * configure.in: Likewise.
53448 * intl/Makefile: Likewise.
53449 * locale/Makefile: Likewise.
53450 * po/Makefile: Likewise.
53451 * posix/Makefile: Likewise.
53452 * sysdeps/gnu/Makefile: Likewise.
53453 * sysdeps/mach/hurd/Makefile: Likewise.
53454 * sysdeps/sparc/sparc32/Makefile: Likewise.
53457 * posix/Makefile (bug-regex32-ENV): Define.
53458 Patch by John Stanley <jpsinthemix@verizon.net>.
53460 * misc/Makefile (headers): Add bits/select2.h.
53461 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53462 * misc/bits/select2.h: New file.
53463 * include/bits/select2.h: New file.
53464 * debug/Makefile (routines): Add fdelt_chk.
53465 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53466 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53468 * debug/fdelt_chk.c: New file.
53470 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53471 * wcsmbs/test-wmemcmp.c: Likewise.
53472 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53473 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53475 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53477 * string/Makefile (strop-tests): Add memcmp.
53478 * string/test-wmemcmp.c: New file.
53479 * string/test-memcmp.c: Add wmemcmp support.
53481 2011-09-08 Roland McGrath <roland@hack.frob.com>
53484 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53487 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53488 garbage value in a __mach_port_mod_refs call in the cases of the
53489 task-self and thread-self ports.
53491 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53493 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53495 2011-09-08 Andreas Schwab <schwab@redhat.com>
53497 * elf/dl-load.c (lose): Check for non-null L.
53499 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53501 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53503 * elf/dl-libc.c (dlerror_run): Pass back error code from
53507 * elf/dl-load.c (lose): Free l_origin if it is valid.
53509 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53511 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53512 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53513 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53514 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53515 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53516 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53518 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53520 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53521 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53522 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53523 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53524 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53525 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53526 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53527 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53528 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53529 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53531 2011-08-15 Alan Modra <amodra@gmail.com>
53534 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53535 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53536 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53537 ppc_mcount to static-only-routines.
53538 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53540 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53541 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53543 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53545 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53546 for finite and infinity parameters.
53548 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53550 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53551 and add nop instructions for throughput optimization.
53552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53554 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53556 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53557 aligned copy for power7 with vector-scalar instructions.
53558 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53560 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53562 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53565 2011-09-07 Andreas Schwab <schwab@redhat.com>
53568 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53571 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53573 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53574 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53575 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53576 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53579 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53581 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53582 Forgot to demangle the pointer.
53584 * sysdeps/i386/sysdep.h: Define atom_text_section.
53585 * sysdeps/x86_64/sysdep.h: Likewise.
53586 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53587 section with atom_text_section.
53588 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53589 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53590 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53591 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53592 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53594 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53595 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53596 already be defined. Change to take two parameters and don't assign
53597 result to variable. Adjust all users.
53598 Define INTERNAL_GETTIME if not already defined.
53599 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53601 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53602 HAVE_CLOCK_GETTIME_VSYSCALL.
53603 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53605 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53606 gettimeofday vsyscall, just use time.
53608 2011-09-06 Andreas Schwab <schwab@redhat.com>
53610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53613 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53615 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53617 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53619 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53620 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53621 syscall if possible.
53623 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53625 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53626 e_ident. Don't pass to find_mapsXX.
53627 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53629 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53632 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53633 * sysdeps/x86_64/multiarch/strchr.S: Update.
53634 Check bit_slow_BSF bit.
53635 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53636 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53637 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53639 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53642 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53644 (tryshell): Define.
53645 (__spawni): Change last parameter to be flag. Test
53646 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53647 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53648 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53649 * posix/spawni.c: Likewise.
53650 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53651 * posix/spawnp.c: Likewise. Change normal version to use
53652 SPAWN_XFLAGS_USE_PATH.
53653 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53654 SPAWN_XFLAGS_TRY_SHELL.
53657 * posix/glob.h: Remove gcc 1.x support.
53660 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53662 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53665 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53667 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53668 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53669 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53670 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53671 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53672 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53674 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53676 * sysdeps/x86_64/wcscmp.S: New file.
53678 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53679 wcscmp-c wcscmp-sse2
53680 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53681 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53682 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53683 * wcsmbs/wcscmp.c: Allow renaming.
53685 2011-09-05 David S. Miller <davem@davemloft.net>
53687 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53688 stack slot, rather than the struct return pointer slot.
53689 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53690 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53692 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53694 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53696 * po/ja.po: Update from translation team.
53699 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53700 kernel in 64-bit binaries.
53702 2011-09-01 David S. Miller <davem@davemloft.net>
53704 * elf/elf.h (HWCAP_SPARC_*): Move to..
53705 * sysdeps/sparc/sysdep.h: this new file and add new values.
53706 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53707 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53708 _DL_HWCAP_COUNT to 24.
53709 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53711 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53712 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53713 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53714 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53715 instead of magic constants.
53716 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53718 2011-08-31 David S. Miller <davem@davemloft.net>
53720 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53721 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53722 Reimplement to do errno handling inline.
53723 (SYSCALL_ERROR_HANDLER): New macro.
53724 (__SYSCALL_STRING): Do not do errno handling in asm.
53725 (__CLONE_SYSCALL_STRING): Delete.
53726 (__INTERNAL_SYSCALL_STRING): Delete.
53727 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53728 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53729 (PSEUDO): Reimplement to do errno handling inline.
53730 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53731 (SYSCALL_ERROR_HANDLER): New macro.
53732 (__SYSCALL_STRING): Do not do errno handling in asm.
53733 (__CLONE_SYSCALL_STRING): Delete.
53734 (__INTERNAL_SYSCALL_STRING): Delete.
53735 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53736 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53738 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53739 (inline_syscall*): Add 'err' argument.
53740 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53741 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53742 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53743 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53745 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53746 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53748 2011-08-30 Andreas Schwab <schwab@redhat.com>
53750 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53752 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53754 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53757 2011-08-24 David S. Miller <davem@davemloft.net>
53759 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53761 2011-08-24 Andreas Schwab <schwab@redhat.com>
53763 * elf/Makefile: Add rules to build and run unload8 test.
53764 * elf/unload8.c: New file.
53765 * elf/unload8mod1.c: New file.
53766 * elf/unload8mod1x.c: New file.
53767 * elf/unload8mod2.c: New file.
53768 * elf/unload8mod3.c: New file.
53770 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53773 2011-08-23 David S. Miller <davem@davemloft.net>
53775 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53776 subtract stack bias.
53777 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53778 %sp not %fp in calculations.
53779 (_JMPBUF_UNWINDS_ADJ): Likewise.
53781 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53782 (aio_suspend): Call it to force an exception region around the
53783 AIO_MISC_WAIT() invocation.
53785 2011-08-23 Andreas Schwab <schwab@redhat.com>
53787 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53790 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53792 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53794 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53795 and <dl-machine.h>.
53796 (Elf64_FuncDesc): Remove.
53798 2011-08-22 David S. Miller <davem@davemloft.net>
53800 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53801 sigaltstack check, add missing cfi directives.
53802 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53803 missing cfi directives, and sigaltstack handling.
53805 2011-08-16 Andreas Schwab <schwab@redhat.com>
53808 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53809 object is seen twice.
53810 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53812 * elf/Makefile (distribute): Add tst-initorder2.c.
53813 (tests): Add tst-initorder2.
53814 (modules-names): Add tst-initorder2a tst-initorder2b
53815 tst-initorder2c tst-initorder2d. Add rules to build them.
53816 ($(objpfx)tst-initorder2.out): New rule.
53817 * elf/tst-initorder2.c: New file.
53818 * elf/tst-initorder2.exp: New file.
53820 2011-08-22 Andreas Schwab <schwab@redhat.com>
53822 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53824 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53825 dependencies back to end of function.
53827 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53828 $(elfobjdir)/ld.so.
53830 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53832 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53833 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53834 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53835 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53836 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53837 of __vdso_gettimeofday.
53838 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53839 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53841 (_libc_vdso_platform_setup): Remove initialization of
53842 __vdso_gettimeofday and __vdso_time.
53844 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53846 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53847 and fgetc_unlocked.
53848 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53851 * elf/dl-open.c (add_to_global): Report additions to the global scope
53852 for LD_DEBUG=scopes.
53853 (dl_open_worker): Also print scope of newly loaded dependencies.
53854 (_dl_show_scope): Indicate if there is no scope.
53857 * stdio-common/Makefile (tests): Add bug24.
53858 * stdio-common/bug24.c: New file.
53860 2011-08-19 Andreas Jaeger <aj@suse.de>
53863 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53864 non-existant file when using close-on-exec mode.
53866 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53868 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53869 the very first instruction.
53871 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53872 the CFI state in the end.
53873 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53874 inclusion of dl-trampoline.h.
53875 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53877 2011-08-19 Andreas Schwab <schwab@redhat.com>
53879 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53880 expectations for long double.
53882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53883 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53885 2011-08-14 David S. Miller <davem@davemloft.net>
53887 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53888 artificual limit depends upon the system page size.
53890 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53892 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53893 * resolv/Makefile: Define CFLAGS-libresolv.
53895 2011-08-17 Andreas Schwab <schwab@redhat.com>
53897 * nss/makedb.c (compute_tables): Make variables used in nested
53900 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53902 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53903 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53904 if buffer was too small.
53906 * elf/pldd.c (main): Attach to all threads in the process.
53907 Rewrite /proc handling to use *at functions.
53909 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53911 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53912 specifies first scope to show.
53913 (dl_open_worker): Update callers. Move printing scope of new
53914 object to before the relocation.
53915 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53916 * sysdeps/generic/ldsodefs.h: Update declaration.
53918 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53919 string for the scope number.
53921 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53923 * nscd/servicescache.c (cache_addserv): Make sure written is always
53926 2011-08-14 Roland McGrath <roland@hack.frob.com>
53928 * sysdeps/i386/i486/bits/atomic.h
53929 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53930 statement expression, so as to suppress "set but not used" warning.
53931 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53933 * string/strncat.c (STRNCAT): Use prototype definition.
53935 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53936 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53938 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53939 (localedef-modules): Add localedef.
53940 (locale-modules): Add locale.
53942 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53943 * elf/rtld.c (dl_main): Invert order of assignment in last change,
53944 to avoid a warning.
53946 2011-08-14 David S. Miller <davem@davemloft.net>
53948 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53949 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53951 2011-08-13 Ulrich Drepper <drepper@gmail.com>
53953 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53954 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53955 * elf/rtld.c (dl_main): Set l_name of vDSO.
53956 Call _dl_show_scope when DL_DEBUG_SCOPES.
53957 (process_dl_debug): Recognize scopes flag and also set it for all.
53958 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53959 Declare _dl_show_scope.
53961 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53962 (do_dlopen): Pass caller_dlopen to dl_open.
53963 (__libc_dlopen_mode): Initialize caller_dlopen.
53965 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53966 of libc. Make tolower call locale-independent. Optimize a bit by
53967 using isdigit instead of isalnum.
53968 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53970 2011-08-12 Ulrich Drepper <drepper@gmail.com>
53972 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53973 was a dependency or dynamically loaded.
53975 2011-08-11 Ulrich Drepper <drepper@gmail.com>
53977 * intl/l10nflist.c: Allow architecture-specific pop function.
53978 * sysdeps/x86_64/l10nflist.c: New file.
53980 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53983 2011-08-10 Andreas Schwab <schwab@redhat.com>
53985 * include/dirent.h: Add libc_hidden_proto for scandirat and
53986 scandirat64. Don't declare __scandirat64.
53987 * dirent/scandirat.c: Add libc_hidden_def.
53988 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53989 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53991 2011-08-10 David S. Miller <davem@davemloft.net>
53993 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53995 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53996 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53997 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53999 2011-08-09 Ulrich Drepper <drepper@gmail.com>
54001 * Versions.def [libc]: Add GLIBC_2.15.
54002 * dirent/Makefile (routines): Add scandirat and scandirat64.
54003 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54005 * dirent/dirent.h: Declare scandirat and scandirat64.
54006 * dirent/scandirat.c: New file.
54007 * dirent/scandirat64.c: New file.
54008 * sysdeps/wordsize-64/scandirat.c: New file.
54009 * sysdeps/wordsize-64/scandirat64.c: New file.
54010 * dirent/opendir.c: Define opendirat.
54011 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54013 * dirent/scandir64.c: Adjust for scandir.c change.
54014 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54015 __scandirat64, and __scandir_cancel_handler.
54016 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54017 additional parameter and use openat instead of open (outside of ld.so).
54018 Add new __opendir as wrapper around __opendirat.
54019 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54020 here without requiring old scandirat implementation.
54022 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54024 * dirent/scandir.c (cancel_handler): Renamed to
54025 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54026 defined. Adjust users.
54027 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54028 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54030 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54032 * string/test-string.h (IMPL): Use __STRING to expand name and then
54035 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54038 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54040 * string/Makefile: Update.
54041 (strop-tests): Append strncat.
54042 * string/test-wcscmp.c: New file.
54043 New comprehensive test for wcscmp.
54044 * string/test-strcmp.c: Update.
54045 (WIDE): New define.
54047 2011-07-22 Andreas Schwab <schwab@redhat.com>
54049 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54052 2011-07-26 Andreas Schwab <schwab@redhat.com>
54054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54055 encoding to ACE if AI_IDN.
54057 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54060 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54062 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54064 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54065 Fix overflow bug in strncat.
54066 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54068 * string/test-strncat.c: Update.
54069 Add new tests for checking overflow bugs.
54071 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54074 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54075 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54076 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54077 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54078 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54079 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54080 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54081 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54084 (USE_AS_STRCAT): Define.
54085 Add strcat and strncat support.
54086 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54088 2011-07-25 Andreas Schwab <schwab@redhat.com>
54090 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54091 __n bigger than INT_MAX+1.
54092 (__strncmp_g): Likewise.
54094 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54096 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54097 * libio/stido.h: Likewise.
54099 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54104 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54105 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54106 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54107 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54108 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54111 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54114 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54116 (_dl_x86_64_save_sse): Likewise.
54118 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54120 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54122 (_dl_x86_64_save_sse): Likewise.
54124 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54126 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54128 2011-07-21 Andreas Schwab <schwab@redhat.com>
54130 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54132 (_dl_x86_64_save_sse): Use correct AVX check.
54134 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54136 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54137 bug in strncpy/strncat.
54138 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54140 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54142 * string/tester.c (test_strcat): Add tests for different alignments
54143 of source and destination.
54144 (test_strncat): Likewise.
54146 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54149 * posix/glob.c (glob): Check passed in values before using them in
54150 expressions to avoid some overflows.
54151 (glob_in_dir): Likewise.
54154 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54155 check for AVX enablement so that we don't crash with old kernels and
54157 * elf/tst-audit4.c: Add same checks here.
54158 * elf/tst-audit6.c: Likewise.
54160 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54162 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54164 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54166 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54168 * po/cs.po: Update from translation team.
54169 * po/bg.po: Likewise.
54171 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54173 * misc/sys/cdefs.h: Add support for const attribute.
54174 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54175 to gnu_dev_{major,minor,makedev} functions.
54177 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54179 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54181 2011-07-20 Andreas Schwab <schwab@redhat.com>
54183 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54186 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54188 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54189 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54190 register in order to avoid conflicts with the soft frame pointer
54191 being held in r11 when necessary.
54192 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54193 (INTERNAL_VSYSCALL_NCS): Likewise.
54195 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54197 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54198 * elf/dl-fini.c (_dl_fini): Adjust caller.
54199 * elf/dl-close.c (_dl_close_worker): Likewise.
54200 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54202 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54204 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54205 "aux_cache->nlibs < 0".
54207 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54208 in the reload-count case.
54210 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54212 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54213 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54214 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54215 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54216 * sysdeps/x86_64/multiarch/strcat.S: New file.
54217 * sysdeps/x86_64/multiarch/strncat.S: New file.
54218 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54219 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54220 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54221 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54223 (USE_AS_STRCAT): Define.
54224 Add strcat and strncat support.
54225 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54226 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54227 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54228 * string/strncat.c: Update.
54229 (USE_AS_STRNCAT): Define.
54230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54231 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54233 * sysdeps/x86_64/multiarch/init-arch.h
54234 (bit_Prefer_PMINUB_for_stringop): New.
54235 (index_Prefer_PMINUB_for_stringop): Likewise.
54236 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54237 bit_Prefer_PMINUB_for_stringop.
54239 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54241 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54243 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54244 of casting of buffer.
54245 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54246 buffer32 and buffer64.
54247 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54248 writes instead of casting of buffer.
54249 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54251 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54254 2011-07-19 Andreas Schwab <schwab@redhat.com>
54256 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54258 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54260 * nscd/nscd.c (termination_handler): Don't do anything for a database
54261 if it has not yet been initialized.
54263 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54265 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54267 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54269 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54271 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54273 * po/nl.po: Update from translation team.
54274 * po/sv.po: Likewise.
54276 2011-07-16 Roland McGrath <roland@hack.frob.com>
54278 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54279 now disallowed by GCC.
54281 * configure.in (use-default-link): Default to yes if a test -shared
54282 link meets our qualifications.
54283 * configure: Regenerated.
54285 * config.make.in (output-format): New variable.
54286 * configure.in: Check for ld --print-output-format support.
54287 * configure: Regenerated.
54288 * Makerules ($(common-objpfx)format.lds)
54289 [$(output-format) != unknown]: Just use $(output-format),
54290 instead of the linker-script munging.
54292 2011-07-14 Roland McGrath <roland@hack.frob.com>
54294 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54295 of $(common-objpfx)shlib.lds.
54296 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54298 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54299 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54301 * configure.in (-z relro check): Adjust test code to add a large
54302 writable data section after it.
54303 * configure: Regenerated.
54305 2011-07-11 Roland McGrath <roland@hack.frob.com>
54307 * configure.in (-z relro check): Fix test code to make the variable
54309 * configure: Regenerated.
54311 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54313 * nscd/nscd.h (struct traced_file): Define.
54314 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54315 elements. Add traced_files.
54316 (inotify_fd): Declare.
54317 (register_traced_file): Declare.
54318 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54319 (inotify_fd): Export.
54320 (resolv_conf_descr): Remove.
54321 (nscd_init): Move inotify descriptor creation to main.
54322 Don't register files for notification here.
54323 (register_traced_file): New function.
54324 (invalidate_cache): Don't use reset_res to determine whether to call
54325 res_init, go through the list of registered files.
54326 (main_loop_poll): The inotify descriptors are now stored in the
54327 structures for the traced files.
54328 (main_loop_epoll): Likewise
54329 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54330 to __nss_disable_nscd.
54331 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54332 for a database anymore. Check the records for all the registered
54334 * nss/Makefile (libnss_files-routines): Add files-init.
54335 (libnss_db-routines): Add db-init.
54336 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54337 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54338 * nss/nss_db/db-init.c: New file.
54339 * nss/nss_files/files-init.c: New file.
54340 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54341 __nss_lookup_function.
54342 (__nss_lookup_function): Call nss_load_library.
54343 (nss_load_all_libraries): New function.
54344 (__nss_disable_nscd): Take parameter with callback function for files
54345 to register. Set is_nscd. Load all the DSOs for the NSS modules
54346 used for the cached services.
54347 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54348 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54349 options for features to all the files in nscd.
54351 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54353 2011-07-10 Roland McGrath <roland@hack.frob.com>
54355 * csu/elf-init.c (__libc_csu_init): Comment typo.
54357 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54359 * po/pl.po: Update from translation team.
54360 * po/ja.po: Likewise.
54361 * po/ru.po: Likewise.
54362 * po/ko.po: Likewise.
54363 * po/fr.po: Likewise.
54365 2011-07-09 Roland McGrath <roland@hack.frob.com>
54367 * configure.in (.ctors/.dtors header and trailer check):
54368 Use an empirical test on a built program.
54369 * configure: Regenerated.
54371 * configure.in (-z relro check): Use an empirical test on a built DSO.
54372 Detect, but do not require, on ia64.
54373 * configure: Regenerated.
54375 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54376 Update tests that use readelf to use $READELF instead.
54377 * configure: Regenerated.
54379 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54381 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54382 if the result is not used.
54384 2011-07-05 Andreas Jaeger <aj@suse.de>
54387 * stdlib/tst-strtod.c: Add testcase.
54389 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54391 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54392 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54393 The latter has a higher limit. Take additional parameter to pass to
54395 (__pathconf): Pass file to __statfs_link_max.
54396 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54398 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54402 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54403 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54405 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54406 (__statfs_filesize_max): Likewise.
54407 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54409 2011-07-05 Andreas Jaeger <aj@suse.de>
54411 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54413 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54415 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54417 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54420 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54422 * Makefile (strop-tests): Add strncat.
54423 * string/test-strncat.c: New file.
54425 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54427 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54429 2011-06-21 Andreas Jaeger <aj@suse.de>
54431 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54432 Copy rule from iconvdata/Makefile.
54434 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54437 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54438 but no long options are defined, just return 'W'.
54440 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54443 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54445 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54447 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54449 (innetgr): Likewise.
54451 2011-07-05 Roland McGrath <roland@hack.frob.com>
54453 * config.make.in (install_root): Default to $(DESTDIR).
54455 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54457 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54459 2011-07-02 Roland McGrath <roland@hack.frob.com>
54461 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54463 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54464 containing directory rather than embedding absolute directory names.
54466 * scripts/check-local-headers.sh: Rewritten using awk.
54467 Match by word, not by line. Print error messages for matches.
54468 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54470 * Makerules [shlib-lds-flags empty]:
54471 ($(common-objpfx)libc_pic.opts): New target.
54472 ($(common-objpfx)libc_pic.os.clean): New target.
54473 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54475 * config.make.in (OBJCOPY): New variable.
54476 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54477 * configure: Regenerated.
54479 * config.make.in (use-default-link): New variable.
54480 * configure.in (use_default_link): Grok --with-default-link to set it.
54481 * configure: Regenerated.
54482 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54483 (shlib-lds, shlib-lds-flags): Define to empty.
54485 * Makerules (shlib-lds): New variable.
54486 (shlib-lds-flags): New variable.
54487 (build-shlib, build-moduile, build-module-asneeded): Use it.
54488 ($(common-objpfx)libc.so): Use $(shlib-lds).
54489 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54490 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54492 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54493 DT_FLAGS/DT_FLAGS_1 with zero flags.
54495 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54496 linker script munging.
54498 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54500 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54502 * crypt/sha512.c (sha512_process_block): Perform total addition using
54503 128-bit if possible.
54504 (__sha512_finish_ctx): Likewise.
54505 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54507 * crypt/sha256.c (SWAP64): Define.
54508 (sha256_process_block): Perform total addition using 64-bit if
54510 (__sha256_finish_ctx): Likewise.
54512 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54514 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54516 * nscd/hstcache.c (cache_addhst): Likewise.
54517 * nscd/grpcache.c (cache_addgr): Likewise.
54518 * nscd/aicache.c (addhstaiX): Likewise
54519 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54521 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54523 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54524 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54525 * nscd/hstcache.c (cache_addhst): Likewise.
54526 * nscd/grpcache.c (cache_addgr): Likewise.
54527 * nscd/aicache.c (addhstaiX): Likewise
54529 2011-07-01 Andreas Schwab <schwab@redhat.com>
54531 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54532 domain only when needed.
54534 2011-06-30 Andreas Schwab <schwab@redhat.com>
54536 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54537 is always restored.
54539 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54541 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54542 are re-adding the entry.
54543 * nscd/servicescache.c (cache_addserv): Likewise.
54545 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54547 * sysdeps/generic/dl-irel.h: fix protection against multiple
54549 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54551 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54554 * malloc/memusage.sh: Fix quoting in message.
54555 * debug/xtrace.sh: Likewise.
54557 * configure.in: Remove support for --experimental-malloc option, make
54559 * config.make.in: Likewise.
54560 * malloc/Makefile: Likewise.
54562 2011-06-27 Andreas Schwab <schwab@redhat.com>
54564 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54565 two-byte characters.
54567 2011-06-27 Roland McGrath <roland@hack.frob.com>
54569 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54570 AC_CACHE_CHECK invocation.
54571 * configure: Regenerated.
54573 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54575 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54578 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54579 bit from old_res_options.
54581 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54583 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54584 value type for setfct.
54586 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54588 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54589 __gettimeofday instead of gettimeofday.
54591 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54593 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54595 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54597 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54599 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54602 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54605 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54606 strcpy-sse2-unaligned strncpy-sse2-unaligned
54607 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54608 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54609 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54610 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54611 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54612 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54613 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54614 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54615 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54616 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54617 (STRCPY): Support SSE2 and SSSE3 versions.
54619 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54622 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54623 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54624 kernels which artificially limit size of requests.
54626 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54628 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54629 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54630 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54631 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54632 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54633 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54634 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54635 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54636 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54637 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54638 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54639 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54640 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54641 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54642 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54643 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54644 Enable unaligned load optimization for Intel Core i3, i5 and i7
54646 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54648 (index_Fast_Unaligned_Load): Define.
54649 (HAS_FAST_UNALIGNED_LOAD): Define.
54651 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54653 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54655 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54658 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54659 until it is clear that the information is realy needed.
54660 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54662 2011-06-22 Andreas Schwab <schwab@redhat.com>
54664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54666 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54668 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54669 /sys/devices/system/cpu/online if it is usable.
54671 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54672 reading the information from the /proc filesystem to once a second.
54674 2011-06-21 Andreas Jaeger <aj@suse.de>
54676 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54677 NULL after inclusion of kernel headers.
54679 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54681 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54682 calls to internal_setent.
54685 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54686 addresses using gethostbyname4_r ignore IPv4 addresses.
54688 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54689 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54691 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54693 2011-06-20 David S. Miller <davem@davemloft.net>
54695 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54697 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54699 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54700 (elf_irel): Use it.
54701 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54702 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54703 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54704 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54705 * sysdeps/x86_64/dl-irel.h: Likewise.
54707 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54708 * elf/dl-sym.c: Likewise.
54710 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54712 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54713 need to dereference resplen2.
54715 2011-06-14 Andreas Schwab <schwab@redhat.com>
54717 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54719 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54721 * Makeconfig: Define vardbdir and inst_vardbdir.
54722 * nss/Makefile: Add rules to install db-Makefile.
54724 * nss/nss_db/db-XXX.c: Cleanup.
54726 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54727 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54729 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54730 * nss/makedb.c: Implement -g option to specify that value strings
54731 are generated and should not be added to table iterated over for
54733 * nss/nss_db/db-initgroups.c: New file.
54735 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54738 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54739 (internal_getgrouplist): Adjust to name change.
54740 Update use_initgroups_entry if this is not the first call.
54741 * nss/databases.def: Add initgroups entry.
54743 * nss/makedb.c (compute_tables): Check result of multiple hash table
54744 sizes to minimize maximum chain length.
54746 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54748 * Versions.def: Add entry for libnss_db.
54749 * shlib-versions: Likewise.
54750 * nss/Makefile: Add rules to build libnss_db.
54751 * nss/Versions: Add libnss_db information. Organize libnss_files
54753 * nss/db-Makefile: Add gshadow support. Change rules for the new
54754 makedb progra. Some minor improvements to generate smaller files.
54755 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54757 * nss/makedb.c: ...here.
54758 Improve database format to be smaller and require less memory at
54760 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54762 * nss/nss_db/db-netgrp.c: Likewise.
54763 * nss/nss_db/db-open.c: Likewise.
54764 * nss/nss_files/flies-XXX.x: Adjust comments.
54765 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54766 * nss/nss_files/files-grp.c: Likewise.
54767 * nss/nss_files/files-hosts.c: Likewise.
54768 * nss/nss_files/files-network.c: Likewise.
54769 * nss/nss_files/files-proto.c: Likewise.
54770 * nss/nss_files/files-pwd.c: Likewise.
54771 * nss/nss_files/files-rpc.c: Likewise.
54772 * nss/nss_files/files-service.c: Likewise.
54773 * nss/nss_files/files-sgrp.c: Likewise.
54774 * nss/nss_files/files-spwd.c: Likewise.
54775 * nss/nss_db/db-alias.c: Removed.
54776 * nss/nss_db/dummy-db.h: Removed.
54778 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54780 * nss/makedb.c: Rewritten to not use database library.
54781 * nss/Makefile: Update to build new makedb program.
54783 2011-06-14 Andreas Jaeger <aj@suse.de>
54785 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54786 memset declaration.
54788 2011-06-10 Andreas Schwab <schwab@redhat.com>
54790 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54793 2011-06-10 Roland McGrath <roland@hack.frob.com>
54795 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54796 * elf/Makefile ($(objpfx)ld.so): Likewise.
54798 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54799 Don't list ld.so twice in dependencies.
54801 * posix/bug-regex31.c: Include <stdlib.h>.
54803 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54805 * nis/nss_compat/compat-spwd.c
54806 (getspent_next_nss_netgr): Remove unused variable.
54807 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54809 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54810 nonmembers" output to use the right array.
54812 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54814 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54816 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54817 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54818 * catgets/gencat.c (read_input_file): Likewise.
54819 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54821 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54822 variable definition inside #if's controlling its use.
54824 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54826 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54828 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54830 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54833 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54835 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54836 * configure: Regenerated.
54838 * Makerules: Revert last change.
54839 * elf/Makefile: Likewise.
54841 2011-06-09 Roland McGrath <roland@hack.frob.com>
54843 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54844 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54845 (reloc-link): Likewise.
54847 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54849 * elf/Makefile: Add rules to build pldd.
54850 * elf/pldd.c: New file.
54851 * elf/pldd-xx.c: New file.
54853 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54855 * version.h: Update for 2.15 development version.
54857 2011-06-07 David S. Miller <davem@davemloft.net>
54859 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54861 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54862 elf_machine_lazy_rel): Likewise.
54863 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54864 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54865 elf_machine_lazy_rel): Likewise.
54866 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54867 dl_hwcap via passed in argument.
54868 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54871 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54873 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54875 2011-06-06 Roland McGrath <roland@hack.frob.com>
54878 * manual/fdl-1.1.texi: New file, verbatim from:
54879 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54880 * manual/lgpl-2.1.texi: New file, verbatim from:
54881 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54882 * manual/Makefile (licenses): New variable, list those new file names.
54884 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54886 * manual/fdl.texi: File removed.
54887 * manual/lesser.texi: File removed.
54888 * manual/libc.texinfo (Copying, Documentation License):
54889 Use new @include file names, put @appendix directive before @include.
54891 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54894 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54895 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54896 (mq_open): Add __NTH.
54898 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54900 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54901 Assume Intel Core i3/i5/i7 processor if AVX is available.
54903 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54905 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54908 2011-05-31 Andreas Schwab <schwab@redhat.com>
54910 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54911 memory. Use alloca_account. Fix memory leak when retrying.
54913 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54915 * version.h (RELEASE): Bump for 2.14 release.
54916 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54918 * config.make.in (RANLIB): Remove entry.
54920 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54922 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54923 (libc.pot): Work around missing support for .ksh extension in xgettext.
54926 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54927 if both request failed.
54928 (send_dg): In case of server errors clear resplen or *resplen2.
54931 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54932 when there are multiple maps.
54933 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54934 (_dl_fini): Remove test here.
54936 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54938 2011-05-29 Ulrich Drepper <drepper@gmail.com>
54941 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54942 bit from old_res_options.
54943 (gaih_inet): Likewise.
54946 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54949 * resolv/res_init.c (res_setoptions): Make the code more compact.
54952 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54956 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54958 * malloc/malloc.h: Mark malloc hook variables as deprecated.
54961 * malloc/malloc.h: Declare malloc hook variables as volatile.
54963 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54967 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54968 raise in the comment.
54969 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54970 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54971 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54973 2011-05-28 Ulrich Drepper <drepper@gmail.com>
54976 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54977 grow the buffers more if it already has to be sufficient.
54978 (build_wcs_upper_buffer): Likewise.
54979 * posix/regexec.c (check_matching): Likewise.
54980 (clean_state_log_if_needed): Likewise.
54981 (extend_buffers): Don't enlarge buffers beyond size of the input
54983 Patches mostly by Emil Wojak <emil@wojak.eu>.
54984 * posix/bug-regex32.c: New file.
54985 * posix/Makefile (tests): Add bug-regex32.
54987 * locale/findlocale.c (_nl_find_locale): Return right away if
54988 _nl_explode_name failed.
54989 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54991 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54993 * debug/xtrace.sh: Unify messages.
54994 * malloc/memusage.sh: Likewise.
54997 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54998 time symbol from vDSO. Substitute with vsyscall if not available.
54999 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55002 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55003 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55004 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55005 Add sendmmsg and internal_sendmmsg.
55006 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55007 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55008 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55010 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55011 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55012 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55014 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55017 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55018 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55020 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55024 * iconvdata/Makefile (tests): Add bug-iconv9.
55025 * iconvdata/bug-iconv9.c: New file.
55027 2011-05-27 Andreas Schwab <schwab@redhat.com>
55030 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55032 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55034 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55035 (struct user_regs_struct): Change intcs field back to cs.
55037 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55039 * po/ja.po: Update from translation team.
55041 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55044 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55045 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55047 2011-05-20 Andreas Schwab <schwab@redhat.com>
55049 * stdlib/longlong.h: Update from GCC.
55051 2011-05-23 Andreas Schwab <schwab@redhat.com>
55053 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55055 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55056 Add parameter name.
55057 (__sysconf): Pass it down.
55059 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55062 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55064 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55065 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55066 add in in __libc_use_alloca calls. Adjust callers.
55067 (glob): Use malloc in some situations.
55069 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55070 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55073 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55075 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55076 and CLOCK_BOOTTIME_ALARM.
55079 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55082 * string/_strerror.c (__strerror_r): Print negative errors as signed
55086 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55087 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55088 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55090 * configure.in: Fix typo in redirection and correct removal of test
55091 files in two cases.
55094 * locale/setlocale.c (new_composite_name): Fix test to check for
55095 identical name of all categories.
55098 * libio/filedoalloc.c (local_isatty): New function.
55099 (_IO_file_doallocate): Use local_isatty.
55100 * stdio-common/perror.c (perror): In case a new stream is used
55101 forward the stream error.
55102 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55105 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55110 * include/alloca.h (extend_alloca_account): Define.
55113 * posix/regex.h: Fix comments with documentation of user-accessible
55114 fields after compilation and describe correct free'ing of pattern
55115 after re_compile_pattern.
55116 Patch by Reuben Thomas <rrt@sc3d.org>.
55118 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55120 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55121 and -mno-altivec to prevent the compiler from using Altivec and/or
55122 VSX instructions when the corresponding registers are not available.
55124 2011-05-19 Andreas Schwab <schwab@redhat.com>
55126 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55128 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55130 * libio/freopen.c (freopen): Use __dup2, not dup2.
55131 * libio/freopen64.c (freopen64): Likewise.
55133 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55136 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55137 * math/Makefile (tests): Add test-powl.
55138 (CFLAGS-test-powl.c): Define.
55139 * math/test-powl.c: New file.
55141 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55143 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55145 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55148 * iconvdata/gb18030.c: Update to GB18020-2005.
55150 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55152 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55153 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55154 Patch by Aharon Robbins <arnold@skeeve.com>.
55157 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55161 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55162 through underflows.
55165 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55166 point to strings before performing equality test for error_one_per_line
55170 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55173 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55174 (struct user_fpregs_struct): Avoid __uint*_t types.
55177 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55178 symbol info. Use it instead of calling _dl_addr locally.
55179 (lock_and_info): New function.
55180 (tr_freehook): Call lock_and_info and pass symbol info as additional
55181 parameter to tr_where.
55182 (tr_mallochook): Likewise.
55183 (tr_reallochook): Likewise.
55184 (tr_memalignhook): Likewise.
55186 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55187 used and couldn't be at all thread-safe.
55189 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55191 * libio/freopen.c (freopen): Don't close old file descriptor
55192 before the new one is opened. Instead dup the new file descriptor
55193 to the old one after the new stream is created.
55194 * libio/freopen64.c (freopen64): Likewise.
55195 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55196 * libio/fileops.c (_IO_new_file_close_it): Handle new
55197 _IO_FLAGS2_NOCLOSE flag.
55198 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55199 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55200 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55201 _IO_FLAGS2_NOCLOSE flag.
55202 * include/unistd.h: Add hidden_proto for dup3.
55203 Define __have_dup3.
55204 * io/dup3.c: Define hidden symbol.
55205 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55208 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55209 when an incomplete long option is used.
55210 * posix/tst-getopt_long1.c: New file.
55211 * posix/Makefile (tests): Add tst-getopt_long1.
55214 * scripts/config.guess: Update from autoconf-2.68.
55215 * scripts/config.sub: Likewise.
55218 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55220 (has_cpuclock): ...this. New function.
55221 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55222 macro here based on has_cpuclock code.
55225 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55226 First byte (not low byte) is now always NUL.
55227 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55230 Use non-cancelable interfaces.
55233 * locale/iso-639.def: Add entry for Sorani.
55236 * include/stdlib.h: Move include protection to the right place.
55237 Define abort_msg_s. Declare __abort_msg with it.
55238 * stdlib/abort.c (__abort_msg): Adjust type.
55239 * assert/assert.c (__assert_fail_base): New function. Majority
55240 of code from __assert_fail. Allocate memory for __abort_msg with
55242 (__assert_fail): Now call __assert_fail_base.
55243 * assert/assert-perr.c: Remove bulk of implementation. Use
55244 __assert_fail_base.
55245 * include/assert.hL Declare __assert_fail_base.
55246 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55248 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55250 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55254 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55255 until all modules are registered in the DTV.
55256 * elf/Makefile: Add rules to build and run tst-tls19.
55257 * elf/tst-tls19.c: New file.
55258 * elf/tst-tls19mod1.c: New file.
55259 * elf/tst-tls19mod2.c: New file.
55260 * elf/tst-tls19mod3.c: New file.
55261 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55264 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55268 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55269 two-byte sequence errors.
55270 * iconvdata/Makefile (tests): Add bug-iconv8.
55271 * iconvdata/bug-iconv8.c: New file.
55274 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55277 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55280 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55281 (dummy_getcfa): New function.
55282 (init): Get _Unwind_GetCFA address, use dummy if not found.
55283 (backtrace_helper): In recursion check, also check whether CFA changes.
55284 (__backtrace): Completely initialize arg.
55286 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55287 storing incomplete byte sequence in state object. Avoid testing for
55288 guaranteed too small input if we know there is enough data available.
55290 2011-05-11 Andreas Schwab <schwab@redhat.com>
55292 * Makeconfig (+link-pie): Indent.
55293 * Rules (binaries-pie): Define if $(have-fpie) and
55295 (binaries-shared): Also filter out $(binaries-pie).
55296 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55297 * nscd/Makefile (others-pie): Add nscd.
55298 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55299 ($(objpfx)nscd): Remove command override.
55300 * login/Makefile (others-pie): Add pt_chown.
55301 ($(objpfx)pt_chown): Remove command override.
55302 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55303 remove command overrides.
55305 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55307 * libio/tst_putwc.c: Fix error messages.
55310 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55311 currently writing and seek to current position when not.
55312 * libio/Makefile (tests): Add bug-fclose1.
55313 * libio/bug-fclose1.c: New file.
55315 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55318 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55319 don't set DF_1_NODELETE here.
55320 (do_lookup_x): When entering new entry test for copy relocation
55321 and if necessary set DF_1_NODELETE flag.
55322 * elf/tst-unique4.cc: New file.
55323 * elf/tst-unique4.h: New file.
55324 * elf/tst-unique4lib.cc: New file.
55325 * elf/Makefile: Add rules to build and run tst-unique4.
55326 Patch by Piotr Bury <pbury@goahead.com>.
55328 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55331 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55334 * misc/mntent_r.c (addmntent): Flush the stream after the output
55337 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55338 (is_trusted_path_normalize): Skip initial colon. Append slash
55339 to empty buffer. Duplicate is_trusted_path code but allow
55340 constructed patch to be prefix.
55341 (is_dst): Allow $ORIGIN followed by /.
55342 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55343 Correct testing of result of is_trusted_path_normalize
55344 (decompose_rpath): Fix warning.
55346 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55349 * grp/initgroups.c (internal_getgrouplist): When we found the service
55350 list through the initgroups entry in nsswitch.conf do not always
55351 continue on a successful lookup. Don't always use the
55352 __nss_group_database value if it is set.
55353 * nss/nsswitch.conf (initgroups): Change action for successful db
55354 lookup to continue for compatibility.
55356 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55359 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55361 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55363 * iconvdata/tst-tables.sh: Likewise.
55364 * iconvdata/cp770.c: New file.
55365 * iconvdata/cp771.c: New file.
55366 * iconvdata/cp772.c: New file.
55367 * iconvdata/cp773.c: New file.
55368 * iconvdata/cp774.c: New file.
55369 * iconvdata/testdata/CP770: New file.
55370 * iconvdata/testdata/CP770..UTF8: New file.
55371 * iconvdata/testdata/CP771: New file.
55372 * iconvdata/testdata/CP771..UTF8: New file.
55373 * iconvdata/testdata/CP772: New file.
55374 * iconvdata/testdata/CP772..UTF8: New file.
55375 * iconvdata/testdata/CP773: New file.
55376 * iconvdata/testdata/CP773..UTF8: New file.
55377 * iconvdata/testdata/CP774: New file.
55378 * iconvdata/testdata/CP774..UTF8: New file.
55380 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55382 * iconvdata/gen-8bit-gap.sh: Likewise.
55383 * iconvdata/gen-8bit.sh: Likewise.
55385 * locale/iso-639.def: Add ary entry.
55388 * locale/C-translit.h.in: Add U20A1 transliteration.
55391 * locale/iso-639.def: Add wae entry.
55392 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55395 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55399 * locale/C-translit.h.in: Add entry for U20B9.
55400 Patch by pravin.d.s@gmail.com.
55402 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55405 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55406 ENAMETOOLONG use generic getcwd.
55407 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55408 in rtld. Use *stat64.
55409 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55410 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55411 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55412 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55413 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55414 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55415 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55416 __fstatat64 macros.
55417 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55418 * dirent/rewinddir.c: Add libc_hidden_def.
55419 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55420 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55422 * include/dirent.h (__alloc_dir): Add flags parameter.
55423 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55424 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55426 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55427 from fdopendir if O_CLOEXEC is already set.
55429 2011-03-15 Alan Modra <amodra@gmail.com>
55431 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55432 l_tls_firstbyte_offset non-zero. Save padding offset in
55433 l_tls_firstbyte_offset for later use.
55434 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55435 freeing static tls block.
55437 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55439 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55440 where #ifdef was intended. The intent is to prevent ARG_MAX from
55441 being defined by the kernel headers.
55443 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55446 * resolv/resolv.h: Define RES_NOTLDQUERY.
55447 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55448 no-tld-query and set RES_NOTLDQUERY.
55449 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55450 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55451 modern BIND to search name as TLD unless forbidden.
55453 2011-05-07 Petr Baudis <pasky@suse.cz>
55454 Ulrich Drepper <drepper@gmail.com>
55457 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55458 (is_trusted_path): ...to here.
55459 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55460 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55461 using is_trusted_path_normalize() in setuid scripts.
55463 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55465 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55466 __BEGIN/__END_DECLS.
55468 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55471 NSS_STATUS_NOTFOUND if no record was found.
55473 2011-05-05 Andreas Schwab <schwab@redhat.com>
55475 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55476 (headers-not-in-tirpc): Remove rpc/netdb.h
55477 * resolv/netdb.h: Revert last change.
55479 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55481 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55482 circular dependency between libgcc.a and libc.a.
55484 2011-05-05 Andreas Schwab <schwab@redhat.com>
55486 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55487 * nis/Makefile: Don't install rpcsvc/*.
55488 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55489 instead of <rpc/types.h>.
55490 (MAXHOSTNAMELEN): Define.
55492 2011-05-03 Andreas Schwab <schwab@redhat.com>
55494 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55496 2011-04-28 Maciej Babinski <mbabinski@google.com>
55499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55500 gethostbyname4_r when IPv6 results are possible.
55502 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55505 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55506 _PC_PIPE_BUF handling.
55508 2011-04-30 Bruno Haible <bruno@clisp.org>
55511 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55512 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55514 * inet/getnameinfo.c (getnameinfo): Likewise.
55516 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55518 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55519 to groups setting in database lookup.
55520 * nss/nsswitch.conf: Add initgroups entry.
55522 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55525 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55527 Patch by Eric Blake <eblake@redhat.com>.
55529 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55531 * sunrpc/Makefile (need-export-routines): Add svc_run.
55532 (routines): Remove svc_run.
55533 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55534 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55535 * sunrpc/svc_run.c (svc_run): Likewise.
55536 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55538 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55540 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55541 problem in reallocation in last patch.
55543 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55545 * sunrpc/Makefile: Move inclusion of Rules.
55547 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55549 * nss/nss_files/files-initgroups.c: New file.
55550 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55551 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55552 _nss_files_initgroups_dyn.
55554 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55556 * elf/elf.h (R_ARM_IRELATIVE): Define.
55558 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55560 * po/ru.po: Update from translation team.
55562 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55564 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55567 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55570 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55571 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55572 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55573 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55576 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55578 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55580 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55581 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55584 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55587 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55589 * stdlib/bug-getcontext.c: New file.
55590 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55592 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55594 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55595 instructions into .machine "z9-109".
55596 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55597 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55599 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55601 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55602 between environment variables and auxiliary vector.
55604 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55606 * Makefile: Add rules to build linkobj/libc.so.
55607 * include/libc-symbols.h: Define libc_hidden_nolink.
55608 * include/rpc/auth.h: Mark functions which are to be hidden.
55609 * include/rpc/auth_des.h: Likewise.
55610 * include/rpc/auth_unix.h: Likewise.
55611 * include/rpc/clnt.h: Likewise.
55612 * include/rpc/des_crypt.h: Likewise.
55613 * include/rpc/key_prot.h: Likewise.
55614 * include/rpc/pmap_clnt.h: Likewise.
55615 * include/rpc/pmap_prot.h: Likewise.
55616 * include/rpc/pmap_rmt.h: Likewise.
55617 * include/rpc/rpc_msg.h: Likewise.
55618 * include/rpc/svc.h: Likewise.
55619 * include/rpc/svc_auth.h: Likewise.
55620 * include/rpc/xdr.h: Likewise.
55621 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55622 * nss/Makefile: Likewise.
55623 * sunrpc/Makefile: Don't install headers. Build library with normal
55624 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55625 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55626 for the compat linking library. Remove use of INTDEF/INTUSE.
55627 * sunrpc/auth_none.c: Likewise.
55628 * sunrpc/auth_unix.c: Likewise.
55629 * sunrpc/authdes_prot.c: Likewise.
55630 * sunrpc/authuxprot.c: Likewise.
55631 * sunrpc/clnt_gen.c: Likewise.
55632 * sunrpc/clnt_perr.c: Likewise.
55633 * sunrpc/clnt_raw.c: Likewise.
55634 * sunrpc/clnt_simp.c: Likewise.
55635 * sunrpc/clnt_tcp.c: Likewise.
55636 * sunrpc/clnt_udp.c: Likewise.
55637 * sunrpc/clnt_unix.c: Likewise.
55638 * sunrpc/des_crypt.c: Likewise.
55639 * sunrpc/des_soft.c: Likewise.
55640 * sunrpc/get_myaddr.c: Likewise.
55641 * sunrpc/key_call.c: Likewise.
55642 * sunrpc/key_prot.c: Likewise.
55643 * sunrpc/netname.c: Likewise.
55644 * sunrpc/pm_getmaps.c: Likewise.
55645 * sunrpc/pm_getport.c: Likewise.
55646 * sunrpc/pmap_clnt.c: Likewise.
55647 * sunrpc/pmap_prot.c: Likewise.
55648 * sunrpc/pmap_prot2.c: Likewise.
55649 * sunrpc/pmap_rmt.c: Likewise.
55650 * sunrpc/publickey.c: Likewise.
55651 * sunrpc/rpc_cmsg.c: Likewise.
55652 * sunrpc/rpc_common.c: Likewise.
55653 * sunrpc/rpc_dtable.c: Likewise.
55654 * sunrpc/rpc_prot.c: Likewise.
55655 * sunrpc/rpc_thread.c: Likewise.
55656 * sunrpc/rtime.c: Likewise.
55657 * sunrpc/svc.c: Likewise.
55658 * sunrpc/svc_auth.c: Likewise.
55659 * sunrpc/svc_authux.c: Likewise.
55660 * sunrpc/svc_raw.c: Likewise.
55661 * sunrpc/svc_run.c: Likewise.
55662 * sunrpc/svc_simple.c: Likewise.
55663 * sunrpc/svc_tcp.c: Likewise.
55664 * sunrpc/svc_udp.c: Likewise.
55665 * sunrpc/svc_unix.c: Likewise.
55666 * sunrpc/svcauth_des.c: Likewise.
55667 * sunrpc/xcrypt.c: Likewise.
55668 * sunrpc/xdr.c: Likewise.
55669 * sunrpc/xdr_array.c: Likewise.
55670 * sunrpc/xdr_float.c: Likewise.
55671 * sunrpc/xdr_intXX_t.c: Likewise.
55672 * sunrpc/xdr_mem.c: Likewise.
55673 * sunrpc/xdr_rec.c: Likewise.
55674 * sunrpc/xdr_ref.c: Likewise.
55675 * sunrpc/xdr_sizeof.c: Likewise.
55676 * sunrpc/xdr_stdio.c: Likewise.
55678 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55681 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55682 * sysdeps/ia64/dl-tls.h: Likewise.
55683 * sysdeps/powerpc/dl-tls.h: Likewise.
55684 * sysdeps/s390/dl-tls.h: Likewise.
55685 * sysdeps/sh/dl-tls.h: Likewise.
55686 * sysdeps/sparc/dl-tls.h: Likewise.
55687 * sysdeps/x86_64/dl-tls.h: Likewise.
55688 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55690 2011-03-14 Andreas Schwab <schwab@redhat.com>
55692 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55693 rpath element also skip the following colon.
55694 (expand_dynamic_string_token): Add is_path parameter and pass
55695 down to DL_DST_REQUIRED and _dl_dst_substitute.
55696 (decompose_rpath): Call expand_dynamic_string_token with
55697 non-zero is_path. Ignore empty rpaths.
55698 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55701 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55706 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55709 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55710 Patch by Filipe David Manana <fdmanana@apache.org>.
55712 2011-04-07 Andreas Schwab <schwab@redhat.com>
55714 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55715 Maintain aligned stack.
55716 (CHECK_RSP): Remove unused macro.
55718 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55720 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55721 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55723 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55725 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55727 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55729 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55732 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55733 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55734 * sysdeps/x86_64/memmove.c: New file.
55735 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55736 (memcpy): Renamed to ...
55737 (__new_memcpy): This.
55738 (memcpy): Provide GLIBC_2_14 memcpy.
55739 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55740 (memcpy): Provide GLIBC_2_2_5 memcpy.
55742 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55745 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55747 2011-03-30 Andreas Schwab <schwab@redhat.com>
55749 * misc/syncfs.c: New file.
55750 * misc/Makefile (routines): Add syncfs.
55751 * posix/unistd.h: Declare syncfs.
55752 * sysdeps/unix/syscalls.list: Add syncfs.
55754 2011-04-01 Andreas Schwab <schwab@redhat.com>
55756 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55759 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55761 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55763 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55764 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55766 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55768 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55769 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55770 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55771 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55773 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55774 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55776 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55777 sync_file_range.c with -fexceptions.
55778 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55779 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55780 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55781 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55782 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55783 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55784 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55785 sync_file_range as cancellation point
55786 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55787 now a wrapper around __call_sync_file_range with cancellation handling.
55788 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55789 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55790 function name to __call_sync_file_range.
55791 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55792 Add call_sync_file_range.
55794 2011-04-01 Andreas Schwab <schwab@redhat.com>
55796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55799 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55801 * iconv/iconv.h: Fix typo in comment.
55802 * io/fcntl.h: Likewise.
55803 * libio/stdio.h: Likewise.
55804 * posix/spawn.h: Likewise.
55805 * posix/unistd.h: Likewise.
55806 * stdlib/stdlib.h: Likewise.
55807 * time/time.h: Likewise.
55808 * wcsmbs/wchar.h: Likewise.
55810 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55811 open_by_handle): Add.
55812 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55813 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55814 Augment a few comments.
55815 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55816 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55817 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55819 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55820 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55823 * io/fcntl.h (AT_EMPTY_PATH): Define.
55825 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55827 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55828 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55829 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55831 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55832 * Versions.def: Add GLIBC_2.14.
55833 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55836 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55838 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55840 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55842 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55845 * string/test-strncmp.c (do_page_test): New function.
55846 (check2): Likewise.
55847 (test_main): Call check2.
55848 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55850 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55853 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55854 Handle cache information in CPU leaf 4.
55855 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55857 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55860 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55861 character representation.
55862 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55864 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55866 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55867 END(__isnan) to END(__isnanf) to match function entry point/label
55868 EALIGN(__isnanf,...).
55870 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55872 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55874 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55877 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55878 copy from the symbol referenced in the relocation to initialize the
55880 Patch by Piotr Bury <pbury@goahead.com>.
55881 * elf/Makefile: Add rules to build and tst-unique3.
55882 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55883 * elf/tst-unique3.cc: New file.
55884 * elf/tst-unique3.h: New file.
55885 * elf/tst-unique3lib.cc: New file.
55886 * elf/tst-unique3lib2.cc: New file.
55888 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55890 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55892 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55893 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55896 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55898 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55899 to-be-loaded object along a path to loader is ld.so.
55901 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55902 Ulrich Drepper <drepper@gmail.com>
55904 * sysdeps/x86_64/memset.S: After aligning destination, code
55905 branches to different locations depending on the value of
55906 misalignment, when multiarch is enabled. Fix this.
55908 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55910 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55911 Set _x86_64_preferred_memory_instruction for AMD processsors.
55912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55913 Set bit_Prefer_SSE_for_memop for AMD processors.
55915 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55917 * libio/fmemopen.c (fmemopen): Optimize a bit.
55919 2011-03-03 Andreas Schwab <schwab@redhat.com>
55921 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55923 2011-03-03 Roland McGrath <roland@redhat.com>
55925 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55927 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55929 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55930 __bzero_ultra1 instead of __memset_ultra1.
55932 2011-02-23 Andreas Schwab <schwab@redhat.com>
55933 Ulrich Drepper <drepper@gmail.com>
55936 * include/link.h (struct link_map): Add l_orig_initfini.
55937 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55938 returning unsuccessfully.
55939 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55940 close of a file loaded at startup, restore the original l_initfini
55942 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55943 list, store the pointer.
55944 * elf/Makefile ($(objpfx)noload-mem): New rule.
55945 (noload-ENV): Define.
55946 (tests): Add $(objpfx)noload-mem.
55947 * elf/noload.c: Include <memcheck.h>.
55948 (main): Call mtrace. Close all opened handles.
55950 2011-02-17 Andreas Schwab <schwab@redhat.com>
55953 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55954 dependencies are missing.
55956 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
55958 Fix __if_freereq crash: Unlike the generic version which uses free,
55960 * sysdeps/mach/hurd/ifreq.h: New file.
55962 2011-01-27 Petr Baudis <pasky@suse.cz>
55963 Ulrich Drepper <drepper@gmail.com>
55966 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55967 to extend_alloca().
55968 * stdio-common/bug23.c: New file.
55969 * stdio-common/Makefile (tests): Add bug23.
55971 2010-09-28 Andreas Schwab <schwab@redhat.com>
55972 Ulrich Drepper <drepper@gmail.com>
55975 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55976 before performing relro protection. At old place add assertion
55977 to make sure nothing changed.
55979 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
55980 Glauber de Oliveira Costa <glommer@gmail.com>
55982 * elf/elf.h: Add new ARM TLS relocs.
55984 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
55986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55987 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55989 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
55991 * sysdeps/wordsize-64/tst-writev.c: New file.
55993 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
55995 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55996 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55997 insns in _dl_start to prevent a TOC reference before relocs are
56000 2011-02-15 Ulrich Drepper <drepper@gmail.com>
56003 * Makeconfig: Remove RANLIB definition.
56004 * Makerules: Don't use RANLIB.
56005 * aclocal.m4: Remove ranlib test.
56006 * configure.in: No need to check for ranlib.
56007 * elf/rtld-Rules: Don't use RANLIB.
56009 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56011 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56013 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56014 inclusion protection macro.
56016 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56017 SIGRTMIN and SIGRTMAX and print information in that case only when
56018 SIGRTMIN is defined.
56020 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56022 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56023 arginfo fn returning -1.
56025 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56026 and thousands string is zero terminated.
56028 2011-02-03 Andreas Schwab <schwab@redhat.com>
56030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56031 sysdeps/unix/sysv/linux/bits/socket.h.
56033 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56035 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56036 (__CPU_COUNT): Remove old macros.
56037 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56038 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56039 (__CPU_ALLOC, __CPU_FREE): Add macros.
56040 (__sched_cpualloc, __sched_cpufree): Add declarations.
56042 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56044 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56045 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56046 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56047 (readdhstai): Return value of addhstaiX call.
56048 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56049 (addgrbyX): Return value returned by cache_addgr.
56050 (readdgrbyname): Return value returned by addgrbyX.
56051 (readdgrbygid): Likewise.
56052 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56053 (addpwbyX): Return value returned by cache_addpw.
56054 (readdpwbyname): Return value returned by addhstbyX.
56055 (readdpwbyuid): Likewise.
56056 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56057 (addservbyX): Return value returned by cache_addserv.
56058 (readdservbyname): Return value returned by addservbyX:
56059 (readdservbyport): Likewise.
56060 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56061 (addhstbyX): Return value returned by cache_addhst.
56062 (readdhstbyname): Return value returned by addhstbyX.
56063 (readdhstbyaddr): Likewise.
56064 (readdhstbynamev6): Likewise.
56065 (readdhstbyaddrv6): Likewise.
56066 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56067 (readdinitgroups): Return value returned by addinitgroupsX.
56068 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56069 (prune_cache): Keep track of timeout value of re-added entries.
56070 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56071 * nscd/nscd.h: Adjust prototypes of readd* functions.
56073 2011-02-04 Roland McGrath <roland@redhat.com>
56075 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56076 (nis_stats): Likewise.
56077 * nis/nis_modify.c (nis_modify): Likewise.
56078 * nis/nis_remove.c (nis_remove): Likewise.
56079 * nis/nis_add.c (nis_add): Likewise.
56081 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56083 * posix/fnmatch_loop.c: Add some consts.
56085 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56087 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56090 * config.make.in (config-cflags-novzeroupper): Define.
56091 * configure.in: Substitute libc_cv_cc_novzeroupper.
56092 * elf/Makefile (AVX-CFLAGS): Define.
56093 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56094 (CFLAGS-tst-auditmod4a.c): Likewise.
56095 (CFLAGS-tst-auditmod4b.c): Likewise.
56096 (CFLAGS-tst-auditmod6b.c): Likewise.
56097 (CFLAGS-tst-auditmod6c.c): Likewise.
56098 (CFLAGS-tst-auditmod7b.c): Likewise.
56099 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56101 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56103 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56104 function to the callback.
56105 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56107 2011-02-02 Andreas Schwab <schwab@redhat.com>
56109 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56112 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56115 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56117 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56119 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56122 * elf/Makefile: Add rules to build and run new test.
56123 * elf/tst-initorder.c: New file.
56124 * elf/tst-initorder.exp: New file.
56125 * elf/tst-initordera1.c: New file.
56126 * elf/tst-initordera2.c: New file.
56127 * elf/tst-initordera3.c: New file.
56128 * elf/tst-initordera4.c: New file.
56129 * elf/tst-initorderb1.c: New file.
56130 * elf/tst-initorderb2.c: New file.
56131 * elf/tst-order-a1.c: New file.
56132 * elf/tst-order-a2.c: New file.
56133 * elf/tst-order-a3.c: New file.
56134 * elf/tst-order-a4.c: New file.
56135 * elf/tst-order-b1.c: New file.
56136 * elf/tst-order-b2.c: New file.
56137 * elf/tst-order-main.c: New file.
56138 New test case by George Gensure <werkt0@gmail.com>.
56140 2010-10-01 Andreas Schwab <schwab@redhat.com>
56142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56143 decoding ACE if AI_CANONIDN.
56145 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56147 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56149 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56151 * version.h (RELEASE): Bump for 2.13 release.
56152 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56154 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56156 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56158 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56159 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56160 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56161 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56162 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56163 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56165 * posix/getconf.c: Update copyright year.
56166 * catgets/gencat.c: Likewise.
56167 * csu/version.c: Likewise.
56168 * debug/catchsegv.sh: Likewise.
56169 * debug/xtrace.sh: Likewise.
56170 * elf/ldconfig.c: Likewise.
56171 * elf/ldd.bash.in: Likewise.
56172 * elf/sprof.c (print_version): Likewise.
56173 * iconv/iconv_prog.c: Likewise.
56174 * iconv/iconvconfig.c: Likewise.
56175 * locale/programs/locale.c: Likewise.
56176 * locale/programs/localedef.c: Likewise.
56177 * malloc/memusage.sh: Likewise.
56178 * malloc/mtrace.pl: Likewise.
56179 * nscd/nscd.c (print_version): Likewise.
56180 * nss/getent.c: Likewise.
56182 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56183 PF_CAIF, and PF_ALG.
56184 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56186 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56188 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56189 (modules-names): Use them.
56190 (ifunc-test-modules, ifunc-pie-tests): Define.
56191 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56192 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56193 (test-extras): Likewise.
56194 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56195 $(compile-command.c).
56196 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56197 (all-built-dso): Define.
56198 (check-textrel.out, check-execstack.out): Depend on it.
56200 * configure.in: Don't override --enable-multi-arch.
56202 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56205 * nscd/hstcache.c (tryagain): Define.
56206 (cache_addhst): Return tryagain not notfound for temporary errors.
56207 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56210 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56213 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56214 to make the syscall.
56215 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56218 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56219 and fall back to matching as normal character if the string ends before
56220 the matching ']' is found. This is what POSIX requires.
56221 * posix/testfnm.c: Adjust test result.
56222 * posix/globtest.sh: Adjust test result. Add new test.
56223 * posix/tst-fnmatch.input: Likewise.
56224 * posix/tst-fnmatch2.c: Add new test.
56226 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56228 * elf/Makefile (check-execstack): Revert last change. Depend on
56230 (check-execstack.h): New target.
56231 (generated): Add check-execstack.h.
56232 * elf/check-execstack.c: Include "check-execstack.h".
56233 (main): Revert last change.
56234 (handle_file): Return zero if GNU_STACK is absent and
56235 DEFAULT_STACK_PERMS doesn't include PF_X.
56237 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56239 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56240 in child fails because the descriptor is already closed.
56241 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56242 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56243 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56246 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56250 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56251 temporary buffer used to handle multi lookups locally.
56252 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56254 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56256 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56259 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56261 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56262 alignment for SSE2.
56264 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56267 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56268 characters. When rounding increased number of integer digits recompute
56270 * stdio-common/tst-grouping.c: New file.
56271 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56273 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56275 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56276 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56278 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56280 * bits/select.h: Likewise.
56282 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56284 * po/ja.po: Update from translation team.
56286 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56289 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56290 implementation just like for lxstat, fxstatat, et al.
56292 2010-12-27 Jim Meyering <meyering@redhat.com>
56295 * posix/regexec.c (build_trtable): Return failure indication upon
56296 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56298 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56301 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56302 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56303 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56304 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56307 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56310 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56311 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56313 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56315 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56316 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56317 script has SORT_BY_INIT_PRIORITY.
56318 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56319 NO_CTORS_DTORS_SECTIONS is defined.
56320 * elf/soinit.c: Likewise.
56321 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56322 NO_CTORS_DTORS_SECTIONS is defined.
56323 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56324 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56325 * sysdeps/sh/init-first.c: Likewise.
56326 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56328 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56330 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56331 always use the slow path.
56333 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56335 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56336 similar rule which adds the sysdep directories to the header search in
56337 order to pick up the correct platform stackinfo.h.
56338 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56339 perform test if it is, otherwise return successfully without testing.
56340 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56341 DEFAULT_STACK_PERMS define in stackinfo.h.
56342 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56343 defined in stackinfo.h.
56344 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56345 DEFAULT_STACK_PERMS defined in stackinfo.h.
56346 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56347 * sysdeps/ia64/stackinfo.h: Likewise.
56348 * sysdeps/s390/stackinfo.h: Likewise.
56349 * sysdeps/sh/stackinfo.h: Likewise.
56350 * sysdeps/sparc/stackinfo.h: Likewise.
56351 * sysdeps/x86_64/stackinfo.h: Likewise.
56352 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56353 PF_X for powerpc64. Retain PF_X for powerpc32.
56355 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56357 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56359 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56360 GETDENTS_64BIT_ALIGNED.
56362 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56364 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56366 2010-12-10 Andreas Schwab <schwab@redhat.com>
56368 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56371 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56372 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56374 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56375 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56377 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56380 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56383 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56385 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56387 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56389 * po/it.po: Update from translation team.
56391 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56393 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56396 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56398 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56400 2010-11-24 Andreas Schwab <schwab@redhat.com>
56402 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56404 (gaih_getanswer_slice): Likewise.
56406 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56408 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56410 2010-05-31 Petr Baudis <pasky@suse.cz>
56413 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56414 silently even in the chroot mode.
56416 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56418 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56419 last patch a bit. Pretty printing
56421 2010-05-31 Petr Baudis <pasky@suse.cz>
56424 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56425 initialization of skip_initgroups_dyn.
56427 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56429 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56430 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56432 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56434 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56436 2010-11-11 Andreas Schwab <schwab@redhat.com>
56438 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56439 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56440 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56441 ($(objpfx)tst-fnmatch-mem): New rule.
56442 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56443 * posix/tst-fnmatch.c (main): Call mtrace.
56445 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56448 Support Intel processor model 6 and model 0x2c.
56450 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56455 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56458 * string/test-strncasecmp.c (check_result): New function.
56459 (do_one_test): Use it.
56460 (check1): New function.
56461 (test_main): Use it.
56462 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56463 Support strcasecmp and strncasecmp.
56465 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56468 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56469 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56471 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56473 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56477 * sysdeps/x86_64/multiarch/bzero.S: New file.
56478 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56479 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56480 * sysdeps/x86_64/multiarch/memset.S: New file.
56481 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56483 Set bit_Prefer_SSE_for_memop for Intel processors.
56484 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56486 (index_Prefer_SSE_for_memop): Define.
56487 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56489 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56491 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56492 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56494 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56497 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56498 (__x86_64_raw_data_cache_size_half): Likewise.
56499 (__x86_64_raw_shared_cache_size): Likewise.
56500 (__x86_64_raw_shared_cache_size_half): Likewise.
56502 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56503 (__x86_64_raw_data_cache_size_half): Likewise.
56504 (__x86_64_raw_shared_cache_size): Likewise.
56505 (__x86_64_raw_shared_cache_size_half): Likewise.
56506 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56507 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56508 and __x86_64_raw_shared_cache_size_half. Round
56509 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56510 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56511 to multiple of 256 bytes.
56513 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56516 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56517 of inacessible symlinks. Verify result of symlink before returning it.
56518 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56519 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56521 2010-10-28 Erich Ritz <erichritz@gmail.com>
56523 * math/math.h (isinf): Fix typo in comment.
56525 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56527 * po/da.po: Update from translation team.
56529 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56531 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56532 is added to the list.
56534 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56535 Ulrich Drepper <drepper@gmail.com>
56537 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56538 the global list here. Move code to...
56539 (_dl_add_to_namespace_list): ...here. New function.
56540 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56541 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56542 * elf/dl-load.c (lose): Don't remove the element from the list.
56543 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56544 (_dl_map_object): Likewise.
56546 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56549 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56550 into all bytes of SSE register.
56551 Patch by Richard Li <richardpku@gmail.com>.
56553 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56556 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56559 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56561 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56562 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56563 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56564 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56569 2010-10-22 Andreas Schwab <schwab@redhat.com>
56571 * include/dlfcn.h (__RTLD_SECURE): Define.
56572 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56573 mode & __RTLD_SECURE instead.
56574 (open_path): Rename preloaded parameter to secure.
56575 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56576 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56577 * elf/dl-deps.c (openaux): Likewise.
56578 * elf/rtld.c (struct map_args): Remove is_preloaded.
56579 (map_doit): Don't use it.
56580 (dl_main): Likewise.
56581 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56582 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56584 2010-09-09 Andreas Schwab <schwab@redhat.com>
56586 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56587 (sysd-rules-targets): Remove duplicates.
56588 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56589 rtld-%.$o dependency.
56591 2010-10-18 Andreas Schwab <schwab@redhat.com>
56593 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56594 _dl_map_object do it.
56596 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56598 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56599 fast fma builtins, define the macros in the C99 standard.
56600 (FP_FAST_FMAF): Likewise.
56601 (FP_FAST_FMAL): Likewise.
56602 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56604 * bits/mathdef.h: Update copyright year.
56605 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56607 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56609 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56610 builtins, define the macros in the C99 standard.
56611 (FP_FAST_FMAF): Likewise.
56612 (FP_FAST_FMAL): Likewise.
56613 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56615 (FP_FAST_FMAF): Likewise.
56617 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56620 * math/libm-test.inc (fma_test): Some new testcases.
56621 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56622 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56623 y and infinite z. Do multiplication by C already in long double.
56624 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56625 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56626 y and infinite z. Do bitwise or of inexact bit into u.d.
56627 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56628 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56629 * sysdeps/i386/fpu/s_fma.S: Removed.
56630 * sysdeps/i386/fpu/s_fmal.S: Removed.
56632 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56635 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56636 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56637 computation is not scheduled after fetestexcept. Fix value
56638 of minimum denormal long double.
56640 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56643 * math/libm-test.inc (fma_test): Add some more tests.
56644 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56647 2010-10-15 Andreas Schwab <schwab@redhat.com>
56649 * scripts/data/localplt-s390-linux-gnu.data: New file.
56650 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56652 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56655 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56656 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56658 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56660 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56661 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56662 if one of x and y is very large and the other is subnormal.
56663 * sysdeps/s390/fpu/s_fmaf.c: New file.
56664 * sysdeps/s390/fpu/s_fma.c: New file.
56665 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56666 * sysdeps/powerpc/fpu/s_fma.S: New file.
56667 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56668 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56669 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56671 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56674 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56676 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56677 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56678 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56679 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56680 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56681 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56682 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56684 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56687 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56688 * posix/bug-regex31.input: Add test case.
56690 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56692 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56693 * posix/bug-regex31.input: New file.
56696 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56697 (parse_sub_exp): Fix last change, use postorder.
56699 * posix/bug-regex31.c: New file.
56700 * posix/Makefile: Add rules to build and run bug-regex31.
56702 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56705 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56708 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56709 to have entries in sys_siglist.
56712 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56715 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56718 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56719 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56720 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56721 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56722 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56723 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56724 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56725 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56726 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56727 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56728 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56729 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56730 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56731 * math/ftestexcept.c (fetestexcept): Likewise.
56732 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56733 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56734 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56735 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56736 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56737 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56738 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56740 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56743 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56746 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56748 * string/bug-strstr1.c: New file.
56749 * string/Makefile: Add rules to build and run bug-strstr1.
56751 2010-10-05 Eric Blake <eblake@redhat.com>
56754 * string/str-two-way.h (two_way_long_needle): Always clear memory
56755 when skipping input due to the shift table.
56757 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56760 * malloc/mcheck.c: Handle large requests.
56763 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56764 for strncmp and strncasecmp.
56765 * string/stratcliff.c: Add tests for strcmp and strncmp.
56766 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56768 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56770 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56773 2010-09-30 Andreas Jaeger <aj@suse.de>
56775 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56776 (CGROUP_SUPER_MAGIC): Define.
56777 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56778 Handle btrfs and cgroup file systems.
56779 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56782 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56784 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56785 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56787 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56790 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56791 trying to locate the ELF header.
56793 2010-09-27 Andreas Schwab <schwab@redhat.com>
56796 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56797 Mask out sign-bit copies when constructing f_fsid.
56799 2010-09-24 Petr Baudis <pasky@suse.cz>
56801 * debug/stack_chk_fail_local.c: Add missing licence exception.
56802 * debug/warning-nop.c: Likewise.
56804 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56806 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56807 implementing getdents64 using getdents syscall, set d_type if
56808 __ASSUME_GETDENTS32_D_TYPE.
56810 2010-09-16 Andreas Schwab <schwab@redhat.com>
56812 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56813 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56815 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56818 * posix/unistd.h: Undo change of feature selection for ftruncate from
56821 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56823 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56826 2010-09-20 Andreas Schwab <schwab@redhat.com>
56828 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56830 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56832 2010-09-14 Andreas Schwab <schwab@redhat.com>
56834 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56835 variables after CHECK_SP call.
56836 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56838 2010-09-13 Andreas Schwab <schwab@redhat.com>
56839 Ulrich Drepper <drepper@redhat.com>
56841 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56842 re-relocationg ld.so.
56843 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56844 _dl_init_paths call.
56845 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56848 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56850 * resolv/res_init.c (__res_vinit): Count the default server we added.
56852 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56853 Ulrich Drepper <drepper@redhat.com>
56856 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56857 (____longjmp_chk): Use %ebx for saving value across system call.
56860 2010-09-06 Andreas Schwab <schwab@redhat.com>
56862 * manual/Makefile: Don't mix pattern rules with normal rules.
56864 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56866 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56868 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56869 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56870 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56871 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56872 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56875 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56878 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56879 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56881 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56883 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56884 * sysdeps/x86_64/addmul_1.S: Likewise.
56885 * sysdeps/x86_64/lshift.S: Likewise.
56886 * sysdeps/x86_64/mul_1.S: Likewise.
56887 * sysdeps/x86_64/rshift.S: Likewise.
56888 * sysdeps/x86_64/sub_n.S: Likewise.
56889 * sysdeps/x86_64/submul_1.S: Likewise.
56891 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56893 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56894 Define __sched_param instead of SCHED_* and sched_param when
56895 <bits/sched.h> is included with __need_schedparam defined.
56896 * bits/sched.h [__need_schedparam]
56897 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56898 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56899 (__defined_schedparam): Define to 1.
56900 (__sched_param): New structure, identical to sched_param.
56901 (__need_schedparam): Undefine.
56903 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56905 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56906 (epoll_create1): Declare.
56908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56910 2010-08-31 Andreas Schwab <schwab@redhat.com>
56913 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56914 shifting retval into place.
56916 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56918 * nis/rpcsvc/nis.h: Update copyright notice.
56919 * nis/rpcsvc/nis.x: Likewise.
56920 * nis/rpcsvc/nis_callback.h: Likewise.
56921 * nis/rpcsvc/nis_callback.x: Likewise.
56922 * nis/rpcsvc/nis_object.x: Likewise.
56923 * nis/rpcsvc/nis_tags.h: Likewise.
56924 * nis/rpcsvc/yp.h: Likewise.
56925 * nis/rpcsvc/yp.x: Likewise.
56926 * nis/rpcsvc/ypupd.h: Likewise.
56927 * nis/yp_xdr.c: Likewise.
56928 * nis/ypupdate_xdr.c: Likewise.
56930 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56931 mainly the body of pmap_getport. Add parameters to specify timeouts.
56932 (pmap_getport): Use __libc_rpc_getport.
56933 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56934 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56935 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56937 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
56939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56942 2010-08-27 Roland McGrath <roland@redhat.com>
56944 * sysdeps/i386/i686/multiarch/Makefile
56945 (CFLAGS-varshift.c): New variable.
56947 2010-08-27 Ulrich Drepper <drepper@redhat.com>
56949 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56950 * sysdeps/i386/i686/multiarch/varshift.c: New file.
56952 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56954 * sysdeps/x86_64/strlen.S: Minimal code improvement.
56956 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
56958 * sysdeps/x86_64/strlen.S: Unroll the loop.
56959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56960 strlen-sse2 strlen-sse2-bsf.
56961 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56962 __strlen_no_bsf if bit_Slow_BSF is set.
56963 (__strlen_sse42): Removed.
56964 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56965 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56967 2010-08-25 Roland McGrath <roland@redhat.com>
56969 * sysdeps/x86_64/multiarch/varshift.S: File removed.
56970 * sysdeps/x86_64/multiarch/varshift.c: New file.
56971 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56972 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56973 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56974 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56976 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
56978 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56979 strlen-sse2 strlen-sse2-bsf.
56980 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56981 __strlen_sse2_bsf if bit_Slow_BSF is unset.
56982 (__strlen_sse2): Removed.
56983 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56984 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56986 bit_Slow_BSF for Atom.
56987 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56988 (index_Slow_BSF): Define.
56989 (HAS_SLOW_BSF): Define.
56991 2010-08-25 Ulrich Drepper <drepper@redhat.com>
56994 * resolv/res_init.c (__res_vinit): When no server address at all
56995 is given default to loopback.
56997 2010-08-24 Roland McGrath <roland@redhat.com>
56999 * configure.in: Remove config-name.h generation.
57000 * configure: Regenerated.
57001 * config-name.in: File removed.
57002 * scripts/config-uname.sh: New file.
57003 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57004 ($(objdir)config-name.h): New target.
57006 * sunrpc/rpc_parse.h: Avoid nested comment.
57008 2010-08-24 Richard Henderson <rth@redhat.com>
57009 Ulrich Drepper <drepper@redhat.com>
57010 H.J. Lu <hongjiu.lu@intel.com>
57012 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57013 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57014 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57015 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57016 _mm_alignr_epi8 with _mm_loadu_si128.
57017 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57018 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57019 (__m128i_shift_right): Removed.
57020 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57021 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57022 * sysdeps/x86_64/multiarch/varshift.h: New file.
57023 * sysdeps/x86_64/multiarch/varshift.S: New file.
57025 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57027 * configure.in: Move assembler checks to before sysdep dir checking.
57029 2010-08-20 Petr Baudis <pasky@suse.cz>
57031 * LICENSES: Sync the sunrpc license.
57033 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57035 * sunrpc/auth_des.c: Update copyright notice once again.
57036 * sunrpc/auth_none.c: Likewise.
57037 * sunrpc/auth_unix.c: Likewise.
57038 * sunrpc/authdes_prot.c: Likewise.
57039 * sunrpc/authuxprot.c: Likewise.
57040 * sunrpc/bindrsvprt.c: Likewise.
57041 * sunrpc/clnt_gen.c: Likewise.
57042 * sunrpc/clnt_perr.c: Likewise.
57043 * sunrpc/clnt_raw.c: Likewise.
57044 * sunrpc/clnt_simp.c: Likewise.
57045 * sunrpc/clnt_tcp.c: Likewise.
57046 * sunrpc/clnt_udp.c: Likewise.
57047 * sunrpc/clnt_unix.c: Likewise.
57048 * sunrpc/des_crypt.c: Likewise.
57049 * sunrpc/des_soft.c: Likewise.
57050 * sunrpc/get_myaddr.c: Likewise.
57051 * sunrpc/getrpcport.c: Likewise.
57052 * sunrpc/key_call.c: Likewise.
57053 * sunrpc/key_prot.c: Likewise.
57054 * sunrpc/openchild.c: Likewise.
57055 * sunrpc/pm_getmaps.c: Likewise.
57056 * sunrpc/pm_getport.c: Likewise.
57057 * sunrpc/pmap_clnt.c: Likewise.
57058 * sunrpc/pmap_prot.c: Likewise.
57059 * sunrpc/pmap_prot2.c: Likewise.
57060 * sunrpc/pmap_rmt.c: Likewise.
57061 * sunrpc/rpc/auth.h: Likewise.
57062 * sunrpc/rpc/auth_unix.h: Likewise.
57063 * sunrpc/rpc/clnt.h: Likewise.
57064 * sunrpc/rpc/des_crypt.h: Likewise.
57065 * sunrpc/rpc/key_prot.h: Likewise.
57066 * sunrpc/rpc/netdb.h: Likewise.
57067 * sunrpc/rpc/pmap_clnt.h: Likewise.
57068 * sunrpc/rpc/pmap_prot.h: Likewise.
57069 * sunrpc/rpc/pmap_rmt.h: Likewise.
57070 * sunrpc/rpc/rpc.h: Likewise.
57071 * sunrpc/rpc/rpc_des.h: Likewise.
57072 * sunrpc/rpc/rpc_msg.h: Likewise.
57073 * sunrpc/rpc/svc.h: Likewise.
57074 * sunrpc/rpc/svc_auth.h: Likewise.
57075 * sunrpc/rpc/types.h: Likewise.
57076 * sunrpc/rpc/xdr.h: Likewise.
57077 * sunrpc/rpc_clntout.c: Likewise.
57078 * sunrpc/rpc_cmsg.c: Likewise.
57079 * sunrpc/rpc_common.c: Likewise.
57080 * sunrpc/rpc_cout.c: Likewise.
57081 * sunrpc/rpc_dtable.c: Likewise.
57082 * sunrpc/rpc_hout.c: Likewise.
57083 * sunrpc/rpc_main.c: Likewise.
57084 * sunrpc/rpc_parse.c: Likewise.
57085 * sunrpc/rpc_parse.h: Likewise.
57086 * sunrpc/rpc_prot.c: Likewise.
57087 * sunrpc/rpc_sample.c: Likewise.
57088 * sunrpc/rpc_scan.c: Likewise.
57089 * sunrpc/rpc_scan.h: Likewise.
57090 * sunrpc/rpc_svcout.c: Likewise.
57091 * sunrpc/rpc_tblout.c: Likewise.
57092 * sunrpc/rpc_util.c: Likewise.
57093 * sunrpc/rpc_util.h: Likewise.
57094 * sunrpc/rpcinfo.c: Likewise.
57095 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57096 * sunrpc/rpcsvc/key_prot.x: Likewise.
57097 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57098 * sunrpc/rpcsvc/mount.x: Likewise.
57099 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57100 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57101 * sunrpc/rpcsvc/rex.x: Likewise.
57102 * sunrpc/rpcsvc/rstat.x: Likewise.
57103 * sunrpc/rpcsvc/rusers.x: Likewise.
57104 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57105 * sunrpc/rpcsvc/spray.x: Likewise.
57106 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57107 * sunrpc/rtime.c: Likewise.
57108 * sunrpc/svc.c: Likewise.
57109 * sunrpc/svc_auth.c: Likewise.
57110 * sunrpc/svc_authux.c: Likewise.
57111 * sunrpc/svc_raw.c: Likewise.
57112 * sunrpc/svc_run.c: Likewise.
57113 * sunrpc/svc_simple.c: Likewise.
57114 * sunrpc/svc_tcp.c: Likewise.
57115 * sunrpc/svc_udp.c: Likewise.
57116 * sunrpc/svc_unix.c: Likewise.
57117 * sunrpc/svcauth_des.c: Likewise.
57118 * sunrpc/xcrypt.c: Likewise.
57119 * sunrpc/xdr.c: Likewise.
57120 * sunrpc/xdr_array.c: Likewise.
57121 * sunrpc/xdr_float.c: Likewise.
57122 * sunrpc/xdr_mem.c: Likewise.
57123 * sunrpc/xdr_rec.c: Likewise.
57124 * sunrpc/xdr_ref.c: Likewise.
57125 * sunrpc/xdr_sizeof.c: Likewise.
57126 * sunrpc/xdr_stdio.c: Likewise.
57128 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57131 2010-08-19 Andreas Schwab <schwab@redhat.com>
57133 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57135 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57137 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57138 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57139 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57140 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57141 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57142 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57143 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57144 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57145 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57146 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57147 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57148 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57149 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57150 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57152 2010-07-26 Anton Blanchard <anton@samba.org>
57154 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57155 * malloc/arena.c (heap_trim): Likewise.
57157 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57159 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57161 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57162 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57164 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57166 * sysdeps/i386/elf/Makefile: New file.
57168 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57170 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57171 from fanotify_init.
57172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57173 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57175 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57177 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57179 * sysdeps/multiarch/strcmp.S: Likewise.
57181 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57183 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57184 strncase_l-nonascii.
57185 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57186 Add strncase_l-ssse3.
57187 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57188 * sysdeps/x86_64/strcmp.S: Likewise.
57189 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57190 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57191 * sysdeps/x86_64/strncase.S: New file.
57192 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57193 * sysdeps/x86_64/strncase_l.S: New file.
57194 * string/Makefile (strop-tests): Add strncasecmp.
57195 * string/test-strncasecmp.c: New file.
57197 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57200 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57201 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57203 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57205 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57207 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57209 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57210 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57211 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57213 2010-05-01 Alan Modra <amodra@gmail.com>
57215 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57216 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57217 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57218 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57219 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57220 tidying. Don't tail-call __sigjmp_save for static lib.
57221 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57223 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57224 (CALL_MCOUNT): Add eh info, and nop after bl.
57225 (TAIL_CALL_SYSCALL_ERROR): New macro.
57226 (PSEUDO_RET): Use it.
57227 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57228 Correct save location of integer regs and cr.
57229 (_dl_profile_resolve): Correct cr save location. Delete nops
57230 after bl when SHARED. Reduce cfi size a little by better
57231 placement of cfi directives.
57232 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57233 make a stack frame. Instead use parm save area as a temp.
57234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57235 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57237 Don't make a stack frame for parent, use parm save area.
57238 Increase child stack frame to 112 bytes. Don't save unused reg,
57239 and adjust reg usage. Set up cfi on error recovery and
57240 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57242 (__makecontext): Add dummy nop after jump to exit.
57243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57244 Use correct parm save area and cr save, reduce stack frame.
57245 Correct cfi for possible PSEUDO_RET frame setup.
57246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57247 Branch to local label emitted by PSEUDO_RET rather than
57250 2010-08-12 Andreas Schwab <schwab@redhat.com>
57253 * locale/programs/locale.c (print_assignment): New function.
57254 (show_locale_vars): Use it.
57256 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57258 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57260 (struct statfs64): Likewise.
57261 (_STATFS_F_FLAGS): Define.
57262 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57263 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57264 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57265 (ST_VALID): Define locally.
57266 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57267 __statvfs_getflags, use the provided value.
57268 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57269 __ASSUME_STATFS_F_FLAGS.
57271 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57273 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57274 Add sys/fanotify.h.
57275 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57276 fanotify_mask for GLIBC_2.13.
57277 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57278 fanotify_init and fanotify_mark.
57279 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57280 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57282 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57284 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57285 prlimit64 for GLIBC_2.13.
57286 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57291 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57292 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57293 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57294 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57296 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57299 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57300 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57302 * nss/Makefile: Add rules to build and run tst-nss-test1.
57303 * shlib-versions: Add entry for libnss_test1.
57304 * nss/nss_test1.c: New file.
57305 * nss/tst-nss-test1.c: New file.
57307 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57308 (__nss_configure_lookup): Set appropriate entry in
57309 __nss_configure_lookup to true.
57310 * nss/nsswitch.h: Define enum with indeces of databases in
57311 databases and __nss_database_custom arrays. Declare
57312 __nss_database_custom.
57313 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57314 to avoid using nscd when custom rules are installed.
57315 * nss/getXXbyYY_r.c: Likewise.
57316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57318 * nss/nss_files/files-parse.c: Whitespace fixes.
57320 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57323 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57324 * posix/fnmatch_loop.c: Likewise.
57326 2010-07-17 Andi Kleen <ak@linux.intel.com>
57328 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57329 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57330 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57331 * Versions.def [GLIBC_2.13]: Add.
57333 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57335 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57336 Also fail if tpwd after pwuid call is NULL.
57338 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57340 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57341 when converting to ms.
57343 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57345 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57346 EOPNOTSUPP errors with ENOTTY.
57347 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57348 EOPNOTSUPP errors with ENOTTY.
57350 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57352 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57353 Add strcasecmp_l-ssse3.
57354 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57356 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57357 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57358 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57360 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57362 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57364 * string/Makefile (strop-tests): Add strcasecmp.
57365 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57366 strcasecmp_l-nonascii.
57367 (gen-as-const-headers): Add locale-defines.sym.
57368 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57369 * sysdeps/x86_64/strcasecmp.S: New file.
57370 * sysdeps/x86_64/strcasecmp_l.S: New file.
57371 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57372 * sysdeps/x86_64/locale-defines.sym: New file.
57373 * string/test-strcasecmp.c: New file.
57375 * string/test-strcasestr.c: Test both ends of the range of characters.
57376 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57378 2010-07-29 Roland McGrath <roland@redhat.com>
57381 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57383 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57385 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57388 2010-07-27 Andreas Schwab <schwab@redhat.com>
57390 * manual/memory.texi (Malloc Tunable Parameters): Document
57393 2010-07-26 Roland McGrath <roland@redhat.com>
57396 * configure.in (-fgnu89-inline check): Set and substitute
57397 gnu89_inline, not libc_cv_gnu89_inline.
57398 * configure: Regenerated.
57399 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57401 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57403 * string/test-strnlen.c: New file.
57404 * string/Makefile (strop-tests): Add strnlen.
57405 * string/tester.c (test_strnlen): Add a few more test cases.
57406 * string/tst-strlen.c: Better error reporting.
57408 * sysdeps/x86_64/strnlen.S: New file.
57410 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57412 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57413 lower-latency instructions.
57415 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57417 * string/test-strcasestr.c: New file.
57418 * string/test-strstr.c: New file.
57419 * string/Makefile (strop-tests): Add strstr and strcasestr.
57420 * string/str-two-way.h: Don't undefine MAX.
57421 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57423 2010-07-21 Andreas Schwab <schwab@redhat.com>
57425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57426 strcasestr-nonascii.
57427 (CFLAGS-strcasestr-nonascii.c): Define.
57428 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57429 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57430 Remove unused attribute.
57432 2010-07-20 Roland McGrath <roland@redhat.com>
57434 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57435 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57436 ld.so.cache was broken. With it, there is no way to disable dsocaps
57437 like LD_HWCAP_MASK can disable hwcaps.
57439 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57441 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57443 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57445 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57446 call in strcasestr.
57447 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57448 __strcasestr_sse42_nonascii.
57449 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57450 strcasestr-nonascii.c.
57451 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57453 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57455 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57456 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57457 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57458 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57460 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57465 2010-07-06 Andreas Schwab <schwab@redhat.com>
57468 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57471 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57473 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57474 _PC_PIPE_BUF using F_GETPIPE_SZ.
57476 2010-07-05 Roland McGrath <roland@redhat.com>
57478 * manual/arith.texi (Rounding Functions): Fix rint description
57479 implicit in round description.
57481 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57483 * elf/Makefile: Fix linking for a few tests to make recent linker
57486 2010-06-30 Andreas Schwab <schwab@redhat.com>
57488 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57489 $(common-objpfx)libc_nonshared.a.
57491 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57493 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57494 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57495 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57496 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57497 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57498 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57499 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57500 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57515 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57516 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57517 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57518 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57519 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57520 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57521 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57522 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57523 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57524 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57525 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57526 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57542 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57544 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57545 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57546 * string/memmove.c (memmove): Renamed to ...
57547 (MEMMOVE): ...this. Default to memmove.
57548 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57549 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57551 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57552 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57553 mempcpy-ssse3-back memmove-ssse3-back.
57554 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57555 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57556 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57557 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57558 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57559 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57560 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57561 * sysdeps/x86_64/multiarch/memmove.c: New file.
57562 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57563 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57564 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57565 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57566 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57567 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57569 (index_Fast_Copy_Backward): Define.
57570 (HAS_ARCH_FEATURE): Define.
57571 (HAS_FAST_REP_STRING): Define.
57572 (HAS_FAST_COPY_BACKWARD): Define.
57574 2010-06-21 Andreas Schwab <schwab@redhat.com>
57576 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57577 Restore proper fallback handling.
57579 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57582 * posix/group_member.c (__group_member): Correct checking loop.
57584 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57585 OOM in getpwuid_r correctly. Return error number when the caller
57586 should return, otherwise -1.
57587 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57588 call returning > 0 value.
57589 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57591 2010-06-07 Andreas Schwab <schwab@redhat.com>
57593 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57594 libc_nonshared.a from targets in modules-names.
57596 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57598 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57601 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57603 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57604 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57605 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57606 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57608 2010-06-02 Andreas Schwab <schwab@redhat.com>
57610 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57612 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57614 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57616 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57617 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57619 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57620 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57621 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57623 2010-06-14 Roland McGrath <roland@redhat.com>
57625 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57627 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57629 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57630 __REDIRECT followed by __THROW.
57631 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57632 * posix/getopt.h (getopt): Likewise.
57634 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57636 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57637 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57638 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57640 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57641 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57643 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57645 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57647 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57650 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57651 Properly check family and model.
57653 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57655 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57657 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57659 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57661 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57663 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57666 2010-05-19 Andreas Schwab <schwab@redhat.com>
57668 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57671 2010-05-21 Andreas Schwab <schwab@redhat.com>
57673 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57674 and internal_recvmmsg.
57675 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57676 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57677 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57678 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57680 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57681 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57682 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57684 2010-05-20 Andreas Schwab <schwab@redhat.com>
57686 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57688 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57690 POWER7 optimizations.
57691 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57692 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57694 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57696 * version.h: Update for 2.13 development version.
57698 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57700 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57701 exceptions. Return 0.
57703 2010-05-07 Roland McGrath <roland@redhat.com>
57705 * elf/ldconfig.c (main): Add a const.
57707 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57709 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57710 (args_options): Add no-idn option.
57711 (ahosts_keys_int): Add idn_flags to ai_flags.
57712 (parse_option): Handle 'i' option to clear idn_flags.
57714 * malloc/malloc.c (_int_free): Possible race in the most recently
57715 added check. Only act on the data if no current modification
57718 See ChangeLog.17 for earlier changes.