1 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
4 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
6 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
13 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
14 entries with Static TLS too. Skip entries past the end of the
15 allocated DTV, from Alan Modra.
16 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
17 Static TLS DTV entry set up from...
18 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
19 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20 * nptl/allocatestack.c (init_one_static_tls): ... and here...
21 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
24 that the slot we find is associated with the given map before
25 using its generation count.
26 * nptl_db/db_info.c: Include ldsodefs.h.
27 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
29 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
30 (link_map::l_tls_offset): New struct field.
31 (dtv_t::counter): Likewise.
32 (rtld_global): New struct.
33 (_rtld_global): New rtld variable.
34 (dl_tls_dtv_slotinfo_list): New rtld global field.
35 (dtv_slotinfo_list): New struct.
36 (dtv_slotinfo): Likewise.
37 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38 (td_lookup): Rename to...
39 (td_mod_lookup): ... this. Use new mod parameter instead of
41 * nptl_db/td_thr_tlsbase.c: Include link.h.
42 (dtv_slotinfo_list, dtv_slotinfo): New functions.
43 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
44 addresses even if the DTV is out of date or missing them.
45 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
46 index zero-length arrays.
47 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
48 (td_lookup): Make it a macro implemented in terms of...
49 (td_mod_lookup): ... this declaration.
50 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
51 (DB_MAIN_VARIABLE): Likewise.
53 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
56 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
58 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
60 * stdlib/setenv.c (__add_to_environ): Revert previous change.
62 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
65 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
66 (atomic_add, atomic_increment_and_test)
67 (atomic_decrement_and_test): Fix 64-bit arithmetic.
69 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
71 * stdlib/setenv.c (__add_to_environ):
72 Dump core quickly if setenv (..., NULL, ...) is called.
74 2015-03-13 Roland McGrath <roland@hack.frob.com>
76 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
77 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
78 all the necessary asm magic in one place.
79 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
82 2015-03-13 Carlos O'Donell <carlos@redhat.com>
85 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
86 traced file mtime. Use consistent log message.
87 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
88 (register_traced_file): Call install_watches. Always set mtime.
89 (invalidate_cache): Iterate over all trace files. Call install_watches.
90 (inotify_check_files): Don't inline. Handle watching parent
91 directories and configuration file movement in and out.
92 (handle_inotify_events): New function.
93 (main_loop_poll): Call handle_inotify_events.
94 (main_loop_epoll): Likewise.
95 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
96 (struct traced_file): Use array of inotify fds. Add parent directory,
98 (struct database_dyn): Remove unused file_mtime.
99 (init_traced_file): New inline function.
100 (define_traced_file): New macro.
101 * nss/nss_db/db-init.c: Use define_traced_file.
102 (_nss_db_init): Use init_traced_file.
103 * nss/nss_files/files-init.c: Use define_traced_file.
104 (_nss_files_init): Use init_traced_file.
106 2015-03-12 Joseph Myers <joseph@codesourcery.com>
108 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
109 [_LIBC]: Do not include <stdlib.h>.
110 [!_LIBC] (abort): Remove declaration.
111 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
112 _FP_STATIC_ASSERT instead of conditionally calling abort.
113 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
114 (_FP_EXTEND_CNAN): Likewise.
115 (FP_TRUNC): Likewise.
116 (__FP_CLZ): Likewise.
117 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
119 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
121 * manual/string.texi (XPG basename): Fix prototype.
123 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
126 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
127 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
128 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
129 (__setcontext): Likewise.
130 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
131 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
132 Call rt_sigprocmask syscall one time to set new signal mask
133 and retrieve the current signal mask instead of two calls.
134 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
135 (__swapcontext): Likewise.
136 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
137 * stdlib/tst-setcontext2.c: New file.
139 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
141 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
143 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
146 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
149 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
152 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
154 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
156 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
157 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
159 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
160 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
161 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
162 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
163 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
164 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
166 * nptl_db/td_symbol_list.c (td_lookup): Remove
167 HAVE_ASM_GLOBAL_DOT_NAME code.
168 * sysdeps/powerpc/powerpc64/configure.ac: Remove
169 HAVE_ASM_GLOBAL_DOT_NAME check.
170 * sysdeps/powerpc/powerpc64/configure: Regenerate.
171 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
172 (DOT_LABEL): Remove define.
173 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
174 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
175 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
176 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
177 (__TLS_GET_ADDR): Likewise.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
179 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
181 2015-03-11 Carlos O'Donell <carlos@redhat.com>
184 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
185 (_FPU_SETCW): Initialize cw from fpsr before storing.
186 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
187 (fesetexceptflag): Rewrite using fpu_control.h.
188 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
190 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
193 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
195 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
197 2015-03-11 Joseph Myers <joseph@codesourcery.com>
199 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
200 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
205 2015-03-10 Roland McGrath <roland@hack.frob.com>
207 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
209 * Makefile (summarize-tests): New canned sequence, factored out of
210 commands for targets tests and xtests. Display summary lines that
211 don't start with PASS: or XFAIL: rather than ones that do start with
212 ERROR: or FAIL:. Make the commands fail if any summary lines fail
213 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
214 do start with ERROR: or FAIL:.
215 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
216 (except for [$(build-shared) = yes]).
217 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
218 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
219 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
220 * nptl/Makefile: Revert 2015-03-04 changes.
221 [$(CXX) empty] (tests-unsupported): New variable.
222 * debug/Makefile: Likewise.
224 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
225 gnulib file. Replace __attribute with __attribute__ throughout.
227 2015-03-10 Carlos O'Donell <carlos@redhat.com>
229 * sysdeps/hppa/fpu/libm-test-ulps: Update.
231 2015-03-10 Joseph Myers <joseph@codesourcery.com>
234 * math/auto-libm-test-in: Add another test of pow.
235 * math/auto-libm-test-out: Regenerated.
237 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
239 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
240 $(config-cflags-nofma).
242 2015-03-10 Joseph Myers <joseph@codesourcery.com>
244 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
245 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
246 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
247 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
248 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
249 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
250 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
251 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
252 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
253 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
254 Add comment on closing #endif.
256 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
258 * posix/wordexp.c (CHAR_IN_SET): New macro.
259 (parse_param): Use it.
261 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
263 * sysdeps/powerpc/fpu/libm-test-ulps: update.
265 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
268 * posix/wordexp.c (parse_param): Fix buffer overflow.
269 * posix/wordexp-test.c (test_case): Add test case.
271 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
274 * posix/wordexp.c (parse_backtick): Fix off-by-one.
275 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
277 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
280 * posix/wordexp-test.c (test_case): Add test for BZ #18043
281 (do_bz18043): Delete.
283 (testit): Refactor to have words at the edge of unreadable page.
285 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
288 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
289 Cleanup read-only streams as well.
290 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
292 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
294 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
297 2015-03-07 Joseph Myers <joseph@codesourcery.com>
299 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
301 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
302 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
303 * soft-fp/op-common.h (_FP_DECL): Likewise.
305 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
307 * elf/ifuncdep2.c (global): Replace
308 __attribute__((visibility("protected"))) with
309 asm (".protected global").
310 * elf/ifuncmod1.c (global): Likewise.
311 * elf/ifuncmod5.c (global): Likewise.
313 2015-03-06 Joseph Myers <joseph@codesourcery.com>
315 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
316 <asm/sfp-machine.h> instead of <sfp-machine.h>.
318 2015-03-06 Roland McGrath <roland@hack.frob.com>
320 * manual/install.texi (Configuring and compiling):
321 Document test-wrapper-env-only.
322 * INSTALL: Regenerated.
324 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
327 * posix/wordexp.c (parse_param): Fix buffer overflow.
328 * posix/wordexp-test.c (do_bz18043): Add test case.
330 2015-03-06 Vincent Bernat <vincent@bernat.im>
332 * time/tst-strptime2.c (do_test): Ensure failing tests are
334 * time/tst-strptime3.c (do_test): Likewise.
336 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
338 Fix aio_error thread-safety.
339 * sysdeps/pthread/aio_error.c: New file
340 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
343 2015-03-06 Florian Weimer <fweimer@redhat.com>
345 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
346 (group_number, vfprintf): Use it.
347 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
349 (WORK_BUFFER_SIZE): New enum constant.
350 (process_arg, vfprintf): Use it.
352 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
354 * manual/errno.texi (Error Messages): Complete example function
355 by adding missing #define.
356 (program_invocation_name): Add statement indicating GNU
357 extension and reference which header file declares the variable.
358 (program_invocation_short_name): Likewise.
360 2015-03-06 Mike Frysinger <vapier@gentoo.org>
362 * manual/errno.texi (Error Messages): Delete strerror ISO C89
365 2015-03-05 Roland McGrath <roland@hack.frob.com>
367 * Makeconfig (test-wrapper-env-only): New variable.
368 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
369 then use that with $(test-wrapper-env-only) rather than using
370 $(test-wrapper-env) $(run-program-env) $($*-ENV).
372 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
375 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
376 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
377 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
378 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
379 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
380 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
381 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
382 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
384 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
385 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
387 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
389 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
391 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
393 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
394 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
396 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
398 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
399 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
401 2015-03-04 Roland McGrath <roland@hack.frob.com>
403 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
404 (ETH_ALEN): New macro.
405 (struct ether_addr): Use it for length of ether_addr_octet.
407 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
408 (setdb): Don't call __nss_configure_lookup for "rpc".
409 (do_test): Don't call test_rpc.
410 (output_rpcent, test_rpc): Functions moved ...
411 * sunrpc/test-rpcent.c: ... to this new file.
412 * sunrpc/Makefile (tests): Add it.
414 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
416 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
417 * nptl/tst-signal6.c: Likewise.
418 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
419 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
421 * configure.ac (libc_cv_cxx_link_ok): New check.
422 Reset CXX to empty if it fails to link.
423 * configure: Regenerated.
424 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
425 bug-atexit3-lib only if $(CXX) is nonempty.
426 * nptl/Makefile (tests): Likewise for tst-cancel24.
427 (tests, tests-static): Likewise for tst-cancel24-static.
428 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
429 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
430 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
431 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
433 2015-03-04 Andreas Schwab <schwab@suse.de>
436 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
437 for non-GCC compilers.
438 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
441 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
444 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
445 integer before bitwise and assembly operations.
446 (feclearexcept): Likewise.
447 * math/test-fenvinline.c: New file.
448 * math/Makefile: Add test-fenvinline test.
450 2015-03-03 Alan Modra <amodra@gmail.com>
453 * scripts/localplt.awk: Strip off symbol version.
454 * NEWS: Mention bug fix.
456 2015-03-02 Roland McGrath <roland@hack.frob.com>
458 * sysdeps/pthread/timer_routines.c
459 (timer_free_list, thread_free_list, thread_active_list): Make static.
461 2015-03-02 Joseph Myers <joseph@codesourcery.com>
464 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
465 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
467 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
468 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
470 * sysdeps/unix/sysv/linux/sh/kernel-features.h
471 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
474 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
477 * posix/fnmatch_loop.c (END): Detect invalid pattern.
478 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
480 2015-03-02 Andreas Schwab <schwab@suse.de>
482 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
485 2015-03-02 Florian Weimer <fweimer@redhat.com>
487 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
490 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
493 * locale/findlocale.c (_nl_find_locale): Introduce const
494 version of loc_name and drop unsafe type casts.
496 2015-02-27 Roland McGrath <roland@hack.frob.com>
498 * dlfcn/tststatic2.c (main): Converted to ...
500 (TEST_FUNCTION): New macro.
501 Include test-skeleton.c.
503 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
506 * elf/Makefile (tests): Add vismain only if PIE is enabled.
507 (tests-pie): Add vismain.
508 (CFLAGS-vismain.c): New.
509 * elf/vismain.c: Add comments for PIE requirement.
511 2015-02-27 Joseph Myers <joseph@codesourcery.com>
515 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
516 0x1p-56L as threshold for just returning the argument.
517 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
518 0x1p-32L as threshold for just returning the argument.
519 * math/auto-libm-test-in: Add more tests of atanh.
520 * math/auto-libm-test-out: Regenerated.
521 * sysdeps/i386/fpu/libm-test-ulps: Update.
522 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
524 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
526 * string/bcopy.c (bcopy): Call memmove for performance.
528 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
530 * string/bzero.c (__bzero): Call memset for performance.
532 2015-02-27 John David Anglin <dave.anglin@bell.net>
535 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
538 2015-02-27 Joseph Myers <joseph@codesourcery.com>
540 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
542 2015-02-26 Joseph Myers <joseph@codesourcery.com>
544 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
545 (__kernel_standard): Use CSTR macro when setting exc.name.
546 * sysdeps/ieee754/Makefile [$(subdir) = math]
547 (CFLAGS-k_standard.c): Remove variable.
549 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
550 setting p and q from "else if" to "else".
552 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
554 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
556 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
558 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
560 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
565 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
566 return pi/2 for arguments below 0x1p-113L.
567 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
568 return pi/2 for arguments below 0x1p-106L.
569 * math/auto-libm-test-in: Add more tests of acos.
570 * math/auto-libm-test-out: Regenerated.
573 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
575 (__ieee754_asin): Force underflow exception for results with small
577 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
579 (__ieee754_asinf): Force underflow exception for results with
580 small absolute value.
581 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
582 (__ieee754_asin): Force underflow exception for results with small
584 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
585 (__ieee754_asinf): Force underflow exception for results with
586 small absolute value.
587 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
588 (__ieee754_asinl): Force underflow exception for results with
589 small absolute value.
590 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
591 (__ieee754_asinl): Force underflow exception for results with
592 small absolute value.
593 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
594 (__ieee754_asinl): Force underflow exception for results with
595 small absolute value.
596 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
598 * math/auto-libm-test-in: Do not mark underflow exceptions as
599 possibly missing for bug 16351.
600 * math/auto-libm-test-out: Regenerated.
603 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
604 of power of 2 down when low part has opposite sign.
605 * math/libm-test.inc (logb_test_data): Add more tests.
607 2015-02-26 Andreas Schwab <schwab@suse.de>
610 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
611 over collating symbol inside a bracket expression. Minor cleanup.
612 * posix/tst-fnmatch3.c (do_test): Add test case.
614 2015-02-26 Joseph Myers <joseph@codesourcery.com>
617 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
618 Adjust exponent of power of 2 down when low part has opposite
620 * math/libm-test.inc (ilogb_test_data): Add more tests.
622 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
625 * locale/findlocale.c (_nl_find_locale): Fix constness error in
629 * locale/findlocale.c (_nl_find_locale): Retry archive search
630 after alias expansion.
632 2015-02-25 Roland McGrath <roland@hack.frob.com>
634 * iconv/tst-iconv3.c (main): Converted to ...
636 (TEST_FUNCTION): New macro.
637 Include test-skeleton.c.
639 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
640 (convert): Make function static.
641 (test_unalign): Likewise. Add const to argument pointee types.
642 (main): Replace with static function do_test.
643 Print "Succeeded." only if RET is zero.
644 (TEST_FUNCTION): New macro.
645 Include test-skeleton.c.
647 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
648 returns a null pointer.
650 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
652 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
653 to __memcpy_ppc only for static builds.
655 2015-02-25 Joseph Myers <joseph@codesourcery.com>
658 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
659 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
660 * math/auto-libm-test-in: Add more tests of asinh.
661 * math/auto-libm-test-out: Regenerated.
662 * sysdeps/i386/fpu/libm-test-ulps: Update.
663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
665 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
668 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
669 and ip6_mtuinfo definitions here.
670 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
671 in this define too. Update comment.
673 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
675 * elf/sprof.c (load_shobj): Tweak error message to match others.
677 2015-02-24 Kevin Easton <kevin@guarana.org>
679 [BZ #16145] (partial fix)
680 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
681 to reduce lock contention.
683 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
685 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
686 (struct timex): Update time comment.
687 (ADJ_SETOFFSET): Define.
689 2015-02-24 Joseph Myers <joseph@codesourcery.com>
692 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
693 2**56 not 2**28 as threshold for log (2x) formula.
694 * math/auto-libm-test-in: Add more tests of acosh.
695 * math/auto-libm-test-out: Regenerated.
696 * sysdeps/i386/fpu/libm-test-ulps: Update.
697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
699 2015-02-24 Mike Frysinger <vapier@gentoo.org>
701 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
702 parenthesis around the buf assignment.
703 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
705 2015-02-24 Joseph Myers <joseph@codesourcery.com>
708 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
709 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
710 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
711 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
712 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
713 * math/libm-test.inc (scalb_test_data): Add more tests.
715 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
718 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
719 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
721 2015-02-24 Eric Rannaud <e@nanocritical.com>
724 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
725 * io/bits/fcntl2.h (open): Use it.
727 * io/open.c (__libc_open): Likewise.
728 * io/open64.c (__libc_open64): Likewise.
729 * io/open64_2.c (__open64_2): Likewise.
730 * io/open_2.c (__open_2): Likewise.
731 * io/openat.c (__openat): Likewise.
732 * io/openat64.c (__openat64): Likewise.
733 * io/openat64_2.c (__openat64_2): Likewise.
734 * io/openat_2.c (__openat_2): Likewise.
735 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
736 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
737 * sysdeps/posix/open64.c (__libc_open64): Likewise.
738 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
739 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
740 (__open_nocancel): Likewise.
741 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
742 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
743 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
745 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
748 * resolv/gethnamaddr.c (getanswer): Skip logging if
749 RES_USE_DNSSEC is set.
750 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
752 2015-02-24 Mike Frysinger <vapier@gentoo.org>
754 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
756 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
758 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
759 201304L, for Unicode 7.
761 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
764 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
765 shared library. Add gmon-start.os otherwise.
766 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
767 $(objpfx)gmon-start.os if builing shared library.
768 ($(objpfx)g$(static-start-installed-name)): Likewise.
770 2015-02-23 Andreas Schwab <schwab@suse.de>
772 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
774 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
777 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
778 (enlarge_userbuf): Likewise.
780 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
782 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
783 * math/atest-exp.c (TIMEOUT): Adjust to 200.
784 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
785 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
787 2015-02-20 Joseph Myers <joseph@codesourcery.com>
789 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
790 expression inside statement expression.
792 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
794 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
795 <sysdeps/nptl/lowlevellock.h> and remove macros and
796 functions that are now defined there.
798 (lll_compare_and_swap): Remove.
799 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
801 2015-02-19 Joseph Myers <joseph@codesourcery.com>
804 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
805 instead of scandirat.
806 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
807 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
808 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
810 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
811 (__scandirat): Declare. Use libc_hidden_proto.
812 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
814 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
816 2015-02-18 Joseph Myers <joseph@codesourcery.com>
819 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
821 (__ieee754_atan2): For results with small absolute value, force
822 underflow exception and remove excess range and precision from
824 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
826 (__ieee754_atan2f): For results with small absolute value, force
827 underflow exception and remove excess range and precision from
829 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
831 (__atan): For results with small absolute value, force underflow
832 exception and remove excess range and precision from return value.
833 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
835 (__atanf): For results with small absolute value, force underflow
836 exception and remove excess range and precision from return value.
837 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
839 (__ieee754_atan2): Force underflow exception for results with
840 small absolute value.
841 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
843 (atan): Force underflow exception for results with small absolute
845 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
846 (__atanf): Force underflow exception for results with small
848 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
850 (__atanl): Force underflow exception for results with small
852 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
853 (__atanl): Force underflow exception for results with small
855 * sysdeps/x86/fpu/bits/mathinline.h
856 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
857 (__ieee754_atan2): Only define inline for long double.
858 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
859 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
860 * math/auto-libm-test-in: Do not mark underflow exceptions as
861 possibly missing for bug 15319. Add more tests of atan2.
862 * math/auto-libm-test-out: Regenerated.
863 * math/libm-test.inc (casin_test_data): Do not mark underflow
864 exceptions as possibly missing for bug 15319.
865 (casinh_test_data): Likewise.
866 * sysdeps/i386/fpu/libm-test-ulps: Update.
868 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
870 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
871 * sysdeps/mips/bits/endian.h: Fix comments.
873 2015-02-18 Joseph Myers <joseph@codesourcery.com>
876 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
877 (hdestroy_r): Likewise.
878 (hsearch_r): Likewise.
879 (__hcreate_r): Declare and use libc_hidden_proto.
880 (__hdestroy_r): Likewise.
881 (__hsearch_r): Likewise.
882 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
883 (hcreate): Call __hcreate_r instead of hcreate_r.
884 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
885 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
886 as weak alias of __hcreate_r.
887 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
889 (hsearch_r): Rename to __hsearch_r and define as weak alias of
891 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
893 (test-xfail-XPG4/search.h/linknamespace): Likewise.
894 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
895 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
896 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
898 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
900 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
901 arena_lock into a single arena_get.
903 2015-02-17 Carlos O'Donell <carlos@redhat.com>
905 * dl-reloc.c: Inlucde libc-internal.h.
906 (_dl_try_allocate_static_tls): Call ALIGN_UP.
907 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
908 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
909 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
910 (grow_heap): Likewise.
911 * malloc/malloc.c: Include libc-internal.h.
912 (do_check_malloc): Call powerof2.
913 (sysmalloc): Use pagesize. Call ALIGN_UP.
914 (systrim): Use pagesize.
915 (mremap_chunk): Use pagesize. Call ALIGN_UP.
916 (__libc_valloc): Use pagesize.
917 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
919 2015-02-17 Joseph Myers <joseph@codesourcery.com>
922 * include/sys/resource.h (__getrlimit64): Declare. Use
924 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
925 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
926 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
928 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
930 [!getrlimit64] (getrlimit64): Define as weak alias of
931 __getrlimit64. Use libc_hidden_weak.
932 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
933 using __getrlimit64 not __new_getrlimit64.
934 (__GI_getrlimit64): Likewise.
935 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
937 (__GI_getrlimit64): Likewise.
938 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
940 (getrlimit): Add __getrlimit64 alias.
941 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
943 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
945 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
946 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
948 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
950 * libio/fileops.c: Add missing sys/mman.h
951 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
953 2015-02-17 Joseph Myers <joseph@codesourcery.com>
955 * manual/math.texi (Errors in Math Functions): Clarify goals
956 regarding inexact and underflow exceptions.
958 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
960 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
961 * sysdeps/mips/memset.S: Ditto.
963 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
965 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
967 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
969 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
970 (__v1longjmp): Remove versioned symbol.
971 (__v1siglongjmp): Remove alias and versioned symbol.
972 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
973 (__v2siglongjmp): Likewise.
975 2015-02-16 Torvald Riegel <triegel@redhat.com>
977 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
979 2015-02-16 Mike Frysinger <vapier@gentoo.org>
981 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
983 2015-02-16 Joseph Myers <joseph@codesourcery.com>
986 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
987 zero result does not depend on the sign resulting from
989 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
991 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
992 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
993 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
994 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
995 * math/libm-test.inc (remquo_test_data): Add more tests.
997 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
999 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1000 Problem reported by J William Piggott.
1002 2015-02-16 Joseph Myers <joseph@codesourcery.com>
1005 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1006 products 4 * y and 2 * y where those would overflow.
1007 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1009 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1010 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1011 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1012 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1013 * math/libm-test.inc (remquo_test_data): Add more tests.
1015 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1017 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1018 [defined _COMPILING_NEWLIB].
1019 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1020 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1022 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1023 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1025 2015-02-16 Torvald Riegel <triegel@redhat.com>
1027 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1030 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1033 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1034 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1035 HOST_STACK_END_ADDR): Likewise.
1037 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
1039 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1040 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1041 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1043 2015-02-13 Roland McGrath <roland@hack.frob.com>
1045 * sysdeps/generic/c++-types.data: New file.
1046 * sysdeps/generic/ld.abilist: New file.
1047 * sysdeps/generic/libBrokenLocale.abilist: New file.
1048 * sysdeps/generic/libanl.abilist: New file.
1049 * sysdeps/generic/libc.abilist: New file.
1050 * sysdeps/generic/libcrypt.abilist: New file.
1051 * sysdeps/generic/libdl.abilist: New file.
1052 * sysdeps/generic/libm.abilist: New file.
1053 * sysdeps/generic/libpthread.abilist: New file.
1054 * sysdeps/generic/libresolv.abilist: New file.
1055 * sysdeps/generic/librt.abilist: New file.
1057 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1060 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1061 Compute absolute value of x as modified by fmod, not original
1063 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1064 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1065 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1066 RUN_TEST_ffI_f1_mod8.
1067 (remquo_test_data): Add more tests.
1069 2015-02-13 Roland McGrath <roland@hack.frob.com>
1071 * sysdeps/init_array/pt-crti.S: New file.
1073 2015-02-13 Joseph Myers <joseph@codesourcery.com>
1076 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1077 __builtin_fmaf instead of relying on contraction of a * b + c.
1079 2015-02-12 J William Piggott <elseifthen@gmx.com>
1082 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1085 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1088 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1089 __builtin_fma instead of relying on contraction of a * b + c.
1091 2015-02-12 Roland McGrath <roland@hack.frob.com>
1093 * Makeconfig (ASFLAGS): Add -Werror=undef.
1094 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1095 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1096 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1098 * Makeconfig (after-link): New variable.
1099 (+link-pie, +link-pie-tests): Use it.
1100 (+link-static, +link-static-tests): Likewise.
1101 (+link, +link-tests): Likewise.
1102 * Makerules (build-module, build-module-asneeded): Likewise.
1103 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1105 * elf/Makefile ($(objpfx)ld.so): Likewise.
1107 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1110 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1111 both struct timeval and struct timespec.
1113 2015-02-12 Joseph Myers <joseph@codesourcery.com>
1116 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1118 (__ieee754_exp2l): Do not multiply small fractional parts by
1120 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1122 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1123 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1124 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1125 * math/auto-libm-test-in: Add more tests of exp2.
1126 * math/auto-libm-test-out: Regenerated.
1128 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1130 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1133 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1135 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1138 2015-02-12 Andreas Schwab <schwab@suse.de>
1141 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1142 Filter out elision flags from value returned in kind.
1143 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1144 * nptl/tst-pthread-mutexattr.c: New file.
1146 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1148 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1149 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1150 into gnu-gnu, and update comment to refer to abi-tags.
1152 2015-02-11 Joseph Myers <joseph@codesourcery.com>
1155 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1156 (__sincos): Set errno to EDOM for infinite argument.
1157 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1158 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1159 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1160 (__sincosl): Set errno to EDOM for infinite argument.
1161 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1162 (__sincosl): Set errno to EDOM for infinite argument.
1163 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1164 (__sincosl): Set errno to EDOM for infinite argument.
1165 * math/libm-test.inc (sincos_test_data): Test errno setting.
1167 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
1169 * string/strxfrm_l.c: Remove #define STRCMP.
1170 * string/strcoll_l.c: Remove #define STRLEN.
1171 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1172 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1174 2015-02-10 Joseph Myers <joseph@codesourcery.com>
1176 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1177 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1178 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1179 * sysdeps/mips/mips64/Makefile: ... here.
1180 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1181 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1182 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1183 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1184 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1185 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1186 * sysdeps/mips/mips64/n64/Implies: Likewise.
1188 2015-02-10 Roland McGrath <roland@hack.frob.com>
1190 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1191 <sys/time.h>, <string.h>, and <errno.h>.
1192 (dest_offset, dest_address, value, zero): Remove unused variables.
1193 (ldouble): Remove typedef.
1194 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1195 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1197 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1198 (check): Function removed.
1200 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1201 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1202 Don't call set_sigaction_FP and remove_sigaction_FP here.
1203 (ldouble_test): Just use 'long double' as macro argument, no need for
1204 the 'ldouble' typedef.
1205 (do_test): Set up SIGFPE handler at start, using plain signal rather
1206 than sigaction. Fix code style.
1208 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1211 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1214 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1216 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1217 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1219 * sysdeps/powerpc/configure.ac: Remove file.
1220 * sysdeps/powerpc/configure: Likewise.
1222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1223 [sysdep_routines]: Remove wordcopy-power6 object.
1224 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1225 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1226 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1227 (__memmove_ppc32): Likewise.
1228 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1230 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1231 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1232 Remove preprocessor.
1234 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1235 [sysdep_routines]: Remove wide chars objects.
1236 [wcsmbs]: New rule for wide char objects.
1238 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1239 Remove wordcopy-power6 obejct.
1240 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1241 Use local call for wordcopy and memcpy symbols.
1242 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1243 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1244 implementation for loader.
1245 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1247 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1248 Remove wordcopy-power7 object.
1249 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1250 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1251 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1252 (_wordcopy_fwd_dest_aligned): Likewise.
1253 (_wordcopy_bwd_aligned): Likewise.
1254 (_wordcopy_bwd_dest_aligned): Likewise.
1256 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1257 Rewrite to call __memmove_ppc instead of include default
1260 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1261 Remove wide chars objects.
1262 [wcsmbs]: New rule for wide char objects.
1264 2015-02-09 Andreas Schwab <schwab@suse.de>
1267 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1268 in terms of __O_DIRECTORY.
1270 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1272 * time/getdate.c: Include <stdbool.h>.
1273 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1275 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1278 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
1280 Add ersatz _Static_assert on older C hosts
1281 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1282 pre-C11 C platform that is not known to support _Static_assert.
1284 2015-02-07 Richard Braun <rbraun@sceen.net>
1286 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1288 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1290 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
1292 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1293 priority against unexistent AIO_PRIO_DELTA_MAX.
1294 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1296 * misc/fchflags.c (fchflags): Likewise.
1297 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1298 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1299 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1300 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1301 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1303 [__USE_MISC] (chflags, fchflags): Declare functions.
1304 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1305 EINVAL when nfds is greater than FD_SETSIZE.
1306 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1307 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1309 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1310 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1311 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1313 * hurd/hurd/signal.h (_hurd_self_sigstate,
1314 _hurd_critical_section_lock, _hurd_critical_section_unlock):
1315 Explicit casts from void *.
1316 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1317 * abi-tags: Rename gnu-gnu os into gnu.
1320 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1321 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1322 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1323 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1324 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1325 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1328 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1329 duplicates ADDR->sun_path with sockaddr LEN limitation.
1330 * sysdeps/mach/hurd/connect.c: Include <string.h>
1331 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1332 * sysdeps/mach/hurd/sendmsg.c: Likewise.
1333 * sysdeps/mach/hurd/sendto.c: Likewise.
1334 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1335 implementing it by hand.
1337 2015-02-06 Roland McGrath <roland@hack.frob.com>
1339 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1340 Use sfi_breg on ldr.
1341 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1344 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1346 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1347 Test SIGSETXID only if it's defined.
1349 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1351 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1352 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
1354 * nptl/tst-align2.c: Moved ...
1355 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1356 * nptl/Makefile (tests): Remove tst-align2.
1357 * sysdeps/unix/sysv/linux/Makefile
1358 [$(subdir) = nptl] (tests): Add tst-align-clone.
1359 * nptl/tst-getpid1.c: Moved ...
1360 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1361 * nptl/tst-getpid2.c: Moved ...
1362 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1363 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1364 * sysdeps/unix/sysv/linux/Makefile
1365 [$(subdir) = nptl] (tests): ... here.
1366 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1367 * sysdeps/unix/sysv/linux/Makefile
1368 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1370 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1371 Drop trailing \n from perror argument. Use return rather than exit.
1373 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1375 * nptl/tst-cancel21.c (do_test): Likewise.
1376 * debug/tst-backtrace6.c: Include <signal.h> first thing.
1377 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1378 [!SA_SIGINFO]: Make it a stub test.
1380 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1381 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1383 * posix/tst-getlogin.c: Move to ...
1384 * login/tst-getlogin.c: ... here.
1385 * posix/Makefile (tests): Move tst-getlogin to ...
1386 * login/Makefile (tests): ... here.
1388 * libio/tst-atime.c (do_test): Move local variables SV and E
1389 inside [ST_NOATIME] conditional.
1391 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1393 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1395 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1396 (wait_code): New function replaces macro.
1397 Call nanosleep rather than syscall.
1399 * nptl/pt-system.c: Rewritten. Put everything under
1400 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1401 Use IFUNC to redirect when possible.
1403 * nptl/pt-longjmp.c: Rewritten. Put everything under
1404 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1405 Use IFUNC to redirect when possible.
1407 * nptl/pt-fork.c: Rewritten. Put everything under
1408 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1409 Use IFUNC to redirect when possible.
1410 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1412 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1413 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1414 unconditionally nowadays. This included the only reference to
1415 __vdso_clock_gettime that appears outside libc proper.
1416 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1417 Remove version set (containing only __vdso_clock_gettime).
1418 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1419 Add attribute_hidden.
1420 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1421 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1422 libc_hidden_data_def.
1423 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1424 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1426 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1427 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1428 setrpcent, and getrpcport to ...
1429 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1430 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1431 getrpcbynumber_r, and getrpcent_r to ...
1432 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1433 * inet/getrpcbyname.c: Moved ...
1434 * sunrpc/getrpcbyname.c: ... here.
1435 * inet/getrpcbyname_r.c: Moved ...
1436 * sunrpc/getrpcbyname_r.c: ... here.
1437 * inet/getrpcbynumber.c: Moved ...
1438 * sunrpc/getrpcbynumber.c: ... here.
1439 * inet/getrpcbynumber_r.c: Moved ...
1440 * sunrpc/getrpcbynumber_r.c: ... here.
1441 * inet/getrpcent.c: Moved ...
1442 * sunrpc/getrpcent.c: ... here.
1443 * inet/getrpcent_r.c: Moved ...
1444 * sunrpc/getrpcent_r.c: ... here.
1445 * inet/Makefile (routines): Move those to ...
1446 * sunrpc/Makefile (routines): ... here.
1447 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1448 the $(subdirs) list.
1449 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
1450 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1451 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1452 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1454 * elf/Makefile (routines): Include $(all-dl-routines), not just
1456 (rtld-routines): Likewise. Use = rather than :=.
1457 * sysdeps/aarch64/Makefile [$(subdir) = elf]
1458 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1459 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1460 * sysdeps/arm/Makefile: Likewise.
1461 * sysdeps/i386/Makefile: Likewise.
1462 * sysdeps/x86_64/Makefile: Likewise.
1463 * sysdeps/hppa/Makefile [$(subdir) = elf]
1464 (sysdep_routines, sysdep-rtld-routines): Don't add
1465 $(sysdep-dl-routines) to these.
1466 * sysdeps/ia64/Makefile: Likewise.
1467 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1468 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1469 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1470 Don't add dl-static to these; sysdep-dl-routines alone is enough.
1471 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1472 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1473 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1474 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1475 * sysdeps/powerpc/Makefile [$(subdir) = elf]
1476 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1477 these; sysdep-dl-routines alone is enough.
1479 2015-02-06 Joseph Myers <joseph@codesourcery.com>
1482 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1483 where multiplication results in zero and third argument is finite
1485 * math/auto-libm-test-in: Add more tests of fma.
1486 * math/auto-libm-test-out: Regenerated.
1488 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1489 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1490 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1491 (_FP_CMP_EQ): Likewise.
1492 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1494 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1495 extra argument CHECK_NAN. Redefine as wrapper around
1498 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
1500 * version.h (RELEASE): Set to "stable".
1501 (VERSION): Set to "2.21"
1502 * include/features.h (__GLIBC_MINOR__): Set to 21.
1504 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1506 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1507 Paul Eggert <eggert@cs.ucla.edu>
1510 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1511 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1512 size in bytes. Store needed elements in wpmax. Use needed size
1513 in bytes for extend_alloca.
1515 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
1517 * manual/install.texi: Latest tested versions are GCC 4.9.2,
1518 binutls 2.25, and texinfo 5.2.
1519 * INSTALL: Regenerate.
1520 * sysdeps/nios2/configure: Regenerate.
1521 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1522 * manual/contrib.texi: Update.
1546 * po/pt_BR.po: Update.
1555 * po/zh_CN.po: Update.
1556 * po/zh_TW.po: Update.
1558 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1559 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1560 * sysdeps/hppa/dl-irel.h: Remove #warning.
1561 * sysdeps/hppa/entry.h: Provide prototype for
1562 __canonicalize_funcptr_for_compare and cast argument.
1563 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1564 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1565 * sysdeps/hppa/sotruss-lib.c: New file.
1566 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1567 (atomic_compare_and_exchange_val_acq): Use __typeof__.
1568 (atomic_compare_and_exchange_bool_acq): Likewise.
1569 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1570 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1572 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1573 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1574 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1576 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
1578 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1579 called function in non-PIC case.
1581 2015-01-31 David S. Miller <davem@davemloft.net>
1583 * sysdeps/sparc/sparc32/bits/atomic.h
1584 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1585 unlock not after it.
1586 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1587 volatile register usage warnings from the compiler.
1589 * sysdeps/sparc/nptl/sem_init.c: Delete.
1590 * sysdeps/sparc/nptl/sem_post.c: Delete.
1591 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1592 * sysdeps/sparc/nptl/sem_wait.c: Delete.
1593 * sysdeps/sparc/sparc32/sem_init.c: New file.
1594 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1595 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1596 padding explicitly initialized.
1597 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1598 padding for in-semaphore spinlock.
1599 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1600 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1601 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1602 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1603 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1604 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1605 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1606 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1608 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1609 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1611 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
1614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1615 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1616 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1618 (index_AVX_Fast_Unaligned_Load): Likewise.
1619 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1620 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1621 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1622 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1623 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1624 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1625 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1626 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1627 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1629 2015-01-29 Andreas Schwab <schwab@suse.de>
1631 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1633 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1636 * nscd/nscd_stat.c (send_stats): Initialize DATA.
1638 2015-01-28 Martin Sebor <msebor@redhat.com>
1640 * math/README.libm-test: Clarify. Add "How to read the test output."
1642 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
1644 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1647 2015-01-28 Joseph Myers <joseph@codesourcery.com>
1649 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1650 (__HAVE_64B_ATOMICS): Define to 0.
1652 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1655 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1656 value to set as new flag.
1659 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1660 and use _ARCH_PPCSQ instead.
1661 (__ieee754_sqrt): Likewise.
1662 (__ieee754_sqrtf): Likewise.
1663 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1664 _ARCH_PPCSQ is defined.
1665 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1667 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1668 _ARCH_PPCSQ is defined.
1669 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1671 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1673 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1675 * iconv/loop.c: Suppress array out of bound warning caused by GCC
1676 bug (GCC BZ #64739).
1678 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
1680 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1681 Mark _retval as used.
1682 (lll_futex_wake_unlock): Likewise.
1683 (lll_futex_timed_wait_requeue_pi): Likewise.
1685 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1686 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1689 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1692 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1693 (__bswap_64): Mark as __always_inline.
1695 2015-01-25 Bram <bug_rh@spam.wizbit.be>
1698 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1699 when none of the search directories exist.
1701 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1704 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1705 power8 in .machine directive.
1708 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1709 set dependency from opd value.
1711 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1714 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1717 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
1720 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1722 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1724 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1725 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1726 Replace 1UL with (uint64_t) 1.
1727 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1730 2015-01-23 Roland McGrath <roland@hack.frob.com>
1732 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1733 (if_freenameindex): Likewise.
1735 * resource/getrlimit64.c: Add missing libc_hidden_def.
1737 2015-01-22 Joseph Myers <joseph@codesourcery.com>
1739 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1741 (_FP_FMA): Likewise.
1742 (_FP_TO_INT_ROUND): Likewise.
1743 (_FP_FROM_INT): Likewise.
1745 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1748 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1749 Make code racy and cancel safe.
1751 2015-01-21 Carlos O'Donell <carlos@redhat.com>
1753 * sysdeps/arm/unwind-resume.h: Fix copyright year.
1754 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1757 * pwd/tst-getpw.c: Rewrite.
1760 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1761 (modules-names): Add moddummy1 and moddummy2.
1762 ($(objpfx)tst-rec-dlopen): Define.
1763 * dlfcn/moddummy1.c: New file.
1764 * dlfcn/moddummy2.c: New file.
1765 * dlfcn/tst-rec-dlopen.c: New file.
1766 * elf/dl-cache.c (_dl_load_cache_lookup):
1767 Return char*. Copy result with alloca/strcpy/strdup.
1768 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1769 returns char*. Free cached. If not saving realname
1771 * elf/dl-open.c (dl_open_worker): Do not assert that
1772 _r_debug->r_state is RT_CONSISTENT.
1773 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1776 2015-01-21 Torvald Riegel <triegel@redhat.com>
1777 Carlos O'Donell <carlos@redhat.com>
1780 * nptl/sem_waitcommon.c: New file.
1781 * nptl/sem_wait.c: Include sem_waitcommon.c.
1782 (__sem_wait_cleanup, do_futex_wait): Remove.
1783 (__new_sem_wait): Adapt.
1784 (__new_sem_trywait): New function.
1785 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1786 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1787 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1788 (sem_timedwait): Adapt.
1789 * nptl/sem_post.c (__new_sem_post): Adapt.
1790 (futex_wake): New function.
1791 (__old_sem_post): Add release MO fence.
1792 * nptl/sem_open.c (sem_open): Adapt.
1793 * nptl/sem_init.c (__new_sem_init): Adapt.
1794 (futex_private_if_supported): New function.
1795 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1796 (__old_sem_getvalue): Add using previous code.
1797 * sysdeps/nptl/internaltypes.h: Adapt.
1798 * nptl/tst-sem13.c (do_test): Adapt.
1799 * nptl/tst-sem11.c (main): Adapt.
1800 * nptl/sem_trywait.c: Remove.
1801 * nptl/DESIGN-sem.txt: Remove.
1802 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1803 (gen-as-const-headers): Remove structsem.sym.
1804 * nptl/structsem.sym: Remove.
1805 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1806 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1807 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1808 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1809 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1810 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1811 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1812 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1813 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1814 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1815 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1816 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1817 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1818 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1819 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1820 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1821 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1822 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1823 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1824 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1825 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1826 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1828 2015-01-20 Carlos O'Donell <carlos@redhat.com>
1830 * INSTALL: Regenerated.
1832 * po/libc.pot: Regenerated.
1834 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
1835 Sandra Loosemore <sandra@codesourcery.com>
1836 Andrew Jenner <andrew@codesourcery.com>
1837 Joseph Myers <joseph@codesourcery.com>
1838 Nathan Sidwell <nathan@codesourcery.com>
1840 * NEWS: Mention new Nios II port.
1841 * sysdeps/nios2/Implies: New file.
1842 * sysdeps/nios2/Makefile: New file.
1843 * sysdeps/nios2/Subdirs: New file.
1844 * sysdeps/nios2/Versions: New file.
1845 * sysdeps/nios2/__longjmp.S: New file.
1846 * sysdeps/nios2/abort-instr.h: New file.
1847 * sysdeps/nios2/backtrace.c: New file.
1848 * sysdeps/nios2/bits/endian.h: New file.
1849 * sysdeps/nios2/bits/fenv.h: New file.
1850 * sysdeps/nios2/bits/link.h: New file.
1851 * sysdeps/nios2/bits/setjmp.h: New file.
1852 * sysdeps/nios2/bsd-_setjmp.S: New file.
1853 * sysdeps/nios2/bsd-setjmp.S: New file.
1854 * sysdeps/nios2/configure: New generated file.
1855 * sysdeps/nios2/configure.ac: New file.
1856 * sysdeps/nios2/crti.S: New file.
1857 * sysdeps/nios2/crtn.S: New file.
1858 * sysdeps/nios2/dl-init.c: New file.
1859 * sysdeps/nios2/dl-machine.h: New file.
1860 * sysdeps/nios2/dl-sysdep.h: New file.
1861 * sysdeps/nios2/dl-tls.h: New file.
1862 * sysdeps/nios2/dl-trampoline.S: New file.
1863 * sysdeps/nios2/gccframe.h: New file.
1864 * sysdeps/nios2/gmp-mparam.h: New file.
1865 * sysdeps/nios2/jmpbuf-offsets.h: New file.
1866 * sysdeps/nios2/jmpbuf-unwind.h: New file.
1867 * sysdeps/nios2/ldsodefs.h: New file.
1868 * sysdeps/nios2/libc-tls.c: New file.
1869 * sysdeps/nios2/libm-test-ulps: New file.
1870 * sysdeps/nios2/machine-gmon.h: New file.
1871 * sysdeps/nios2/math-tests.h: New file.
1872 * sysdeps/nios2/math_private.h: New file.
1873 * sysdeps/nios2/memusage.h: New file.
1874 * sysdeps/nios2/nptl/Makefile: New file.
1875 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1876 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1877 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1878 * sysdeps/nios2/nptl/pthreaddef.h: New file.
1879 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1880 * sysdeps/nios2/nptl/tls.h: New file.
1881 * sysdeps/nios2/preconfigure: New file.
1882 * sysdeps/nios2/s_fma.c: New file.
1883 * sysdeps/nios2/s_fmaf.c: New file.
1884 * sysdeps/nios2/setjmp.S: New file.
1885 * sysdeps/nios2/sfp-machine.h: New file.
1886 * sysdeps/nios2/sotruss-lib.c: New file.
1887 * sysdeps/nios2/stackguard-macros.h: New file.
1888 * sysdeps/nios2/stackinfo.h: New file.
1889 * sysdeps/nios2/start.S: New file.
1890 * sysdeps/nios2/sysdep.h: New file.
1891 * sysdeps/nios2/tls-macros.h: New file.
1892 * sysdeps/nios2/tst-audit.h: New file.
1893 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1894 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1895 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1896 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1897 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1898 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1899 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1900 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1901 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1902 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1903 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1904 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1905 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1906 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1907 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1908 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1909 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1910 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1911 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1912 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1913 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1914 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1915 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1916 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1917 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1918 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1919 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1920 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1921 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1922 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1923 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1924 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1925 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1926 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1927 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1928 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1929 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1930 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1931 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1932 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1933 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1934 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1935 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1936 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1938 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1941 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1942 (getutent): Use weak_alias in non SHARED case
1943 and default_symbol_version in SHARED case.
1944 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1945 (getutent_r, pututline): Likewise.
1946 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1947 (getutid): Likewise.
1948 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1949 (getutid_r): Likewise.
1950 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1951 (getutline): Likewise.
1952 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1953 (getutline_r): Likewise.
1954 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1955 (updwtmp): Likewise.
1957 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
1960 * sysdeps/s390/s390-32/memcmp.S
1961 (memcmp_g5): Rename to __memcmp_g5.
1962 * sysdeps/s390/s390-32/memcpy.S
1963 (memcpy_g5): Rename to __memcpy_g5.
1964 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1965 (memcpy_mvcle) Rename to __memcpy_mvcle.
1966 * sysdeps/s390/s390-32/memset.S
1967 (memset_g5): Rename to __memset_g5.
1968 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1969 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1970 and use prefixed functions.
1971 * sysdeps/s390/s390-32/multiarch/memcmp.S
1972 (memcmp_z196): Rename to __memcmp_z196.
1973 (memcmp_z10): Rename to __memcmp_z10.
1974 (memcmp): Set alias to __memcmp_g5.
1975 (bcmp): Set alias to __memcmp_g5.
1976 * sysdeps/s390/s390-32/multiarch/memcpy.S
1977 (memcpy_z196): Rename to __memcpy_z196.
1978 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1979 (memcpy_z10): Rename to __memcpy_z10.
1980 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1981 (memcpy): Set alias to __memcpy_g5.
1982 * sysdeps/s390/s390-32/multiarch/memset.S
1983 (memset_z196): Rename to __memset_z196.
1984 Jump to __memset_mvcle instead of memset_mvcle.
1985 (memset_z10): Rename to __memset_z10.
1986 Jump to __memset_mvcle instead of memset_mvcle.
1987 (memset_mvcle) Rename to __memset_mvcle.
1988 (memset): Set alias to __memset_g5.
1989 * sysdeps/s390/s390-64/memcmp.S
1990 (memcmp_z900): Rename to __memcmp_z900.
1991 * sysdeps/s390/s390-64/memcpy.S
1992 (memcpy_z900): Rename to __memcpy_z900.
1993 Jump to __memcpy_mvcle instead of memcpy_mvcle.
1994 (memcpy_mvcle) Rename to __memcpy_mvcle.
1995 * sysdeps/s390/s390-64/memset.S
1996 (memset_z900): Rename to __memset_z900.
1997 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1998 (IFUNC_RESOLVE): Prefix ifunc-resolve function
1999 and use prefixed functions.
2000 * sysdeps/s390/s390-64/multiarch/memcmp.S
2001 (memcmp_z196): Rename to __memcmp_z196.
2002 (memcmp_z10): Rename to __memcmp_z10.
2003 (memcmp): Set alias to __memcmp_z900.
2004 (bcmp): Set alias to __memcmp_z900.
2005 * sysdeps/s390/s390-64/multiarch/memcpy.S
2006 (memcpy_z196): Rename to __memcpy_z196.
2007 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2008 (memcpy_z10): Rename to __memcpy_z10.
2009 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2010 (memcpy): Set alias to __memcpy_z900.
2011 * sysdeps/s390/s390-64/multiarch/memset.S
2012 (memset_z196): Rename to __memset_z196.
2013 Jump to __memset_mvcle instead of memset_mvcle.
2014 (memset_z10): Rename to __memset_z10.
2015 Jump to __memset_mvcle instead of memset_mvcle.
2016 (memset_mvcle) Rename to __memset_mvcle.
2017 (memset): Set alias to __memset_z900.
2019 2015-01-14 Joseph Myers <joseph@codesourcery.com>
2022 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2023 __fesetenv instead of fesetenv.
2025 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2027 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2030 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2032 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2035 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2036 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2037 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2038 strncmp-power8 object.
2039 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2040 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2041 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2044 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2045 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2047 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2048 trailing byte check.
2050 2015-01-13 David S. Miller <davem@davemloft.net>
2052 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2054 2015-01-13 Roland McGrath <roland@hack.frob.com>
2056 * login/logout.c (logout): Use memset rather than bzero.
2057 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2058 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2059 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2060 (_gethtbyaddr): Likewise.
2061 * locale/programs/simple-hash.c (bcopy): Macro removed.
2063 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2065 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2066 Add strcmp-power8 object.
2067 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2068 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2069 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2070 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2071 __strcmp_power8 implementation.
2072 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2075 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2076 Add strncpy-power8 and stpncpy-power8 objects.
2077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2078 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2080 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2081 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2082 __stpncpy_power8 implementation.
2083 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2084 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2085 __strncpy_power8 implementation.
2086 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2087 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2090 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2091 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2092 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2094 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2095 strncat-power8 object.
2096 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2097 __strcat_power8 implementation.
2098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2099 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2100 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2101 optimized strcat for power8.
2103 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2104 strcpy-power8 and stpcpy-power8 objects.
2105 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2106 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2108 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2109 multiarch stpcpy implementation for POWER8.
2110 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2111 multiarch strcpy implementation for POWER8.
2112 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2113 __strcpy_power8 function.
2114 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2116 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2120 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
2123 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2124 weights and rules. Use do_xfrm_cached if data fits in cache,
2125 do_xfrm otherwise. Moved former main loop to...
2126 * (do_xfrm_cached): New function.
2127 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2128 find_idx, find_position and stack_push.
2129 * (find_idx): New function.
2130 * (find_position): Likewise.
2131 * localedata/sort-test.sh: Added test run for do_xfrm.
2132 * localedata/xfrm-test.c (main): Added command line option
2133 -nocache to run the test with strings that are too large for
2136 2015-01-13 Torvald Riegel <triegel@redhat.com>
2138 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2139 variable to lll_futex_wake call, not the value itself.
2141 2015-01-12 Joseph Myers <joseph@codesourcery.com>
2144 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2145 twom64. Adjust value to 0x1p-64L.
2146 (__scalblnl): Only return standard underflowing result for K <=
2147 -64 not K <= -63; adjust exponent for underflowing result by 64
2149 * math/libm-test.inc (scalbn_test_data): Add more tests.
2150 (scalbln_test_data): Likewise.
2153 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2155 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2157 * math/libm-test.inc (scalbn_test_data): Add more tests.
2158 (scalbln_test_data): Likewise.
2160 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2161 Stefani Seibold <stefani@seibold.net>
2163 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2164 (sysdep_routines): Add dl-vdso here, ...
2165 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2166 (sysdep_routines): ... not here.
2167 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2168 fallback when vDSO is not presented.
2169 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2170 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2171 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2172 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2173 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2174 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2175 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2176 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2177 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2178 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2179 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2180 fallback configurable symbol when vDSO is not available.
2181 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2182 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2183 be able to redefine fallback symbol when vDSO is not available.
2184 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2185 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2187 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2190 (TLS_INIT_TP): Add tm_capable initialization.
2191 (TLS_DEFINE_INIT_TP): Likewise.
2192 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2194 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2195 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2197 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2198 transactoion is lock elision is built and TCB tm_capable is set.
2199 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2201 (INTERNAL_SYSCALL_NCS): Likewise.
2202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2203 (INTERNAL_SYSCALL_NCS): Likewise.
2204 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2206 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2208 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2209 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2210 and remove it for 32 bits case.
2211 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2212 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2214 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2215 Disable lock elision with rdlocks if elision is not available.
2217 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2218 (sysdep_routines): Add lock elision objects.
2219 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2220 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2221 [pthread_mutex_t] (__elision): Add field.
2222 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2223 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2224 elision definitions for powerpc.
2225 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2226 implementation of lock elision for powerpc.
2227 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2228 implementation of timed lock elision for powerpc.
2229 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2230 implementation of trylock with lock elision for powerpc.
2231 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2232 implementaion of unlock for lock elision for powerpc.
2233 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2234 automatic enable lock elision for mutexes.
2235 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2236 transaction execution definitions for powerpc.
2237 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2239 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2240 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2241 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2242 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2245 2015-01-09 Roland McGrath <roland@hack.frob.com>
2247 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2248 for #include of <shm-directory.h>.
2250 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2252 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2253 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2255 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
2258 * NEWS: Mention bug fix.
2259 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2260 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2261 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2263 2015-01-09 Torvald Riegel <triegel@redhat.com>
2265 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2267 2015-01-09 Torvald Riegel <triegel@redhat.com>
2269 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2271 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2273 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2274 pointer and cast to uintptr_t.
2276 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2278 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2280 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2282 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2284 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2287 2015-01-08 Roland McGrath <roland@hack.frob.com>
2289 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2290 <nptl/pthreadP.h> instead.
2291 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2293 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2295 [__SIGRTMIN] (init): Function removed.
2296 [__SIGRTMIN] (initialized): Variable removed.
2297 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2298 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2299 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2300 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2301 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2302 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2303 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2304 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2305 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2306 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2307 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2308 * sysdeps/nptl/allocrtsig.c: New file.
2309 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2310 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2311 * sysdeps/generic/testrtsig.h: File removed.
2313 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2314 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2316 * nptl/nptl-init.c (pthread_functions): Conditionalize
2317 .ptr__nptl_setxid initialization on [SIGSETXID].
2319 * sysdeps/nptl/sys/procfs.h: New file.
2320 * nptl_db/Makefile (headers): Add it.
2321 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2323 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2324 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2325 * nptl/pthread_attr_setaffinity.c: Include it.
2326 * nptl/pthread_setattr_default_np.c: Likewise.
2327 * nptl/check-cpuset.h: New file.
2329 2015-01-08 Richard Henderson <rth@redhat.com>
2331 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2332 (CFLAGS-tst-execstack-prog.c): Likewise.
2333 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2335 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
2336 Sandra Loosemore <sandra@codesourcery.com>
2337 Andrew Jenner <andrew@codesourcery.com>
2338 Joseph Myers <joseph@codesourcery.com>
2339 Nathan Sidwell <nathan@codesourcery.com>
2341 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2342 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2343 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2344 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2345 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2346 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2347 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2348 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2349 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2350 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2351 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2352 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2353 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2354 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2355 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2356 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2357 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2359 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2361 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2362 timespec struct member in syscall macro.
2363 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2364 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2365 first timeval struct member in syscall macro.
2366 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2368 2015-01-07 Joseph Myers <joseph@codesourcery.com>
2371 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2372 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2373 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2374 __feupdateenv and define as weak alias of __feupdateenv. Use
2376 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2378 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2379 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
2380 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2381 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2383 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2384 __feupdateenv and define as weak alias of __feupdateenv. Use
2386 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2388 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2389 __feupdateenv and define as weak alias of __feupdateenv. Use
2391 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2393 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2394 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2395 (__feupdateenv): Likewise.
2396 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2397 __feupdateenv and define as weak alias of __feupdateenv. Use
2399 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2400 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2402 * sysdeps/tile/math_private.h (__feupdateenv): New inline
2404 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2406 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2407 __feupdateenv instead of feupdateenv.
2408 (default_libc_feupdateenv_test): Likewise.
2409 (libc_feresetround_ctx): Likewise.
2411 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2413 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2416 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
2418 * posix/regcomp.c (parse_bracket_exp): Initialize type to
2419 COLL_SYM in a couple of places to avoid uninitialized variable
2420 wanings on tilegx gcc 4.8.2.
2422 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2424 * sysdeps/aarch64/strcpy.S: New file.
2425 * sysdeps/aarch64/stpcpy.S: New file.
2428 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
2430 * sysdeps/aarch64/strrchr.S: New file.
2433 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
2436 * stdlib/setenv.c: Fix memory leak when setting large,
2439 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
2442 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2443 and tabs from buffer before parsing fstab entry.
2444 * misc/tst-mntent.c (main): Add test for mount entry with
2445 trailing spaces and tabs.
2447 2015-01-06 Joseph Myers <joseph@codesourcery.com>
2450 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
2451 * math/fesetround.c (fesetround): Rename to __fesetround and
2452 define as weak alias of __fesetround. Use libm_hidden_weak.
2453 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2454 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2455 * sysdeps/arm/fesetround.c (fesetround): Likewise.
2456 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2457 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2458 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2459 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2460 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2461 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2462 __fesetround_inline.
2463 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2464 __fesetround_inline instead of __fesetround.
2465 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2466 __fesetround and define as weak alias of __fesetround. Use
2467 libm_hidden_weak. Call __fesetround_inline instead of
2469 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2470 __fesetround and define as weak alias of __fesetround. Use
2472 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2474 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2475 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2476 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2477 * sysdeps/tile/math_private.h (__fesetround): New inline function.
2478 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2479 __fesetround and define as weak alias of __fesetround. Use
2481 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2482 __fesetround instead of fesetround.
2483 (default_libc_feholdexcept_setround): Likewise.
2484 (libc_feholdsetround_ctx): Likewise.
2485 (libc_feholdsetround_noex_ctx): Likewise.
2488 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2489 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2490 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2491 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2492 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2493 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2494 define as weak alias of __fesetenv. Use libm_hidden_weak.
2495 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2496 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2497 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2498 define as weak alias of __fesetenv. Use libm_hidden_weak.
2499 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2500 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2501 define as weak alias of __fesetenv. Use libm_hidden_weak.
2502 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2504 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2505 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2507 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2508 define as weak alias of __fesetenv. Use libm_hidden_weak.
2509 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2510 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2511 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2512 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2513 and define as weak alias of __fesetenv. Use libm_hidden_weak.
2514 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2515 __fesetenv instead of fesetenv.
2516 (libc_feresetround_noex_ctx): Likewise.
2517 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2518 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2519 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2520 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2521 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2522 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2523 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2524 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2525 (__feupdateenv): Likewise.
2526 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2527 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2528 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2529 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2531 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2534 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2535 addresses have been freed.
2537 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
2539 * resolv/res_init.c (__res_vinit): Improve comments about nserv
2542 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
2544 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2545 Clean up check_pf allocation pattern. addresses
2547 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2550 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2551 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2552 * nptl/pthread_exit.c (__pthread_exit): Likewise.
2553 * nptl/pthread_join.c (pthread_join): Likewise.
2554 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2555 * sysdeps/posix/waitid.c (__waitid): Likewise.
2556 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2557 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2558 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2559 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2560 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2562 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2563 (__libc_pread64): Likewise.
2564 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2565 (__libc_pwrite): Likewise.
2566 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2567 (__libc_pwrite64): Likewsie.
2568 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2569 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2570 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2571 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2572 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2573 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2574 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2578 (__libc_pread64): Likewise.
2579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2582 (__libc_pwrite64): Likewise.
2583 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2584 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2585 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2586 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2587 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2588 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2589 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2590 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2591 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2592 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2593 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2594 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2595 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2596 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2597 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2598 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2601 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2603 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2604 (CFLAGS-test-double.c): Likewise.
2605 (CFLAGS-test-ldouble.c): Likewise.
2606 (CPPFLAGS-test-ifloat.c): Likewise.
2607 (CPPFLAGS-test-idouble.c): Likewise.
2608 (CPPFLAGS-test-ildoubl.c): Likewise.
2609 (CFLAGS-test-test-fenv.c): Remove variable.
2610 (CFLAGS-test-misc.c): Likewise.
2612 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
2615 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2616 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2617 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2618 CLOCKS_PER_SEC == 1000000.
2619 * time/clocktest.c (main): Replace %ld with %jd and cast to
2622 2015-01-05 Roland McGrath <roland@hack.frob.com>
2624 * sysdeps/generic/unwind-resume.h: New file.
2625 * sysdeps/gnu/unwind-resume.c: Include it.
2626 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2627 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2629 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2630 global rather than static.
2631 (_Unwind_Resume): Update user.
2632 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2633 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
2634 rather than static. Add __attribute__ ((cold)).
2635 (_Unwind_Resume, __gcc_personality_v0): Update callers.
2636 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2637 * sysdeps/arm/arm-unwind-resume.S: New file.
2638 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2639 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2640 * sysdeps/arm/Makefile [$(subdir) = csu]
2641 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2642 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2643 Add rt-arm-unwind-resume.
2645 (libpthread-sysdep_routines, libpthread-shared-only-routines):
2646 Add pt-arm-unwind-resume.
2647 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2648 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2650 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2653 * include/fenv.h (__feholdexcept): Declare. Use
2655 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2656 define as weak alias of __feholdexcept. Use libm_hidden_weak.
2657 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2658 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2659 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2660 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2661 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2662 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2663 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2664 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2665 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2666 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2667 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2668 (feholdexcept): Likewise.
2669 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2670 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2671 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2672 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2673 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2674 __feholdexcept instead of feholdexcept.
2675 (default_libc_feholdexcept_setround): Likewise.
2677 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2679 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2680 to avoid using stl/str to align destination.
2682 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2684 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2686 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2689 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2690 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2691 Define as weak alias not strong alias.
2693 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
2695 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2696 bltzal with addiupc.
2697 (RTLD_START): Ditto.
2699 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
2701 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2702 for __vdso_* functions in declarations.
2703 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2705 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2706 INTERNAL_VSYSCALL): Use struct return types to check for error.
2708 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2709 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2710 function with cast from llround().
2711 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2712 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2715 2015-01-05 Joseph Myers <joseph@codesourcery.com>
2718 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2719 Define as weak alias not strong alias.
2722 * ctype/ctype-c99.c: New file. isblank implementation moved from
2724 * ctype/ctype-extn.c: ... here.
2725 (__isblank_l): Move to ...
2726 * ctype/ctype-c99_l.c: ... here. New file.
2727 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2728 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2730 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2731 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2732 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2733 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2734 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2737 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2738 (posix_fadvise64): Define as weak alias not strong alias.
2739 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2740 (posix_fallocate64): Likewise.
2741 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2743 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2744 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2745 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2746 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2747 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2749 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
2752 * NEWS: Mention bug fix.
2753 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2754 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2755 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2756 (HOST_STACK_END_ADDR): Likewise.
2758 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2761 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
2762 * math/fegetround.c (fegetround): Rename to __fegetround and
2763 define as weak alias of __fegetround. Use libm_hidden_weak.
2764 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2765 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2766 * sysdeps/arm/fegetround.c (fegetround): Likewise.
2767 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2768 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2769 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2770 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2771 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2772 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2773 Undefine after rather than before function definition; use
2774 parentheses around function name in definition.
2775 (__fegetround): Also undefine macro after function definition.
2776 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2777 __fegetround and define as weak alias of __fegetround. Use
2778 libm_hidden_weak. Do not undefine as macro.
2779 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2781 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2782 __fegetround and define as weak alias of __fegetround. Use
2784 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2785 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2786 * sysdeps/tile/math_private.h (__fegetround): New inline function.
2787 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2788 __fegetround and define as weak alias of __fegetround. Use
2790 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2791 __fegetround instead of fegetround.
2794 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2795 Condition macro definition on [__USE_MISC].
2798 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2799 (struct sigaction): Change type of sa_flags field to int.
2802 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2803 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2806 * nptl/version.c (banner): Use single year in copyright notice.
2808 * NEWS: Update copyright dates.
2809 * catgets/gencat.c (print_version): Likewise.
2810 * csu/version.c (banner): Likewise.
2811 * debug/catchsegv.sh: Likewise.
2812 * debug/pcprofiledump.c (print_version): Likewise.
2813 * debug/xtrace.sh (do_version): Likewise.
2814 * elf/ldconfig.c (print_version): Likewise.
2815 * elf/ldd.bash.in: Likewise.
2816 * elf/pldd.c (print_version): Likewise.
2817 * elf/sotruss.sh: Likewise.
2818 * elf/sprof.c (print_version): Likewise.
2819 * iconv/iconv_prog.c (print_version): Likewise.
2820 * iconv/iconvconfig.c (print_version): Likewise.
2821 * locale/programs/locale.c (print_version): Likewise.
2822 * locale/programs/localedef.c (print_version): Likewise.
2823 * login/programs/pt_chown.c (print_version): Likewise.
2824 * malloc/memusage.sh (do_version): Likewise.
2825 * malloc/memusagestat.c (print_version): Likewise.
2826 * malloc/mtrace.pl: Likewise.
2827 * manual/libc.texinfo: Likewise.
2828 * nptl/version.c (banner): Likewise.
2829 * nscd/nscd.c (print_version): Likewise.
2830 * nss/getent.c (print_version): Likewise.
2831 * nss/makedb.c (print_version): Likewise.
2832 * posix/getconf.c (main): Likewise.
2833 * scripts/test-installation.pl: Likewise.
2834 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2836 2015-01-02 Will Newton <will.newton@linaro.org>
2838 * sysdeps/arm/armv7/configure: Removed.
2839 * sysdeps/arm/armv7/configure.ac: Likewise.
2841 2015-01-02 Joseph Myers <joseph@codesourcery.com>
2843 * All files with FSF copyright notices: Update copyright dates
2844 using scripts/update-copyrights.
2845 * intl/plural.c: Regenerated.
2846 * locale/programs/charmap-kw.h: Likewise.
2847 * locale/programs/locfile-kw.h: Likewise.
2849 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2851 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2853 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2856 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2857 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2858 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2859 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2860 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2861 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2862 define as weak alias of __fegetenv. Use libm_hidden_weak.
2863 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2864 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2865 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2866 define as weak alias of __fegetenv. Use libm_hidden_weak.
2867 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2868 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2869 define as weak alias of __fegetenv. Use libm_hidden_weak.
2870 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2872 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2873 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2875 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2876 define as weak alias of __fegetenv. Use libm_hidden_weak.
2877 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2878 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2879 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2880 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2881 and define as weak alias of __fegetenv. Use libm_hidden_weak.
2882 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2883 __fegetenv instead of fegetenv.
2884 (libc_feholdsetround_noex_ctx): Likewise.
2886 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
2888 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2889 (Elf_MIPS_ABIFlags_v0): New structure.
2890 (EF_MIPS_FP64): Define.
2891 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2892 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2893 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2894 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2895 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2896 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2897 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2898 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2899 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2900 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2901 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2902 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2903 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2904 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2905 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2906 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2907 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2908 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2909 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2910 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2911 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2912 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2914 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2916 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2917 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2918 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2919 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2920 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2921 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2922 * sysdeps/mips/tst-abi-interlink.c: Likewise.
2923 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2924 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2925 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2926 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2927 record the current FP ABI extension.
2928 (mips-mode-switch): Define to show if kernel headers support mode
2930 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2931 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2932 supported SYSV ABI version to 3.
2933 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2936 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2937 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2939 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2941 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2943 2014-12-31 Joseph Myers <joseph@codesourcery.com>
2945 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2946 __fegetround and redefine to call __fegetround. Remove condition
2947 on [!__NO_MATH_INLINES].
2948 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2950 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2951 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2953 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2954 instead of <fenv_libc.h>.
2955 (__llrintl): Call fegetround instead of __fegetround.
2956 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2957 instead of <fenv_libc.h>.
2958 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2959 (__lrintl): Call fegetround instead of __fegetround.
2960 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2961 instead of <fenv_libc.h>.
2962 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2963 (__rintl): Call fegetround instead of __fegetround.
2965 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2967 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2970 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
2973 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2974 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2975 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2977 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
2979 * sysdeps/i386/tls-macros.h: Include <features.h>.
2980 (TLS_LE): Use non-PIC version for GCC >= 5.0.
2984 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2985 define for GCC >= 5.0.
2987 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
2989 * math/test-fenv.c (test_single_exception, set_single_exc,
2990 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2991 feexcp_mask_test, feenable_test, fe_single_test): Add
2992 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2993 case where they are not used.
2994 * math/libm-test.inc: Likewise.
2995 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2996 unused in the absence of FP rounding/exception support.
2997 * stdio-common/tst-printf-round.c: Likewise.
2998 * stdlib/tst-strtod-round.c: Likewise.
2999 * stdlib/tst-strtod-underflow.c: Likewise.
3001 2014-12-30 Joseph Myers <joseph@codesourcery.com>
3004 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3005 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3006 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3007 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3009 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3010 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3011 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3013 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3014 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3016 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3018 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3019 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3020 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3022 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3024 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3025 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3026 (__feraiseexcept): Likewise.
3027 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3028 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3030 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3031 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3033 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3034 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3035 Use libm_hidden_def.
3036 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3038 (feraiseexcept): Define as weak not strong alias. Use
3040 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3041 New inline function. Factored out of ...
3042 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3043 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3044 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3046 * math/w_acos.c (__acos): Likewise.
3047 * math/w_asin.c (__asin): Likewise.
3048 * math/w_ilogb.c (__ilogb): Likewise.
3049 * math/w_j0.c (y0): Likewise.
3050 * math/w_j1.c (y1): Likewise.
3051 * math/w_jn.c (yn): Likewise.
3052 * math/w_log.c (__log): Likewise.
3053 * math/w_log10.c (__log10): Likewise.
3054 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3055 * sysdeps/aarch64/fpu/math_private.h
3056 (libc_feupdateenv_test_aarch64): Likewise.
3057 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3058 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3059 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3060 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3061 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3062 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3063 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3064 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3065 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3066 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3068 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3071 * io/test-utime.c (main): Replace %ld with %jd and cast to
3073 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3074 * nptl/tst-mutex5.c: Include <stdint.h>.
3075 (do_test): Replace %ld with %jd and cast to intmax_t.
3076 * posix/tst-regex.c (run_test): Likewise.
3077 (run_test_backwards): Likewise.
3078 * rt/tst-clock.c: Include <stdint.h>.
3079 (clock_test): Replace %ld with %jd and cast to intmax_t.
3080 * rt/tst-cpuclock1.c: Include <stdint.h>.
3081 (do_test): Replace %lu with %ju and cast to uintmax_t.
3082 * rt/tst-cpuclock2.c: Include <stdint.h>.
3083 (do_test): Replace %lu with %ju and cast to uintmax_t.
3084 * rt/tst-mqueue1.c: Include <stdint.h>.
3085 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3086 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3088 * rt/tst-mqueue4.c (do_test): Likewise.
3089 * rt/tst-timer4.c: Include <stdint.h>.
3090 (check_ts): Replace %ld with %jd and cast to intmax_t.
3091 (do_test): Likewise.
3092 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3093 and cast to intmax_t.
3094 * sysdeps/pthread/tst-timer.c (main): Likewise.
3095 * time/clocktest.c (main): Likewise.
3096 * time/tst-posixtz.c (do_test): Likewise.
3097 * timezone/tst-timezone.c (main): Likewise.
3099 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3100 H.J. Lu <hongjiu.lu@intel.com>
3102 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3103 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3104 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3105 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3106 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3107 version if bit_Fast_Unaligned_Load is set.
3108 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3109 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3110 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3111 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3112 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3113 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3115 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3116 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3117 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3119 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3120 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3121 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3122 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3124 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3126 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3127 instead of #if to avoid a Wundef warning.
3128 * stdlib/tst-limits.c (do_test): Likewise.
3130 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3131 parallel other exception macros.
3132 (fegetenv): Convert from macro to extern inline so that it applies
3133 retroactively to inline functions already seen by the compiler.
3134 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3136 * posix/Makefile (before-compile): Use $(objpfx) for
3137 posix-conf-vars-def.h.
3139 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3141 * posix/getconf.c (main): Use size_t for type of I.
3142 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3145 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3146 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3147 * posix/posix-envs.def: Likewise.
3148 * sysdeps/posix/sysconf.c: Likewise.
3149 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3150 (specs): Remove array.
3151 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3154 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3155 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3156 (__sysconf): Use CONF_IS_* macros.
3158 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3159 ($(objpfx)posix-conf-vars-def.h): New target.
3160 * posix/posix-conf-vars.list: New file.
3161 * posix/posix-conf-vars.h: New file.
3162 * posix/confstr.c: Include posix-conf-vars.h.
3163 (confstr): Use CONF_IS_* macros.
3164 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3166 * scripts/gen-posix-conf-vars.awk: New file.
3168 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3170 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3171 fegetround): Add no-op macros to avoid linknamespace issues.
3173 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3174 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3176 * sysdeps/unix/sysv/linux/tile/sysdep.h
3177 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3178 assembly-specific section to avoid a redefinition warning.
3180 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3181 long before casting to pointer to avoid a cast warning.
3183 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3185 * sysdeps/tile/tilegx/Implies: New file.
3187 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
3189 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3191 2014-12-23 Florian Weimer <fweimer@redhat.com>
3193 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3195 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3197 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3199 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3200 <kernel-features.h>.
3201 (__utimes) [__NR_utimes]: Make code unconditional.
3202 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3203 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3204 (__ASSUME_UTIMES): Do not undefine.
3205 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3206 (__ASSUME_UTIMES): Likewise.
3207 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3208 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3209 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3210 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3212 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3214 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3216 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3219 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3220 alias to weak alias for j0l, y0l.
3221 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3222 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3225 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3228 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
3230 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3231 to zero if not already defined.
3233 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3236 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3237 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3238 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3239 (char *) casts added.
3240 * sysdeps/ieee754/k_standardf.c: New file.
3241 * sysdeps/ieee754/k_standardl.c: Likewise.
3242 * math/Makefile (libm-support): Remove k_standard.
3243 (libm-calls): Add k_standard.
3245 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3247 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3248 Optimize to avoid an unnecessary FPCR read.
3250 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3252 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3253 Optimize to reduce FPCR/FPSR accesses.
3255 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3257 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3258 Call libc_fetestexcept_aarch64.
3260 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3262 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3263 Call libc_fesetround_aarch64.
3265 2014-12-22 Joseph Myers <joseph@codesourcery.com>
3268 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3269 (__bind): Do not define as weak alias.
3270 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3272 (__getsockname): Do not define as weak alias.
3274 2014-12-22 Will Newton <will.newton@linaro.org>
3276 * manual/install.texi: Document that we require bison 2.7
3278 * INSTALL: Regenerate.
3279 * configure.ac: Use AC_CHECK_PROG_VER instead of
3280 AC_PATH_PROG when checking for bison and check for
3281 version 2.7 or above.
3282 * configure: Regenerate.
3284 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
3287 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3288 * sysdeps/tile/ffsll.c (ffsll): To here.
3290 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3292 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3294 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3296 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3298 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3299 hidden ___tls_get_addr.
3300 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3301 hidden __tls_get_addr.
3302 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3303 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3306 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
3308 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3311 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
3313 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3314 from "call _dl_init@PLT".
3315 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3317 2014-12-21 Anders Kaseorg <andersk@mit.edu>
3319 * manual/search.texi: (Array Sort Function): Clarify stable sorting
3322 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
3324 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3326 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3329 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3332 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3334 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3336 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3337 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3338 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3339 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3340 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3342 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
3344 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3345 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3346 (PTR_SUBU): Use subu for mips32r6/mips64r6.
3347 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3348 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3350 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3352 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
3354 * string/strncat.c (STRNCAT): Simplify implementation.
3356 2014-12-19 David S. Miller <davem@davemloft.net>
3358 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3359 access the quad as both a long double and as a series of 4 words.
3361 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3362 link_map->l_info array access.
3364 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
3366 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3368 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3369 * math/atest-exp2.c (TIMEOUT): Likewise.
3370 * math/atest-sincos.c (TIMEOUT): Likewise.
3372 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3374 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3375 -Wno-error with -fno-builtin-lround.
3377 2014-12-19 Torvald Riegel <triegel@redhat.com>
3379 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3380 Contains futex constants and functions moved over from ...
3381 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
3382 <lowlevellock-futex.h>.
3383 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3384 (lll_timedwait_tid): Add comments and parentheses around macro
3387 2014-12-19 Torvald Riegel <triegel@redhat.com>
3389 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3390 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
3391 (__lll_private_flag): Remove.
3392 (lll_futex_wait): Likewise.
3393 (lll_futex_timed_wait): Likewise.
3394 (lll_futex_wake): Likewise.
3395 (lll_futex_requeue): Likewise.
3396 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3397 (__lll_timedwait_tid): Spell out argument names.
3398 (lll_timedwait_tid): Add comments and parentheses around macro
3400 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3401 LLL_SHARED and LLL_PRIVATE usable from assembly code.
3403 2014-12-19 Torvald Riegel <triegel@redhat.com>
3405 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3406 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3407 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3408 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3409 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3410 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3411 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3412 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3413 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3414 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3415 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3416 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3417 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3418 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3419 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3420 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3421 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3422 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3423 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3425 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3427 * sysdeps/x86_64/x32/Makefile: New file.
3429 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
3431 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3432 1L with (mp_limb_t) 1.
3434 2014-12-17 Roland McGrath <roland@hack.frob.com>
3436 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3437 * nptl/libc_pthread_init.c: ... here.
3438 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3439 * nptl/register-atfork.c: ... here.
3441 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3442 Use pthread_sigmask rather than INTERNAL_SYSCALL.
3443 Use assert_perror to check its return value.
3444 (__gai_create_helper_thread): Likewise.
3446 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3448 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3450 2014-12-17 Joseph Myers <joseph@codesourcery.com>
3453 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3455 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3457 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3459 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3461 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3462 (profil_counter): Likewise.
3463 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3464 (profil_counter): Likewise.
3465 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3467 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3469 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3470 (profil_counter): Likewise.
3471 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3473 [!__profil_counter] (profil_counter): Define as weak alias of
3475 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3476 (profil_counter): Rename to __profil_counter.
3477 [!__profil_counter] (profil_counter): Define as weak alias of
3479 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3480 (profil_counter): Rename to __profil_counter.
3481 [!__profil_counter] (profil_counter): Define as weak alias of
3483 * sysdeps/posix/profil.c: Update comment referring to
3485 (__profil): Use __profil_counter instead of profil_counter.
3486 * sysdeps/posix/sprofil.c (profil_counter): Rename to
3487 __profil_counter. Use __profil_counter_ushort and
3488 __profil_counter_uint in definitions.
3489 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3490 instead of profil_counter_uint and profil_counter_ushort.
3493 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3494 define as weak alias of __inet_makeaddr.
3495 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3496 as weak alias of __inet_addr.
3497 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3498 as weak alias of __inet_pton. Use libc_hidden_weak.
3499 * include/arpa/inet.h (__inet_pton): Declare. Use
3501 (inet_makeaddr): Don't use libc_hidden_proto.
3502 (__inet_makeaddr): Declare. Use libc_hidden_proto.
3503 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3504 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
3505 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3507 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3508 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3510 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
3512 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3514 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3516 * stdio-common/bug-vfprintf-nargs.c (do_test):
3517 Cast value to intptr_t to avoid format warning
3518 for usage with PRIdPTR printing macro.
3520 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3522 * libio/tst-widetext.c (do_test):
3523 Use format type %td instead of %Zd for ptrdiff_t
3524 in order to avoid format warning.
3526 2014-12-17 Andreas Schwab <schwab@suse.de>
3528 * nscd/mem.c (gc): Add size_t cast to match printf format.
3530 2014-12-16 Roland McGrath <roland@hack.frob.com>
3532 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3533 (init): Apply PTR_MANGLE to pointers before storing them.
3534 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3537 2014-12-16 Joseph Myers <joseph@codesourcery.com>
3540 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3541 define as weak alias of __memrchr.
3542 (__memrchr): Do not define as strong alias of memrchr.
3543 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3545 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3546 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3547 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3550 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3551 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
3552 (if_indextoname): Rename to __if_indextoname and define as weak
3553 alias of __if_indextoname. Use libc_hidden_weak.
3554 (if_freenameindex): Rename to __if_freenameindex and define as
3555 weak alias of __if_freenameindex.
3556 (if_nameindex): Rename to __if_nameindex and define as weak alias
3558 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3559 __if_nametoindex and define as weak alias of __if_nametoindex.
3560 Use libc_hidden_weak.
3561 (if_freenameindex): Rename to __if_freenameindex and define as
3562 weak alias of __if_freenameindex.
3563 (if_nameindex): Rename to __if_nameindex and define as weak alias
3565 (if_indextoname): Rename to __if_indextoname and define as weak
3566 alias of __if_indextoname. Use libc_hidden_weak.
3567 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3568 __if_nametoindex and define as weak alias of __if_nametoindex.
3569 Use libc_hidden_weak.
3570 (if_freenameindex): Rename to __if_freenameindex and define as
3571 weak alias of __if_freenameindex. Use libc_hidden_weak.
3572 (if_nameindex_netlink): Use __if_freenameindex instead of
3574 (if_nameindex): Rename to __if_nameindex and define as weak alias
3575 of __if_nameindex. Use libc_hidden_weak.
3576 (if_indextoname): Rename to __if_indextoname and define as weak
3577 alias of __if_indextoname. Use libc_hidden_weak.
3578 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3580 [!_ISOMAC] (__if_freenameindex): Likewise.
3581 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3583 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3585 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3586 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3587 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3588 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3589 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3590 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3591 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3593 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3595 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3596 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3598 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3600 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3601 subscript above bounds'
3603 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3606 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
3608 * libio/tst-fopenloc.c: Use test-skeleton.c.
3610 * stdlib/tst-bsearch.c: Use test-skeleton.c.
3611 (entry): Rename to ITEM.
3612 (do_test, comp): Adjust.
3614 * stdio-common/tst-fseek.c: Use test-skeleton.c.
3616 2014-12-16 Torvald Riegel <triegel@redhat.com>
3618 * string/tester.c: Include <libc-internal.h>.
3619 (test_memset): Ignore -Wmemset-transposed-args.
3621 2014-12-16 Torvald Riegel <triegel@redhat.com>
3623 * misc/tst-mntent2.c (do_test): Fix warning.
3625 2014-12-16 Torvald Riegel <triegel@redhat.com>
3627 * elf/tst-unique4lib.cc(a): Mark as used.
3629 2014-12-16 Florian Weimer <fweimer@redhat.com>
3632 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3635 2014-12-16 Allan McRae <allan@archlinux.org>
3637 * stdio-common/Makefile (tests): Re-add bug26.
3639 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
3642 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3645 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
3647 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3648 (__lll_lock_wait): Likewise.
3649 (__lll_timedlock_wait): Likewise.
3650 (__lll_timedwait_tid): Likewise.
3651 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3652 (__lll_robust_timedlock_wait): Likewise.
3653 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3654 (lll_cond_trylock): Likewise.
3655 (__lll_lock): Likewise.
3656 (__lll_robust_lock): Likewise.
3657 (__lll_cond_lock): Likewise.
3658 (lll_robust_cond_lock): Likewise.
3659 (__lll_timedlock): Likewise.
3660 (__lll_robust_timedlock): Likewise.
3661 (__lll_unlock): Likewise.
3662 (__lll_robust_unlock): Likewise.
3663 (lll_wait_tid): Likewise.
3664 (lll_timedwait_tid): Likewise.
3666 2014-12-15 Torvald Riegel <triegel@redhat.com>
3668 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3670 2014-12-15 Torvald Riegel <triegel@redhat.com>
3672 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3674 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3676 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3677 * stdio-common/tst-sprintf.c: Likewise.
3679 2014-12-15 Torvald Riegel <triegel@redhat.com>
3681 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3683 2014-12-15 Jeff Law <law@redhat.com>
3686 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3687 on the heap. (CVE-2012-3406)
3688 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3689 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
3690 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3692 2014-12-15 Will Newton <will.newton@linaro.org>
3694 * manual/install.texi: Bump required version of texinfo
3696 * INSTALL: Regenerated.
3697 * configure.ac: Check for makeinfo version 4.7 and above.
3698 * configure: Regenerated.
3700 2014-12-12 Roland McGrath <roland@hack.frob.com>
3702 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3703 PREFIX, string constant to insert between directory and name.
3704 * sysdeps/posix/shm_open.c: Update caller.
3705 * sysdeps/posix/shm_unlink.c: Likewise.
3706 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3707 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3708 (SEM_SHM_PREFIX): New macro.
3709 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3710 [$(have-thread-library) = no].
3711 * nptl/Makefile (libpthread-routines): Add shm-directory.
3712 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3713 * sysdeps/nptl/shm-directory.h: New file.
3714 * sysdeps/posix/shm-directory.c
3715 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3716 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3717 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3719 (__where_is_shmfs): Function removed.
3720 (mountpoint, defaultmount, defaultdir, __namedsem_once):
3722 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3724 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
3726 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3727 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3728 unconditional for use inside libpthread.
3729 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3731 2014-12-12 Roland McGrath <roland@hack.frob.com>
3733 * nptl/pthread_getaffinity.c: New file.
3734 * nptl/pthread_setaffinity.c: New file.
3735 * nptl/pthread_getname.c: New file.
3736 * nptl/pthread_setname.c: New file.
3738 * nptl/pthread_create.c (START_THREAD_DEFN)
3739 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3741 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3742 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3744 * resolv/res_send.c (send_vc): Disable warning resplen may
3745 be used uninitialized.
3747 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
3750 (ATTR_NULL): New define checks ATTR against NULL.
3751 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3752 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3754 2014-12-11 James Lemke <jwlemke@codesourcery.com>
3758 (mem2mem_check): Revert my previous change.
3759 (malloc_check_get_size): Revert my previous change.
3760 (mem2chunk_check): Revert my previous change.
3762 2014-12-11 Roland McGrath <roland@hack.frob.com>
3764 * sysdeps/posix/shm-directory.c: New file.
3765 * sysdeps/posix/shm-directory.h: New file.
3766 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3767 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3768 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
3769 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3770 Transmute EPERM to EACCES.
3771 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3773 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
3774 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3776 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3778 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3779 pointer and cast to uintptr_t.
3780 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3781 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3782 Add cast to avoid warning.
3783 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3785 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3787 * nptl/semaphore.h: Move to ...
3788 * sysdeps/pthread/semaphore.h: ... here.
3789 * Makefile (installed-headers): Change nptl/semaphore.h to
3790 sysdeps/pthread/semaphore.h.
3792 2014-12-11 Roland McGrath <roland@hack.frob.com>
3794 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3795 generated error format strings.
3797 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3798 -Wformat-extra-args warnings for scanf formats.
3799 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3800 test of zero-length format (duh).
3801 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3802 corner-case scanf format test.
3803 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3804 generated fprintf format string.
3805 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3806 corner-case sprintf format tests.
3807 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3808 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3809 -Wformat-extra-args warnings throughout.
3810 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3811 (CFLAGS-scanf4.c): Likewise.
3812 (CFLAGS-scanf7.c): Likewise.
3813 (CFLAGS-tst-sprintf.c): Likewise.
3814 (CFLAGS-tst-printf.c): Likewise.
3815 (CFLAGS-tst-printfsz.c): Likewise.
3817 2014-12-11 Joseph Myers <joseph@codesourcery.com>
3819 * include/cpio.h: New file.
3820 * include/fmtmsg.h: Likewise.
3822 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
3823 corresponding format argument to size_t.
3824 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
3826 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
3827 corresponding format argument to size_t.
3828 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
3830 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
3831 corresponding format argument to size_t.
3832 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3833 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3834 (CFLAGS-tst-mbswcs2.c): Likewise.
3835 (CFLAGS-tst-mbswcs3.c): Likewise.
3836 (CFLAGS-tst-mbswcs4.c): Likewise.
3837 (CFLAGS-tst-mbswcs5.c): Likewise.
3838 (CFLAGS-tst-trans.c): Likewise
3840 2014-12-11 Roland McGrath <roland@hack.frob.com>
3842 * posix/regexbug1.c (main): Use "%s" format with regerror results,
3843 rather than assuming they won't contain any '%'s.
3845 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
3847 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3848 inhibit_loop_to_libcall to avoid recursive calls.
3849 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3850 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3852 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
3854 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3857 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3859 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3860 integer value instead of boolean.
3862 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
3864 * malloc/malloc.c: Fix powerof2 check.
3866 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3868 * locale/programs/locfile.h (maybe_swap_uint32):
3869 Remove inline and add unused attribute.
3871 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3873 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3874 Truncating assembler expression to a .long expression.
3876 2014-12-11 Andreas Schwab <schwab@suse.de>
3878 * elf/rtld.c (struct map_args): Constify str member.
3879 (do_preload): Constify fname argument.
3881 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3883 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3884 constants definition.
3886 2014-12-11 Andreas Schwab <schwab@suse.de>
3889 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3890 FORCE_ELISION instead of DO_ELISION.
3891 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3893 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3896 * iconvdata/gconv-modules: Remove duplicate entry.
3898 2014-12-11 Will Newton <will.newton@linaro.org>
3900 Merge gettext 0.19.3 into intl/.
3902 This involves a number of cosmetic changes to comments
3903 and ANSI function definitions and prototypes throughout
3904 all the files. The gettext copyright header is used but
3905 with the date ranges taken from the glibc copy.
3907 * NEWS: Add gettext merge to 2.21.
3908 * intl/bindtextdom.c: Switch to gettext copyright.
3909 Use ANSI definitions and prototypes.
3910 Use gl_* locking primitives rather than __libc_* ones.
3911 Use __builtin_expect rather than __glibc_likely/unlikely.
3912 * intl/dcgettext.c: Switch to gettext copyright.
3913 Use ANSI definitions and prototypes.
3914 * intl/dcigettext.c: Switch to gettext copyright.
3915 Use ANSI definitions and prototypes.
3916 (INTDIV0_RAISES_SIGFPE): New define.
3917 Use gl_* locking primitives rather than __libc_* ones.
3918 Include eval-plural.h instead of plural-eval.c.
3919 Use __builtin_expect rather than __glibc_likely/unlikely.
3920 * intl/dcngettext.c: Switch to gettext copyright.
3921 Use ANSI definitions and prototypes.
3922 * intl/dgettext.c: Likewise.
3923 * intl/dngettext.c: Likewise.
3924 * intl/plural-eval.c: Renamed to...
3925 * intl/eval-plural.h: ...this.
3926 * intl/explodename.c: Switch to gettext copyright.
3927 Use ANSI definitions and prototypes.
3928 (_nl_explode_name): Use strchr instead of __rawmemchr.
3929 * intl/finddomain.c: Switch to gettext copyright.
3930 Use ANSI definitions and prototypes.
3931 Use gl_* locking primitives rather than __libc_* ones.
3932 (_nl_find_domain): Use malloc rather than alloca for
3933 allocation of temporary locale name.
3934 * intl/gettext.c: Switch to gettext copyright.
3935 Use ANSI definitions and prototypes.
3936 * intl/gettextP.h: Switch to gettext copyright.
3937 Use ANSI definitions and prototypes.
3938 Use gl_* locking primitives rather than __libc_* ones.
3939 * intl/gmo.h: Switch to gettext copyright.
3940 (struct sysdep_string): Move struct segment_pair outside of
3942 * intl/hash-string.c: Use ANSI definitions and prototypes.
3943 * intl/hash-string.h: Switch to gettext copyright.
3944 Use ANSI definitions and prototypes.
3945 * intl/l10nflist.c: Switch to gettext copyright.
3946 Use ANSI definitions and prototypes.
3947 (_nl_normalize_codeset): Avoid integer overflow.
3948 * intl/loadinfo.h: Switch to gettext copyright.
3949 Use ANSI definitions and prototypes.
3950 (LIBINTL_DLL_EXPORTED): New define.
3951 (PATH_SEPARATOR): New define.
3952 * intl/loadmsgcat.c: Switch to gettext copyright.
3953 * intl/localealias.c: Switch to gettext copyright.
3954 Use ANSI definitions and prototypes.
3955 (_nl_expand_alias): Use PATH_SEPARATOR.
3956 * intl/ngettext.c: Switch to gettext copyright.
3957 Use ANSI definitions and prototypes.
3958 * intl/plural-exp.c: Likewise.
3959 * intl/plural-exp.h: Switch to gettext copyright.
3960 Use ANSI definitions and prototypes.
3961 (struct expression): Move definition of enum operator outside
3962 of struct definition.
3963 * intl/plural.c: Regenerate.
3964 * intl/plural.y: Switch to gettext copyright.
3965 Use ANSI definitions and prototypes.
3967 * intl/textdomain.c: Switch to gettext copyright.
3968 Use ANSI definitions and prototypes.
3969 Use gl_* locking primitives rather than __libc_* ones.
3971 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
3973 * debug/warning-nop.c: Add used atrribute.
3975 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3977 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3979 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3980 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3981 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3983 2014-12-10 Joseph Myers <joseph@codesourcery.com>
3984 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3987 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3988 Undefine after defining function. Define as weak alias of
3989 __wcschr. Use libc_hidden_weak.
3990 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
3991 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3992 (libc_hidden_def): Also define __GI___wcschr alias.
3993 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3994 __wcschr and define as weak alias of __wcschr.
3995 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3997 [!WCSCHR] (DEFAULT_WCSCHR): Define.
3998 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3999 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4000 libc_hidden_weak. Do not use libc_hidden_def.
4001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4002 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4003 __GI___wcschr alias.
4004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4005 [IS_IN (libc)] (wcschr): Define as macro expanding to
4007 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4008 [IS_IN (libc)] (__wcschr_power6): Likewise.
4009 [IS_IN (libc)] (__wcschr_power7): Likewise.
4010 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4012 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4014 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4015 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4016 __wcschr and define as weak alias of __wcschr. Use
4017 libc_hidden_builtin_def.
4018 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4019 as weak alias of __wcschr. Use libc_hidden_weak.
4020 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4022 * time/era.c (_nl_init_era_entries): Likewise.
4023 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4025 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4026 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4028 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4030 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4031 format for long int variable.
4033 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4036 * manual/search.texi: (Array Sort Function): Remove claim how to make
4039 2014-12-10 Andreas Schwab <schwab@suse.de>
4042 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4043 user-controlled locks.
4045 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
4047 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4050 2014-12-10 Joseph Myers <joseph@codesourcery.com>
4052 * configure.ac (--disable-werror): New configure option.
4053 (enable_werror): New AC_SUBST.
4054 * configure: Regenerated.
4055 * config.make.in (enable-werror): New variable.
4056 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4058 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4059 * manual/install.texi (Configuring and compiling): Document
4061 * INSTALL: Regenerated.
4062 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4063 (CFLAGS-tst-chk2.c): Likewise.
4064 (CFLAGS-tst-chk3.c): Likewise.
4065 (CFLAGS-tst-chk4.cc): Likewise.
4066 (CFLAGS-tst-chk5.cc): Likewise.
4067 (CFLAGS-tst-chk6.cc): Likewise.
4068 (CFLAGS-tst-lfschk1.c): Likewise.
4069 (CFLAGS-tst-lfschk2.c): Likewise.
4070 (CFLAGS-tst-lfschk3.c): Likewise.
4071 (CFLAGS-tst-lfschk4.cc): Likewise.
4072 (CFLAGS-tst-lfschk5.cc): Likewise.
4073 (CFLAGS-tst-lfschk6.cc): Likewise.
4075 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4076 (main): Disable -Wdeprecated-declarations around calls to
4077 register_printf_function.
4079 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4080 (do_test): Disable -Wdiv-by-zero around some calls to
4081 fwrite_unlocked and fread_unlocked.
4083 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4084 (DIAG_POP_NEEDS_COMMENT): Likewise.
4085 (_DIAG_STR1): Likewise.
4086 (_DIAG_STR): Likewise.
4087 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4088 * stdio-common/bug21.c: Include <libc-internal.h>.
4089 (do_test): Disable -Wformat around call to sscanf.
4090 * stdio-common/scanf14.c: Include <libc-internal.h>.
4091 (main): Disable -Wformat around some calls to scanf functions.
4093 2014-12-09 Torvald Riegel <triegel@redhat.com>
4095 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4097 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4099 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4100 stack variable alignment.
4102 2014-12-06 Joseph Myers <joseph@codesourcery.com>
4105 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4106 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4107 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4108 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4109 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4110 __getrlimit instead of getrlimit.
4111 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4112 __gettimeofday instead of gettimeofday.
4113 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4115 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4117 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4118 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4120 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4121 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4123 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4125 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4126 for wide-character tests.
4128 2014-12-04 Roland McGrath <roland@hack.frob.com>
4130 * io/openat64.c: #include <libc-internal.h>
4131 (__openat64): Prototypify. Use ignore_value on MODE.
4132 * io/openat.c: Likewise.
4133 * misc/reboot.c: #include <libc-internal.h>
4134 (reboot): Prototypify. Use ignore_value on HOWTO.
4135 * misc/ptrace.c: #include <libc-internal.h>
4136 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4138 2014-12-04 Joseph Myers <joseph@codesourcery.com>
4140 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4141 XPG4, UNIX98 and XOPEN2K.
4142 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4144 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4146 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4148 * libio/fileops.c: Use ISO C style for function definitions.
4149 * libio/iofopen.c: Likewise.
4150 * libio/wfileops.c: Likewise.
4153 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4155 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4156 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4157 (fgets_func): Function pointer to fgets and fgetws.
4158 (do_ftell_test): Add test to verify ftell value after read
4160 (do_test): Set fgets_func.
4162 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4163 O_TRUNC flag for w and w+ modes.
4164 (do_rewind_test): Likewise.
4165 (do_ftell_test): Likewise.
4166 (do_write_test): Likewise.
4169 * libio/fileops.c (do_ftell): Seek only when there are
4171 * libio/wfileops.c (do_ftell_wide): Likewise.
4172 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4174 (do_one_test): Call it.
4176 2014-12-03 Joseph Myers <joseph@codesourcery.com>
4178 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4179 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4180 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4182 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4183 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4184 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4186 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4188 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4190 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4193 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4194 as weak alias of __getifaddrs. Use libc_hidden_weak.
4195 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4196 __freeifaddrs. Use libc_hidden_weak.
4197 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4198 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4199 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4200 __freeifaddrs. Use libc_hidden_weak.
4201 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4202 __getifaddrs and define as weak alias of __getifaddrs. Use
4204 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4205 __freeifaddrs. Use libc_hidden_weak.
4206 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4208 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4209 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4211 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4214 * sysdeps/mips/start.S (__start): Use indirect jump to call
4217 2014-12-02 Joseph Myers <joseph@codesourcery.com>
4219 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4221 * nptl/tst-mutex1.c: Include <stdbool.h>.
4222 [!ATTR] (ATTR_NULL): New macro.
4223 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4224 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4225 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4227 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4231 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4232 Change conditional to [__USE_MISC].
4235 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4237 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4239 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4241 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4243 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4244 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4245 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4246 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4247 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4248 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4249 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4250 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4251 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4253 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4255 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4257 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4258 Remove strpbrk objects.
4259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4260 (__libc_ifunc_impl_list): Remove strpbrk implementation.
4261 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4263 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4264 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4266 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4267 Remove strcspn objects.
4268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4269 (__libc_ifunc_impl_list): Remove strcspn implementation.
4270 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4271 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4272 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4273 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4275 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4276 Remove strspn objetcs.
4277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4278 (__libc_ifunc_impl_list): Remove strspn implementation.
4279 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4280 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4281 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4282 * sysdeps/powerpc/powerpc64/strspn.S: New file.
4284 2014-12-01 James Lemke <jwlemke@codesourcery.com>
4288 (mem2mem_check): Add a terminator to the chain of checking blocks.
4289 (malloc_check_get_size): Use it here.
4290 (mem2chunk_check): Ditto.
4292 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4294 * sysdeps/powerpc/powerpc64/strtok.S: New file.
4295 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4297 2014-11-29 Carlos O'Donell <carlos@redhat.com>
4299 * bits/ioctl-types.h: Indent preprocessor directives correctly.
4301 * nptl/nptl-init.c: Include libc-internal.h.
4302 (__pthread_initialize_minimal_internal): Use ROUND_UP.
4304 * elf/ldconfig.c (search_dir): Expand comment.
4306 2014-11-29 Joseph Myers <joseph@codesourcery.com>
4308 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4310 (linknamespace-symlist-stdlibs-tests): Likewise.
4311 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4312 instead of $(objpfx)symlist-stdlibs.
4313 (linknamespace-libs-isoc): New variable.
4314 (linknamespace-libs): Use $(linknamespace-libs-isoc).
4315 (linknamespace-libs-ISO): New variable.
4316 (linknamespace-libs-ISO99): Likewise.
4317 (linknamespace-libs-ISO11): Likewise.
4318 (linknamespace-libs-XPG3): Likewise.
4319 (linknamespace-libs-XPG4): Likewise.
4320 (linknamespace-libs-POSIX): Likewise.
4321 (linknamespace-libs-UNIX98): Likewise.
4322 (linknamespace-libs-XOPEN2K): Likewise.
4323 (linknamespace-libs-POSIX2008): Likewise.
4324 (linknamespace-libs-XOPEN2K8): Likewise.
4325 ($(objpfx)symlist-stdlibs): Replace by
4326 $(linknamespace-symlist-stdlibs-tests). Use
4327 $(linknamespace-libs-$*) as set of libraries.
4328 ($(linknamespace-header-tests)): Update dependencies. Use
4329 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4330 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4331 * conform/linknamespace.pl: Remove comment about considering
4332 definitions of symbols from irrelevant libraries.
4334 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
4337 * elf/dl-tls.c: Include <atomic.h>.
4338 (oom): Remove #ifdef SHARED/#endif.
4339 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4340 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
4341 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4343 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4344 * nptl/Makefile (tests): Add tst-stack4.
4345 (modules-names): Add tst-stack4mod.
4346 ($(objpfx)tst-stack4): New.
4347 (tst-stack4mod.sos): Likewise.
4348 ($(objpfx)tst-stack4.out): Likewise.
4349 ($(tst-stack4mod.sos)): Likewise.
4351 * nptl/tst-stack4.c: New file.
4352 * nptl/tst-stack4mod.c: Likewise.
4354 2014-11-27 J. Brown <jb999@gmx.de>
4356 * sysdeps/x86/bits/string.h: Add recent CPUs.
4358 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4360 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4363 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4366 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4369 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
4371 * nscd/connections.c: Include libc-internal.h because of macro
4374 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4376 * string/bits/string3.h (__warn_memset_zero_len): Don't
4377 declare for gcc newer than 5.0.
4378 (memset): Don't test for zero-length __LEN for gcc newer than
4381 2014-11-27 Joseph Myers <joseph@codesourcery.com>
4383 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4384 size_t for %zu format.
4386 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4387 difference, not %ju.
4389 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4391 * include/libc-internal.h (ignore_value): New macro.
4392 * nscd/connections.c (restart): Wrap calls to setuid and setgid
4395 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4398 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4399 pthread_cleanup_push to void *.
4401 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4407 instead of 1L << 52.
4409 * libio/bug-rewind.c (do_test): Check fwscanf return values.
4410 * libio/bug-rewind2.c (do_test): Likewise.
4412 * debug/test-stpcpy_chk-ifunc.c: Remove file.
4413 * debug/test-strcpy_chk-ifunc.c: Likewise.
4414 * wcsmbs/test-wcschr-ifunc.c: Likewise.
4415 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4416 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4417 * wcsmbs/test-wcslen-ifunc.c: Likewise.
4418 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4419 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4420 * Rules [$(multi-arch) = no] (tests): Do not filter out
4422 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4423 * debug/Makefile (tests-ifunc): Remove variable.
4424 (tests): Do not add $(tests-ifunc).
4425 * wcsmbs/Makefile (tests-ifunc): Remove variable.
4426 (tests): Do not add $(tests-ifunc).
4427 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4428 [TEST_IFUNC]: Remove conditionals.
4429 * string/test-string.h (TEST_IFUNC): Remove macro.
4430 [TEST_IFUNC]: Remove conditionals.
4432 * string/test-strchr.c [!WIDE] (L): New macro.
4433 [WIDE] (L): Likewise.
4434 (check1): Use CHAR instead of char. Use L on string and character
4437 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
4439 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4441 * sysdeps/powerpc/bits/atomic.h
4442 (__arch_atomic_exchange_and_add_32_acq): Add definition.
4443 (__arch_atomic_exchange_and_add_32_rel): Likewise.
4444 (atomic_exchange_and_add_acq): Likewise.
4445 (atomic_exchange_and_add_rel): Likewise.
4446 * sysdeps/powerpc/powerpc32/bits/atomic.h
4447 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4448 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4449 * sysdeps/powerpc/powerpc64/bits/atomic.h
4450 (__arch_atomic_exchange_and_add_64_acq): Add definition.
4451 (__arch_atomic_exchange_and_add_64_rel): Likewise.
4453 2014-11-26 Torvald Riegel <triegel@redhat.com>
4455 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4456 Change synchronization of __sched_fifo_min_prio and
4457 __sched_fifo_max_prio.
4458 * nptl/pthread_mutexattr_getprioceiling.c
4459 (pthread_mutexattr_getprioceiling): Likewise.
4460 * nptl/pthread_mutexattr_setprioceiling.c
4461 (pthread_mutexattr_setprioceiling): Likewise.
4462 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4463 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4466 2014-11-26 Joseph Myers <joseph@codesourcery.com>
4468 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4471 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4473 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4474 third argument const.
4476 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
4478 fnmatch: work around GCC compiler warning bug with uninit var
4479 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4480 This works around a bug with x86-64 GCC 4.9.2 and earlier
4481 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4482 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4483 used uninitialized in this function [-Wmaybe-uninitialized]".
4485 2014-11-25 Joseph Myers <joseph@codesourcery.com>
4487 * posix/bug-regex31.c (main): Return RES not 0.
4489 2014-11-25 Anton Blanchard <anton@samba.org>
4491 * sysdeps/powerpc/bits/atomic.h
4492 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4494 2014-11-24 Sterling Augustine <saugustine@google.com>
4496 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4498 2014-11-24 Ryan Cumming <etaoins@gmail.com>
4501 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4503 2014-11-24 Joseph Myers <joseph@codesourcery.com>
4506 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4507 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4509 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4510 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4512 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4514 * string/strncpy.c (strncpy): Improve performance by using memset.
4516 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
4518 * string/strcpy.c (strcpy):
4519 Improve performance by using strlen and memcpy.
4521 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
4523 * string/strcoll_l.c (get_next_seq): __always_inline.
4524 * string/strcoll_l.c (do_compare): __always_inline.
4526 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4528 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4530 * include/mqueue.h: Likewise.
4531 * include/stdlib.h: Likewise.
4533 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4534 (get_null_defines): Adjust.
4535 * sunrpc/Makefile: Adjust comment.
4536 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4537 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4538 (CFLAGS-interp.c): Likewise.
4539 (CFLAGS-ldconfig.c): Likewise.
4540 (CPPFLAGS-.os): Likewise.
4541 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4542 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4543 * extra-modules.mk (extra-modules.mk): Likewise.
4544 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4545 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4546 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4547 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4548 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4549 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4550 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4551 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4552 * iconvdata/Makefile (CPPFLAGS): Likewise.
4553 (cpp-srcs-left): Add libof for all iconvdata routines.
4554 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4555 * include/assert.h: Likewise.
4556 * include/ctype.h: Likewise.
4557 * include/errno.h: Likewise.
4558 * include/libc-symbols.h: Likewise.
4559 * include/math.h: Likewise.
4560 * include/netdb.h: Likewise.
4561 * include/resolv.h: Likewise.
4562 * include/stdio.h: Likewise.
4563 * include/stdlib.h: Likewise.
4564 * include/string.h: Likewise.
4565 * include/sys/stat.h: Likewise.
4566 * include/wctype.h: Likewise.
4567 * intl/l10nflist.c: Likewise.
4568 * libidn/idn-stub.c: Likewise.
4569 * libio/libioP.h: Likewise.
4570 * nptl/libc_multiple_threads.c: Likewise.
4571 * nptl/pthreadP.h: Likewise.
4572 * posix/regex_internal.h: Likewise.
4573 * resolv/res_hconf.c: Likewise.
4574 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4575 * sysdeps/arm/memmove.S: Likewise.
4576 * sysdeps/arm/sysdep.h: Likewise.
4577 * sysdeps/generic/_itoa.h: Likewise.
4578 * sysdeps/generic/symbol-hacks.h: Likewise.
4579 * sysdeps/gnu/errlist.awk: Likewise.
4580 * sysdeps/gnu/errlist.c: Likewise.
4581 * sysdeps/i386/i586/memcpy.S: Likewise.
4582 * sysdeps/i386/i586/memset.S: Likewise.
4583 * sysdeps/i386/i686/memcpy.S: Likewise.
4584 * sysdeps/i386/i686/memmove.S: Likewise.
4585 * sysdeps/i386/i686/mempcpy.S: Likewise.
4586 * sysdeps/i386/i686/memset.S: Likewise.
4587 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4588 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4589 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4590 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4591 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4592 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4593 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4594 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4596 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4597 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4598 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4599 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4600 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4601 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4602 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4603 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4604 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4605 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4606 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4607 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4608 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4609 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4610 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4611 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4612 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4613 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4614 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4615 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4617 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4618 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4620 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4621 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4622 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4623 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4624 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4625 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4626 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4627 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4628 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4629 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4630 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4631 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4632 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4633 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4634 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4635 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4636 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4637 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4638 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4639 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4640 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4641 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4642 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4643 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4644 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4645 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4646 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4647 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4648 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4649 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4650 * sysdeps/nptl/bits/libc-lock.h: Likewise.
4651 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4652 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4653 * sysdeps/posix/closedir.c: Likewise.
4654 * sysdeps/posix/opendir.c: Likewise.
4655 * sysdeps/posix/readdir.c: Likewise.
4656 * sysdeps/posix/rewinddir.c: Likewise.
4657 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4658 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4659 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4660 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4661 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4662 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4663 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4664 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4665 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4666 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4667 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4668 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4669 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4670 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4671 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4672 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4673 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4674 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4675 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4676 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4677 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4678 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4679 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4680 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4681 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4682 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4683 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4684 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4685 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4692 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4693 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4694 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4695 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4696 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4697 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4698 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4699 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4701 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4702 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4703 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4704 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4705 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4706 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4707 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4708 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4709 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4710 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4711 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4714 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4715 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4716 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4717 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4718 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4719 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4720 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4721 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4722 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4723 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4724 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4725 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4726 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4727 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4728 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4729 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4730 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4731 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4732 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4733 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4734 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4735 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4736 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4737 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4738 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4739 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4740 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4741 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4742 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4743 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4744 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4745 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4746 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4747 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4748 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4749 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4750 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4751 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4753 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4755 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4756 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4757 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4758 * sysdeps/unix/alpha/sysdep.S: Likewise.
4759 * sysdeps/unix/alpha/sysdep.h: Likewise.
4760 * sysdeps/unix/make-syscalls.sh: Likewise.
4761 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4762 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4763 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4764 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4765 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4766 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4767 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4768 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4769 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4770 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4771 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4772 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4773 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4774 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4775 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4776 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4777 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4778 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4779 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4780 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4781 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4782 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4783 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4784 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4785 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4786 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4787 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4790 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4791 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4792 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4795 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4796 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4799 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4800 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4801 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4802 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4803 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4804 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4805 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4806 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4808 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4811 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4812 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4813 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4814 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4815 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4816 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4817 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4819 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4820 * sysdeps/x86_64/memcpy.S: Likewise.
4821 * sysdeps/x86_64/memmove.c: Likewise.
4822 * sysdeps/x86_64/memset.S: Likewise.
4823 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4824 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4825 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4826 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4827 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4828 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4829 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4830 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4831 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4832 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4833 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4835 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4836 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4837 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4838 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4839 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4840 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4841 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4842 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4843 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4844 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4847 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4848 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4849 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4850 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4851 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4852 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4853 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4854 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4855 * sysdeps/x86_64/strcmp.S: Likewise.
4857 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4859 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4860 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4861 * elf/rtld-Rules: Likewise.
4862 * elf/setup-vdso.h: Likewise.
4863 * include/assert.h: Likewise.
4864 * include/bits/stdlib-float.h: Likewise.
4865 * include/errno.h: Likewise.
4866 * include/sys/stat.h: Likewise.
4867 * include/unistd.h: Likewise.
4868 * sysdeps/aarch64/setjmp.S: Likewise.
4869 * sysdeps/alpha/setjmp.S: Likewise.
4870 * sysdeps/arm/__longjmp.S: Likewise.
4871 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4872 * sysdeps/arm/setjmp.S: Likewise.
4873 * sysdeps/arm/sysdep.h: Likewise.
4874 * sysdeps/generic/_itoa.h: Likewise.
4875 * sysdeps/generic/dl-sysdep.h: Likewise.
4876 * sysdeps/generic/ldsodefs.h: Likewise.
4877 * sysdeps/i386/dl-tls.h: Likewise.
4878 * sysdeps/i386/setjmp.S: Likewise.
4879 * sysdeps/m68k/setjmp.c: Likewise.
4880 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4881 * sysdeps/mach/hurd/opendir.c: Likewise.
4882 * sysdeps/posix/getcwd.c: Likewise.
4883 * sysdeps/posix/opendir.c: Likewise.
4884 * sysdeps/posix/profil.c: Likewise.
4885 * sysdeps/powerpc/dl-procinfo.h: Likewise.
4886 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4887 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4888 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4889 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4890 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4891 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4892 * sysdeps/s390/dl-tls.h: Likewise.
4893 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4894 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4895 * sysdeps/sh/sh3/setjmp.S: Likewise.
4896 * sysdeps/sh/sh4/setjmp.S: Likewise.
4897 * sysdeps/unix/alpha/sysdep.h: Likewise.
4898 * sysdeps/unix/arm/sysdep.S: Likewise.
4899 * sysdeps/unix/i386/sysdep.S: Likewise.
4900 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4901 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4902 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4903 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4904 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4905 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4906 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4907 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4908 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4909 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4910 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4911 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4912 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4915 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4918 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4919 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4920 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4921 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4923 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4924 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4925 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4927 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4928 * sysdeps/x86_64/setjmp.S: Likewise.
4930 * include/math.h: Use IS_IN instead of IS_IN_libm.
4931 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4932 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4934 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4935 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4943 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4945 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4950 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4951 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4952 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4953 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4954 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4955 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4956 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4957 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4958 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4959 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4960 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4961 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4962 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4963 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4974 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4975 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4976 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4977 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4978 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4979 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4985 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4986 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4987 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4988 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4990 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4991 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4992 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4993 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4994 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4995 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4996 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4997 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4998 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5000 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5002 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5003 * nptl/pthreadP.h: Likewise.
5004 * nptl_db/structs.def: Likewise.
5005 * sysdeps/arm/sysdep.h: Likewise.
5006 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5007 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5008 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5009 * sysdeps/unix/alpha/sysdep.h: Likewise.
5010 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5011 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5012 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5013 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5014 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5015 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5016 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5017 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5018 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5019 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5020 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5021 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5022 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5023 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5027 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5028 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5031 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5032 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5033 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5034 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5035 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5037 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5038 * nptl/pthreadP.h: Likewise.
5039 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5040 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5041 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5042 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5043 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5044 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5045 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5046 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5047 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5048 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5049 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5050 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5057 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5060 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5061 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5062 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5064 * dlfcn/dladdr.c: Use IS_IN.
5065 * dlfcn/dladdr1.c: Likewise.
5066 * dlfcn/dlclose.c: Likewise.
5067 * dlfcn/dlerror.c: Likewise.
5068 * dlfcn/dlinfo.c: Likewise.
5069 * dlfcn/dlmopen.c: Likewise.
5070 * dlfcn/dlopen.c: Likewise.
5071 * dlfcn/dlsym.c: Likewise.
5072 * dlfcn/dlvsym.c: Likewise.
5074 * include/ifaddrs.h: Use IS_IN.
5075 * inet/check_pf.c: Likewise.
5076 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5077 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5079 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5081 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5082 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5084 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5085 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5088 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5090 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5091 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5092 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5093 * include/libc-symbols.h (IS_IN_LIB): New macro.
5094 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5095 * include/netdb.h: Likewise.
5096 * include/stap-probe.h: Remove all uses of IN_LIB.
5098 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5099 instead of IN_MODULE.
5100 * include/libc-symbols.h (IN_MODULE): Define using
5102 (PASTE_NAME, PASTE_NAME1): New macros.
5103 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5105 (STAP_PROBE_ASM): Likewise.
5107 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5109 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5110 __mach_init in dlopened libc.
5112 2014-11-22 Mike Frysinger <vapier@gentoo.org>
5114 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5115 * sysdeps/arm/preconfigure: Regenerate.
5117 2014-11-21 Roland McGrath <roland@hack.frob.com>
5119 * nptl/pthread_create.c (__pthread_create_2_1): Set
5120 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5121 when copying values from IATTR into PD.
5123 2014-11-21 Will Newton <will.newton@linaro.org>
5124 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5126 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5127 Refactor inline-asm. Also add comment.
5129 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5130 ElfW macro instead of hardcoded Elf64 types.
5131 (la_aarch64_gnu_pltenter): Likewise.
5132 * sysdeps/aarch64/dl-machine.h
5133 (elf_machine_runtime_setup): Use ElfW(Addr).
5135 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5136 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5137 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5138 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5139 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5140 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5141 (R_AARCH64_TLS_DTPMOD): This.
5142 (R_AARCH64_TLS_DTPREL64): Rename to ...
5143 (R_AARCH64_TLS_DTPREL): This.
5144 (R_AARCH64_TLS_TPREL64): Rename to ...
5145 (R_AARCH64_TLS_TPREL): This.
5146 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5147 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5148 R_AARCH64_TLS_TPREL64.
5149 (elf_machine_rela): Likewise.
5151 2014-11-21 Torvald Riegel <triegel@redhat.com>
5153 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5154 by setting it to 0. 64b atomics are not supported currently.
5156 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5159 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5160 search domain names.
5162 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5166 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5168 * posix/tst-getaddrinfo5.c: New.
5169 * posix/Makefile (tests): Add it.
5171 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5175 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5176 after parsing line but before break_if_match.
5177 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5178 if there is a protocol mismatch.
5180 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5182 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5183 because the potential race is on the user-supplied stream.
5185 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5187 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5188 string literal if not passed a buffer.
5189 * manual/job.texi (ctermid): Update reasoning, note deviation
5190 from posix, suggest mtasurace when not passed a buffer, for
5191 future non-preliminary safety notes.
5193 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5195 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5196 of not passing it a buffer.
5197 Reported by Peng Haitao.
5199 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
5201 * manual/Makefile ($(objpfx)stamp-summary): Require
5202 check-safety.sh to pass.
5203 * manual/check-safety.sh: Wish for verification that every
5204 @deftypefn and @deftypefun is followed by a @safety remark.
5206 2014-11-20 Roland McGrath <roland@hack.frob.com>
5208 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5210 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5211 PTHREAD_CANCEL_ASYNCHRONOUS.
5212 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5215 * nptl/default-sched.h: New file.
5216 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5217 * nptl/pthread_create.c: Include it.
5218 (__pthread_create_2_1): Use collect_default_sched instead of making
5219 Linux syscalls here directly.
5221 2014-11-20 Torvald Riegel <triegel@redhat.com>
5223 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5224 __pthread_once): Use C11 atomics.
5226 2014-11-20 Torvald Riegel <triegel@redhat.com>
5228 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5230 2014-11-20 Torvald Riegel <triegel@redhat.com>
5232 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5233 atomic_thread_fence_acquire, atomic_thread_fence_release,
5234 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5235 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5236 atomic_compare_exchange_weak_relaxed,
5237 atomic_compare_exchange_weak_acquire,
5238 atomic_compare_exchange_weak_release,
5239 atomic_exchange_acquire, atomic_exchange_release,
5240 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5241 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5242 atomic_fetch_and_acquire,
5243 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5245 2014-11-20 Torvald Riegel <triegel@redhat.com>
5247 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5248 USE_ATOMIC_COMPILER_BUILTINS): Define.
5249 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5250 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5251 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5252 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5253 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5254 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5255 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5256 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5257 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5258 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5259 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5260 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5261 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5262 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5263 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5264 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5265 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5266 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5267 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5268 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5269 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5270 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5271 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5272 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5273 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5274 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5275 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5276 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5277 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5278 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5279 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5280 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5281 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5282 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5283 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5284 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5285 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5286 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5287 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5288 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5290 2014-11-19 Roland McGrath <roland@hack.frob.com>
5292 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5293 the sched_priority value here. It was already checked when the user
5294 called pthread_attr_setschedparam.
5296 * nptl/tst-bad-schedattr.c: New file.
5297 * nptl/Makefile (tests): Add it.
5299 2014-11-19 Carlos O'Donell <carlos@redhat.com>
5300 Florian Weimer <fweimer@redhat.com>
5301 Joseph Myers <joseph@codesourcery.com>
5302 Adam Conrad <adconrad@0c3.net>
5303 Andreas Schwab <schwab@suse.de>
5304 Brooks <bmoses@google.com>
5307 * wordexp-test.c (__dso_handle): Add prototype.
5308 (__register_atfork): Likewise.
5309 (__app_register_atfork): New function.
5310 (registered_forks): New global.
5311 (register_fork): New function.
5312 (test_case): Add 3 new tests for WRDE_CMDSUB.
5313 (main): Call __app_register_atfork.
5314 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5315 fork count is non-zero fail the test.
5316 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5318 (parse_dollars): Remove check for WRDE_NOCMD.
5319 (parse_dquote): Likewise.
5321 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5323 * Makeconfig (built-modules): List non-library modules to be
5325 (module-cppflags): Include libc-modules.h for
5326 everything except shlib-versions.v.i.
5328 (before-compile): Add libc-modules.h.
5329 ($(common-objpfx)libc-modules.h,
5330 $(common-objpfx)libc-modules.stmp): New targets.
5331 (common-generated): Add libc-modules.h and libc-modules.stmp.
5332 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5333 * include/libc-symbols.h: Don't include libc-modules.h.
5334 * include/libc-modules.h: Remove file.
5335 * scripts/gen-libc-modules.awk: New script to generate
5337 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5338 Depend on libc-modules.stmp.
5340 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5342 * Makeconfig (in-module): Get value of libof set for the
5344 (CPPFLAGS): Use $(in-module).
5345 * Makerules: Don't suffix routine names for nonlib.
5346 * include/libc-modules.h: New file.
5347 * include/libc-symbols.h: Include libc-modules.h
5348 (IS_IN): New macro to replace IS_IN_* macros.
5349 * elf/Makefile: Set libof-* for each routine.
5350 * elf/rtld-Rules: Likewise.
5351 * extra-modules.mk: Likewise.
5352 * iconv/Makefile: Likewise.
5353 * iconvdata/Makefile: Likewise.
5354 * locale/Makefile: Likewise.
5355 * malloc/Makefile: Likewise.
5356 * nss/Makefile: Likewise.
5357 * sysdeps/gnu/Makefile: Likewise.
5358 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5359 * sysdeps/unix/sysv/linux/Makefile: Likewise.
5360 * sysdeps/s390/s390-64/Makefile: Likewise.
5361 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
5362 CPPFLAGS for nscd instead of nonlib.
5364 2014-11-18 Roland McGrath <roland@hack.frob.com>
5366 * nptl/createthread.c: New file.
5368 * nptl/createthread.c: Moved ...
5369 * sysdeps/unix/sysv/linux/createthread.c: ... here.
5371 * nptl/createthread.c: Add proper top-line comment.
5372 (do_clone): Folded into ...
5373 (create_thread): ... here. Take new arguments STOPPED_START and
5374 THREAD_RAN. Always set PD->stopped_start to something here. Don't
5375 increment __nptl_threads, do event-reporting logic, do
5376 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5377 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
5378 resource cleanup if sched_setaffinity or sched_setscheduler fails,
5379 just send SIGCANCEL.
5380 * nptl/pthread_create.c: Forward-declare create_thread before
5381 including createthread.c.
5382 (start_thread): Use new macro START_THREAD_DEFN to replace defining
5383 declaration, and new macro START_THREAD_SELF to replace argument.
5384 Remove return statement.
5385 (report_thread_creation): New function.
5386 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
5387 synchronization logic, and __nptl_nthreads increment here, around
5388 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
5389 PD->parent_cancelhandling here, before create_thread. When
5390 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5391 __deallocate_stack, and ENOMEM translation here.
5393 2014-11-18 Joseph Myers <joseph@codesourcery.com>
5396 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5397 (mptwo): Rename to __mptwo.
5398 (__inv): Use __mptwo instead of mptwo.
5399 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5400 (mptwo): Rename to __mptwo.
5401 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5402 of mpone and __mptwo instead of mptwo.
5403 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5406 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5407 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5408 of mpone and __mptwo instead of mptwo.
5409 (__mpranred): Use __mpone instead of mpone.
5410 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5412 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5413 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5414 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5415 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5416 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5417 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5418 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5419 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5420 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5421 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5422 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5423 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5424 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5425 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5426 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5427 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5428 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5429 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5430 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5432 2014-11-18 Tom de Vries <tom@codesoucery.com>
5434 * manual/signal.texi (Primitives Interrupted by Signals): In section,
5435 replace BSD Handler xref with BSD Signal Handling.
5437 2014-11-17 Richard Henderson <rth@redhat.com>
5439 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5440 (_FP_PACK_RAW_2): Remove.
5441 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5442 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5443 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5444 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5445 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5446 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5447 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5448 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5449 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5450 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5451 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5452 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5453 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5454 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5455 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5456 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5458 2014-11-14 Roland McGrath <roland@hack.frob.com>
5460 * signal/signal.h [__USE_MISC]
5461 (struct sigvec): Remove type.
5462 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5463 (sigvec): Remove declaration.
5464 * sysdeps/posix/sigvec.c: Moved ...
5465 * signal/sigvec.c: ... here, replacing old file.
5466 (struct sigvec): New type, copied from old signal.h definition.
5467 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5468 (__sigvec): Convert definition to prototype.
5469 (sigvec): Replace weak_alias with compat_symbol.
5470 * signal/Versions (libc: GLIBC_2.21): New version set.
5471 * include/signal.h: Remove __sigvec declaration.
5472 * sysdeps/unix/bsd/sigvec.c: Remove file.
5473 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5474 * manual/signal.texi (BSD Handler): Remove subsection.
5475 Move siginterrupt up to ...
5476 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
5477 (Blocking in BSD): Fold subsection into its parent.
5478 * NEWS: Mention sigvec removal.
5480 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5482 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5483 (DLA_FMS): Make definition conditional only on [__FMA4__].
5484 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5487 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5488 Make definition conditional only on [PROF].
5489 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5491 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5492 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5494 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5496 * include/signal.h (__sigpause): Move declaration above call to
5498 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5500 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5501 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5503 2014-11-14 David S. Miller <davem@davemloft.net>
5505 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5506 Define before including <string/memcpy.c> and <string/mempcpy.c>.
5508 2014-11-14 Joseph Myers <joseph@codesourcery.com>
5510 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5511 * configure: Regenerated.
5512 * manual/install.texi (Tools for Compilation): Document a
5513 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5514 compiler verified to work.
5515 * INSTALL: Regenerated.
5517 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5518 redeclare with asm name.
5519 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5520 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5521 including <string.h>.
5522 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5523 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5524 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5525 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5526 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5527 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5528 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5530 2014-11-13 Joseph Myers <joseph@codesourcery.com>
5532 * stdlib/strtol.c (__strtol): Use prototype definition.
5535 * stdlib/strtol.c (SYM__): New macro.
5537 (__strtol): Likewise.
5538 (strtol): Rename to __strtol and define as weak alias of
5539 __strtol. Use libc_hidden_weak.
5541 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5543 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5544 Use numbered labels in inline assembly.
5546 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5548 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5549 Add setjmp LIBC_PROBE.
5550 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5552 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5553 Add longjmp, longjmp_target LIBC_PROBE.
5554 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5557 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5559 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5560 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5561 to get rid of unused variable warning.
5563 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
5565 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5566 Check for unwind_backtrace == NULL only in SHARED case.
5567 (__backchain_backtrace): Compile only in SHARED case.
5568 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5570 (__backchain_backtrace): Declare as static.
5572 2014-11-12 Roland McGrath <roland@hack.frob.com>
5574 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5575 (__libc_multiple_threads_ptr): Variable moved ...
5576 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5578 2014-11-12 Joseph Myers <joseph@codesourcery.com>
5580 * conform/GlibcConform.pm: New file.
5581 * conform/conformtest.pl: Use GlibcConform module.
5582 * conform/linknamespace.pl: New file.
5583 * conform/list-header-symbols.pl: Likewise.
5584 * conform/Makefile (linknamespace-symlists-base): New variable.
5585 (linknamespace-symlists-tests): Likewise.
5586 (linknamespace-header-base): Likewise.
5587 (linknamespace-header-tests): Likewise.
5588 (tests-special): Add new tests.
5589 ($(linknamespace-symlists-tests)): New rule.
5590 (linknamespace-libs): New variable.
5591 ($(objpfx)symlist-stdlibs): New rule.
5592 ($(linknamespace-header-tests)): Likewise.
5593 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5594 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5595 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5596 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5597 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5598 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5599 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5600 (test-xfail-ISO/math.h/linknamespace): Likewise.
5601 (test-xfail-ISO/signal.h/linknamespace): Likewise.
5602 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5603 (test-xfail-ISO/time.h/linknamespace): Likewise.
5604 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5605 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5606 (test-xfail-ISO99/math.h/linknamespace): Likewise.
5607 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5608 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5609 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5610 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5611 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5612 (test-xfail-ISO11/math.h/linknamespace): Likewise.
5613 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5614 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5615 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5616 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5617 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5618 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5619 (test-xfail-XPG3/math.h/linknamespace): Likewise.
5620 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5621 (test-xfail-XPG3/search.h/linknamespace): Likewise.
5622 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5623 (test-xfail-XPG3/time.h/linknamespace): Likewise.
5624 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5625 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5626 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5627 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5628 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5629 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5630 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5631 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5632 (test-xfail-XPG4/math.h/linknamespace): Likewise.
5633 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5634 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5635 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5636 (test-xfail-XPG4/search.h/linknamespace): Likewise.
5637 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5638 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5639 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5640 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5641 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5642 (test-xfail-XPG4/time.h/linknamespace): Likewise.
5643 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5644 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5645 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5646 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5647 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5648 (test-xfail-POSIX/math.h/linknamespace): Likewise.
5649 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5650 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5651 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5652 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5653 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5654 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5655 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5656 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5657 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5658 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5659 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5660 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5661 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5662 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5663 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5664 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5665 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5666 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5667 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5668 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5669 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5670 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5671 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5672 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5673 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5674 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5675 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5676 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5677 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5678 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5679 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5680 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5681 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5682 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5683 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5684 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5685 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5686 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5687 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5688 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5689 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5690 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5691 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5692 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5693 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5694 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5695 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5696 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5697 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5698 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5699 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5700 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5701 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5702 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5703 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5704 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5705 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5706 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5707 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5708 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5709 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5710 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5711 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5712 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5713 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5714 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5715 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5716 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5717 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5718 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5719 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5720 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5721 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5722 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5723 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5724 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5725 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5726 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5727 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5728 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5729 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5730 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5731 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5732 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5733 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5734 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5735 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5736 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5737 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5738 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5739 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5740 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5741 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5742 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5743 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5744 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5745 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5746 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5747 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5748 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5749 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5750 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5751 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5752 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5753 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5756 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5760 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5761 (memmem): Rename to __memmem and define as weak alias of
5762 __memmem. Use libc_hidden_weak.
5763 (__memmem): Use libc_hidden_def.
5764 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
5765 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5769 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5770 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
5771 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5772 and define as weak alias of __fgets_unlocked. Use
5774 (__fgets_unlocked): Use libc_hidden_def.
5775 * include/stdio.h (__fgets_unlocked): Declare. Use
5777 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5778 __fgets_unlocked instead of fgets_unlocked.
5779 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5780 (GET_NPROCS_CONF_PARSER): Likewise.
5781 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5782 (GET_NPROCS_CONF_PARSER): Likewise.
5785 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5786 weak alias of __wmemset. Use libc_hidden_weak.
5787 (__wmemset): Use libc_hidden_def.
5788 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
5789 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5793 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5794 with asm name __mempcpy.
5795 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5798 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5799 and define as weak alias of __rawmemchr.
5800 (__rawmemchr): Do not define as strong alias of rawmemchr.
5803 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5805 (qsort): Call __qsort_r instead of qsort_r.
5806 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5807 (__qsort_r): Declare. Call libc_hidden_proto.
5808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5810 * nscd/gai.c (__qsort_r): Define to qsort_r.
5811 * posix/tst-rfc3484.c (__qsort_r): Likewise.
5812 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5813 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5816 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5817 define as weak alias of __malloc_info.
5820 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5821 as weak alias of __rewinddir. Don't use libc_hidden_def.
5822 (__rewinddir): Use libc_hidden_def.
5823 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5824 as weak alias of __rewinddir. Don't use libc_hidden_def.
5825 (__rewinddir): Use libc_hidden_def.
5826 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5827 weak alias of __rewinddir. Don't use libc_hidden_def.
5828 (__rewinddir): Use libc_hidden_def.
5829 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5830 (__rewinddir): Use libc_hidden_proto.
5831 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5833 (__getcwd): Use __rewinddir instead of rewinddir.
5836 * libio/fileno.c (fileno): Rename to __fileno and define as weak
5837 alias of __fileno. Use libc_hidden_weak.
5838 (__fileno): Use libc_hidden_def.
5839 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5840 * libio/ftello.c (ftello): Rename to __ftello and define as weak
5842 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5844 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5845 (__fread_unlocked): Define as strong alias of _IO_fread. Use
5847 (fread_unlocked): Don't use libc_hidden_ver.
5848 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5849 and define as weak alias of __fread_unlocked. Don't use
5851 (__fread_unlocked): Use libc_hidden_def.
5852 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
5853 (ftello): Don't use libc_hidden_proto.
5854 (__ftello): Declare. Use libc_hidden_proto.
5855 (fread_unlocked): Don't use libc_hidden_proto.
5856 (__fread_unlocked): Declare. Use libc_hidden_proto.
5857 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5858 and __ftello instead of fileno, fread_unlocked and ftello.
5860 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5862 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5866 (_dl_start_user): Likewise.
5867 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5869 2014-11-12 Carlos O'Donell <carlos@redhat.com>
5870 Siddhesh Poyarekar <siddhesh@redhat.com>
5872 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5873 Move argv and envp down instead of moving argc up.
5874 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5876 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
5879 * test-skeleton.c (main): Return successful if one of
5880 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5881 * string/tst-strcoll-overflow.c: Define expected status.
5883 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
5886 * locale/iso-639.def: Define Bhili and Tulu language codes.
5888 2014-11-11 Alan Hayward <alan.hayward@arm.com>
5890 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5892 2014-11-10 Renlin Li <Renlin.Li@arm.com>
5895 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5897 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
5899 * configure.ac: Updated check of minimal required version to
5901 * manual/install.texi (Tools for Compilation): Updated version
5903 * configure: Regenerated.
5904 * INSTALL: Likewise.
5906 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
5908 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5911 2014-11-07 Joseph Myers <joseph@codesourcery.com>
5913 * include/sys/wait.h (__libc_waitpid): Remove declaration.
5914 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5915 (__waitpid): Don't define as alias. Use libc_hidden_def not
5917 (waitpid): Define as alias of __waitpid.
5918 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5920 (__waitpid): Don't define as alias. Use libc_hidden_def not
5922 (waitpid): Define as alias of __waitpid.
5923 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5924 __libc_waitpid alias.
5925 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5926 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5928 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5929 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5930 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5932 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5934 (__waitpid): Don't define as alias. Use libc_hidden_def not
5936 (waitpid): Define as alias of __waitpid.
5938 2014-11-06 Carlos O'Donell <carlos@redhat.com>
5940 * manual/llio.texi: Add comment that write safety has been
5943 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5944 (localplt-build-dso): Add elf/ld.so.
5945 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5946 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5949 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5954 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5955 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5956 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5957 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5958 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5959 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5960 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5961 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5962 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5963 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5964 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5966 2014-11-05 Joseph Myers <joseph@codesourcery.com>
5969 * include/libc-symbols.h (INTUSE): Remove macro.
5971 (INTVARDEF): Likewise.
5972 (_INTVARDEF): Likewise.
5973 (INTDEF2): Likewise.
5974 (INTVARDEF2): Likewise.
5975 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5976 rtld_hidden_def instead of INTVARDEF.
5977 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5978 (_dl_starting_up_internal): Remove declaration.
5979 (_dl_starting_up): Use rtld_hidden_proto.
5980 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5982 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5983 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5985 * elf/dl-writev.h (_dl_writev): Likewise.
5986 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5987 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5988 _dl_starting_up_internal.
5990 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5992 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5995 2014-11-05 Will Newton <will.newton@linaro.org>
5997 * benchtests/Makefile: (bench-malloc): Add malloc thread
5998 scalability benchmark.
5999 * benchtests/bench-malloc-threads.c: New file.
6001 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
6003 * sysdeps/aarch64/strchrnul.S: New file.
6005 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6007 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6009 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6011 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6013 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6015 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6017 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6020 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
6022 * catgets/test-gencat.c: Use test-skeleton.c.
6023 * catgets/tst-catgets.c: Likewise.
6024 * csu/tst-empty.c: Likewise.
6025 * elf/tst-audit2.c: Likewise.
6026 * elf/tst-global1.c: Likewise.
6027 * elf/tst-pathopt.c: Likewise.
6028 * elf/tst-piemod1.c: Likewise.
6029 * elf/tst-tls10.c: Likewise.
6030 * elf/tst-tls11.c: Likewise.
6031 * elf/tst-tls12.c: Likewise.
6032 * gnulib/tst-gcc.c: Likewise.
6033 * iconvdata/tst-e2big.c: Likewise.
6034 * iconvdata/tst-loading.c: Likewise.
6035 * iconv/tst-iconv1.c: Likewise.
6036 * iconv/tst-iconv2.c: Likewise.
6037 * inet/test-inet6_opt.c: Likewise.
6038 * inet/tst-gethnm.c: Likewise.
6039 * inet/tst-network.c: Likewise.
6040 * inet/tst-ntoa.c: Likewise.
6041 * intl/tst-codeset.c: Likewise.
6042 * intl/tst-gettext2.c: Likewise.
6043 * intl/tst-gettext3.c: Likewise.
6044 * intl/tst-ngettext.c: Likewise.
6045 * intl/tst-translit.c: Likewise.
6046 * io/test-stat.c: Likewise.
6047 * libio/test-fmemopen.c: Likewise.
6048 * libio/tst-freopen.c: Likewise.
6049 * libio/tst-sscanf.c: Likewise.
6050 * libio/tst-ungetwc1.c: Likewise.
6051 * libio/tst-ungetwc2.c: Likewise.
6052 * libio/tst-widetext.c: Likewise.
6053 * localedata/tst-ctype.c: Likewise.
6054 * localedata/tst-digits.c: Likewise.
6055 * localedata/tst-leaks.c: Likewise.
6056 * localedata/tst-mbswcs1.c: Likewise.
6057 * localedata/tst-mbswcs2.c: Likewise.
6058 * localedata/tst-mbswcs3.c: Likewise.
6059 * localedata/tst-mbswcs4.c: Likewise.
6060 * localedata/tst-mbswcs5.c: Likewise.
6061 * localedata/tst-setlocale.c: Likewise.
6062 * localedata/tst-trans.c: Likewise.
6063 * localedata/tst-wctype.c: Likewise.
6064 * localedata/tst-xlocale1.c: Likewise.
6065 * login/tst-grantpt.c: Likewise.
6066 * malloc/tst-calloc.c: Likewise.
6067 * malloc/tst-malloc.c: Likewise.
6068 * malloc/tst-mallocstate.c: Likewise.
6069 * malloc/tst-mcheck.c: Likewise.
6070 * malloc/tst-mtrace.c: Likewise.
6071 * malloc/tst-obstack.c: Likewise.
6072 * math/atest-exp2.c: Likewise.
6073 * math/atest-exp.c: Likewise.
6074 * math/atest-sincos.c: Likewise.
6075 * math/test-matherr.c: Likewise.
6076 * math/test-misc.c: Likewise.
6077 * math/test-powl.c: Likewise.
6078 * math/tst-definitions.c: Likewise.
6079 * misc/tst-dirname.c: Likewise.
6080 * misc/tst-efgcvt.c: Likewise.
6081 * misc/tst-fdset.c: Likewise.
6082 * misc/tst-hsearch.c: Likewise.
6083 * misc/tst-mntent2.c: Likewise.
6084 * nptl/tst-sem7.c: Likewise.
6085 * nptl/tst-sem8.c: Likewise.
6086 * nptl/tst-sem9.c: Likewise.
6087 * nss/test-netdb.c: Likewise.
6088 * posix/tst-fnmatch.c: Likewise.
6089 * posix/tst-getlogin.c: Likewise.
6090 * posix/tst-gnuglob.c: Likewise.
6091 * posix/tst-mmap.c: Likewise.
6092 * pwd/tst-getpw.c: Likewise.
6093 * resolv/tst-inet_ntop.c: Likewise.
6094 * rt/tst-timer.c: Likewise.
6095 * stdio-common/test-fseek.c: Likewise.
6096 * stdio-common/test-popen.c: Likewise.
6097 * stdio-common/test-vfprintf.c: Likewise.
6098 * stdio-common/tst-cookie.c: Likewise.
6099 * stdio-common/tst-fileno.c: Likewise.
6100 * stdio-common/tst-gets.c: Likewise.
6101 * stdio-common/tst-obprintf.c: Likewise.
6102 * stdio-common/tst-perror.c: Likewise.
6103 * stdio-common/tst-sprintf2.c: Likewise.
6104 * stdio-common/tst-sprintf3.c: Likewise.
6105 * stdio-common/tst-sprintf.c: Likewise.
6106 * stdio-common/tst-swprintf.c: Likewise.
6107 * stdio-common/tst-tmpnam.c: Likewise.
6108 * stdio-common/tst-unbputc.c: Likewise.
6109 * stdio-common/tst-wc-printf.c: Likewise.
6110 * stdlib/tst-environ.c: Likewise.
6111 * stdlib/tst-fmtmsg.c: Likewise.
6112 * stdlib/tst-limits.c: Likewise.
6113 * stdlib/tst-rand48-2.c: Likewise.
6114 * stdlib/tst-rand48.c: Likewise.
6115 * stdlib/tst-random2.c: Likewise.
6116 * stdlib/tst-random.c: Likewise.
6117 * stdlib/tst-strtol.c: Likewise.
6118 * stdlib/tst-strtoll.c: Likewise.
6119 * stdlib/tst-tls-atexit.c: Likewise.
6120 * stdlib/tst-xpg-basename.c: Likewise.
6121 * string/test-ffs.c: Likewise.
6122 * string/tst-bswap.c: Likewise.
6123 * string/tst-inlcall.c: Likewise.
6124 * string/tst-strtok.c: Likewise.
6125 * string/tst-strxfrm.c: Likewise.
6126 * sysdeps/x86_64/tst-audit10.c: Likewise.
6127 * sysdeps/x86_64/tst-audit3.c: Likewise.
6128 * sysdeps/x86_64/tst-audit4.c: Likewise.
6129 * sysdeps/x86_64/tst-audit5.c: Likewise.
6130 * time/tst-ftime_l.c: Likewise.
6131 * time/tst-getdate.c: Likewise.
6132 * time/tst-mktime3.c: Likewise.
6133 * time/tst-mktime.c: Likewise.
6134 * time/tst-posixtz.c: Likewise.
6135 * time/tst-strptime2.c: Likewise.
6136 * time/tst-strptime3.c: Likewise.
6137 * wcsmbs/tst-btowc.c: Likewise.
6138 * wcsmbs/tst-mbrtowc.c: Likewise.
6139 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6140 * wcsmbs/tst-wchar-h.c: Likewise.
6141 * wcsmbs/tst-wcpncpy.c: Likewise.
6142 * wcsmbs/tst-wcrtomb.c: Likewise.
6143 * wcsmbs/tst-wcsnlen.c: Likewise.
6144 * wcsmbs/tst-wcstof.c: Likewise.
6146 2014-11-04 Joseph Myers <joseph@codesourcery.com>
6149 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6151 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6153 (_dl_mcount): Use rtld_hidden_proto.
6154 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6156 * elf/rtld.c (_rtld_global_ro): Likewise.
6159 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6160 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6161 of _dl_init_internal.
6162 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6163 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6164 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6165 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6166 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6167 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6168 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6169 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6170 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6171 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6172 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6173 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6174 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6175 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6176 * sysdeps/tile/dl-start.S (_start): Likewise.
6177 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6178 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6181 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6182 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6183 (rtld_progname): Make macro definition unconditional.
6184 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6186 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6187 (dl_main): Likewise.
6188 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6189 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6190 instead of _dl_argv_internal.
6191 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6192 __GI__dl_argv instead of INTUSE(_dl_argv).
6193 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6194 __GI__dl_argv instead of _dl_argv_internal.
6196 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6197 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6199 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6200 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6202 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6203 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6205 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6206 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6208 2014-11-04 Andreas Schwab <schwab@suse.de>
6210 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6212 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6214 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6215 mtvsrd instruction in binary form.
6217 2014-11-03 Andreas Schwab <schwab@suse.de>
6220 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6221 for less than MB_LEN_MAX use a local buffer of that size.
6222 * libio/tst-fputws.c: New file.
6223 * libio/Makefile (tests): Add tst-fputws.
6225 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6227 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6228 the size of the fpu_fr.fpu_dregs[] array.
6230 2014-11-01 Joseph Myers <joseph@codesourcery.com>
6232 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6233 (__nanosleep): Do not define as alias.
6234 (nanosleep): Define as alias of __nanosleep.
6235 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6236 __libc_nanosleep name.
6238 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6240 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6241 install.texi in comment.
6243 2014-10-31 Torvald Riegel <triegel@redhat.com>
6245 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6246 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6247 ... add here and use lwsync or sync ...
6248 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6249 ... and add here using lwsync.
6251 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6253 * elf/dl-machine-reject-phdr.h: New file.
6254 * elf/dl-load.c: #include that.
6255 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6256 if that returned true.
6258 2014-10-31 Roland McGrath <roland@hack.frob.com>
6261 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6262 gen-as-const-headers chunk. Add a big scare comment after the last
6263 safe place to touch before-compile.
6265 2014-10-31 Joseph Myers <joseph@codesourcery.com>
6267 * manual/install.texi (Tools for Compilation): Update autoconf
6268 version requirements.
6269 * INSTALL: Regenerated.
6271 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6272 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6273 (__libc_pselect): Likewise.
6276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6281 2014-10-31 Torvald Riegel <triegel@redhat.com>
6283 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6284 correct barrier instruction.
6285 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6287 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6290 2014-10-30 Roland McGrath <roland@hack.frob.com>
6292 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6293 after defining inlines. Instead, just use parens to defeat macro
6294 expansion of __isctype in its declaration.
6296 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6298 * include/sys/uio.h (__libc_readv): Remove declaration.
6299 (__libc_writev): Likewise.
6300 * misc/readv.c (__libc_readv): Rename to __readv.
6301 (__readv): Do not define as alias.
6302 (readv): Define as alias of __readv.
6303 * misc/writev.c (__libc_writev): Rename to __writev.
6304 (__writev): Do not define as alias.
6305 (writev): Define as alias of __writev.
6306 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6307 (__readv): Do not define as alias.
6308 (readv): Define unconditionally as alias of __readv.
6309 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6310 (__writev): Do not define as alias.
6311 (writev): Define unconditionally as alias of __writev.
6312 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6314 (writev): Do not define __libc_writev name.
6316 2014-10-30 Roland McGrath <roland@hack.frob.com>
6318 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6319 (convert_charseq): New function, broken out of ...
6320 (use_from_charmap): ... here. Call it.
6321 (use_to_charmap): Use convert_charseq and free instead of duplicating
6322 its code with a variable-length stack struct.
6324 2014-10-30 Joseph Myers <joseph@codesourcery.com>
6326 * include/fcntl.h (__libc_creat): Remove declaration.
6327 * io/creat.c (__libc_creat): Rename to creat.
6328 (creat): Do not define as alias.
6329 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6330 of creat instead of __libc_creat.
6331 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6333 (creat): Do not define as alias.
6334 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6336 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6341 2014-10-29 Carlos O'Donell <carlos@redhat.com>
6343 * manual/llio.texi: Add comments discussing why write() may be
6344 considered MT-unsafe on Linux.
6346 2014-10-28 Carlos O'Donell <carlos@redhat.com>
6348 * dl-load.c (local_strdup): Remove.
6349 (expand_dynamic_string_token): Use __strdup.
6350 (decompose_rpath): Likewise.
6351 (_dl_map_object): Likewise.
6353 2014-10-28 Joseph Myers <joseph@codesourcery.com>
6356 * sysdeps/generic/unwind-dw2-fde.c
6357 (__register_frame_info_bases_internal): Do not declare.
6358 (__register_frame_info_table_bases_internal): Likewise.
6359 (__deregister_frame_info_bases_internal): Likewise.
6360 (__register_frame_info_bases): Declare and use hidden_proto before
6361 definition. Use hidden_def instead of INTDEF.
6362 (__register_frame_info_table_bases): Likewise.
6363 (__deregister_frame_info_bases): Likewise.
6364 (__register_frame_info): Do not use INTUSE.
6365 (__register_frame): Likewise.
6366 (__register_frame_info_table): Likewise.
6367 (__register_frame_table): Likewise.
6368 (__deregister_frame_info): Likewise.
6369 (__deregister_frame): Likewise.
6371 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
6373 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6374 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6376 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6378 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6381 2014-10-27 Joseph Myers <joseph@codesourcery.com>
6384 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6385 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6386 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6387 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6388 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6389 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6390 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6391 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6392 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6393 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6394 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6395 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6396 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6398 (setfsuid): Likewise.
6399 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6400 (setfsuid): Likewise.
6401 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6402 (setfsuid): Likewise.
6403 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6405 (setfsuid): Likewise.
6406 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6407 (setfsuid): Likewise.
6408 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6410 (setfsuid): Likewise.
6412 2014-10-27 Andreas Schwab <schwab@suse.de>
6415 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6416 check for Slow_SSE4_2 feature bit.
6417 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6418 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6419 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6420 Likewise. Fix check for Fast_Unaligned_Load feature bit.
6422 2014-10-24 Roland McGrath <roland@hack.frob.com>
6424 * configure.ac: Validate compiler version with a empirical test of
6425 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6427 * configure: Regenerated.
6429 * inet/htons.c (htons): Prototypify.
6430 * inet/htonl.c (htonl): Likewise.
6432 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6434 * string/strncat.c (strncat): Improve performance by using strlen.
6436 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6438 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6440 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6442 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6443 Call libc_fetestexcept_aarch64.
6445 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6447 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6448 Call libc_feholdexcept_aarch64.
6450 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6452 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6453 Call get_rounding_mode.
6455 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6457 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6460 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
6462 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6465 2014-10-24 Joseph Myers <joseph@codesourcery.com>
6468 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6469 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6470 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6471 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6472 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6473 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6474 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6475 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6476 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6477 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6478 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6479 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6480 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6481 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6482 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6483 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6484 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6485 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6486 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6487 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6488 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6489 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6490 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6491 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6492 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6493 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6494 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6495 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6496 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6497 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6498 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6499 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6500 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6501 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6502 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6503 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6504 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6505 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6506 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6507 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6508 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6510 (geteuid): Likewise.
6513 (getresgid): Likewise.
6514 (getresuid): Likewise.
6515 (getgroups): Likewise.
6516 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6517 (geteuid): Likewise.
6520 (getresgid): Likewise.
6521 (getresuid): Likewise.
6522 (getgroups): Likewise.
6523 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6524 (geteuid): Likewise.
6527 (getresgid): Likewise.
6528 (getresuid): Likewise.
6529 (getgroups): Likewise.
6530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6532 (geteuid): Likewise.
6535 (getresgid): Likewise.
6536 (getresuid): Likewise.
6537 (getgroups): Likewise.
6538 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6539 (geteuid): Likewise.
6542 (getresgid): Likewise.
6543 (getresuid): Likewise.
6544 (getgroups): Likewise.
6545 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6547 (geteuid): Likewise.
6550 (getgroups): Likewise.
6553 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6554 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6555 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6556 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6557 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6558 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6559 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6560 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6561 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6562 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6563 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6564 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6565 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6567 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6574 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6577 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6582 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6584 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6587 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6589 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6592 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6594 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6595 Remove unused include.
6597 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
6599 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6600 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6601 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6602 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6604 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
6605 Helge Deller <deller@gmx.de>
6608 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6609 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6610 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6612 2014-10-23 Joseph Myers <joseph@codesourcery.com>
6615 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6616 Remove macro definition.
6617 (__ashrdi3_v_glibc20): Likewise.
6618 (__lshrdi3_v_glibc20): Likewise.
6619 (__cmpdi2_v_glibc20): Likewise.
6620 (__ucmpdi2_v_glibc20): Likewise.
6621 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6622 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6623 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6624 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6625 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6626 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6628 2014-10-22 Roland McGrath <roland@hack.frob.com>
6630 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6631 old GNU extension [0] syntax.
6632 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6633 alloca rather than an array member with variable length.
6634 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6635 * nscd/nscd.c (invalidate_db): New function, broken out of ...
6636 (parse_opt): ... here. Likewise use alloca there.
6637 Validate the -i argument before checking for rootness.
6638 (send_shutdown): New function, broken out of ...
6639 (parse_opt): ... here.
6641 2014-10-22 Roland McGrath <roland@hack.frob.com>
6643 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6644 macro to get at the _rt_local_ro field.
6645 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6646 ([PIC] case) or _dl_hwcap ([!PIC] case).
6647 * sysdeps/arm/setjmp.S: Likewise.
6649 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6650 * sysdeps/arm/configure.ac: New check to define it.
6651 * sysdeps/arm/configure: Regenerated.
6652 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6653 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6654 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6655 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6656 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6657 Use move/movt pair instead of a load.
6658 (LDST_GLOBAL): Macro removed.
6659 (LDR_GLOBAL): New macro replaces it.
6660 (LDR_HIDDEN): New macro.
6661 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6662 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6664 * setjmp/tst-setjmp-static.c: New file.
6665 * setjmp/Makefile (tests): Add it.
6666 (tests-static): New variable.
6668 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
6671 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6673 2014-10-21 Joseph Myers <joseph@codesourcery.com>
6676 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6678 2014-10-21 Roland McGrath <roland@hack.frob.com>
6680 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6682 2014-10-20 Roland McGrath <roland@hack.frob.com>
6684 * io/fts.c (dirent_not_directory): New function.
6685 (fts_build): Call it.
6687 2014-10-20 Roland McGrath <roland@hack.frob.com>
6689 * nptl/version.c (__nptl_main): Use normal __write rather than
6691 (banner): Update copyright years.
6693 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6695 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6696 * nptl/pthread_cond_timedwait.c: Likewise.
6697 * nptl/pthread_mutex_timedlock.c: Likewise.
6698 * nptl/sem_timedwait.c: Likewise.
6700 * sysdeps/nptl/bits/libc-lock.h
6701 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6702 (__libc_lock_init_recursive): Return void, not 0.
6703 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6704 (__libc_rwlock_init): Likewise.
6705 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6707 2014-10-20 Torvald Riegel <triegel@redhat.com>
6710 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6711 (__pthread_once_slow): ... here.
6712 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6713 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6715 2014-10-20 Torvald Riegel <triegel@redhat.com>
6718 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6719 __PTHREAD_ONCE_FORK_GEN_INCR): New.
6720 * sysdeps/nptl/fork.c (__libc_fork): Use them.
6721 * nptl/pthread_once.c (__pthread_once): Likewise.
6724 2014-10-20 Joseph Myers <joseph@codesourcery.com>
6727 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6729 (writev): Use __libc_writev as strong name.
6730 * sysdeps/unix/sysv/linux/readv.c: Remove file.
6731 * sysdeps/unix/sysv/linux/writev.c: Likewise.
6733 2014-10-17 Roland McGrath <roland@hack.frob.com>
6735 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6737 * sysdeps/i386/nptl/tls.h
6738 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6739 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6741 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6742 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6743 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6744 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6745 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6746 Call CHECK_THREAD_SYSINFO instead of doing an assert.
6748 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6749 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6751 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6753 (__pthread_mutex_init): ... here. Call it.
6754 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6755 Conditionalize PI cases on [__NR_futex].
6756 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6757 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6758 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6760 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6761 conditional on [SIGSETXID].
6762 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6763 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6764 is defined. Likewise for SIGSETXID.
6765 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6766 Conditionalize definitions on [SIGSETXID].
6767 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6768 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6769 unblocking on [SIGCANCEL].
6771 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6772 [__NR_set_robust_list].
6774 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6776 * string/strcoll_l.c (get_next_seq): Fix up formatting.
6777 (do_compare): Likewise.
6779 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
6782 * string/strcoll_l.c: Don't include stdio.h.
6783 (coll_seq): Remove members idxarr and rulearr.
6784 (get_next_seq_cached): Remove function.
6785 (get_next_seq): Likewise.
6786 (get_next_seq_nocache): Rename to get_next_seq.
6787 (do_compare): Remove function.
6788 (do_compare_nocache): Rename to do_compare.
6789 (STRCOLL): Remove weight and rules cache.
6791 2014-10-16 Roland McGrath <roland@hack.frob.com>
6793 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6794 * sysdeps/arm/sfp-machine.h: ... to here.
6795 * sysdeps/arm/Implies: Remove arm/soft-fp.
6797 2014-10-14 Joseph Myers <joseph@codesourcery.com>
6799 * conform/data/sys/utsname.h-data (*_t): Allow.
6800 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6801 [POSIX] (WEXITED): Do not expect constant.
6802 [POSIX] (WSTOPPED): Likewise.
6803 [POSIX] (WNOHANG): Likewise.
6804 [POSIX] (WNOWAIT): Likewise.
6805 [POSIX] (siginfo_t): Do not expect type or elements.
6806 [POSIX] (pid_t): Do not expect type.
6807 [POSIX] (signal.h): Do not allow header.
6808 [POSIX] (sys/resource.h): Likewise.
6809 [POSIX] (si_*): Do not allow pattern.
6810 [POSIX] (W*): Likewise.
6811 [POSIX] (P_*): Likewise.
6812 [POSIX] (BUS_*): Likewise.
6813 [POSIX] (CLD_*): Likewise.
6814 [POSIX] (FPE_*): Likewise.
6815 [POSIX] (ILL_*): Likewise.
6816 [POSIX] (POLL_*): Likewise.
6817 [POSIX] (SEGV_*): Likewise.
6818 [POSIX] (SI_*): Likewise.
6819 [POSIX] (TRAP_*): Likewise.
6820 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6823 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
6826 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6827 infinite loop when __recvmsg returns 0.
6829 2014-10-10 Joseph Myers <joseph@codesourcery.com>
6831 * CANCEL-FCT-WAIVE: Remove file.
6832 * CANCEL-FILE-WAIVE: Likewise.
6835 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6836 instead of INTVARDEF.
6837 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6838 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6839 rtld_hidden_data_def instead of INTVARDEF.
6840 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6841 * elf/dl-deps.c (expand_dst): Likewise.
6842 * elf/dl-load.c (_dl_dst_count): Likewise.
6843 (_dl_dst_substitute): Likewise.
6844 (decompose_rpath): Likewise.
6845 (_dl_init_paths): Likewise.
6846 (open_path): Likewise.
6847 (_dl_map_object): Likewise.
6848 * elf/rtld.c (dl_main): Likewise.
6849 (process_dl_audit): Likewise.
6850 (process_envvars): Likewise.
6851 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6853 (__libc_enable_secure): Use rtld_hidden_proto.
6855 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6858 (add_path): New function broken out of _dl_rtld_di_serinfo.
6859 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
6861 2014-10-09 Joseph Myers <joseph@codesourcery.com>
6863 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6864 parentheses around macro arguments.
6865 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6866 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6867 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6868 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6869 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6870 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6871 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6872 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6873 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6874 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6875 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6876 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6877 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6878 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6879 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6880 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6881 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6882 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6883 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6884 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6885 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6886 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6887 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6888 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6890 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6891 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6892 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6893 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6894 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6895 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6896 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6897 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6898 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6899 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6900 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6902 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6903 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6904 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6905 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6906 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6907 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6908 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6909 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6910 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6911 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6912 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6913 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6914 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6915 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6916 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6917 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6918 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6919 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6920 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6921 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6922 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6923 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6924 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6925 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6926 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6927 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6928 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6929 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6930 (_FP_FRAC_SRS_1): Likewise.
6931 (_FP_FRAC_CLZ_1): Likewise.
6932 (_FP_MUL_MEAT_1_imm): Likewise.
6933 (_FP_MUL_MEAT_1_wide): Likewise.
6934 (_FP_MUL_MEAT_1_hard): Likewise.
6935 (_FP_SQRT_MEAT_1): Likewise.
6936 (_FP_FRAC_ASSEMBLE_1): Likewise.
6937 (_FP_FRAC_DISASSEMBLE_1): Likewise.
6938 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6939 (__FP_CLZ_2): Likewise.
6940 (_FP_MUL_MEAT_2_wide): Likewise.
6941 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6942 (_FP_MUL_MEAT_2_gmp): Likewise.
6943 (_FP_MUL_MEAT_2_120_240_double): Likewise.
6944 (_FP_SQRT_MEAT_2): Likewise.
6945 (_FP_FRAC_ASSEMBLE_2): Likewise.
6946 (_FP_FRAC_DISASSEMBLE_2): Likewise.
6947 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6948 (_FP_FRAC_CLZ_4): Likewise.
6949 (_FP_MUL_MEAT_4_wide): Likewise.
6950 (_FP_MUL_MEAT_4_gmp): Likewise.
6951 (_FP_SQRT_MEAT_4): Likewise.
6952 (_FP_FRAC_ASSEMBLE_4): Likewise.
6953 (_FP_FRAC_DISASSEMBLE_4): Likewise.
6954 * soft-fp/op-common.h (_FP_CMP): Likewise.
6955 (_FP_CMP_EQ): Likewise.
6956 (_FP_CMP_UNORD): Likewise.
6957 (_FP_TO_INT): Likewise.
6958 (_FP_FROM_INT): Likewise.
6959 [!__FP_CLZ] (__FP_CLZ): Likewise.
6960 (_FP_DIV_HELP_imm): Likewise.
6961 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6963 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6964 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6965 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6966 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6967 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6968 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6969 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6970 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6971 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6972 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6973 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6974 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6975 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6976 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6977 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6978 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6979 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6980 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6981 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6982 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6983 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6984 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6985 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6986 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6987 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6988 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6989 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6990 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6991 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6992 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6993 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6994 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6995 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6996 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6997 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6998 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6999 (FP_UNPACK_RAW_SP): Likewise.
7000 (FP_PACK_RAW_S): Likewise.
7001 (FP_PACK_RAW_SP): Likewise.
7002 (FP_UNPACK_S): Likewise.
7003 (FP_UNPACK_SP): Likewise.
7004 (FP_UNPACK_SEMIRAW_S): Likewise.
7005 (FP_UNPACK_SEMIRAW_SP): Likewise.
7006 (FP_PACK_S): Likewise.
7007 (FP_PACK_SP): Likewise.
7008 (FP_PACK_SEMIRAW_S): Likewise.
7009 (FP_PACK_SEMIRAW_SP): Likewise.
7010 (_FP_SQRT_MEAT_S): Likewise.
7011 (FP_CMP_S): Likewise.
7012 (FP_CMP_EQ_S): Likewise.
7013 (FP_CMP_UNORD_S): Likewise.
7014 (FP_TO_INT_S): Likewise.
7015 (FP_FROM_INT_S): Likewise.
7017 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7019 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7020 (FP_EX_INVALID_IMZ): Likewise.
7021 (FP_EX_INVALID_IMZ_FMA): Likewise.
7022 (FP_EX_INVALID_ISI): Likewise.
7023 (FP_EX_INVALID_ZDZ): Likewise.
7024 (FP_EX_INVALID_IDI): Likewise.
7025 (FP_EX_INVALID_SQRT): Likewise.
7026 (FP_EX_INVALID_CVI): Likewise.
7027 (FP_EX_INVALID_VC): Likewise.
7028 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7029 "invalid" exceptions.
7030 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7031 (_FP_ADD_INTERNAL): Likewise.
7032 (_FP_MUL): Likewise.
7033 (_FP_FMA): Likewise.
7034 (_FP_DIV): Likewise.
7035 (_FP_CMP_CHECK_NAN): Likewise.
7036 (_FP_SQRT): Likewise.
7037 (_FP_TO_INT): Likewise.
7038 (FP_EXTEND): Likewise.
7040 2014-10-09 Allan McRae <allan@archlinux.org>
7042 * po/fr.po: Update French translation from translation project.
7044 2014-10-09 Joseph Myers <joseph@codesourcery.com>
7047 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7049 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7050 (__cxa_atexit): Use libc_hidden_proto.
7051 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7054 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7056 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7057 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7058 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7059 [!_ISOMAC] (__iswctype_internal): Likewise.
7060 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7061 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7063 (fcntl): Remove __fcntl_internal alias.
7064 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7065 __connect_internal alias.
7066 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7069 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7070 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7072 (_FP_CHECK_FLUSH_ZERO): New macro.
7073 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7074 (_FP_CMP): Likewise.
7075 (_FP_CMP_EQ): Likewise.
7076 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7078 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7079 (FP_TRUNC): Likewise.
7081 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7082 treated as invalid conversion, not as normal exponent.
7084 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7085 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7086 (_FP_CMP_EQ): Likewise.
7087 (_FP_CMP_UNORD): Likewise.
7088 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7089 (FP_CMP_EQ_D): Likewise.
7090 (FP_CMP_UNORD_D): Likewise.
7091 * soft-fp/extended.h (FP_CMP_E): Likewise.
7092 (FP_CMP_EQ_E): Likewise.
7093 (FP_CMP_UNORD_E): Likewise.
7094 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7095 (FP_CMP_EQ_Q): Likewise.
7096 (FP_CMP_UNORD_Q): Likewise.
7097 * soft-fp/single.h (FP_CMP_S): Likewise.
7098 (FP_CMP_EQ_S): Likewise.
7099 (FP_CMP_UNORD_S): Likewise.
7100 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7101 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7102 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7103 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7104 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7105 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7106 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7107 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7108 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7109 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7110 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7111 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7112 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7114 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7116 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7117 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7119 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7121 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7122 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7123 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7124 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7126 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7128 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7129 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7131 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7133 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7134 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7135 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7136 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7139 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7140 a subnormal result, set the underflow exception if trapping on
7141 underflow is enabled.
7142 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7143 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7144 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7146 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7147 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7148 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7149 * soft-fp/extendxftf2.c (__extendxftf2): Use
7150 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7152 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7153 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7154 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7155 FP_HANDLE_EXCEPTIONS.
7156 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7157 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7158 FP_HANDLE_EXCEPTIONS.
7159 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7160 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7161 FP_HANDLE_EXCEPTIONS.
7162 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7163 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7164 FP_HANDLE_EXCEPTIONS.
7166 2014-10-08 Joseph Myers <joseph@codesourcery.com>
7169 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7170 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7172 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7173 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7175 (__adjtimex): Define using libc_hidden_ver.
7176 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7178 (ntp_gettime): Call __adjtimex directly.
7179 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7181 (ntp_gettimex): Call __adjtimex directly.
7182 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7183 __adjtimex_internal alias.
7185 2014-10-08 Roland McGrath <roland@hack.frob.com>
7188 * nscd/nscd.c (more_help): Rewrite list of tables collection
7189 using xstrdup and asprintf.
7191 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7193 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7194 Roland McGrath <roland@hack.frob.com>
7196 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7197 (do_lookup_unique): ... local function 'enter' here; update callers.
7199 2014-10-06 Joseph Myers <joseph@codesourcery.com>
7201 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7202 compat_symbol calls on [SHARED].
7203 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7204 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7206 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7207 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7208 (oldsetrlimit): Remove.
7209 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7211 (lchown): New syscall entry.
7212 (oldsetrlimit): Remove.
7213 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7215 (oldsetrlimit): Remove.
7216 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7219 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7220 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7221 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7222 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7223 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7224 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7226 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7231 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7233 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7234 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7235 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7236 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7237 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7239 (__old_sem_post): Likewise.
7241 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
7243 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7244 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7245 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7246 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7247 Use INLINE_VSYSCALL macro.
7248 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7249 __vdso_clock_gettime.
7250 * sysdeps/unix/sysv/linux/tile/init-first.c
7251 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7252 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7253 __vdso_clock_gettime.
7255 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7256 to set up frame more cleanly.
7258 * sysdeps/tile/memcmp.c: New file.
7260 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7262 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7263 * sysdeps/tile/tilegx/strcasestr.c: New file.
7264 * sysdeps/tile/tilegx/strnlen.c: New file.
7265 * sysdeps/tile/tilegx/strstr.c: New file.
7267 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7269 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
7271 * nptl/tst-setuid3.c: Write errors to stdout.
7273 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7276 (preload): New functions broken out of _dl_map_object_deps.
7277 (_dl_map_object_deps): Remove a nested function. Update call sites.
7279 2014-10-01 Joseph Myers <joseph@codesourcery.com>
7282 * sysdeps/unix/sysv/linux/execve.c: Remove file.
7283 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7285 2014-10-01 Steve Ellcey <sellcey@mips.com>
7287 * sysdeps/mips/strcmp.S: New.
7289 2014-09-30 Joseph Myers <joseph@codesourcery.com>
7292 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7294 (mkdirat): Likewise.
7295 (readlinkat): Likewise.
7296 (renameat): Likewise.
7297 (symlinkat): Likewise.
7298 (unlinkat): Likewise.
7299 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7300 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7301 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7302 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7303 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7304 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7305 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7307 2014-09-30 Will Newton <will.newton@linaro.org>
7309 * math/math.h: Define long double math functions if
7310 _LIBC_TEST is defined.
7311 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7313 * localedata/Makefile: Move assignment to tests-special
7314 into an ifdef testing run-built-tests.
7315 * timezone/Makefile: Likewise.
7317 2014-09-29 Joseph Myers <joseph@codesourcery.com>
7319 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7320 with $(BASH) not $(SHELL).
7322 2014-09-29 Carlos O'Donell <carlos@redhat.com>
7323 Matthew LeGendre <legendre1@llnl.gov>
7326 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7329 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7331 * stdio-common/printf_fp.c
7332 (hack_digit): New function, broken out of ...
7333 (__printf_fp): ... local function here. Update call sites.
7334 hack_digit now takes an additional parameter that is a pointer
7335 to a struct of the referenced locals. Those locals moved inside
7336 the struct and references updated.
7338 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
7340 * aclocal.m4: Require autoconf 2.69.
7341 * configure: Regenerated.
7342 * sysdeps/aarch64/configure: Likewise.
7343 * sysdeps/alpha/configure: Likewise.
7344 * sysdeps/arm/armv7/configure: Likewise.
7345 * sysdeps/arm/configure: Likewise.
7346 * sysdeps/ia64/configure: Likewise.
7347 * sysdeps/mach/configure: Likewise.
7348 * sysdeps/mips/configure: Likewise.
7349 * sysdeps/s390/configure: Likewise.
7350 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7353 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7355 * sysdeps/ia64/configure.ac: Likewise.
7357 2014-09-26 Joseph Myers <joseph@codesourcery.com>
7359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7360 specify symbol version for ld.so. Do not include entry for
7362 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7363 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7364 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7367 * Makeconfig [$(build-shared) = yes]
7368 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7370 [$(build-shared) = yes && $(soversions.mk-done) = t]
7371 ($(common-objpfx)gnu/lib-names.h): Remove rule.
7372 [$(build-shared) = yes && $(soversions.mk-done) = t]
7373 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
7375 [$(build-shared) = yes && $(soversions.mk-done) = t]
7376 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7378 [$(build-shared) = yes && $(soversions.mk-done) = t]
7379 (common-generated): Don't append gnu/lib-names.h and
7380 gnu/lib-names.stmp here.
7381 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7382 (lib-names-h-abi): New variable.
7383 [$(build-shared) = yes && $(soversions.mk-done) = t]
7384 (lib-names-stmp-abi): Likewise.
7385 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7386 abi-variants] (before-compile): Append
7387 $(common-objpfx)$(lib-names-h-abi).
7388 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7389 abi-variants] (common-generated): Append gnu/lib-names.h.
7390 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7391 abi-variants] (install-others-nosubdir): Depend on
7392 $(inst_includedir)/$(lib-names-h-abi).
7393 [$(build-shared) = yes && $(soversions.mk-done) = t &&
7394 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7395 [$(build-shared) = yes && $(soversions.mk-done) = t]
7396 ($(common-objpfx)$(lib-names-h-abi)): New rule.
7397 [$(build-shared) = yes && $(soversions.mk-done) = t]
7398 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7399 [$(build-shared) = yes && $(soversions.mk-done) = t]
7400 (common-generated): Append $(lib-names-h-abi) and
7401 $(lib-names-stmp-abi).
7402 * scripts/lib-names.awk: Do not handle multi being set.
7403 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7405 (abi-lp64_be-ld-soname): Likewise.
7406 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7408 (abi-hard-ld-soname): Likewise.
7409 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7410 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7412 (abi-o32_hard-ld-soname): Likewise.
7413 (abi-o32_soft_2008-ld-soname): Likewise.
7414 (abi-o32_hard_2008-ld-soname): Likewise.
7415 (abi-n32_soft-ld-soname): Likewise.
7416 (abi-n32_hard-ld-soname): Likewise.
7417 (abi-n32_soft_2008-ld-soname): Likewise.
7418 (abi-n32_hard_2008-ld-soname): Likewise.
7419 (abi-n64_soft-ld-soname): Likewise.
7420 (abi-n64_hard-ld-soname): Likewise.
7421 (abi-n64_soft_2008-ld-soname): Likewise.
7422 (abi-n64_hard_2008-ld-soname): Likewise.
7423 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7425 (abi-64-v2-ld-soname): Likewise.
7426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7428 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7430 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7432 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7434 (abi-64-ld-soname): Likewise.
7435 (abi-x32-ld-soname): Likewise.
7436 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7438 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7440 2014-09-23 Joseph Myers <joseph@codesourcery.com>
7443 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7444 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7445 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7446 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7447 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7448 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7449 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7450 syscall entry for GLIBC_2.2 symbol version.
7451 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7454 (setrlimit): Likewise.
7455 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7458 2014-09-23 Will Newton <will.newton@linaro.org>
7460 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7461 _LINUX_ARM_SYSDEP_H include guard too.
7462 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7465 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
7467 * sysdeps/unix/sysv/linux/eventfd.c:
7468 Make first argument unsigned.
7469 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7470 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7472 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
7474 * socket/recvmmsg.c (recvmmsg): Drop const argument.
7475 * socket/sys/socket.h: Likewise
7476 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7478 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7480 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7482 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
7484 * time/tst-ftime.c: New test.
7485 * time/Makefile (tests): Add tst-ftime.
7487 2014-09-17 Joseph Myers <joseph@codesourcery.com>
7489 * soft-fp/extended.h: Fix comment formatting.
7490 * soft-fp/op-1.h: Likewise.
7491 * soft-fp/op-2.h: Likewise.
7492 * soft-fp/op-4.h: Likewise.
7493 * soft-fp/op-8.h: Likewise.
7494 * soft-fp/op-common.h: Likewise.
7495 * soft-fp/soft-fp.h: Likewise.
7497 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7499 2014-09-16 Joseph Myers <joseph@codesourcery.com>
7502 * Makeconfig (soversions-default-setname): Remove variable.
7503 ($(common-objpfx)soversions.i): Don't pass default_setname to
7505 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7506 oldest_abi to abi-versions.awk.
7507 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7508 * config.make.in (oldest-abi): Remove variable.
7509 * configure.ac (--enable-oldest-abi): Remove configure option.
7510 * configure: Regenerated.
7511 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7513 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7514 * scripts/soversions.awk: Do not handle default_setname variable.
7515 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7517 * sysdeps/mach/hurd/configure: Regenerated.
7518 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7520 * sysdeps/unix/sysv/linux/configure: Regenerated.
7522 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7524 * elf/Makefile (CFLAGS-interp.c): Remove.
7525 ($(elf-objpfx)runtime-linker.h): Generate header with linker
7527 * elf/interp.c: Include generated runtime-linker.h
7529 * Makerules (lib%.so): Don't include $(+interp) in
7531 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7532 * dlfcn/eval.c: Remove file.
7534 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7538 * misc/sys/cdefs.h: Define __extern_always_inline for clang
7542 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7544 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7545 Jakub Jelinek <jakub@redhat.com>
7548 * libio/stdio.h: Check definition of __fortify_function
7549 instead of __extern_always_inline to include bits/stdio2.h.
7550 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7551 check if __extern_always_inline is defined.
7552 [__USE_MISC || __USE_XOPEN]: Likewise.
7553 [__USE_ISOC99] Likewise.
7554 * misc/sys/cdefs.h (__fortify_function): Define only if
7555 __extern_always_inline is defined.
7556 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7557 __extern_always_inline and __extern_inline only for g++-4.3
7558 and newer or a compatible gcc.
7560 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
7563 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7564 last change to handle zero prefix length.
7566 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7568 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7571 * posix/getconf.c (vars): Add _POSIX_IPV6 and
7574 2014-09-13 Allan McRae <allan@archlinux.org>
7576 * po/ru.po: Update Russian translation from translation project.
7578 2014-09-12 Roland McGrath <roland@hack.frob.com>
7580 * locale/programs/locale.c (show_locale_vars): Inline local function
7581 into its sole call site. Clean up some style nits.
7582 (print_item): New function, broken out of ...
7583 (show_info): ... local function here. Clean up style nits.
7585 * locale/programs/ld-ctype.c (set_one_default): New function, broken
7587 (set_class_defaults): ... local function set_default here.
7588 Define set_default as a macro locally to pass constant parameters.
7589 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7590 rather than a shared local.
7592 * stdlib/rpmatch.c (try): New function, broken out of ...
7593 (rpmatch): ... local function here. Also, prototypify definition.
7595 2014-09-12 Joseph Myers <joseph@codesourcery.com>
7597 * scripts/soversions.awk: Do not handle configuration names.
7598 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7599 vendor and os variables to soversions.awk.
7600 * configure.ac: Do not modify gnu-* host_os.
7601 * configure: Regenerated
7602 * shlib-versions: Remove first column with configuration names.
7603 * nptl/shlib-versions: Likewise.
7604 * nptl_db/shlib-versions: Likewise.
7605 * sysdeps/hppa/shlib-versions: Likewise.
7606 * sysdeps/m68k/shlib-versions: Likewise.
7607 * sysdeps/mach/hurd/shlib-versions: Likewise.
7608 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7609 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7610 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7611 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7612 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7613 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7614 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7615 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7618 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7619 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7620 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7621 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7622 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7623 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7624 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7625 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7628 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7631 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7633 Condition symbol version definitions on [HAVE_ELFV2_ABI].
7635 * shlib-versions: Remove OS-specific entries. Moved to files in
7637 * sysdeps/mach/hurd/shlib-versions: New file.
7638 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7640 * nptl/shlib-versions: Remove architecture-specific entries.
7641 Moved to files in sysdeps.
7642 * shlib-versions: Likewise.
7643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7645 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7646 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7647 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7648 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7650 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7651 (UDP_NO_CHECK6_RX): Likewise.
7653 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7655 * sysdeps/posix/sysconf.c (__sysconf): Spell
7656 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7658 2014-08-12 Florian Weimer <fweimer@redhat.com>
7660 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7662 * iconv/Versions (__gconv_transliterate): Export for use from
7664 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7665 (struct __gconv_trans_data, __gconv_trans_fct,
7666 __gconv_trans_context_fct, __gconv_trans_query_fct,
7667 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7669 (struct __gconv_step_data): Remove __trans member.
7670 (__gconv_transliterate): Declaration moved from gconv_int.h. No
7671 longer hidden. Remove unused trans_data argument.
7672 * iconv/gconv_int.h (struct trans_struct): Remove definition.
7673 (__gconv_translit_find): Remove declaration.
7674 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
7676 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7677 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7678 trans_data argument. Add hidden definition.
7679 (__gconv_translit_find): Remove.
7680 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7681 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7682 * iconv/skeleton.c: Remove transliteration initialization.
7683 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7684 __gconv_step_data initialization.
7685 * libio/iofwide.c (__libio_translit_): Remove.
7686 (_IO_fwide): Adjust struct __gconv_step_data initialization.
7687 * wcsmbs/btowc.c (__btowc): Likewise.
7688 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7689 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7690 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7691 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7692 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7693 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7694 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7695 * wcsmbs/wctob.c (wctob): Likewise.
7697 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7700 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7701 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
7703 * sysdeps/x86/Makefile: Adjust.
7705 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7706 Roland McGrath <roland@hack.frob.com>
7708 * locale/weight.h: Add include guard.
7709 (findidx): Make static rather than auto; take new parameters
7710 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7711 * locale/weightwc.h: Likewise.
7712 * posix/fnmatch_loop.c
7713 (FCT): Change type of EXTRA from int32_t to wint_t.
7714 Don't include either header inside the function.
7715 Call FINDIDX rather than findidx, and pass new arguments.
7716 #undef FINDIDX at the end of the file.
7717 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7718 FINDIDX before including fnmatch_loop.c for the non-wide version.
7719 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7720 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7721 for the wide version.
7722 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7723 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7724 Pass new arguments to findidx.
7725 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7726 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7727 Don't #include it inside the function. Pass new arguments to findidx.
7728 * posix/regex_internal.h
7729 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7730 (re_string_elem_size_at): Don't #include it inside the function.
7731 Pass new arguments to findidx.
7732 * string/strcoll_l.c: #include WEIGHT_H at top level.
7733 (get_next_seq): Don't #include it inside the function.
7734 Pass new arguments to findidx.
7735 (get_next_seq_nocache): Likewise.
7736 * string/strxfrm_l.c: #include WEIGHT_H at top level.
7737 (STRXFRM): Don't #include it inside the function.
7738 Pass new arguments to findidx.
7740 2014-09-11 Florian Weimer <fweimer@redhat.com>
7743 * malloc/malloc.c (unlink): Turn asserts into a call to
7746 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
7749 * libio/wfileops (do_ftell_wide): Free OUT.
7751 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
7753 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7755 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7758 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7759 group if the current group is empty.
7761 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7763 * benchtests/bench-memset.c (test_main): Add more test from size
7764 from 32 to 512 bytes.
7765 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7766 Add POWER8 memset object.
7767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7768 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7769 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7771 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7773 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7774 multiarch POWER8 memset optimization.
7775 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7776 POWER8 memset optimization.
7778 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7779 Remove bzero multiarch objects.
7780 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7781 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7782 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7783 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7785 [__bzero]: Redefine to specific name.
7786 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7787 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7788 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7790 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7791 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7793 2014-09-10 Florian Weimer <fweimer@redhat.com>
7795 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7796 warnings into errors.
7798 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7799 __cxa_thread_atexit_impl prototype.
7801 2014-09-09 Steve Ellcey <sellcey@mips.com>
7803 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7804 Fix capitalization of error message.
7806 2014-09-09 Steve Ellcey <sellcey@mips.com>
7808 * sysdeps/mips/preconfigure: Modify ABI tests.
7810 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
7812 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7814 2014-09-07 Roland McGrath <roland@hack.frob.com>
7815 Carlos O'Donell <carlos@systemhalted.org>
7817 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7818 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7819 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7820 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7821 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7822 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7823 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7824 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7825 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7826 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7827 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7828 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7829 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7830 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7831 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7832 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7833 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7834 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7835 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7836 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7837 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7838 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7839 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7840 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7841 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7842 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7843 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7844 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7845 Deconditionalize the code that was previously under [RESET_PID].
7846 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7847 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7848 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7849 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7852 2014-09-08 Allan McRae <allan@archlinux.org>
7854 * version.h (RELEASE): Set to "development".
7855 (VERSION): Set to "2.20.90"
7857 2014-09-07 Allan McRae <allan@archlinux.org
7859 * version.h (RELEASE): Set to "stable".
7860 (VERSION): Set to "2.20"
7861 * include/features.h (__GLIBC_MINOR__): Set to 20.
7863 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7866 * po/ko.po: Update Korean translation from translation project.
7868 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
7871 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7872 macro for handling signed relocations.
7874 2014-09-03 Florian Weimer <fweimer@redhat.com>
7877 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7878 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7880 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7881 * iconvdata/ibm935.c (BODY): Likewise.
7882 * iconvdata/ibm937.c (BODY): Likewise.
7883 * iconvdata/ibm939.c (BODY): Likewise.
7884 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7886 * iconvdata/Makefile (iconv-test.out): Pass module list to test
7888 * iconvdata/run-iconv-test.sh: New test loop for checking for
7891 2014-09-02 Khem Raj <raj.khem@gmail.com>
7893 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7896 2014-09-01 Allan McRae <allan@archlinux.org>
7898 * po/eo.po: Update Esperanto translation from translation project.
7900 * po/ca.po: Update Catalan translation from translation project.
7902 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7904 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7907 2014-08-27 Mark Wielaard <mjw@redhat.com>
7910 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7911 to call set_thread_area instead of hand written asm.
7912 (__NR_set_thread_area): Removed define.
7913 (TLS_FLAG_WRITABLE): Likewise.
7914 (__ASSUME_SET_THREAD_AREA): Remove check.
7915 (TLS_EBX_ARG): Remove define.
7916 (TLS_LOAD_EBX): Likewise.
7918 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
7920 Simplify atomicity of socket creation in bind.
7922 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7923 looking up the name after linking the file.
7925 2014-08-27 Allan McRae <allan@archlinux.org>
7927 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7929 2014-08-26 Florian Weimer <fweimer@redhat.com>
7932 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7933 trans_compare, open_translit, __gconv_translit_find):
7934 Remove module loading code.
7936 2014-08-26 Allan McRae <allan@archlinux.org>
7938 * po/vi.po: Update Vietnamese translation from translation project.
7940 * po/uk.po: Update Ukrainian translation from translation project.
7942 * po/fr.po: Update French translation from translation project.
7944 * po/ru.po: Update Russian translation from translation project.
7946 * po/pl.po: Update Polish translation from translation project.
7948 * po/cs.po: Update Czech translation from translation project.
7950 * po/de.po: Update German translation from translation project.
7952 * po/bg.po: Update Bulgarian translation from translation project.
7954 * po/sv.po: Update Sweedish translation from translation project.
7956 * po/nl.po: Update Dutch translation from translation project.
7958 * po/es.po: Update Spanish translation from translation project.
7960 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7962 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7964 * catgets/Makefile (CPPFLAGS-gencat): Remove.
7965 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7966 (CPPFLAGS-iconvconfig): Likewise.
7967 * timezone/Makefile (CPPFLAGS-zic): Likewise.
7969 * include/libc-symbols.h: Remove unnecessary check for
7971 * nptl/pthreadP.h: Likewise.
7972 * sysdeps/aarch64/setjmp.S: Likewise.
7973 * sysdeps/alpha/setjmp.S: Likewise.
7974 * sysdeps/arm/sysdep.h: Likewise.
7975 * sysdeps/i386/setjmp.S: Likewise.
7976 * sysdeps/m68k/setjmp.c: Likewise.
7977 * sysdeps/posix/getcwd.c: Likewise.
7978 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7979 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7980 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7981 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7982 * sysdeps/sh/sh3/setjmp.S: Likewise.
7983 * sysdeps/sh/sh4/setjmp.S: Likewise.
7984 * sysdeps/unix/alpha/sysdep.h: Likewise.
7985 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7986 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7987 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7988 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7992 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7993 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7996 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7998 * sysdeps/x86_64/setjmp.S: Likewise.
8000 2014-08-13 Joseph Myers <joseph@codesourcery.com>
8003 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8005 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8006 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8008 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8010 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8013 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8014 and __x86_64__ when disabling x87 inline functions.
8016 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8019 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8020 asm statement with __cpuid_count.
8022 2014-08-12 Mike Frysinger <vapier@gentoo.org>
8024 * configure.ac: Change __ehdr_start code to dereference the struct.
8025 Run readelf on the output to look for relocations.
8026 * configure: Regenerated.
8028 2014-08-12 Joseph Myers <joseph@codesourcery.com>
8031 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8033 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8035 2014-08-12 Roland McGrath <roland@hack.frob.com>
8037 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8039 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8042 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8043 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8045 2014-08-12 Sean Anderson <seanga2@gmail.com>
8047 * malloc/malloc.c: Fix typo in comment.
8049 2014-08-09 Allan McRae <allan@archlinux.org>
8051 * Regenerate libc.po.
8053 2014-08-08 Mike Frysinger <vapier@gentoo.org>
8055 * intl/tst-gettext2.sh: Check every lang file for creation.
8057 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8059 * sysdeps/aarch64/fpu/math_private.h
8060 (libc_feholdsetround_noex_aarch64_ctx): New function.
8062 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8064 * sysdeps/arm/armv6/strcpy.S (strcpy):
8065 Fix performance issue in misaligned cases.
8067 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8069 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8070 Move definition from termios.h.
8071 (struct termio): Likewise.
8072 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8073 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8074 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8075 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8077 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8078 Move definition to ioctl-types.h
8079 (struct termio): Likewise.
8080 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8081 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8082 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8083 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8086 2014-08-05 Richard Henderson <rth@redhat.com>
8088 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8090 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8092 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8093 Use __feraiseexcept.
8094 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8095 Protect libm symbols with IS_IN_libm.
8097 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8099 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8101 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8103 2014-08-04 Will Newton <will.newton@linaro.org>
8105 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8108 2014-08-04 Mike Frysinger <vapier@gentoo.org>
8110 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8111 variants for each function.
8113 2014-08-04 Roland McGrath <roland@hack.frob.com>
8115 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8117 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8118 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8120 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8121 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8122 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8123 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8124 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8125 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8126 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8127 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8128 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8129 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8130 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8131 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8132 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8133 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8134 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8135 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8136 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8137 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8138 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8139 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8140 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8141 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8142 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8143 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8144 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8145 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8146 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8147 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8148 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8149 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8150 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8151 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8152 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8153 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8154 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8155 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8156 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8157 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8158 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8159 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8160 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8161 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8162 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8163 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8164 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8165 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8166 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8167 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8168 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8169 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8170 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8171 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8172 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8174 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8175 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8177 2014-08-04 Roland McGrath <roland@hack.frob.com>
8179 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8180 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8181 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8182 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8183 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8184 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8186 2014-08-04 Roland McGrath <roland@hack.frob.com>
8188 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8189 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8190 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8191 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8193 2014-08-04 Roland McGrath <roland@hack.frob.com>
8195 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8196 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8197 (__libc_vfork): Define function under this name.
8198 (__vfork): Define as an alias.
8199 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8200 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8202 2014-08-04 Roland McGrath <roland@hack.frob.com>
8204 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8205 that was previously under [RESET_PID].
8206 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8208 2014-08-04 Andreas Schwab <schwab@suse.de>
8210 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8212 2014-08-03 Mike Frysinger <vapier@gentoo.org>
8214 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8217 2014-08-01 Roland McGrath <roland@hack.frob.com>
8219 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8221 2014-08-01 Richard Henderon <rth@redhat.com>
8223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8224 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8225 typo in exact zero test.
8226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8227 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8228 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8230 2014-08-01 Roland McGrath <roland@hack.frob.com>
8232 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8233 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8234 * sysdeps/arm/sysdep.h: ... here.
8235 [!__ASSEMBLER__]: Include <stdint.h>.
8237 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8239 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8240 (HAVE_WCTYPE_H): Likewise.
8241 (HAVE_ISWCTYPE): Likewise.
8242 (ENABLE_NLS): Likewise.
8243 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8244 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8246 * posix/regex_internal.c: Check if DEBUG is defined and is
8249 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8250 (HAVE_MBSRTOWCS): Likewise.
8251 * posix/fnmatch.c: Include string.h unconditionally.
8253 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8255 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8258 2014-07-31 Roland McGrath <roland@hack.frob.com>
8260 * sysdeps/generic/safe-fatal.h: New file.
8261 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8262 * nptl/forward.c: Include it.
8263 (__pthread_unwind): Use __safe_fatal as default action, rather
8264 than a bogus use of INTERNAL_SYSCALL that could never work.
8266 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8267 * configure.ac (libc_cv_builtin_trap): New test.
8268 * configure: Regenerated.
8269 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8270 (ABORT_INSTRUCTION): Define using __builtin_trap.
8272 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8273 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8274 * sysdeps/nptl/nptl-signals.h: New file.
8275 * nptl/pthreadP.h: Include <nptl-signals.h>.
8277 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8279 * sysdeps/s390/s390-64/utf16-utf32-z9.c
8280 (ONE_DIRECTION): Define.
8281 * sysdeps/s390/s390-64/utf8-utf16-z9.c
8282 (ONE_DIRECTION): Define.
8283 * sysdeps/s390/s390-64/utf8-utf32-z9.c
8284 (ONE_DIRECTION): Define.
8286 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
8288 * sysdeps/s390/Makefile: Delete file.
8289 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8290 * sysdeps/s390/__longjmp.c: Delete file.
8291 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8292 Remove fields __flags and __reserved.
8293 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8295 * sysdeps/s390/rtld-__longjmp.c: Delete file.
8296 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8297 * sysdeps/s390/rtld-setjmp.S: Likewise.
8298 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8299 * sysdeps/s390/s390-32/__longjmp.c: ... here.
8300 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8301 * sysdeps/s390/s390-32/setjmp.S: ... here.
8303 (__sigsetjmp): Remove setting __flags field.
8304 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8305 * sysdeps/s390/s390-64/__longjmp.c: ... here.
8306 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8307 * sysdeps/s390/s390-64/setjmp.S: ... here.
8309 (__sigsetjmp): Remove setting __flags field.
8310 * sysdeps/s390/setjmp.S: Delete file.
8311 * sysdeps/s390/sigjmp.c: Likewise.
8312 * sysdeps/s390/v1-longjmp.c: Likewise.
8313 * sysdeps/s390/v1-setjmp.h: Likewise.
8314 * sysdeps/s390/v1-sigjmp.c: Likewise.
8315 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8316 Remove v1-longjmp_chk.
8317 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8318 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8319 Include debug/longjmp_chk.c and add versioning.
8320 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8321 Include nptl/pt-longjmp.c and add versioning.
8322 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8323 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8324 Include __longjmp.c.
8325 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8327 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8328 (__getcontext): Remove setting __flags field.
8330 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8331 Don't restore upper high grps.
8332 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8334 (__swapcontext): Remove setting uc_flags field.
8335 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8337 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8338 Include __longjmp.c.
8339 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8341 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8342 (__getcontext): Remove setting __flags field.
8344 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8345 (__swapcontext): Remove setting uc_flags field.
8346 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8347 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8348 Remove fields uc_high_gprs and __reserved.
8349 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8350 New file with reverted content.
8351 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8352 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8354 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8357 2014-07-31 Andreas Schwab <schwab@suse.de>
8359 * config.h.in (HAVE_IFUNC): Define to 0.
8360 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8363 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
8365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8366 memmove-avx-unaligned, memcpy-avx-unaligned and
8367 mempcpy-avx-unaligned.
8368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8369 Add tests for AVX memcpy functions.
8370 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8371 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8373 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8374 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8376 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8377 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8379 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8380 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8381 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8383 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8386 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8389 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
8392 * manual/llio.texi: Add section about open file description locks.
8393 * manual/examples/ofdlocks.c: Example of open file description
8395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8396 F_OFD_SETLK, and F_OFD_SETLKW.
8398 2014-07-23 Allan McRae <allan@archlinux.org>
8400 * po/es.po: Update Spanish translation from translation project.
8402 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
8404 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8406 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
8409 * sysdeps/arm/dl-machine.h (elf_machine_rela)
8410 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8411 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8413 2014-07-17 Joseph Myers <joseph@codesourcery.com>
8416 * math/fesetenv.c (__fesetenv)
8417 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8418 * math/feupdateenv.c (__feupdateenv)
8419 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8421 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8422 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8423 (__ASSUME_SOCKETCALL): Do not define.
8425 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8426 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8427 (__ASSUME_SOCKETCALL): Do not define.
8428 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8429 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8430 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8431 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8432 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8433 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8434 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8435 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8437 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8438 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8439 (__ASSUME_SOCKETCALL): Do not define.
8440 (__ASSUME_IPC64): Define unconditionally.
8441 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8442 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8443 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8444 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8445 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8446 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8447 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8450 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8451 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8452 (__ASSUME_SOCKETCALL): Do not define.
8453 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8454 (__ASSUME_FUTEX_LOCK_PI): Likewise.
8455 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8456 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8457 (__ASSUME_REQUEUE_PI): Define unconditionally.
8458 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8459 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8460 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8461 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8462 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8463 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8465 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8466 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8467 (__ASSUME_SOCKETCALL): Do not define.
8468 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8469 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8470 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8471 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8472 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8473 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8475 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8476 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8477 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8478 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8479 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8480 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8481 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8482 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8483 (__ASSUME_GETCPU_SYSCALL): Likewise.
8485 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8486 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
8487 cases for individual architectures.
8488 * sysdeps/gnu/configure: Regenerated.
8489 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8490 LIBC_SLIBDIR_RTLDDIR.
8491 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8492 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8493 LIBC_SLIBDIR_RTLDDIR.
8494 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8496 LIBC_SLIBDIR_RTLDDIR.
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8499 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8500 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8502 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8503 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8505 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8506 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8507 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8508 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8510 * sysdeps/aarch64/shlib-versions: Move to ...
8511 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8512 * sysdeps/alpha/shlib-versions: Move to ...
8513 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8514 * sysdeps/arm/shlib-versions: Move to ...
8515 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8516 * sysdeps/hppa/shlib-versions: Move all contents except for
8517 libgcc_s entry to ...
8518 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
8520 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
8521 * sysdeps/ia64/shlib-versions: Move to ...
8522 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
8524 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
8525 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8526 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8527 * sysdeps/microblaze/shlib-versions: Move to ...
8528 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8529 * sysdeps/mips/shlib-versions: Move to ...
8530 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
8532 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
8533 * sysdeps/tile/shlib-versions: Move to ...
8534 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8535 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8537 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
8538 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8540 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
8542 2014-07-17 Will Newton <will.newton@linaro.org>
8544 * sysdeps/arm/bits/atomic.h
8545 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8546 (__arch_compare_and_exchange_bool_16_int): Likewise.
8547 (__arch_compare_and_exchange_bool_64_int): Likewise.
8549 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8550 into an #else block.
8552 2014-07-16 Roland McGrath <roland@hack.frob.com>
8554 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8555 just Linux configurations. Test empirically that the compiler sets
8556 __ARM_EABI__, rather than using the tuple to decide.
8557 * sysdeps/arm/preconfigure: Regenerated.
8558 * sysdeps/unix/sysv/linux/arm/configure: File removed.
8559 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8560 contents appended ...
8561 * sysdeps/arm/configure.ac: ... here.
8562 * sysdeps/arm/configure: Regenerated.
8564 2014-07-15 Roland McGrath <roland@hack.frob.com>
8566 * nptl/pthread_kill.c: New file.
8567 * nptl/pthread_sigmask.c: New file.
8568 * nptl/pthread_sigqueue.c: New file.
8570 * sysdeps/nptl/lowlevellock.h: New file.
8571 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8572 * sysdeps/nptl/lowlevellock-futex.h: New file.
8574 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8575 Remove dead declarations.
8577 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
8579 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8580 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8582 * sysdeps/x86_64/configure.ac: Likewise.
8583 * sysdeps/i386/configure: Regenerated.
8584 * sysdeps/x86_64/configure: Likewise.
8585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8586 memset-avx2 only if config-cflags-avx2 is yes.
8587 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8588 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8590 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8591 only if HAVE_AVX2_SUPPORT is defined.
8592 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8594 2014-07-14 Alan Modra <amodra@gmail.com>
8597 * elf/elf.h (DT_PPC64_NUM): Correct value.
8598 * NEWS: Add to fixed bug list.
8600 2014-07-13 Jim Meyering <meyering@fb.com>
8603 regex: don't deref NULL upon heap allocation failure
8604 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8605 failure in one more place.
8606 To trigger the segfault, configure grep -with-included-regex,
8607 build it, and run these commands:
8608 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8610 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
8612 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8614 2014-07-11 Richard Henderson <rth@redhat.com>
8616 * sysdeps/aarch64/libm-test-ulps: Update.
8618 2014-07-10 Florian Weimer <fweimer@redhat.com>
8621 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8622 * nptl/allocatestack.c (__nptl_setxid_error): New function.
8623 (__nptl_setxid): Initialize error member. Call
8624 __nptl_setxid_error.
8625 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8626 * nptl/descr.h (struct xid_command): Add error member.
8627 * nptl/tst-setuid3.c: New file.
8628 * nptl/Makefile (tests): Add it.
8630 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8632 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8634 (__lll_trylock): Use __lll_base_trylock.
8635 (__lll_cond_trylock): Likewise.
8637 2014-07-10 Roland McGrath <roland@hack.frob.com>
8639 * nptl/pthread_create.c (start_thread): Use atomic_or and
8640 lll_futex_wake directly rather than lll_robust_dead.
8641 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8642 (lll_robust_dead): Macro removed.
8643 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8644 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8645 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8646 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8647 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8648 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8649 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8650 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8651 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8652 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8653 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8654 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8655 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8656 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8657 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8659 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8660 Use atomic_compare_and_exchange_val_acq directly rather than
8662 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8663 (__lll_robust_trylock, lll_robust_trylock): Removed.
8664 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8665 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8666 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8667 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8668 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8669 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8670 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8671 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8672 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8673 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8674 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8675 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8676 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8677 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8679 2014-07-02 Florian Weimer <fweimer@redhat.com>
8681 * manual/locale.texi (Locale Names): New section documenting
8682 locale name syntax. Adjust menu and node chaining accordingly.
8683 (Choosing Locale): Reference Locale Names, Locale Categories.
8684 Mention setting LC_ALL=C. Reflect that name syntax is now
8686 (Locale Categories): New section title. Reference Locale Names.
8687 LC_ALL is an environment variable, but not a category.
8688 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8689 description, now in Locale Name. Reference that section. Locale
8690 name syntax is now documented.
8692 2014-07-02 Florian Weimer <fweimer@redhat.com>
8695 * locale/findlocale.c (name_present, valid_locale_name): New
8697 (_nl_find_locale): Use the loc_name variable to store name
8698 candidates. Call name_present and valid_locale_name to check and
8699 validate locale names. Return an error if the locale is invalid.
8701 2014-07-02 Florian Weimer <fweimer@redhat.com>
8703 * locale/setlocale.c (setlocale): Use strdup for allocating
8704 composite name copy.
8706 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8708 Sync up with gnulib.
8709 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8710 [!_LIBC && ENABLE_NLS]: Include gettext.h.
8711 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8712 and _GL_ARG_NONNULL.
8713 [USE_UNLOCKED_IO]: Include unlocked-io.h.
8714 [!_LIBC]: Include code for Windows and Cygwin.
8715 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8716 Include prototype for int strerror_r.
8717 [!_LIBC] (is_open): New function.
8718 (flush_stdout): New function.
8719 (print_errno_message): Use it.
8721 (error_at_line): Likewise.
8722 (error_tail) Add function attribute macros. Use
8725 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8727 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8729 * io/ftw.c: Include sys/param.h unconditionally.
8731 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8734 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8736 (freecache): New function to free CACHE on exit.
8738 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8741 2014-07-09 David S. Miller <davem@davemloft.net>
8743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8745 * sysdeps/sparc/nptl/internaltypes.h: Delete.
8746 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8747 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8748 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8749 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8750 * sysdeps/sparc/nptl/sem_init.c: Likewise.
8751 * sysdeps/sparc/nptl/sem_post.c: Likewise.
8752 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8753 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8754 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8755 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8756 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8757 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8759 2014-07-09 Andreas Schwab <schwab@suse.de>
8761 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8763 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8764 (do_test): Likewise.
8766 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8768 2014-07-09 Will Newton <will.newton@linaro.org>
8770 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8771 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8772 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8773 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8774 * sysdeps/hppa/start.S (_start): Likewise.
8776 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8778 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8780 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8783 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8785 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8786 after checking that it is non-NULL.
8788 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8790 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8792 * sysdeps/powerpc/memmove.c: Remove file.
8793 * sysdeps/powerpc/powerpc32/power4/memcopy.h
8794 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8795 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8796 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8797 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8798 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8799 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8800 string memmove instead of removed powerpc one.
8802 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8803 [weak_alias]: Fix compiler warning due trailing data.
8804 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8805 [weak_alias]: Likewise.
8806 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8807 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8810 (__libc_ifunc_impl_list): Add memmove functions.
8812 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8814 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8816 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8818 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8820 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8822 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8824 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8826 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8828 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8830 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8832 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8834 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8836 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8838 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8840 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8842 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8844 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8846 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8849 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8851 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8852 to avoid alignment traps in non-cacheable memory.
8853 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8857 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8858 file: multiarch power7 memmove.
8859 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8860 multiarch default memmove.
8861 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8862 multiarch memove for powerpc32/power4.
8864 * string/bcopy.c: Use full path to include memmove.c.
8865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8867 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8868 bcopy for powerpc64.
8869 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8870 bcopy for powerpc64.
8871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8872 and memmove implementations.
8873 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8874 optimized multiarch memmove for POWER7/powerpc64.
8875 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8876 default multiarch memmove for powerpc64.
8877 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8878 multiarch for powerpc64.
8879 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8880 for POWER7/powerpc64.
8881 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8882 memmove for POWER7/powerpc64.
8884 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8887 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8888 __ELF_NATIVE_CLASS equal to 64.
8890 2014-07-07 Roland McGrath <roland@hack.frob.com>
8892 * sysdeps/nptl/lowlevellock.h: File removed.
8894 * NEWS: NPTL is no longer an add-on!
8895 * nptl/internaltypes.h: Moved ...
8896 * sysdeps/nptl/internaltypes.h: ... here.
8897 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8898 * sysdeps/nptl/fork.c: Likewise.
8899 * sysdeps/nptl/gai_misc.h: Likewise.
8900 * sysdeps/nptl/librt-cancellation.c: Likewise.
8901 * sysdeps/nptl/jmp-unwind.c: Likewise.
8902 * sysdeps/nptl/setxid.h: Likewise.
8903 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8904 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8905 * sysdeps/unix/sysv/linux/arm/Implies: New file.
8906 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8907 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8908 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8909 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8910 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8911 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8912 * sysdeps/unix/sysv/linux/mips/Implies: New file.
8913 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8914 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8915 * sysdeps/unix/sysv/linux/sh/Implies: New file.
8916 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8917 * sysdeps/unix/sysv/linux/tile/Implies: New file.
8918 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8919 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8920 * nptl/Makeconfig: Moved ...
8921 * sysdeps/nptl/Makeconfig: ... here.
8922 * nptl/configure: File removed.
8923 * nptl/ANNOUNCE: File removed.
8924 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8925 * sysdeps/unix/sysv/linux/configure: Regenerated.
8927 * nptl/Makefile (routines): Add libc_pthread_init,
8928 libc_multiple_threads, register-atfork and unregister-atfork.
8929 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8930 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8931 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8932 pthread-pi-defines.sym, structsem.sym.
8933 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8934 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8935 [$(subdir) = nptl] (tests): Add tst-setgetname.
8936 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8937 * sysdeps/unix/sysv/linux/sigaction.c: Just include
8938 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8939 [!LIBC_SIGACTION]: Remove aliases.
8940 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8941 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8942 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8943 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8944 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8945 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8946 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8947 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8948 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8949 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8950 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8951 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8952 __libc_allocate_rtsig_private.
8953 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8954 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8955 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8956 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8957 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8958 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8959 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8960 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8961 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8962 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8963 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8964 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8965 * nptl/internaltypes.h: ... here.
8966 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8967 * sysdeps/nptl/jmp-unwind.c: ... here.
8968 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8969 * nptl/libc-lowlevellock.c: ... here.
8970 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8971 * nptl/libc_multiple_threads.c: ... here.
8972 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8973 * nptl/libc_pthread_init.c: ... here.
8974 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8975 * nptl/lowlevelbarrier.sym: ... here.
8976 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8977 * nptl/lowlevelcond.sym: ... here.
8978 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8979 * nptl/lowlevellock.c: ... here.
8980 * nptl/lowlevellock.h: Moved ...
8981 * sysdeps/nptl/lowlevellock.h: ... here.
8982 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8983 * nptl/lowlevelrobustlock.c: ... here.
8984 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8985 * nptl/lowlevelrobustlock.sym: ... here.
8986 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8987 * nptl/lowlevelrwlock.sym: ... here.
8988 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8989 * nptl/pt-fork.c: ... here.
8990 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8991 * nptl/pthread-pi-defines.sym: ... here.
8992 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8993 * nptl/pthread_attr_getaffinity.c: ... here.
8994 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8995 * nptl/pthread_attr_setaffinity.c: ... here.
8996 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8997 * nptl/pthread_mutex_cond_lock.c: ... here.
8998 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9000 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9001 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9002 * nptl/pthread_once.c: ... here, replacing old file.
9003 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9004 * nptl/pthread_yield.c: ... here.
9005 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9006 * nptl/register-atfork.c: ... here.
9007 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9008 * nptl/sem_post.c: ... here.
9009 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9010 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9011 * nptl/sem_timedwait.c: ... here.
9012 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9013 * nptl/sem_trywait.c: ... here.
9014 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9015 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9016 * nptl/sem_wait.c: ... here.
9017 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9018 * nptl/structsem.sym: ... here.
9019 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9020 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9021 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9022 * nptl/unregister-atfork.c: ... here.
9023 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9024 * nptl/unwindbuf.sym: ... here.
9025 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9026 * sysdeps/nptl/fork.c: ... here.
9027 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9028 * sysdeps/nptl/fork.h: ... here.
9029 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9030 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9031 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9033 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9034 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9035 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9036 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9037 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9038 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9039 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9041 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9042 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9043 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9045 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9047 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9048 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9049 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9050 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9051 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9052 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9053 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9054 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9055 * sysdeps/unix/sysv/linux/raise.c: ... here.
9056 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9057 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9058 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9059 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9060 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9061 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9062 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9063 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9064 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9065 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9066 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9067 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9068 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9069 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9070 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9072 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9074 * sysdeps/generic/memcopy.h: Add comment for
9075 MEMCPY_OK_FOR_FWD_MEMMOVE.
9077 2014-07-04 Will Newton <will.newton@linaro.org>
9079 * string/memchr.c: Merge from gnulib.
9080 [_LIBC]: Remove conditionals.
9081 (__ptr_t): Remove define.
9082 (LONG_MAX_32_BITS): Likewise.
9083 (LONG_MAX): Likewise.
9084 (MEMCHR): Use ANSI prototype and optimize algorithm.
9086 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9088 2014-07-03 Roland McGrath <roland@hack.frob.com>
9090 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9091 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9093 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9094 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9095 in a bare environment with no <stdlib.h> installed.
9096 * sysdeps/nptl/configure: Regenerated.
9098 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9100 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9101 AC_EGREP_CPP for kernel header checks, so they only succeed if
9102 including <linux/version.h> actually works right.
9103 * sysdeps/unix/sysv/linux/configure: Regenerated.
9105 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9106 value so it's not diagnosed as unused.
9108 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9109 thing) with "ifeq ($(subdir),rt)".
9111 2014-07-03 Richard Henderson <rth@redhat.com>
9113 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9114 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9115 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9117 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9118 (math_force_eval): New.
9120 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9121 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9123 * sysdeps/alpha/fpu/s_round.c: Remove file.
9124 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9126 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9127 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9128 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9129 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9130 (_dl_start, print_statistics): Likewise.
9131 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9132 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9134 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9135 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9136 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9137 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9138 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9139 (HP_SMALL_TIMING_AVAIL): Define.
9140 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9141 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9142 (HP_SMALL_TIMING_AVAIL): Define.
9143 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9144 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9146 * sysdeps/aarch64/hp-timing.h: New file.
9148 * sysdeps/generic/hp-timing.h: Remove dead comment.
9149 * sysdeps/generic/hp-timing-common.h: New file.
9150 * sysdeps/alpha/hp-timing.h: Include it.
9151 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9152 * sysdeps/i386/i686/hp-timing.h: Likewise.
9153 * sysdeps/ia64/hp-timing.h: Likewise.
9154 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9155 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9156 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9157 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9158 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9159 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9162 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9163 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9164 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9165 * elf/rtld.c (_dl_start_final): Likewise.
9166 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9167 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9168 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9169 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9170 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9171 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9172 (HP_TIMING_DIFF_INIT): Remove.
9173 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9174 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9175 (HP_TIMING_DIFF_INIT): Remove.
9176 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9177 * sysdeps/i386/i686/hp-timing.c: Remove file.
9178 * sysdeps/x86_64/hp-timing.c: Remove file.
9179 * sysdeps/ia64/hp-timing.c: Remove file.
9180 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9181 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9182 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9183 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9185 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9186 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9187 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9188 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9189 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9190 (HP_TIMING_ACCUM): Remove.
9191 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9192 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9193 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9195 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9196 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9197 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9198 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9199 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9200 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9201 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9202 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9204 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9206 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9208 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9210 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9212 Sync up with gettext.
9213 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9214 [_MSC_VER]: Include malloc.h
9215 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9216 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9217 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9218 TEMP_FAILURE_RETRY. Cast return of alloca.
9219 [!_LIBC] Call gl_rwlock_init.
9220 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9222 2014-07-02 Roland McGrath <roland@hack.frob.com>
9224 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9225 before checking its value.
9227 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9229 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9231 * debug/memcpy_chk.c: Don't include pagecopy.h.
9232 * debug/mempcpy_chk.c: Likewise.
9233 * string/memcpy.c: Likewise.
9234 * string/memmove.c: Likewise.
9235 * sysdeps/powerpc/memmove.c: Likewise.
9236 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9237 definition of PAGE_COPY_FWD_MAYBE here...
9238 * sysdeps/generic/pagecopy.h: ... from here.
9239 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9241 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9242 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9244 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9248 (__libc_ifunc_impl_list): Likewise.
9249 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9250 multiarch strcat for PPC64.
9251 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9252 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9254 2014-07-02 Roland McGrath <roland@hack.frob.com>
9256 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9258 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9260 * intl/loadmsgcat.c: Remove declaration of
9261 get_sysdep_segment_value.
9262 (get_sysdep_segment_value): Use ISO C style.
9263 (_nl_load_domain): Use ISO C style. Get rid of redundant
9264 semicolon. Fix typo and formatting in comment.
9265 (_nl_unload_domain): Use ISO C style.
9267 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9269 2014-07-02 Will Newton <will.newton@linaro.org>
9271 * malloc/obstack.c: Merge from gnulib master.
9272 [HAVE_CONFIG_H]: Remove conditional code.
9273 [!_LIBC]: Include config.h.
9274 [!ELIDE_CODE]: Don't include inttypes.h, include
9275 stdint.h unconditionally.
9276 (print_and_abort): Mark as _Noreturn.
9277 (_obstack_allocated_p): Mark as __attribute_pure__.
9278 (obstack_free): Rename to __obstack_free.
9279 [!__attribute__]: Remove conditional code.
9280 * malloc/obstack.h: Merge from gnulib master.
9281 [__cplusplus]: Move conditional down.
9282 [!__attribute_pure__]: Define __attribute_pure__ here
9283 if it is not already defined.
9284 (_obstack_memory_used): Mark as __attribute_pure__.
9285 [!__obstack_free]: Define as obstack_free.
9286 [__GNUC__]: Remove check for ancient NeXT gcc.
9288 2014-07-02 Will Newton <will.newton@linaro.org>
9289 Paul Eggert <eggert@cs.ucla.edu>
9291 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9293 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9295 * resolv/gethnamaddr.c: Add comment warning that the file is
9298 2014-07-01 Carlos O'Donell <carlos@redhat.com>
9300 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9303 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9304 entry for aio_cancel and aio_cancel64.
9305 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9306 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9307 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9308 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9309 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9310 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9311 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9312 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9313 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9314 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9315 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9316 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9317 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9319 2014-07-01 Roland McGrath <roland@hack.frob.com>
9321 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9322 * nptl/pthread_mutex_lock.c: Likewise.
9323 * nptl/pthread_mutex_timedlock.c: Likewise.
9324 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9326 2014-07-01 Richard henderson <rth@redhat.com>
9328 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9329 (__isnan, __isnanl): Remove.
9330 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9332 * sysdeps/alpha/fpu/libm-test-ulps: Update.
9334 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9336 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9338 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9340 * resolv/nss_dns/dns-host.c (getanswer_r)
9341 [MULTI_PTRS_ARE_ALIASES]: Remove code.
9343 2014-07-01 Joseph Myers <joseph@codesourcery.com>
9345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9346 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9348 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9349 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9351 2014-07-01 Roland McGrath <roland@hack.frob.com>
9353 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9354 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9356 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9357 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9359 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9360 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9362 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9363 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9365 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9366 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9367 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9368 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9370 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9371 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9372 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9373 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9374 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9376 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9378 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9379 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9380 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9381 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9382 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9383 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9384 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9385 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9386 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9387 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9388 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9389 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9390 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9391 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9392 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9393 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9394 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9395 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9396 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9397 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9399 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9400 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9401 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9402 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9403 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9404 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9405 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9406 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9408 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
9410 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9411 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9412 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9415 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9419 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9421 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9422 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9424 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9426 * sysdeps/arm/libm-test-ulps: Regenerated.
9428 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9429 Roland McGrath <roland@hack.frob.com>
9431 * test-skeleton.c (signal_handler): Kill the whole process group
9432 before killing the child individually.
9433 (main): Report any failure on `setpgid'.
9435 2014-06-30 Roland McGrath <roland@hack.frob.com>
9437 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9438 from _TLS_H to _ARM_NPTL_TLS_H.
9439 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9440 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9442 2014-06-30 Joseph Myers <joseph@codesourcery.com>
9445 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9446 (__expm1l): Return argument unchanged when small but not
9449 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9451 (_FP_UNPACK_RAW_1_P): Likewise.
9452 (_FP_PACK_RAW_1): Likewise.
9453 (_FP_PACK_RAW_1_P): Likewise.
9454 (_FP_MUL_MEAT_1_wide): Likewise.
9455 (_FP_MUL_MEAT_DW_1_hard): Likewise.
9456 (_FP_MUL_MEAT_1_hard): Likewise.
9457 (_FP_DIV_MEAT_1_imm): Likewise.
9458 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9459 (_FP_DIV_MEAT_1_udiv): Likewise.
9460 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9461 (_FP_UNPACK_RAW_2): Likewise.
9462 (_FP_UNPACK_RAW_2_P): Likewise.
9463 (_FP_PACK_RAW_2): Likewise.
9464 (_FP_PACK_RAW_2_P): Likewise.
9465 (_FP_MUL_MEAT_DW_2_wide): Likewise.
9466 (_FP_MUL_MEAT_2_wide): Likewise.
9467 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9468 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9469 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9470 (_FP_MUL_MEAT_2_gmp): Likewise.
9471 (_FP_DIV_MEAT_2_udiv): Likewise.
9472 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9473 (_FP_FRAC_SRL_4): Likewise.
9474 (_FP_FRAC_SRST_4): Likewise.
9475 (_FP_FRAC_SRS_4): Likewise.
9476 (_FP_UNPACK_RAW_4): Likewise.
9477 (_FP_UNPACK_RAW_4_P): Likewise.
9478 (_FP_PACK_RAW_4): Likewise.
9479 (_FP_PACK_RAW_4_P): Likewise.
9480 (_FP_MUL_MEAT_DW_4_wide): Likewise.
9481 (_FP_MUL_MEAT_4_wide): Likewise.
9482 (_FP_MUL_MEAT_4_gmp): Likewise.
9483 (umul_ppppmnnn): Likewise.
9484 (_FP_DIV_MEAT_4_udiv): Likewise.
9485 (__FP_FRAC_ADD_4): Likewise.
9486 (__FP_FRAC_SUB_3): Likewise.
9487 (__FP_FRAC_SUB_4): Likewise.
9488 (__FP_FRAC_DEC_3): Likewise.
9489 (__FP_FRAC_DEC_4): Likewise.
9490 (__FP_FRAC_ADDI_4): Likewise.
9491 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9492 (_FP_FRAC_SRL_8): Likewise.
9493 (_FP_FRAC_SRS_8): Likewise.
9495 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9497 (FP_UNPACK_RAW_EP): Likewise.
9498 (FP_PACK_RAW_E): Likewise.
9499 (FP_PACK_RAW_EP): Likewise.
9500 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9501 (_FP_ISSIGNAN): Likewise.
9502 (_FP_ADD_INTERNAL): Likewise.
9503 (_FP_FMA): Likewise.
9504 (_FP_CMP): Likewise.
9505 (_FP_SQRT): Likewise.
9506 (_FP_TO_INT): Likewise.
9507 (_FP_FROM_INT): Likewise.
9508 (FP_EXTEND): Likewise.
9509 (_FP_DIV_MEAT_N_loop): Likewise.
9511 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
9513 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9516 2014-06-29 Joseph Myers <joseph@codesourcery.com>
9519 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9520 result with correct sign in case of exponents that produce
9521 overflow except for X very close to 1.
9523 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
9525 mktime: merge #if/#ifdef usage from glibc
9526 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9527 as that works with both Glibc's and Gnulib's style.
9528 See thread starting at Siddhesh Poyarekar's bug report at:
9529 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9531 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9533 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9534 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9535 * sysdeps/tile/tilegx/memmove.c: Remove file.
9537 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9539 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9540 abi-name definition.
9541 * scripts/soversions.awk: Do not handle or generate ABI lines.
9542 * shlib-versions: Remove ABI entries.
9543 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9544 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9546 2014-06-27 Roland McGrath <roland@hack.frob.com>
9548 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9549 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9550 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9551 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9552 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9553 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9554 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9556 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9558 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9559 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9560 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9561 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9562 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9563 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9564 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9565 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9566 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9567 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9568 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9569 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9570 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9572 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9573 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9574 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9575 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9576 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9577 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9579 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9580 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9582 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9583 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9584 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9585 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9587 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9588 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9589 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9590 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9591 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9592 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9593 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9594 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9596 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9597 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9598 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9599 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9601 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9602 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9604 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9605 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9606 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9607 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9609 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9611 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9612 Identical file removed.
9613 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9615 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9616 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9617 Identical file removed.
9618 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9619 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9620 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9622 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9623 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9624 Identical file removed.
9625 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9626 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9627 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9628 Identical file removed.
9629 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9630 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9631 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9632 Identical file removed.
9633 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9634 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9635 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9636 Identical file removed.
9637 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9639 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9640 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9641 Identical file removed.
9642 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9644 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9645 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9646 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9647 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9648 Identical file removed.
9649 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9651 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9653 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9654 Identical file removed.
9655 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9657 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9658 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9659 Identical file removed.
9660 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9662 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9663 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9664 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9665 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9666 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9667 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9669 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9670 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9671 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9673 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9674 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9675 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9676 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9677 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9679 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
9682 * nscd/nscd.c (monitor_child): Return exit status of child
9683 instead of return value from wait syscall.
9685 2014-06-27 Joseph Myers <joseph@codesourcery.com>
9687 * configure.ac (libc_commonpagesize): Remove variable.
9688 (libc_relro_required): Likewise.
9689 (libc_cv_z_relro): Remove configure test.
9690 * configure: Regenerated.
9691 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9693 (libc_relro_required): Likewise.
9694 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9695 (libc_relro_required): Likewise.
9696 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9697 (libc_relro_required): Likewise.
9698 * sysdeps/arm/preconfigure: Regenerated.
9699 * sysdeps/ia64/preconfigure: Remove file.
9700 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9702 (libc_relro_required): Likewise.
9706 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9707 (__ieee754_yn): Set FE_TONEAREST mode internally and then
9708 recompute overflowing results in original rounding mode.
9709 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9710 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9711 recompute overflowing results in original rounding mode.
9712 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9713 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9714 recompute overflowing results in original rounding mode.
9715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9716 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9717 recompute overflowing results in original rounding mode.
9718 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9719 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9720 recompute overflowing results in original rounding mode.
9721 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9722 (libc_feholdsetround_ctx): New macro.
9723 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9724 * sysdeps/i386/fpu/libm-test-ulps: Update.
9725 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9727 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9729 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9730 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9731 corresponding .cpsetup call.
9733 2014-06-26 Roland McGrath <roland@hack.frob.com>
9735 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9736 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9737 * sysdeps/arm/Makefile [$(subdir) = csu]
9738 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9739 (static-only-routines): Add aeabi_read_tp here.
9740 (shared-only-routines): Add libc-aeabi_read_tp here.
9741 (CFLAGS-libc-start.c): Add -fexceptions here.
9742 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9743 (sysdep_routines, static-only-routines, shared-only-routines):
9744 Don't add to these here.
9745 (CFLAGS-libc-start.c): Likewise.
9747 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9748 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9749 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9750 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9751 * sysdeps/arm/Makefile [$(subdir) = rt]
9752 (librt-sysdep_routines, librt-shared-only-routines):
9753 Append rt-aeabi_unwind_cpp_pr1 here.
9754 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9755 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9756 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9757 (libpthread-sysdep_routines, libpthread-shared-only-routines):
9758 Append nptl-aeabi_unwind_cpp_pr1 here.
9759 (tests): Filter out tst-cleanupx4 here.
9760 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9761 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9762 Don't do those here.
9764 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9766 * scripts/list-sources.sh: Do not handle ports specially.
9768 2014-06-26 Roland McGrath <roland@hack.frob.com>
9770 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9771 * sysdeps/arm/feupdateenv.c: Likewise.
9773 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9775 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9777 * manual/texinfo.tex: Update to version 2014-05-05.10 with
9778 trailing whitespace removed.
9779 * scripts/config.guess: Update to version 2014-03-23.
9780 * scripts/config.sub: Update to version 2014-05-01
9781 * scripts/install-sh: Update to version 2013-12-25.23.
9782 * scripts/move-if-change: Update from gnulib.
9784 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9786 * debug/memmove_chk.c: Remove pagecopy.h include.
9788 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
9790 * time/mktime.c (leapyear): Remove inline keyword. The code is now
9791 identical to gnulib mktime.
9793 2014-06-26 Joseph Myers <joseph@codesourcery.com>
9795 * configure.ac: Do not test for machine being rs6000. Do not test
9797 * configure: Regenerated.
9799 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9801 * configure: Regenerated.
9802 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9803 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9804 Remove configure test.
9805 * sysdeps/arm/configure: Regenerated.
9806 * sysdeps/nptl/configure.ac: Do not check
9807 libc_cv_asm_cfi_directives.
9808 * sysdeps/nptl/configure: Regenerated.
9809 * sysdeps/x86_64/nptl/configure.ac: Remove file.
9810 * sysdeps/x86_64/nptl/configure: Remove generated file.
9811 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9813 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9815 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9817 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9818 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9819 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9822 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9823 instead of whether it is defined.
9824 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9825 * sysdeps/hppa/dl-machine.h: Likewise.
9826 * sysdeps/ia64/dl-machine.h: Likewise.
9827 * sysdeps/m68k/dl-machine.h: Likewise.
9828 * sysdeps/microblaze/dl-machine.h: Likewise.
9829 * sysdeps/mips/dl-machine.: Likewise.
9830 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9831 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9832 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9833 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9834 * sysdeps/sh/dl-machine.h: Likewise.
9835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9836 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9837 * sysdeps/tile/dl-machine.h: Likewise.
9838 * sysdeps/x86_64/dl-machine.h: Likewise.
9840 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9842 (verify_persistent_db): Likewise.
9844 2014-06-26 Roland McGrath <roland@hack.frob.com>
9846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9847 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9849 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9852 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9855 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9857 Identical file removed.
9858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9859 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9861 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9863 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9865 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9867 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9870 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9877 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9879 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9881 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9883 Identical file removed.
9884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9885 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9887 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9890 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9893 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9895 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9897 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9899 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9901 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9904 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9907 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9909 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9912 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9914 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9916 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9918 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9919 * sysdeps/unix/sysv/linux/s390/Versions
9920 (libpthread: GLIBC_2.19): New version set.
9921 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9922 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9923 (librt: GLIBC_2.3.3): New version set.
9924 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9925 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9926 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9927 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9928 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9929 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9930 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9931 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9932 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9933 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9934 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9935 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9936 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9937 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9938 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9939 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9940 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9941 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9942 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9943 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9944 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9945 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9946 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9947 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9948 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9949 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9950 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9951 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9952 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9953 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9954 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9955 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9957 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9959 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9960 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9961 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9962 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9963 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9964 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9965 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9966 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9967 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9968 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9970 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9971 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9972 (__libc_vfork): Define the function under this name.
9973 [!NOT_IN_libc] (__vfork): Make this an alias.
9974 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9976 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9977 (__libc_vfork): Define the function under this name.
9978 [!NOT_IN_libc] (__vfork): Make this an alias.
9979 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9980 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9981 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9982 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9983 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9984 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9986 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9987 code that was previously under [RESET_PID].
9988 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9989 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9990 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9992 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9993 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9994 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9995 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9996 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9997 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9998 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9999 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10000 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10001 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10002 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10004 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10005 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10006 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10007 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10008 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10009 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10010 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10011 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10012 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10013 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10014 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10015 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10016 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10017 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10018 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10019 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10020 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10021 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10022 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10023 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10024 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10025 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10026 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10027 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10028 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10029 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10030 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10031 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10032 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10034 2014-06-25 Roland McGrath <roland@hack.frob.com>
10036 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10037 that was previously under [RESET_PID].
10038 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10040 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10042 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10043 not undefine and redefine.
10044 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10045 [O_CLOEXEC]: Make code unconditional.
10046 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10047 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10048 <kernel-features.h>.
10049 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10050 conditional variable definition.
10051 (shm_open) [O_CLOEXEC]: Make code unconditional.
10052 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10055 * configure.ac (USE_REGPARMS): Don't define here.
10056 * configure: Regenerated.
10057 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10058 * sysdeps/i386/configure: Regenerated.
10060 * nptl/createthread.c: Don't include kernel-features.h.
10061 * nptl/pthread_cancel.c: Likewise.
10062 * nptl/pthread_condattr_setclock.c: Likewise.
10063 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10064 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10065 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10066 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10067 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10068 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10069 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10070 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10071 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10072 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10073 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10074 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10075 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10076 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10077 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10078 * nscd/gai.c: Likewise.
10079 * nss/nss_db/db-open.c: Likewise.
10080 * sysdeps/generic/ldsodefs.h: Likewise.
10081 * sysdeps/sh/nptl/tls.h: Likewise.
10082 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10083 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10084 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10085 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10086 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10087 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10088 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10089 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10090 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10091 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10092 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10093 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10094 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10095 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10096 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10097 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10098 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10099 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10100 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10101 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10102 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10103 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10104 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10105 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10106 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10107 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10108 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10109 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10110 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10111 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10112 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10113 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10114 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10115 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10116 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10117 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10118 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10119 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10120 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10121 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10122 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10123 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10124 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10125 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10126 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10127 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10128 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10129 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10130 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10131 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10132 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10133 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10134 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10135 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10136 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10137 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10138 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10139 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10162 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10163 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10164 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10165 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10166 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10167 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10168 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10169 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10170 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10171 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10172 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10173 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10174 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10175 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10176 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10177 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10178 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10179 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10180 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10181 * sysdeps/unix/sysv/linux/system.c: Likewise.
10182 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10183 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10184 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10185 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10186 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10187 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10188 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10190 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10191 * configure: Regenerated.
10192 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10194 * configure.ac (base_machine): Do not set specially for particular
10196 * configure: Regenerated.
10197 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10198 settings from configure.ac.
10199 * sysdeps/i386/preconfigure: New file.
10200 * sysdeps/s390/preconfigure: Likewise.
10201 * sysdeps/sh/preconfigure: Likewise.
10202 * sysdeps/sparc/preconfigure: Likewise.
10204 2014-06-25 Roland McGrath <roland@hack.frob.com>
10206 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10207 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10208 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10209 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10210 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10211 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10212 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10213 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10214 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10215 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10216 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10217 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10218 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10219 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10220 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10221 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10222 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10223 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10224 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10226 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10227 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10228 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10229 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10230 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10231 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10232 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10233 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10234 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10235 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10236 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10237 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10238 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10239 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10240 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10241 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10242 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10243 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10244 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10245 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10246 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10247 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10248 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10249 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10250 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10251 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10252 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10253 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10254 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10255 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10256 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10257 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10258 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10259 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10260 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10261 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10262 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10263 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10266 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10268 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10271 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10274 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10276 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10279 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10281 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10283 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10285 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10288 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10291 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10293 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10296 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10298 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10300 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10302 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10304 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10307 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10310 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10315 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10317 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10319 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10321 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10324 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10327 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10329 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10332 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10334 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10336 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10338 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10340 * timezone/checktab.awk: Update from tzcode 2014e.
10341 * timezone/private.h: Likewise.
10342 * timezone/tzfile.h: Likewise.
10343 * timezone/zdump.c: Likewise.
10344 * timezone/zic.c: Likewise.
10346 * sysdeps/unix/sysv/linux/kernel-features.h
10347 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10349 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10350 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10351 Remove conditional code.
10353 2014-06-25 Will Newton <will.newton@linaro.org>
10355 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10356 (_dl_arm_cap_flags): Add HWCAP2 values.
10357 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10358 (_DL_HWCAP_COUNT): Increase to 37.
10359 (_DL_HWCAP_LAST): New define.
10360 (_DL_HWCAP2_LAST): New define.
10361 (_dl_procinfo): Add support for printing
10363 (_dl_string_hwcap): Use _dl_hwcap_string.
10365 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10369 2014-06-25 Joseph Myers <joseph@codesourcery.com>
10371 * README: Do not mention ports directory.
10373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10375 * sysdeps/unix/sysv/linux/futimes.c: Do not include
10376 <kernel-features.h>.
10377 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10378 conditional variable definition.
10379 (__futimes): Update comment.
10380 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10381 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10384 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10385 arguments close to 0.
10386 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10388 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10390 * math/auto-libm-test-in: Add more tests of exp10.
10391 * math/auto-libm-test-out: Regenerated.
10392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10394 * sysdeps/unix/sysv/linux/kernel-features.h
10395 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10396 * sysdeps/unix/sysv/linux/readv.c: Do not include
10397 <kernel-features.h>.
10398 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10399 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10400 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10402 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10404 * sysdeps/unix/sysv/linux/writev.c: Do not include
10405 <kernel-features.h>.
10406 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10407 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10408 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10410 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10413 2014-06-25 Will Newton <will.newton@linaro.org>
10415 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10416 comment changes throughout the file. Remove checks
10417 for HAVE_*_H definitions that are not required.
10418 (__gen_tempname): Call abort if an unknown kind value is
10421 2014-06-25 Andreas Schwab <schwab@suse.de>
10424 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10425 scalbln, scalblnf, scalblnl in libc.
10427 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10430 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10431 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10432 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10434 2014-06-24 Roland McGrath <roland@hack.frob.com>
10436 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10437 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10438 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10439 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10441 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10442 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10444 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10445 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10446 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10447 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10448 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10449 * sysdeps/x86/bits/pthreadtypes.h: ... here.
10450 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10451 * sysdeps/x86/bits/semaphore.h: ... here.
10452 * sysdeps/x86/nptl/elide.h: Moved ...
10453 * sysdeps/x86/elide.h: ... here.
10454 * sysdeps/x86_64/nptl/Implies: File removed.
10455 * sysdeps/i386/nptl/Implies: File removed.
10457 2014-06-24 Joseph Myers <joseph@codesourcery.com>
10460 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10461 return the argument for normal arguments with exponent below -64.
10462 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10464 * math/auto-libm-test-in: Add another test of expm1.
10465 * math/auto-libm-test-out: Regenerated.
10468 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10469 calling __erfcl for arguments at least 16.
10470 * math/auto-libm-test-in: Add more tests of erf.
10471 * math/auto-libm-test-out: Regenerated.
10473 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10474 individual architectures.
10475 * sysdeps/unix/sysv/linux/configure: Regenerated.
10476 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10477 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10478 * sysdeps/unix/sysv/linux/powerpc/configure.ac
10479 (ldd_rewrite_script): Define variable.
10480 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10485 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10486 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10487 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10488 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10489 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10490 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10491 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10492 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10494 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10497 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10498 Rename member __data.d to __data.__elision_data.
10500 2014-06-24 Wilco <wdijkstr@arm.com>
10502 * NEWS: Add 16918 to fixed bug list.
10504 2014-06-24 Wilco <wdijkstr@arm.com>
10506 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10508 2014-06-24 Wilco <wdijkstr@arm.com>
10510 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10511 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10512 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10513 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10514 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10515 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10516 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10519 2014-06-24 Wilco <wdijkstr@arm.com>
10521 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10523 2014-06-24 Wilco <wdijkstr@arm.com>
10525 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10526 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10527 * sysdeps/arm/fesetround.c (fesetround): Remove space.
10528 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10530 2014-06-24 Wilco <wdijkstr@arm.com>
10533 * sysdeps/arm/feupdateenv.c (feupdateenv):
10534 Rewrite to reduce FPSCR accesses and fix return value.
10536 2014-06-24 Wilco <wdijkstr@arm.com>
10538 * sysdeps/arm/fclrexcpt.c (feclearexcept):
10539 Optimize to avoid unnecessary FPSCR writes.
10540 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10541 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10542 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10543 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10545 2014-06-24 Wilco <wdijkstr@arm.com>
10547 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10548 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10549 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10550 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10551 Call libc_fetestexcept_vfp.
10552 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10553 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10554 __SOFTFP__ ifdef so that they can be built for softfp.
10556 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10558 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10559 argument type signed char.
10561 * Makerules (check-abi): Dump diff of symlist if the test
10564 2014-06-23 Roland McGrath <roland@hack.frob.com>
10566 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10569 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10570 Remove unused variable ST.
10572 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10576 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10577 small arguments before calling __expm1.
10578 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10579 small arguments before calling __expm1f.
10580 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10581 small arguments before calling __expm1l.
10582 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10584 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10585 * math/auto-libm-test-in: Add more cosh tests. Do not allow
10586 spurious underflow for some cosh tests.
10587 * math/auto-libm-test-out: Regenerated.
10588 * sysdeps/i386/fpu/libm-test-ulps: Update.
10591 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10592 (__ieee754_y1): Set errno if return value overflows.
10593 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10594 (__ieee754_y1f): Set errno if return value overflows.
10595 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10596 (__ieee754_y1l): Set errno if return value overflows.
10597 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10598 (__ieee754_y1l): Set errno if return value overflows.
10599 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10600 * math/auto-libm-test-out: Regenerated.
10602 * math/gen-auto-libm-tests.c: Document use of
10603 ignore-zero-inf-sign.
10604 (input_flag_type): Add value flag_ignore_zero_inf_sign.
10605 (input_flags): Add ignore-zero-inf-sign.
10606 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10607 * math/gen-libm-test.pl (generate_testfile): Handle
10608 ignore-zero-inf-sign.
10609 * math/auto-libm-test-in: Mark some cpow tests with
10610 ignore-zero-inf-sign and some with xfail-rounding.
10611 * math/auto-libm-test-out: Regenerated.
10612 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10613 * sysdeps/i386/fpu/libm-test-ulps: Update.
10614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10617 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10618 overflowing or underflowing operations take place with sign of
10620 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10621 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10622 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10623 (__ieee754_pow): Recompute overflowing and underflowing results in
10624 original rounding mode.
10625 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10626 (__powl_helper): Allow negative argument X and scale negated value
10627 as needed. Avoid passing value outside [-1, 1] to f2xm1.
10628 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10629 overflowing or underflowing operations take place with sign of
10631 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10633 * math/auto-libm-test-in: Add more tests of pow.
10634 * math/auto-libm-test-out: Regenerated.
10635 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10636 (pow_tonearest_test_data): Remove.
10637 (pow_test_tonearest): Likewise.
10638 (pow_towardzero_test_data): Likewise.
10639 (pow_test_towardzero): Likewise.
10640 (pow_downward_test_data): Likewise.
10641 (pow_test_downward): Likewise.
10642 (pow_upward_test_data): Likewise.
10643 (pow_test_upward): Likewise.
10644 (main): Don't call removed functions.
10645 * sysdeps/i386/fpu/libm-test-ulps: Update.
10646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10648 2014-06-23 Roland McGrath <roland@hack.frob.com>
10650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10824 2014-06-23 Will Newton <will.newton@linaro.org>
10825 Wilco <wdijkstr@arm.com>
10827 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10828 implementation. Include get-rounding-mode.h.
10829 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10830 [!libc_feholdsetround_noex_ctx]: Define
10831 libc_feholdsetround_noex_ctx.
10832 [!libc_feholdsetround_noexf_ctx]: Define
10833 libc_feholdsetround_noexf_ctx.
10834 [!libc_feholdsetround_noexl_ctx]: Define
10835 libc_feholdsetround_noexl_ctx.
10836 (libc_feholdsetround_ctx): New function.
10837 (libc_feresetround_ctx): New function.
10838 (libc_feholdsetround_noex_ctx): New function.
10839 (libc_feresetround_noex_ctx): New function.
10841 2014-06-23 Roland McGrath <roland@hack.frob.com>
10843 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10844 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10845 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10846 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10847 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10848 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10850 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10851 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10852 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10853 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10854 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10855 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10856 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10857 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10858 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10859 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10860 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10862 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10864 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10865 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10866 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10867 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10868 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10870 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10871 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10872 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10873 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10874 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10875 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10876 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10877 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10879 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10880 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10882 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10883 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10884 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10885 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10887 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10888 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10889 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10890 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10891 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10892 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10893 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10894 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10895 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10896 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10898 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10900 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10901 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10902 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10903 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10904 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10905 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10906 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10907 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10908 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10909 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10910 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10911 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10912 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10914 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10915 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10916 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10917 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10918 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10919 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10921 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10922 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10923 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10924 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10925 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10927 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10928 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10929 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10930 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10931 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10932 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10933 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10934 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10936 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10937 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10938 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10939 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10940 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10941 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10942 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10943 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10944 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10945 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10946 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10947 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10948 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10949 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10950 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10951 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10952 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10953 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10954 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10956 2014-06-23 Joseph Myers <joseph@codesourcery.com>
10958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10959 (FALLOC_FL_COLLAPSE_RANGE): New macro.
10960 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10961 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10962 (IPV6_PMTUDISC_INTERFACE): Likewise.
10963 (IPV6_PMTUDISC_OMIT): Likewise.
10965 2014-06-23 Andreas Schwab <schwab@suse.de>
10967 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10968 Remove unused errout label.
10970 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10972 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10973 macro: hardware supports Vector Crypto instructions.
10975 2014-06-23 Will Newton <will.newton@linaro.org>
10977 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10978 rather than __builtin_expect.
10980 * elf/dl-lookup.c (undefined_msg): Remove variable.
10981 (_dl_lookup_symbol_x): Replace undefined_msg with string
10984 * elf/dl-lookup.c (do_lookup_unique): New function.
10985 (do_lookup_x): Move STB_GNU_UNIQUE handling code
10986 to a separate function.
10988 2014-06-23 Andreas Schwab <schwab@suse.de>
10991 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10992 before reading the next line.
10994 2014-06-23 Will Newton <will.newton@linaro.org>
10996 * test-skeleton.c (signal_handler): Use printf and %m
10997 rather than perror. Use printf rather than fprintf to
10998 stderr. Use puts rather than fputs to stderr.
11001 2014-06-22 Ludovic Courtès <ludo@gnu.org>
11003 * nscd/nscd.c (thread_info_t): Remove typedef.
11004 (thread_info): Remove variable.
11006 2014-06-21 Allan McRae <allan@archlinux.org>
11008 * NEWS: Mention CVE-2014-4043.
11010 2014-06-20 Roland McGrath <roland@hack.frob.com>
11012 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11013 * nptl/smp.h: ... here.
11015 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11017 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11018 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11019 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11020 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11022 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11023 * nptl/stack-aliasing.h: New file.
11024 * sysdeps/i386/i686/stack-aliasing.h: New file.
11025 * sysdeps/i386/i686/nptl/Makefile: File removed.
11026 * sysdeps/x86_64/stack-aliasing.h: New file.
11027 * sysdeps/x86_64/nptl/Makefile
11028 (CFLAGS-pthread_create.c): Variable removed.
11030 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11031 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11033 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11034 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11037 2014-06-21 Joseph Myers <joseph@codesourcery.com>
11039 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11040 (__ASSUME_SIGFRAME_V2): Remove macro.
11041 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11042 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11043 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11044 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11045 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11046 Declare as function. Remove conditional macro definitions.
11047 (__default_rt_sa_restorer): Likewise.
11048 (__default_sa_restorer_v1): Remove declaration.
11049 (__default_sa_restorer_v2): Likewise.
11050 (__default_rt_sa_restorer_v1): Likewise.
11051 (__default_rt_sa_restorer_v2): Likewise.
11052 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11053 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11054 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11056 2014-06-20 Roland McGrath <roland@hack.frob.com>
11058 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11059 (libpthread-routines): Add sysdep.
11060 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11061 * sysdeps/unix/sysv/linux/sparc/Versions
11062 (libpthread: GLIBC_2.3.3): New version set.
11063 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11064 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11065 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11066 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11067 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11068 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11070 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11071 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11072 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11073 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11074 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11075 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11076 * sysdeps/sparc/nptl/sem_init.c: ... here.
11077 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11078 * sysdeps/sparc/nptl/sem_post.c: ... here.
11079 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11080 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11081 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11082 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11083 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11084 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11085 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11086 (libpthread-routines): Add cpu_relax.
11087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11089 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11090 (librt: GLIBC_2.3.3): New version set.
11091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11092 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11093 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11094 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11097 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11100 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11102 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11104 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11106 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11108 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11111 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11115 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11119 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11123 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11127 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11131 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11134 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11140 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11142 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11145 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11147 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11149 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11151 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11153 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11154 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11155 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11156 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11157 * nscd/nscd.c: Likewise.
11158 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11159 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11160 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11161 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11163 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11164 <kernel-features.h>.
11165 (init_mq_netlink): Remove conditional have_sock_cloexec
11166 definitions. Remove code conditional on have_sock_cloexec < 0.
11167 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11168 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11169 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11170 <kernel-features.h>.
11171 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11172 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11174 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11177 Add tests for memset_chk and memset.
11179 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11182 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11185 * elf/tst-dl-iter-static.c: New file.
11186 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11188 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11191 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11193 * sysdeps/unix/sysv/linux/kernel-features.h
11194 (__ASSUME_F_GETOWN_EX): Remove macro.
11195 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11196 <kernel-features.h>.
11197 (miss_F_GETOWN_EX): Remove variable or macro.
11198 (do_fcntl): Do not check miss_F_GETOWN_EX.
11199 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11201 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11204 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11205 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11207 * sysdeps/unix/sysv/linux/kernel-features.h
11208 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11209 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11210 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11211 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11213 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11216 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11217 Fix calculation of the symbol's value.
11218 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11219 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11220 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11221 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11222 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11223 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11224 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11225 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11226 (modules-names): Add `tst-armtlsdescmod',
11227 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11228 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11229 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11230 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11231 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11232 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11233 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11234 ($(objpfx)tst-armtlsdescloc): New dependency.
11235 ($(objpfx)tst-armtlsdescextnow): Likewise.
11236 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11237 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11238 TLS scheme support.
11239 * sysdeps/arm/configure: Regenerate.
11241 2014-06-20 Joseph Myers <joseph@codesourcery.com>
11243 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11244 (__atfct_seterrno_2): Likewise.
11245 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11246 <kernel-features.h>.
11247 (__ASSUME_ATFCTS): Do not undefine and redefine.
11248 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11249 (__have_atfcts): Remove conditional definition.
11250 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11251 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11252 unreachable if [__ASSUME_ATFCTS].
11253 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11254 not undefine and redefine.
11255 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11256 <kernel-features.h>.
11257 (faccessat) [__NR_faccessat]: Make code unconditional.
11258 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11259 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11260 <kernel-features.h>.
11261 (fchmodat) [__NR_fchmodat]: Make code unconditional.
11262 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11263 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11264 <kernel-features.h>.
11265 (fchownat) [__NR_fchownat]: Make code unconditional.
11266 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11267 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11268 <kernel-features.h>.
11269 (futimesat) [__NR_futimesat]: Make code unconditional.
11270 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11271 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11272 <kernel-features.h>.
11273 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11274 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11275 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11276 <kernel-features.h>.
11277 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11278 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11279 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11280 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11281 <kernel-features.h>.
11282 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11283 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11284 * sysdeps/unix/sysv/linux/linkat.c: Do not include
11285 <kernel-features.h>.
11286 (linkat) [__NR_linkat]: Make code unconditional.
11287 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11288 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11289 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11290 <kernel-features.h>.
11291 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11292 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11293 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11294 <kernel-features.h>.
11295 (mkdirat) [__NR_mkdirat]: Make code unconditional.
11296 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11297 * sysdeps/unix/sysv/linux/openat.c: Do not include
11298 <kernel-features.h>.
11299 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11300 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11301 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11302 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11303 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11304 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11305 <kernel-features.h>.
11306 (readlinkat) [__NR_readlinkat]: Make code unconditional.
11307 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
11308 result of INLINE_SYSCALL directly, not via int variable.
11309 * sysdeps/unix/sysv/linux/renameat.c: Do not include
11310 <kernel-features.h>.
11311 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11312 (renameat) [__NR_renameat]: Make code unconditional.
11313 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11314 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11315 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11316 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11317 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11318 (__ASSUME_ATFCTS): Do not undefine and redefine.
11319 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11320 <kernel-features.h>.
11321 (symlinkat) [__NR_symlinkat]: Make code unconditional.
11322 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11323 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11324 <kernel-features.h>.
11325 (unlinkat) [__NR_unlinkat]: Make code unconditional.
11326 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11327 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11328 (__ASSUME_ATFCTS): Do not undefine and redefine.
11329 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11330 <kernel-features.h>.
11331 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11332 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11333 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11334 <kernel-features.h>.
11335 (__xmknodat) [__NR_mknodat]: Make code unconditional.
11336 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11338 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11340 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11342 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
11345 * posix/regcomp.c (parse_reg_exp): Deallocate partially
11346 constructed tree before returning error.
11347 * posix/bug-regexp36.c: Expand test case.
11349 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
11352 * math/libm-test.inc (scalbln_test_date):
11353 Add errno expectations.
11354 * math/w_scalblnf.c: New File.
11355 Add wrapper which checks for setting errno to ERANGE.
11356 Add weak_alias for corresponding scalbln function.
11357 * math/w_scalbln.c: Likewise.
11358 * math/w_scalblnl.c: Likewise.
11359 * math/Makefile (libm-calls): Add w_scalbln.
11360 * sysdeps/ieee754/flt-32/s_scalblnf.c:
11361 Remove weak_alias for corresponding scalbln function.
11362 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11364 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11365 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11366 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11367 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11368 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11369 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11370 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11371 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11372 Remove long_double_symbol for scalblnl function in libm, libc.
11373 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11374 Add wrapper which checks for setting errno to ERANGE.
11375 Add long_double_symbol for scalblnl function in libm, libc.
11376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11377 Remove long_double_symbol for scalblnl in libm.
11378 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11379 Add wrapper which checks for setting errno to ERANGE.
11380 Add long_double_symbol for scalblnl function in libm.
11381 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11382 Do not use wrapper because of own implementation.
11384 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
11386 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11387 3 bytes for __pad1 for x32.
11388 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11390 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
11391 H.J. Lu <hongjiu.lu@intel.com>
11393 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11394 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11395 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11396 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11397 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11399 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
11402 * posix/regcomp.c (parse_expression): Deallocate partially
11403 constructed tree before returning error.
11404 * posix/Makefile.c (tests): Add bug-regex36.
11405 (generated): Add bug-regex36.mtrace.
11406 (tests-special): Add $(objpfx)bug-regex36-mem.out
11407 (bug-regex36-ENV): New variable.
11408 ($(objpfx)bug-regex36-mem.out): New rule.
11409 * posix/bug-regex36.c: New file.
11411 2014-06-19 Will Newton <will.newton@linaro.org>
11413 * malloc/malloc.c (systrim): If extra is zero then return
11416 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
11418 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11420 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
11422 * sysdeps/aarch64/strchr.S: New file.
11424 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11427 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11428 from arguments -2 or below.
11429 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11430 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11432 2014-06-18 Andreas Schwab <schwab@suse.de>
11435 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11436 of a bracket expr not to run off the end of the string.
11437 * posix/Makefile (tests): Add tst-fnmatch3.
11438 * posix/tst-fnmatch3.c: New file.
11440 2014-06-18 Joseph Myers <joseph@codesourcery.com>
11442 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11443 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11444 [$(cross-compiling) = no]: Likewise.
11445 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11446 [$(cross-compiling) = no]: Likewise.
11448 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11451 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11452 double, adjusted for any remainder from the high double.
11453 * math/libm-test.inc (nearbyint): Add tests.
11456 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11458 * nptl/sysdeps/powerpc/Makefile: Moved ...
11459 * sysdeps/powerpc/nptl/Makefile: ... here.
11460 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11461 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11462 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11463 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11464 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11465 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11466 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11467 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11468 * nptl/sysdeps/powerpc/tls.h: Moved ...
11469 * sysdeps/powerpc/nptl/tls.h: ... here.
11471 2014-06-16 Joseph Myers <joseph@codesourcery.com>
11474 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11475 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11476 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11477 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11478 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11479 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11480 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11481 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11482 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11484 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
11486 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11488 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
11490 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11493 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11496 2014-06-16 Florian Weimer <fweimer@redhat.com>
11499 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11500 non-executed part of the test.
11502 2014-06-16 Andreas Schwab <schwab@suse.de>
11504 * string/bits/string2.h (strdup, strndup): Update feature guard.
11506 2014-06-14 David S. Miller <davem@davemloft.net>
11508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11510 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
11512 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11513 that was previously under [RESET_PID].
11514 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11516 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11517 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11518 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11519 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11520 (__libc_vfork): New strong alias.
11521 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11523 2014-06-14 Andi Kleen <ak@linux.intel.com>
11525 * sysdeps/generic/elide.h: New file.
11527 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
11529 * Makefile (installed-headers): Adjust path of pthread.h header.
11531 2014-06-13 Roland McGrath <roland@hack.frob.com>
11533 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11534 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11535 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11536 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11538 * nptl/sysdeps/s390/Makefile: Moved ...
11539 * sysdeps/s390/nptl/Makefile: ... here.
11540 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11541 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11542 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11543 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11544 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11545 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11546 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11547 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11548 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11549 * sysdeps/s390/nptl/pthreaddef.h: ... here.
11550 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11551 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11552 * nptl/sysdeps/s390/tls.h: Moved ...
11553 * sysdeps/s390/nptl/tls.h: ... here.
11555 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11556 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11558 2014-06-13 David S. Miller <davem@davemloft.net>
11560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11563 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11565 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11567 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11568 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11569 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11570 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11571 Remove RESET_PID cpp guards.
11572 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11573 Remove RESET_PID cpp guards.
11574 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11576 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
11578 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11581 2014-06-13 Andi Kleen <ak@linux.intel.com>
11583 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11584 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11585 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11586 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11587 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11588 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11589 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11590 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11591 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11592 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11593 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11594 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11595 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11596 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11598 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11599 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11600 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11601 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11602 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11604 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11605 (pthread_rwlock_rdlock): Add elision.
11606 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11607 (pthread_rwlock_wrlock): Add elision.
11608 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11609 (pthread_rwlock_trywrlock): Add elision.
11610 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11611 (pthread_rwlock_tryrdlock): Add elision.
11612 * nptl/pthread_rwlock_unlock.c: Include elide.h.
11613 (pthread_rwlock_tryrdlock): Add elision unlock.
11614 * nptl/sysdeps/pthread/pthread.h:
11615 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11616 (PTHREAD_RWLOCK_INITIALIZER,
11617 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11618 Handle new elision field.
11619 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11620 * sysdeps/arm/nptl/bits/pthreadtypes.h
11621 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11622 * sysdeps/sh/nptl/bits/pthreadtypes.h
11623 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11624 * sysdeps/tile/nptl/bits/pthreadtypes.h
11625 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11626 * sysdeps/a/nptl/bits/pthreadtypes.h
11627 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11628 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11629 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11630 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11631 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11632 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11633 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11634 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11635 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11636 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11637 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11638 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11639 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11640 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11641 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11642 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11643 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11644 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11645 (elision_init): Set try_xbegin to zero when no RTM.
11646 * sysdeps/x86/nptl/bits/pthreadtypes.h
11647 (pthread_rwlock_t): Change __pad1 to __rwelision.
11648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11650 2014-06-13 Andi Kleen <ak@linux.intel.com>
11652 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11653 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11654 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11655 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11657 2014-06-13 Meador Inge <meadori@codesourcery.com>
11660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11661 that the cached result has been set before returning it.
11663 2014-06-12 Roland McGrath <roland@hack.frob.com>
11665 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11666 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11667 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11668 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11669 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11670 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11672 * nptl/sysdeps/sparc/Makefile: Moved ...
11673 * sysdeps/sparc/nptl/Makefile: ... here.
11674 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11675 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11676 * nptl/sysdeps/sparc/tls.h: Moved ...
11677 * sysdeps/sparc/nptl/tls.h: ... here.
11678 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11679 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11680 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11681 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11682 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11683 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11684 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11685 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11686 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11687 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11688 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11689 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11690 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11691 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11692 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11693 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11694 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11695 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11697 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11698 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11700 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11701 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11703 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11704 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11707 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11709 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11710 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11712 * sysdeps/pthread/posix-timer.h: Include <list.h>.
11713 (struct list_links): Type removed.
11714 (struct thread_node, struct timer_node): Replace struct list_links
11715 with struct list_head.
11716 (list_unlink_ip): Likewise.
11717 * sysdeps/pthread/timer_routines.c
11718 (timer_free_list, thread_free_list, thread_active_list): Likewise.
11719 (list_append, list_insbefore): Likewise.
11720 (list_init): Function removed.
11721 (thread_init, init_module): Use INIT_LIST_HEAD instead.
11722 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11723 * sysdeps/pthread/Makefile: ... here, new file.
11725 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11726 * sysdeps/nptl/Implies: ... here.
11727 * sysdeps/unix/sysv/linux/Implies: Add nptl.
11728 * nptl/sysdeps/pthread/list.h: Moved ...
11729 * include/list.h: ... here.
11730 * nptl/sysdeps/pthread/createthread.c: Moved ...
11731 * nptl/createthread.c: ... here.
11732 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11733 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11734 * nptl/pt-longjmp.c: ... here.
11735 * nptl/sysdeps/pthread/Makefile: Moved ...
11736 * sysdeps/nptl/Makefile: ... here.
11737 * nptl/sysdeps/pthread/Subdirs: Moved ...
11738 * sysdeps/nptl/Subdirs: ... here.
11739 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11740 * sysdeps/nptl/aio_misc.h: ... here.
11741 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11742 * sysdeps/nptl/bits/libc-lock.h: ... here.
11743 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11744 * sysdeps/nptl/bits/libc-lockP.h: ... here.
11745 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11746 * sysdeps/nptl/bits/stdio-lock.h: ... here.
11747 * nptl/sysdeps/pthread/configure: Moved ...
11748 * sysdeps/nptl/configure: ... here.
11749 * nptl/sysdeps/pthread/configure.ac: Moved ...
11750 * sysdeps/nptl/configure.ac: ... here.
11751 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11752 * sysdeps/nptl/gai_misc.h: ... here.
11753 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11754 * sysdeps/nptl/librt-cancellation.c: ... here.
11755 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11756 * sysdeps/nptl/malloc-machine.h: ... here.
11757 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11758 * sysdeps/nptl/pthread-functions.h: ... here.
11759 * nptl/sysdeps/pthread/pthread.h: Moved ...
11760 * sysdeps/nptl/pthread.h: ... here.
11761 * nptl/sysdeps/pthread/setxid.h: Moved ...
11762 * sysdeps/nptl/setxid.h: ... here.
11763 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11764 * sysdeps/nptl/sigfillset.c: ... here.
11765 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11766 * sysdeps/nptl/tcb-offsets.h: ... here.
11767 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11768 * sysdeps/nptl/tst-mqueue8x.c: ... here.
11769 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11770 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11771 * nptl/sysdeps/pthread/allocalim.h: Moved ...
11772 * sysdeps/pthread/allocalim.h: ... here.
11773 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11774 * sysdeps/pthread/bits/sigthread.h: ... here.
11775 * nptl/sysdeps/pthread/flockfile.c: Moved ...
11776 * sysdeps/pthread/flockfile.c: ... here.
11777 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11778 * sysdeps/pthread/ftrylockfile.c: ... here.
11779 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11780 * sysdeps/pthread/funlockfile.c: ... here.
11781 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11782 * sysdeps/pthread/posix-timer.h: ... here.
11783 * nptl/sysdeps/pthread/timer_create.c: Moved ...
11784 * sysdeps/pthread/timer_create.c: ... here.
11785 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11786 * sysdeps/pthread/timer_delete.c: ... here.
11787 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11788 * sysdeps/pthread/timer_getoverr.c: ... here.
11789 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11790 * sysdeps/pthread/timer_gettime.c: ... here.
11791 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11792 * sysdeps/pthread/timer_routines.c: ... here.
11793 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11794 * sysdeps/pthread/timer_settime.c: ... here.
11795 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11796 * sysdeps/pthread/tst-timer.c: ... here.
11797 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11798 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11800 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11801 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11803 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11804 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11805 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11806 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11807 Update #include target.
11808 * nptl/sysdeps/i386/i686/Makefile: Moved ...
11809 * sysdeps/i386/i686/nptl/Makefile: ... here.
11810 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11811 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11812 Update #include target.
11813 * nptl/sysdeps/i386/i686/tls.h: Moved ...
11814 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
11815 * nptl/sysdeps/i386/Makefile: Moved ...
11816 * sysdeps/i386/nptl/Makefile: ... here.
11817 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11818 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11819 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11820 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11821 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11822 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11823 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11824 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11825 * sysdeps/i386/nptl/pthreaddef.h: ... here.
11826 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11827 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11828 * nptl/sysdeps/i386/tls.h: Moved ...
11829 * sysdeps/i386/nptl/tls.h: ... here.
11831 * sysdeps/sh/Makefile [$(subdir) = csu]
11832 (gen-as-const-headers): Add tcb-offsets.sym.
11833 * nptl/sysdeps/sh/Makefile: File removed.
11834 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11835 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11836 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11837 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11838 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11839 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11840 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11841 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11842 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11843 * sysdeps/sh/nptl/pthreaddef.h: ... here.
11844 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11845 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11846 * nptl/sysdeps/sh/tls.h: Moved ...
11847 * sysdeps/sh/nptl/tls.h: ... here.
11848 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11849 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11850 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11851 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11852 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11853 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11854 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11855 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11856 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11857 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11858 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11859 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11860 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11861 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11862 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11863 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11864 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11865 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11866 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11867 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11868 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11869 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11870 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11871 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11872 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11874 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11875 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11877 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11878 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11879 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11880 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11881 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11882 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11883 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11884 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11885 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11886 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11887 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11889 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11890 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11891 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11892 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11893 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11894 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11895 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11897 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
11899 * posix/spawn_faction_addopen.c: Include string.h.
11901 2014-06-11 Roland McGrath <roland@hack.frob.com>
11903 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11904 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11905 * nptl/sysdeps/x86_64/Makefile: Moved ...
11906 * sysdeps/x86_64/nptl/Makefile: ... here.
11907 * nptl/sysdeps/x86_64/configure: Moved ...
11908 * sysdeps/x86_64/nptl/configure: ... here.
11909 * nptl/sysdeps/x86_64/configure.ac: Moved ...
11910 * sysdeps/x86_64/nptl/configure.ac: ... here.
11911 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11912 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11913 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11914 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11915 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11916 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11917 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11918 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11919 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11920 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11921 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11922 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11923 * nptl/sysdeps/x86_64/tls.h: Moved ...
11924 * sysdeps/x86_64/nptl/tls.h: ... here.
11925 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11926 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11927 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11928 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11930 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11932 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11936 2014-06-11 Joseph Myers <joseph@codesourcery.com>
11938 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11940 [POSIX] (off_t): Likewise.
11941 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11942 [POSIX] (S_ISBLK): Require macro.
11943 [POSIX] (S_ISCHR): Likewise.
11944 [POSIX] (S_ISDIR): Likewise.
11945 [POSIX] (S_ISFIFO): Likewise.
11946 [POSIX] (S_ISREG): Likewise.
11947 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11949 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11951 [POSIX] (time_t): Likewise.
11952 [POSIX] (timer_t): Likewise.
11954 2014-06-11 Florian Weimer <fweimer@redhat.com>
11957 * posix/spawn_int.h (struct __spawn_action): Make the path string
11958 non-const to support deallocation.
11959 * posix/spawn_faction_addopen.c
11960 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11961 * posix/spawn_faction_destroy.c
11962 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
11963 path in all spawn_do_open actions.
11964 * posix/tst-spawn.c (do_test): Exercise the copy operation in
11965 posix_spawn_file_actions_addopen.
11967 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
11969 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11970 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11971 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11972 conditional code always true.
11973 (__libc_vfork): New alias.
11975 2014-06-11 Roland McGrath <roland@hack.frob.com>
11977 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11978 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11980 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11982 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11983 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11985 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11986 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11988 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11989 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11991 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11993 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11994 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11995 multiarch strcmp for PPC64.
11996 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11997 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11999 multiarch optimizations.
12000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12001 (__libc_ifunc_impl_list): Likewise.
12003 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12005 * benchtests/scripts/validate_benchout.py: New script.
12006 * benchtests/Makefile (bench-func): Call it.
12007 * benchtests/scripts/benchout.schema.json: New file.
12009 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12011 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12012 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12013 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12014 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12015 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12016 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12017 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12018 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12019 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12020 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12021 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12022 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12023 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12024 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12025 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12026 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12130 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12131 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12132 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12133 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12134 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12136 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12138 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12139 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12140 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12141 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12142 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12143 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12144 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12145 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12146 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12147 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12148 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12149 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12150 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12152 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12153 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12155 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12156 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12157 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12158 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12160 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12161 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12162 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12163 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12164 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12165 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12166 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12168 2014-06-10 Wilco <wdijkstr@arm.com>
12170 * math/test-fenv-return.c: New file.
12171 * math/Makefile: Add new test test-fenv-return.
12173 2014-06-10 Joseph Myers <joseph@codesourcery.com>
12176 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12177 when x - 1 is zero.
12178 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12179 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12180 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12181 0.0L for an argument of 1.0L.
12182 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12184 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12185 value when x - 1 is zero.
12186 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12187 * sysdeps/i386/fpu/libm-test-ulps: Update.
12188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12190 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12193 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12195 2014-06-09 Roland McGrath <roland@hack.frob.com>
12197 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12198 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12200 2014-06-09 Roland McGrath <roland@hack.frob.com>
12202 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12203 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12205 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12206 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12208 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12209 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12211 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12212 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12214 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12215 if not already defined.
12216 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12217 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12218 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12219 (TLS_INIT_TP): Use it.
12220 (TLS_DEFINE_INIT_TP): New macro.
12221 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12223 2014-06-09 Joseph Myers <joseph@codesourcery.com>
12225 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12227 [POSIX] (IXANY): Likewise.
12228 [POSIX] (OLCUC): Likewise.
12229 [POSIX || POSIX2008] (CBAUD): Do not allow.
12230 [POSIX || POSIX2008] (DEFECHO): Likewise.
12231 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12232 [POSIX || POSIX2008] (ECHOKE): Likewise.
12233 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12234 [POSIX || POSIX2008] (EXTA): Likewise.
12235 [POSIX || POSIX2008] (EXTB): Likewise.
12236 [POSIX || POSIX2008] (FLUSHO): Likewise.
12237 [POSIX || POSIX2008] (LOBLK): Likewise.
12238 [POSIX || POSIX2008] (PENDIN): Likewise.
12239 [POSIX || POSIX2008] (SWTCH): Likewise.
12240 [POSIX || POSIX2008] (VDISCARD): Likewise.
12241 [POSIX || POSIX2008] (VDSUSP): Likewise.
12242 [POSIX || POSIX2008] (VLNEXT): Likewise.
12243 [POSIX || POSIX2008] (VREPRINT): Likewise.
12244 [POSIX || POSIX2008] (VSTATUS): Likewise.
12245 [POSIX || POSIX2008] (VWERASE): Likewise.
12246 (B*): Change to B[0123456789]*.
12247 * conform/data/time.h-data [POSIX || UNIX98]
12248 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12249 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12250 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12251 [POSIX] (tm_*): Do not allow.
12253 2014-06-07 Joseph Myers <joseph@codesourcery.com>
12255 * Makefile (install): Don't set LANGUAGE.
12256 * Makefile.in (install): Likewise.
12257 * assert/Makefile (test-assert-ENV): Remove variable.
12258 (test-assert-perr-ENV): Likewise.
12259 * elf/Makefile (neededtest4-ENV): Likewise.
12260 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12261 [$(cross-compiling) = no]: Don't set LANGUAGE.
12262 * io/ftwtest-sh (LANG): Remove variable.
12263 * libio/Makefile (tst-widetext-ENV): Likewise.
12264 * manual/install.texi (Running make install): Don't refer to
12265 environment settings for make install.
12266 * INSTALL: Regenerated.
12267 * nptl/tst-tls6.sh: Don't set LANG.
12268 * posix/globtest.sh (LANG): Remove variable.
12269 * string/Makefile (tester-ENV): Likewise.
12270 (inl-tester-ENV): Likewise.
12271 (noinl-tester-ENV): Likewise.
12272 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12273 [$(cross-compiling) = no]: Don't set LANGUAGE.
12274 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12275 without explicit environment settings.
12277 2014-06-06 Roland McGrath <roland@hack.frob.com>
12279 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12280 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12281 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12282 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12284 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
12286 * crypt/crypt-private.h [DOS]: Add some includes taken from the
12287 other files in the crypt directory.
12288 * crypt/crypt.c: Remove duplicate includes.
12289 * crypt/crypt-entry.c: Likewise.
12290 * crypt/crypt_util.c: Likewise.
12292 2014-06-06 Joseph Myers <joseph@codesourcery.com>
12294 * Makeconfig (run-program-env): New variable.
12295 (run-program-prefix-before-env): Likewise.
12296 (run-program-prefix-after-env): Likewise.
12297 (run-program-prefix): Define in terms of new variables.
12298 (built-program-cmd-before-env): New variable.
12299 (built-program-cmd-after-env): Likewise.
12300 (built-program-cmd): Define in terms of new variables.
12301 (test-program-prefix-before-env): New variable.
12302 (test-program-prefix-after-env): Likewise.
12303 (test-program-prefix): Define in terms of new variables.
12304 (test-program-cmd-before-env): New variable.
12305 (test-program-cmd-after-env): Likewise.
12306 (test-program-cmd): Define in terms of new variables.
12307 * Rules (make-test-out): Use $(run-program-env).
12308 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12309 (help): Do not mention environment variables. Mention
12310 --timeoutfactor option.
12311 (timeoutfactor): New variable.
12312 (blacklist_exports): Remove function.
12313 (exports): Remove variable.
12314 (command): Do not include ${exports}.
12315 * manual/install.texi (Configuring and compiling): Do not mention
12316 test wrappers preserving environment variables. Mention that last
12317 assignment to a variable must take precedence.
12318 * INSTALL: Regenerated.
12319 * benchtests/Makefile (run-bench): Use $(run-program-env).
12320 * catgets/Makefile ($(objpfx)test1.cat): Use
12321 $(built-program-cmd-before-env), $(run-program-env) and
12322 $(built-program-cmd-after-env).
12323 ($(objpfx)test2.cat): Do not specify environment variables
12325 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12326 $(run-program-env) and $(built-program-cmd-after-env).
12327 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12328 $(run-program-env) and $(test-program-cmd-after-env).
12329 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12331 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12332 run_program_env and test_program_cmd_after_env arguments.
12333 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12334 * elf/tst-pathopt.sh: Use run_program_env argument.
12335 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12336 $(test-wrapper-env) and $(run-program-env).
12337 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12338 run_program_env arguments.
12339 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12340 * intl/Makefile ($(objpfx)tst-gettext.out): Use
12341 $(test-program-prefix-before-env), $(run-program-env) and
12342 $(test-program-prefix-after-env).
12343 ($(objpfx)tst-gettext2.out): Likewise.
12344 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12345 run_program_env and test_program_prefix_after_env arguments.
12346 * intl/tst-gettext2.sh: Likewise.
12347 * intl/tst-gettext4.sh: Do not set environment variables
12349 * intl/tst-gettext6.sh: Likewise.
12350 * intl/tst-translit.sh: Likewise.
12351 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12352 $(test-program-prefix-before-env), $(run-program-env) and
12353 $(test-program-prefix-after-env).
12354 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12355 run_program_env and test_program_prefix_after_env arguments.
12356 * math/Makefile (run-regen-ulps): Use $(run-program-env).
12357 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12358 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
12359 explicitly with each use of ${test_wrapper_env}.
12360 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12361 $(test-program-prefix-before-env), $(run-program-env) and
12362 $(test-program-prefix-after-env).
12363 * posix/tst-getconf.sh: Do not set environment variables
12365 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12366 run_program_env and test_program_prefix_after_env arguments.
12367 * stdio-common/tst-printf.sh: Do not set environment variables
12369 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12370 $(test-program-prefix-before-env), $(run-program-env) and
12371 $(test-program-prefix-after-env).
12372 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12373 run_program_env and test_program_prefix_after_env arguments.
12374 Split $test calls into $test_pre and $test.
12375 * timezone/Makefile (build-testdata): Use
12376 $(built-program-cmd-before-env), $(run-program-env) and
12377 $(built-program-cmd-after-env).
12379 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12381 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12382 strlen for non SHARED builds.
12384 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12386 * nptl/allocatestack.c (check_list): Inlined function...
12387 (__reclaim_stacks): ... here.
12389 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12392 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12395 2014-06-05 Joseph Myers <joseph@codesourcery.com>
12397 * Rules (make-test-out): Include
12398 LOCPATH=$(common-objpfx)localedata in default environment.
12399 * debug/Makefile (tst-chk1-ENV): Remove variable.
12400 (tst-chk2-ENV): Likewise.
12401 (tst-chk3-ENV): Likewise.
12402 (tst-chk4-ENV): Likewise.
12403 (tst-chk5-ENV): Likewise.
12404 (tst-chk6-ENV): Likewise.
12405 (tst-lfschk1-ENV): Likewise.
12406 (tst-lfschk2-ENV): Likewise.
12407 (tst-lfschk3-ENV): Likewise.
12408 (tst-lfschk4-ENV): Likewise.
12409 (tst-lfschk5-ENV): Likewise.
12410 (tst-lfschk6-ENV): Likewise.
12411 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12412 (tst-iconv7-ENV): Likewise.
12413 * intl/Makefile (LOCPATH-ENV): Likewise.
12414 (tst-codeset-ENV): Likewise.
12415 (tst-gettext3-ENV): Likewise.
12416 (tst-gettext5-ENV): Likewise.
12417 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12418 (tst-fopenloc-ENV): Likewise.
12419 (tst-fgetws-ENV): Remove variable.
12420 (tst-ungetwc1-ENV): Likewise.
12421 (tst-ungetwc2-ENV): Likewise.
12422 (bug-ungetwc2-ENV): Likewise.
12423 (tst-swscanf-ENV): Likewise.
12424 (bug-ftell-ENV): Likewise.
12425 (tst-fgetwc-ENV): Likewise.
12426 (tst-fseek-ENV): Likewise.
12427 (tst-ftell-partial-wide-ENV): Likewise.
12428 (tst-ftell-active-handler-ENV): Likewise.
12429 (tst-ftell-append-ENV): Likewise.
12430 * posix/Makefile (tst-fnmatch-ENV): Likewise.
12431 (tst-regexloc-ENV): Likewise.
12432 (bug-regex1-ENV): Likewise.
12433 (tst-regex-ENV): Likewise.
12434 (tst-regex2-ENV): Likewise.
12435 (bug-regex5-ENV): Likewise.
12436 (bug-regex6-ENV): Likewise.
12437 (bug-regex17-ENV): Likewise.
12438 (bug-regex18-ENV): Likewise.
12439 (bug-regex19-ENV): Likewise.
12440 (bug-regex20-ENV): Likewise.
12441 (bug-regex22-ENV): Likewise.
12442 (bug-regex23-ENV): Likewise.
12443 (bug-regex25-ENV): Likewise.
12444 (bug-regex26-ENV): Likewise.
12445 (bug-regex30-ENV): Likewise.
12446 (bug-regex32-ENV): Likewise.
12447 (bug-regex33-ENV): Likewise.
12448 (bug-regex34-ENV): Likewise.
12449 (bug-regex35-ENV): Likewise.
12450 (tst-rxspencer-ENV): Likewise.
12451 (tst-rxspencer-no-utf8-ENV): Likewise.
12452 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12453 (tst-sscanf-ENV): Likewise.
12454 (tst-swprintf-ENV): Likewise.
12455 (tst-swscanf-ENV): Likewise.
12456 (test-vfprintf-ENV): Likewise.
12457 (scanf13-ENV): Likewise.
12458 (bug14-ENV): Likewise.
12459 (tst-grouping-ENV): Likewise.
12460 * stdlib/Makefile (tst-strtod-ENV): Likewise.
12461 (tst-strtod3-ENV): Likewise.
12462 (tst-strtod4-ENV): Likewise.
12463 (tst-strtod5-ENV): Likewise.
12464 (testmb2-ENV): Likewise./
12465 * string/Makefile (tst-strxfrm-ENV): Likewise.
12466 (tst-strxfrm2-ENV): Likewise.
12467 (bug-strcoll1-ENV): Likewise.
12468 (test-strcasecmp-ENV): Likewise.
12469 (test-strncasecmp-ENV): Likewise.
12470 * time/Makefile (tst-strptime-ENV): Likewise.
12471 (tst-ftime_l-ENV): Likewise.
12472 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12473 (tst-mbrtowc-ENV): Likewise.
12474 (tst-wcrtomb-ENV): Likewise.
12475 (tst-mbrtowc2-ENV): Likewise.
12476 (tst-c16c32-1-ENV): Likewise.
12477 (tst-mbsnrtowcs-ENV): Likewise.
12479 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
12481 * manual/resource.texi (How to get information about the memory
12482 subsystem?): Fix typo.
12483 Reported by Peon de la Parra Ivan <peon@keba.com>
12485 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
12488 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12489 (pthread_spin_lock): Branch out of spin loop to proper location.
12490 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12491 (pthread_spin_lock): Likewise.
12493 * nptl/tst-spin4.c: New test.
12494 * nptl/Makefile (tests): Add tst-spin4.
12496 2014-06-03 Andreas Schwab <schwab@suse.de>
12499 * resolv/res_send.c (send_dg): Reload file descriptor after
12502 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
12504 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12506 2014-06-03 Richard Henderson <rth@redhat.com>
12508 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12509 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12510 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12511 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
12512 in the SAVE_PID block.
12513 (__libc_vfork): New alias.
12514 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12516 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12517 child in registers, not on the stack. Remove RESET_PID conditionals.
12518 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12520 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
12522 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12524 2014-06-03 Wilco <wdijkstr@arm.com>
12526 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12527 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12528 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12529 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12530 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12533 2014-06-03 Wilco <wdijkstr@arm.com>
12535 * sysdeps/aarch64/fpu/math_private.h
12536 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12537 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12538 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12539 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12542 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
12544 * crypt/crypt-private.h: Include ufc-crypt.h.
12545 (__b64_from_24bit): Declare extern.
12546 * crypt/crypt_util.c(__b64_from_24bit): New function.
12547 (b64t): New static const variable.
12548 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12549 (b64t): Remove variable.
12550 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12551 * crypt/sha256-crypt.c: Include crypt-private.h.
12552 (b64t): Remove variable.
12553 (__sha256_crypt_r): Remove b64_from_24bit and replace
12554 with __b64_from_24bit.
12555 * crypt/sha512-crypt.c: Likewise.
12557 2014-06-02 Roland McGrath <roland@hack.frob.com>
12559 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12560 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12561 Label the code __libc_vfork rather than __vfork.
12562 [!NOT_IN_libc] (vfork): Define as weak alias.
12563 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12564 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12565 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12567 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12569 * malloc/malloc.c (malloc_info): Fix format specifier for
12572 2014-06-02 Wilco <wdijkstr@arm.com>
12574 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12577 2014-06-02 Wilco <wdijkstr@arm.com>
12580 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12581 Rewrite to reduce FPCR/FPSR accesses.
12583 2014-06-01 David S. Miller <davem@davemloft.net>
12585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12587 2014-05-31 David S. Miller <davem@davemloft.net>
12589 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12590 to occur in round to nearest mode when |x| >= 2.0
12592 2014-05-30 Richard Henderson <rth@twiddle.net>
12594 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12595 (PSEUDO_RET_NOERRNO): Remove.
12596 (ret): Don't redefine.
12597 (ret_NOERRNO): Define in terms of ret.
12598 (ret_ERRVAL): Likewise.
12600 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12601 use of PSEUDO_RET; perform the error check directly.
12603 2014-05-30 Marko Myllynen <myllynen@redhat.com>
12605 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12608 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12610 * malloc/malloc (malloc_info): Fix formatting.
12612 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12613 Roland McGrath <roland@hack.frob.com>
12615 * malloc/malloc (malloc_info): Also print mmapped statistics.
12617 2014-05-30 Roland McGrath <roland@hack.frob.com>
12619 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12620 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12622 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
12624 * malloc/malloc.c (malloc_info): Inline mi_arena.
12626 2014-05-29 Richard Henderson <rth@twiddle.net>
12628 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12629 Remove comma before expanding ASM_ARGS_##nr.
12630 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12631 Make _x0 a strict output; make _x8 a strict input; adjust expansion
12633 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12634 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12635 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12636 (ASM_ARGS_1): Add leading comma.
12638 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12639 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12640 to __errno_location.
12641 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12642 Remove the expected plt for __errno_location.
12644 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12645 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12648 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12649 Always allocate 64 bytes of stack frame. Use ldp/stp to create
12650 it and break it down.
12651 (DOCARGS_0, DOCARGS_1): Do nothing.
12652 (DOCARGS_2): Update to store into the new stack frame.
12653 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12654 (UNDOCARGS_1): Update to restore from the new stack frame.
12655 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12656 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12658 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12659 (SINGLE_THREAD_P): New parameter for result regno.
12660 (PSEUDO): Update to match; use cbz instead of beq.
12662 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12663 Use ENTRY to define the _nocancel entry point. Share the syscall
12664 and syscall error check paths with the cancel path.
12667 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12668 whitespace; tabs before and after asm mnemonics.
12670 2014-05-29 Eric Wong <normalperson@yhbt.net>
12673 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12674 Call fstat64 or stat64 internally, depending on arguments passed.
12675 Replace stat buffer argument with file descriptor argument.
12676 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12677 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12678 Pass fd to __internal_statvfs instead of calling fstat64.
12679 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12680 Pass fd to __internal_statvfs64 instead of calling fstat64.
12681 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12682 Pass -1 to __internal_statvfs instead of calling stat64.
12683 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12684 Pass -1 to __internal_statvfs64 instead of calling stat64.
12686 2014-05-28 Roland McGrath <roland@hack.frob.com>
12688 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12689 that was previously under [RESET_PID].
12690 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12692 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12693 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12695 2014-05-27 Roland McGrath <roland@hack.frob.com>
12697 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12699 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12700 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12702 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
12704 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12706 2014-05-27 Andreas Schwab <schwab@suse.de>
12708 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12710 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12711 * elf/rtld.c (init_tls, dl_main): Likewise.
12712 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12713 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12714 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12715 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12716 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12717 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12718 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12719 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12720 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12721 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12722 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12723 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12724 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12725 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12726 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12727 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12728 * sysdeps/generic/tls.h: Update description.
12730 2014-05-27 Will Newton <will.newton@linaro.org>
12733 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12734 and restore r2 rather than just restoring.
12736 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12739 * libio/tst-ftell-append.c: New test case.
12740 * libio/Makefile (tests): Add test case.
12741 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12743 * libio/wfileops.c (do_ftell_wide): Likewise.
12745 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12749 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12753 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12754 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12755 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12756 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12757 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12758 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12759 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12765 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12766 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12767 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12768 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12769 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12771 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12772 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12774 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12776 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12778 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12779 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12780 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12782 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12783 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12784 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12785 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12787 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12790 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12793 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12796 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12800 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12808 conditional [RESET_PID].
12809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12817 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12818 (__libc_vfork): New strong alias.
12819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12826 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12827 (__libc_vfork): New strong alias.
12828 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12830 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12833 2014-05-26 Carlos O'Donell <carlos@redhat.com>
12835 * malloc/malloc.c (mi_arena): New function.
12836 (malloc_info): Remove nested function mi_arena. Call non-nosted
12839 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12841 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12843 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12844 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12845 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12846 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12847 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12848 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12849 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12851 2014-05-26 Andreas Schwab <schwab@suse.de>
12854 * locale/programs/repertoire.c (repertoire_read): Add slash
12855 between I18NPATH element and file name.
12856 * locale/programs/locfile.c (locfile_read): Likewise.
12858 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12860 * nptl/pthread_mutexattr_settype.c
12861 (__pthread_mutexattr_settype):
12862 Disable lock elision for PTHREAD_MUTEX_NORMAL.
12864 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
12866 * nptl/tst-mutex5 (do_test):
12867 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12869 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12871 * benchtests/README: Document 'init' directive.
12872 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12874 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12875 (parse_file): Recognize 'init' directive.
12877 2014-05-26 Kyle McMartin <kyle@redhat.com>
12880 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12881 alignment of struct pthread.
12883 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12886 * nscd/netgroupcache.c (addgetnetgrentX): Look for
12887 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12888 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12889 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12891 2014-05-25 Richard Henderson <rth@twiddle.net>
12893 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12894 (SINGLE_THREAD_P_PIC): Remove.
12895 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12896 (SINGLE_THREAD_P_PIC): Remove.
12898 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12899 branch to syscall error ...
12900 (PSEUDO): ... here.
12901 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12902 from __local_syscall_error to .Lsyscall_error.
12903 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12904 (SYSCALL_ERROR): Update label name.
12906 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12907 Do not use DOARGS/UNDOARGS.
12908 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12909 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12910 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12911 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12912 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12914 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12917 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12918 define if !NOT_IN_libc.
12919 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12920 define with non-default symbol versions.
12922 2014-05-23 Richard Henderson <rth@twiddle.net>
12924 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12925 (vfork, __vfork): Define via compat_symbol.
12927 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12928 [!HAVE_IFUNC] (vfork_compat): Remove.
12929 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12931 2014-05-23 Joseph Myers <joseph@codesourcery.com>
12934 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12935 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12938 2014-05-23 Richard Henderson <rth@twiddle.net>
12940 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12941 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12942 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12943 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12945 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12946 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12947 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12948 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12949 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12950 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12951 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12952 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12953 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12954 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12955 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12956 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12957 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12958 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12959 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12960 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12961 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12962 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12963 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12964 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12965 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12966 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12967 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12968 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12969 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12970 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12971 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12972 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12973 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12974 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12975 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12976 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12977 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12978 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12979 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12980 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12981 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12982 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12983 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12984 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12985 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12986 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12987 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12988 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12989 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12990 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12991 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12992 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12993 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12994 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12995 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12996 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12997 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12998 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12999 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13000 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13002 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13003 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13004 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13005 before exiting on error.
13006 (__libc_vfork): New strong alias.
13007 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13008 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13010 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13011 that was previously under [RESET_PID].
13012 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13014 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13016 2014-05-23 Joseph Myers <joseph@codesourcery.com>
13019 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13020 value when x - 1 is zero.
13021 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13022 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13023 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13024 0.0L for an argument of 1.0L.
13025 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13027 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13028 value when x - 1 is zero.
13029 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13030 * sysdeps/i386/fpu/libm-test-ulps: Update.
13031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13033 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13035 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13036 alphasort and versionsort.
13038 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13040 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13042 [copysignf]: Likewise.
13044 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13046 * crypt/md5-crypt.c: Fix formatting.
13048 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13050 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13051 (b64_from_24bit): New function.
13053 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13055 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13056 libc_hidden_builtin_def to ifunc.
13057 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13058 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13060 2014-05-21 Roland McGrath <roland@hack.frob.com>
13062 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13063 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13065 2014-05-21 Joseph Myers <joseph@codesourcery.com>
13067 * nscd/Depend (linuxthreads): Remove.
13069 * resolv/Depend (linuxthreads): Remove.
13070 * rt/Depend (linuxthreads): Remove.
13072 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13073 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13074 $(common-objpfx)elf/.
13075 (link-libc-before-gnulib): Likewise.
13076 (elfobjdir): Remove variable.
13077 * Makefile (install): Use $(elf-objpfx) instead of
13078 $(common-objpfx)elf/.
13079 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13081 (link-libc-deps): Likewise.
13082 ($(common-objpfx)libc.so): Likewise.
13083 ($(common-objpfx)linkobj/libc.so): Likewise.
13084 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13085 instead of $(common-objpfx)elf/.
13086 (symbolic-link-list): Likewise.
13087 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13088 [$(cross-compiling) = no]: Likewise.
13089 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13091 (static-gnulib-arch): Likewise.
13092 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13093 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13094 $(common-objpfx)elf/.
13096 2014-05-21 Richard Henderson <rth@redhat.com>
13098 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13099 (SINGLE_THREAD_P): Use the correct width load. Fold
13100 into the ldr offset.
13102 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13103 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13105 2014-05-20 Joseph Myers <joseph@codesourcery.com>
13107 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13108 (libgcc_s_resume): Use __attribute_used__.
13109 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13112 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13114 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13115 optimization when used with float constants.
13117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13119 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13122 * locale/nl_langinfo_l.c: Make direct reference to every
13123 _nl_current_CATEGORY symbol.
13124 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13125 (tests-static): Add tst-langinfo-static.
13126 (tests-special): Add tst-langinfo-static.out.
13127 ($(objpfx)tst-langinfo.out): Redirect output.
13128 ($(objpfx)tst-langinfo-static.out): New.
13129 * localedata/tst-langinfo.sh: Send output to stdout.
13130 * localedata/tst-langinfo-static.c: New file.
13133 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13134 when the shift amount is modulo the limb size.
13136 2014-05-20 Richard Henderson <rth@redhat.com>
13139 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13140 Change type of sa_flags from unsigned int to int.
13143 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13145 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13147 2014-05-20 Will Newton <will.newton@linaro.org>
13149 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13150 Test the return value of the system call in the nocancel case.
13152 2014-05-20 Will Newton <will.newton@linaro.org>
13153 Yvan Roux <yvan.roux@linaro.org>
13155 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13156 #include of asm/ptrace.h.
13157 (PTRACE_GET_THREAD_AREA): Remove #undef.
13158 (PTRACE_GETHBPREGS): Likewise.
13159 (PTRACE_SETHBPREGS): Likewise.
13160 (struct user_regs_struct): New structure.
13161 (struct user_fpsimd_struct): New structure.
13162 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13163 #include of asm/ptrace.h and second #include of sys/user.h.
13164 (PTRACE_GET_THREAD_AREA): Remove #undef.
13165 (PTRACE_GETHBPREGS): Likewise.
13166 (PTRACE_SETHBPREGS): Likewise.
13167 (ELF_NGREG): Use new struct user_regs_struct.
13168 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13170 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13172 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13173 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13175 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13178 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13179 membar to avoid block loads/stores to overlap previous stores.
13181 2014-05-17 Richard Henderson <rth@redhat.com>
13183 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13184 Create the __##syscall_name##_nocancel entry point.
13185 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13186 Remove; let the sysdep-cancel.h code create it.
13188 2014-05-17 David S. Miller <davem@davemloft.net>
13190 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13191 Protect with __USE_GNU.
13192 (TIOCSET_TEMPT): Likewise.
13193 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13194 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13195 these are already provided in bits/ioctl-types.h
13197 2014-05-16 Roland McGrath <roland@hack.frob.com>
13199 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13200 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13202 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13203 Use wait4 regardless of [__NR_waitpid].
13205 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13208 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13209 (_FP_NANSIGN_Q): Set the quiet bit.
13211 2014-05-16 Joseph Myers <joseph@codesourcery.com>
13213 * benchtests/Makefile
13214 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13215 not $(common-objpfx)math/libm.so.
13216 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13217 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13218 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13219 $(common-objpfx)dlfcn/libdl.so.
13220 ($(objpfx)tst-audit8): Depend on $(libm), not
13221 $(common-objpfx)math/libm.so.
13222 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13223 not $(common-objpfx)dlfcn/libdl.so.
13225 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13226 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13227 [$(build-shared) = yes].
13228 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13229 $(common-objpfx)nptl/libpthread.so.
13230 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13231 $(common-objpfx)math/libm.so$(libm.so-version) or
13232 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13233 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13234 $(common-objpfx)dlfcn/libdl.so.
13235 * setjmp/Makefile (link-libm): Remove variable.
13236 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13237 * stdio-common/Makefile (link-libm): Remove variable.
13238 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13239 * stdlib/Makefile (link-libm): Remove variable.
13240 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13241 ($(objpfx)tst-strtod-round): Likewise.
13242 ($(objpfx)tst-tininess): Likewise.
13243 ($(objpfx)tst-strtod-underflow): Likewise.
13244 ($(objpfx)tst-strtod6): Likewise.
13245 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13246 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13247 $(common-objpfx)dlfcn/libdl.so.
13249 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13251 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13252 BSD terminal modes definitions.
13254 2014-05-16 Roland McGrath <roland@hack.frob.com>
13256 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13257 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13259 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13260 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13261 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13262 Don't do #include_next.
13263 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13264 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13265 Don't do #include_next.
13266 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13267 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13268 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13269 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13271 2014-05-16 Allan McRae <allan@archlinux.org>
13273 * po/sv.po: Update Swedish translation from translation project.
13275 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13278 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
13281 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13282 errno if the TIOCGPTN ioctl fails with an error different than
13284 * login/tst-ptsname.c: New file.
13285 * login/Makefile (tests): Add tst-ptsname.
13288 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13291 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13295 herrno to return EAI_AGAIN.
13297 2014-05-14 Roland McGrath <roland@hack.frob.com>
13299 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13300 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13301 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13302 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13303 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13304 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13305 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13306 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13307 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13308 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13309 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13310 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13311 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13312 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13313 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13314 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13315 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13316 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13317 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13318 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13319 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13320 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13321 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13322 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13323 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13324 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13325 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13326 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13327 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13328 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13330 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13332 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13335 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13337 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13339 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13341 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13343 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13345 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13347 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13349 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13351 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13353 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13355 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13357 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13359 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13361 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13364 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13366 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13368 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13370 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13372 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13374 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13376 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13378 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13380 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13382 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13385 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13387 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13389 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13390 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13391 (libpthread-sysdep_routines): Add elision-related stuff here instead.
13392 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13393 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13394 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13395 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13396 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13397 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13398 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13399 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13400 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13401 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13402 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13403 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13404 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13405 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13406 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13407 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13408 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13409 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13410 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13411 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13412 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13413 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13414 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13415 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13416 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13417 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13418 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13419 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13421 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13422 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13424 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13425 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13426 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13427 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13428 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13429 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13432 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13434 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13435 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13437 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13438 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13440 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13441 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13442 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13443 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13445 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13446 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13447 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13448 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13449 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13450 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13451 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13452 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13454 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13455 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13457 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13459 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13460 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13461 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13462 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13463 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13465 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13467 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13469 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13470 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13471 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13472 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13473 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13474 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13477 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13479 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13480 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13482 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13483 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13485 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13486 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13487 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13488 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13490 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13491 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13492 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13493 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13494 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13495 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13496 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13497 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13499 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13500 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13502 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13504 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13505 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13506 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13507 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13508 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13510 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13512 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13514 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13515 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13516 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13517 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13518 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13519 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13520 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13521 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13522 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13523 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13526 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13528 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13529 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13531 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13532 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13534 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13535 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13536 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13537 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13538 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13541 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13542 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13543 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13544 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13545 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13546 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13547 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13548 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13550 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13551 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13553 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13555 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13556 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13557 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13558 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13559 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13561 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13563 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13565 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13566 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13567 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13568 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13569 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13570 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13571 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13572 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13573 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13574 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13575 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13577 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13578 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13580 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13581 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13583 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13584 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13585 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13586 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13587 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13588 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13589 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13590 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13591 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13592 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13593 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13594 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13595 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13596 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13597 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13599 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13600 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13602 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13603 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13604 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13605 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13607 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13608 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13609 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13610 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13611 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13612 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13613 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13614 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13616 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13617 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13619 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13620 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13621 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13622 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13623 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13625 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13626 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13627 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13628 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13629 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13630 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13631 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13632 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13633 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13634 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13635 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13637 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13638 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13639 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13640 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13641 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13643 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13644 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13645 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13646 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13647 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13648 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13649 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13650 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13651 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13652 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13654 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13657 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13658 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13659 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13660 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13661 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13662 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13663 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13664 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13665 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13666 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13667 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13668 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13669 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13670 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13671 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13677 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13691 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13693 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13694 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13696 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13697 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13698 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13699 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13700 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13701 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13702 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13703 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13704 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
13705 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
13707 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13708 that was previously under [RESET_PID].
13709 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13710 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13711 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13713 * sysdeps/i386/nptl/Implies: New file.
13714 * sysdeps/x86_64/nptl/Implies: New file.
13715 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13716 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13717 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13718 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13720 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13721 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13722 (__libc_vfork): New strong alias.
13723 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13724 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13726 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13727 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13728 (__libc_vfork): New strong alias.
13729 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13730 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13732 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13733 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13734 (__libc_vfork): New strong alias.
13735 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13736 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13737 * nptl/pt-vfork.c: New file.
13738 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13739 (libpthread: GLIBC_2.20): New version set (empty).
13741 2014-05-14 Will Newton <will.newton@linaro.org>
13743 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13746 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13749 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13750 arguments with exponent 65 or above.
13751 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13752 arguments 0x1p113L or above.
13753 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13754 to arguments 0x1p107L or above.
13755 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13756 positive arguments with exponent 65 or above.
13757 * math/auto-libm-test-in: Add more tests of log1p.
13758 * math/auto-libm-test-out: Regenerated.
13761 * math/s_cacos.c (__cacos): Ensure zero real part of result from
13762 non-finite arguments is +0.
13763 * math/s_cacosf.c (__cacosf): Likewise.
13764 * math/s_cacosl.c (__cacosl): Likewise.
13765 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13766 * sysdeps/i386/fpu/libm-test-ulps: Update.
13767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13770 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13772 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13773 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13774 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13775 for explicit high bit of mantissa when testing for argument equal
13777 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13778 * sysdeps/i386/fpu/libm-test-ulps: Update.
13779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13782 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13783 (__erf): Scale by 16 instead of 8 in potentially underflowing
13784 case. Ensure exception if result actually underflows.
13785 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13786 (__erff): Scale by 16 instead of 8 in potentially underflowing
13787 case. Ensure exception if result actually underflows.
13788 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13789 (efx8): Remove variable.
13790 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13791 case. Ensure exception if result actually underflows.
13792 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13793 (efx8): Remove variable.
13794 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13795 case. Ensure exception if result actually underflows.
13796 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13797 (efx8): Remove variable.
13798 (__erfl): Scale by 16 instead of 8 in potentially underflowing
13799 case. Ensure exception if result actually underflows.
13800 * math/auto-libm-test-in: Add more tests of erf.
13801 * math/auto-libm-test-out: Regenerated.
13803 2014-05-14 Andreas Schwab <schwab@suse.de>
13805 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13806 Remove code conditionalized on USE___THREAD.
13808 * config.h.in (HAVE_PT_CHOWN): Define as 0.
13809 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13812 2014-05-14 Joseph Myers <joseph@codesourcery.com>
13814 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13815 Define unconditionally.
13816 (__ASSUME_O_CLOEXEC): Likewise.
13817 (__ASSUME_SOCK_CLOEXEC): Likewise.
13818 (__ASSUME_IN_NONBLOCK): Likewise.
13819 (__ASSUME_PIPE2): Likewise.
13820 (__ASSUME_EVENTFD2): Likewise.
13821 (__ASSUME_SIGNALFD4): Likewise.
13822 (__ASSUME_DUP3): Likewise.
13823 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13824 (__ASSUME_DUP3): Do not define.
13825 (__ASSUME_EVENTFD2): Likewise.
13826 (__ASSUME_IN_NONBLOCK): Likewise.
13827 (__ASSUME_O_CLOEXEC): Likewise.
13828 (__ASSUME_PIPE2): Likewise.
13829 (__ASSUME_SIGNALFD4): Likewise.
13830 (__ASSUME_SOCK_CLOEXEC): Likewise.
13831 (__ASSUME_UTIMES): Undefine.
13832 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13833 (__ASSUME_UTIMES): Do not define.
13834 (__ASSUME_O_CLOEXEC): Likewise.
13835 (__ASSUME_SOCK_CLOEXEC): Likewise.
13836 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13837 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13839 (__ASSUME_PIPE2): Likewise.
13840 (__ASSUME_EVENTFD2): Likewise.
13841 (__ASSUME_SIGNALFD4): Likewise.
13842 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13843 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13845 (__ASSUME_EVENTFD2): Likewise.
13846 (__ASSUME_SIGNALFD4): Likewise.
13847 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13848 (__ASSUME_32BITUIDS): Likewise.
13849 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13850 (__ASSUME_IPC64): Likewise.
13851 (__ASSUME_ST_INO_64_BIT): Likewise.
13852 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13853 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13854 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13855 (__ASSUME_UTIMES): Do not define.
13856 (__ASSUME_PSELECT): Likewise.
13857 (__ASSUME_PPOLL): Likewise.
13858 (__ASSUME_O_CLOEXEC): Likewise.
13859 (__ASSUME_SOCK_CLOEXEC): Likewise.
13860 (__ASSUME_IN_NONBLOCK): Likewise.
13861 (__ASSUME_PIPE2): Likewise.
13862 (__ASSUME_EVENTFD2): Likewise.
13863 (__ASSUME_SIGNALFD4): Likewise.
13864 (__ASSUME_DUP3): Likewise.
13865 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13866 (__ASSUME_UTIMES): Likewise.
13867 (__ASSUME_O_CLOEXEC): Likewise.
13868 (__ASSUME_SOCK_CLOEXEC): Likewise.
13869 (__ASSUME_IN_NONBLOCK): Likewise.
13870 (__ASSUME_PIPE2): Likewise.
13871 (__ASSUME_EVENTFD2): Likewise.
13872 (__ASSUME_SIGNALFD4): Likewise.
13873 (__ASSUME_DUP3): Likewise.
13874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13875 (__ASSUME_UTIMES): Likewise.
13876 (__ASSUME_O_CLOEXEC): Likewise.
13877 (__ASSUME_SOCK_CLOEXEC): Likewise.
13878 (__ASSUME_IN_NONBLOCK): Likewise.
13879 (__ASSUME_PIPE2): Likewise.
13880 (__ASSUME_EVENTFD2): Likewise.
13881 (__ASSUME_SIGNALFD4): Likewise.
13882 (__ASSUME_DUP3): Likewise.
13883 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13885 (__ASSUME_UTIMES): Likewise.
13886 (__ASSUME_EVENTFD2): Likewise.
13887 (__ASSUME_SIGNALFD4): Likewise.
13888 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13889 (__ASSUME_O_CLOEXEC): Likewise.
13890 (__ASSUME_SOCK_CLOEXEC): Likewise.
13891 (__ASSUME_IN_NONBLOCK): Likewise.
13892 (__ASSUME_PIPE2): Likewise.
13893 (__ASSUME_EVENTFD2): Likewise.
13894 (__ASSUME_SIGNALFD4): Likewise.
13895 (__ASSUME_DUP3): Likewise.
13896 (__ASSUME_UTIMES): Undefine.
13898 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13899 feclearexcept. Remove symbol versioning code.
13900 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
13901 symbol versioning code.
13902 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
13903 symbol versioning code.
13904 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13905 feupdateenv. Remove symbol versioning code.
13906 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13907 fegetexceptflag. Remove symbol versioning code.
13908 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13909 fesetexceptflag. Remove symbol versioning code.
13910 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13911 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
13912 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13913 (__posix_fadvise64_l32): Remove prototype.
13914 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13917 2014-05-13 Roland McGrath <roland@hack.frob.com>
13919 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13920 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13921 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13922 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13924 2014-05-13 Sami Kerola <kerolasa@iki.fi>
13926 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13927 current working directory
13929 2014-05-13 Roland McGrath <roland@hack.frob.com>
13931 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13932 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13933 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13934 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13935 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13936 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13937 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13938 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13939 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13940 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13941 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13942 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13943 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13944 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13945 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13946 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13947 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13948 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13949 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13950 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13951 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13952 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13953 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13954 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13955 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13956 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13957 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13958 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13959 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13960 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13961 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13962 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13963 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13964 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13965 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13966 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13967 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13968 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13969 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13970 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13971 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13972 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13974 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13975 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13977 * sysdeps/unix/sysv/linux/arm/Makefile
13978 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13979 Add rt-aeabi_unwind_cpp_pr1.
13980 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13981 Add nptl-aeabi_unwind_cpp_pr1.
13982 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13983 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13984 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13985 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13986 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13987 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13989 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13990 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13991 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13992 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13994 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13995 Deconditionalize the code that was previously under [RESET_PID].
13996 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13998 * sysdeps/generic/exit-thread.h: New file.
13999 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14000 * include/unistd.h (__exit_thread): Remove declaration.
14001 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14002 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14003 * csu/libc-start.c: Include <exit-thread.h>.
14004 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14005 * nptl/pthread_create.c: Include <exit-thread.h>.
14006 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14007 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14008 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14009 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14010 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14011 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14012 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14013 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14014 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14015 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14016 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14017 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14018 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14019 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14020 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14021 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14022 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14024 2014-05-13 Andreas Schwab <schwab@suse.de>
14026 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14028 2014-05-12 Joseph Myers <joseph@codesourcery.com>
14030 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14031 (__ASSUME_UTIMES): Do not condition on kernel version.
14032 (__ASSUME_PSELECT): Define unconditionally.
14033 (__ASSUME_PPOLL): Likewise.
14034 (__ASSUME_ATFCTS): Likewise.
14035 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14036 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14037 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14038 (__ASSUME_UTIMENSAT): Define unconditionally.
14039 (__ASSUME_PRIVATE_FUTEX): Likewise.
14040 (__ASSUME_FALLOCATE): Likewise.
14041 (__ASSUME_O_CLOEXEC): Likewise.
14042 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14043 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14044 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14045 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14046 (__ASSUME_IN_NONBLOCK): Likewise.
14047 (__ASSUME_PIPE2): Likewise.
14048 (__ASSUME_EVENTFD2): Likewise.
14049 (__ASSUME_SIGNALFD4): Likewise.
14050 (__ASSUME_DUP3): Likewise.
14051 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14052 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14053 (__ASSUME_AT_RANDOM): Likewise.
14054 (__ASSUME_PREADV): Likewise.
14055 (__ASSUME_PWRITEV): Likewise.
14056 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14057 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14058 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14059 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14060 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14062 (__ASSUME_O_CLOEXEC): Define unconditionally.
14063 (__ASSUME_PSELECT): Do not undefine conditionally.
14064 (__ASSUME_PPOLL): Likewise.
14065 (__ASSUME_ATFCTS): Likewise.
14066 (__ASSUME_SET_ROBUST_LIST): Likewise.
14067 (__ASSUME_UTIMENSAT): Likewise.
14068 (__ASSUME_FDATASYNC): Define unconditionally.
14069 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14070 (__ASSUME_SIGFRAME_V2): Likewise.
14071 )__ASSUME_EVENTFD2): Likewise.
14072 (__ASSUME_SIGNALFD4): Likewise.
14073 (__ASSUME_PSELECT): Do not undefine conditionally.
14074 (__ASSUME_PPOLL): Likewise.
14075 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14076 (__ASSUME_PSELECT): Define unconditionally.
14077 (__ASSUME_PPOLL): Likewise.
14078 (__ASSUME_O_CLOEXEC): Likewise.
14079 (__ASSUME_SOCK_CLOEXEC): Likewise.
14080 (__ASSUME_IN_NONBLOCK): Likewise.
14081 (__ASSUME_PIPE2): Likewise.
14082 (__ASSUME_EVENTFD2): Likewise.
14083 (__ASSUME_SIGNALFD4): Likewise.
14084 (__ASSUME_DUP3): Likewise.
14085 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14086 (__ASSUME_O_CLOEXEC): Likewise.
14087 (__ASSUME_SOCK_CLOEXEC): Likewise.
14088 (__ASSUME_IN_NONBLOCK): Likewise.
14089 (__ASSUME_PIPE2): Likewise.
14090 (__ASSUME_EVENTFD2): Likewise.
14091 (__ASSUME_SIGNALFD4): Likewise.
14092 (__ASSUME_DUP3): Likewise.
14093 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14094 (__ASSUME_EVENTFD2): Likewise.
14095 (__ASSUME_SIGNALFD4): Likewise.
14096 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14098 2014-05-12 Andreas Schwab <schwab@suse.de>
14101 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14102 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14103 than maximum RPC packet size.
14104 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14105 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14106 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14107 (_nss_nis_getservbyport_r): Likewise.
14109 2014-05-12 Will Newton <will.newton@linaro.org>
14111 * malloc/Makefile (tests): Add tst-mallopt.
14112 * malloc/tst-mallopt.c: New file.
14114 2014-05-09 Roland McGrath <roland@hack.frob.com>
14116 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14117 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14119 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14121 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14122 (tst-tlsmod6.so): Likewise.
14124 2014-05-09 Roland McGrath <roland@hack.frob.com>
14126 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14128 2014-05-09 Joseph Myers <joseph@codesourcery.com>
14131 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14132 and <dl-procinfo.h>.
14133 (__fegetenv): Save SSE state in envp->__eip if supported.
14134 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14135 envp->__eip if supported.
14136 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14137 and <dl-procinfo.h>.
14138 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14139 __data_offset and __data_selector in environment to 0. Set SSE
14140 state if supported.
14141 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14143 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14145 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14147 2014-05-09 Will Newton <will.newton@linaro.org>
14149 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14150 and libc_relro_required for ARM.
14151 * sysdeps/arm/preconfigure: Regenerate.
14153 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14154 Stefan Liebler <stli@linux.vnet.ibm.com>
14156 * config.make.in (enable-lock-elision): New Makefile variable.
14157 * configure.ac: Likewise.
14158 * configure: Regenerate.
14159 * sysdeps/s390/configure.ac:
14160 Add check for gcc transactions support.
14161 * sysdeps/s390/configure: Regenerate.
14162 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14163 Build elision files if enabled.
14164 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14165 Add lock elision support for s390.
14166 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14167 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14168 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14169 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14170 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14171 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14172 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14174 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14176 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14178 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14180 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14181 (__lll_timedlock_elision, __lll_lock_elision)
14182 (__lll_unlock_elision, __lll_trylock_elision)
14183 (lll_timedlock_elision, lll_lock_elision)
14184 (lll_unlock_elision, lll_trylock_elision): Add.
14185 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14186 (pthread_mutex_t): Add lock elision support for s390.
14188 2014-05-14 Wilco <wdijkstr@arm.com>
14190 * sysdeps/arm/fclrexcpt.c: Cleanup.
14191 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14192 * sysdeps/arm/feenablxcpt.c: Cleanup.
14193 * sysdeps/arm/fegetenv.c: Cleanup.
14194 * sysdeps/arm/fegetexcept.c: Cleanup.
14195 * sysdeps/arm/fegetround.c: Cleanup.
14196 * sysdeps/arm/feholdexcpt.c: Cleanup.
14197 * sysdeps/arm/fesetenv.c: Cleanup.
14198 * sysdeps/arm/fesetround.c: Cleanup.
14199 * sysdeps/arm/feupdateenv.c: Cleanup.
14200 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14201 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14202 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14203 * sysdeps/arm/ftestexcept.c: Cleanup.
14204 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14205 * sysdeps/arm/setfpucw.c: Cleanup.
14207 2014-05-09 Will Newton <will.newton@linaro.org>
14209 * sysdeps/arm/armv7/strcmp.S: New file.
14210 * NEWS: Mention addition of ARMv7 optimized strcmp.
14212 2014-05-08 Roland McGrath <roland@hack.frob.com>
14214 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14215 look for %.ac rather than %.in.
14217 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14218 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14219 * sysdeps/mach/hurd/configure: Regenerated.
14220 * sysdeps/unix/sysv/linux/configure: Regenerated.
14222 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14224 2014-05-07 Steve Ellcey <sellcey@mips.com>
14227 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14231 2014-05-07 Andreas Schwab <schwab@suse.de>
14233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14234 when skipping over non-matching result from nscd.
14236 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
14239 * nptl/sockperf.c (client): Check socket return value.
14242 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14243 nscd security class.
14245 2014-05-06 Roland McGrath <roland@hack.frob.com>
14247 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14248 * sysdeps/arm/unwind.h: ... here.
14250 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14253 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14256 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14258 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14259 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14260 multiarch strncpy for PPC64.
14261 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14262 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14264 multiarch optimizations.
14265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14266 (__libc_ifunc_impl_list): Likewise.
14267 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14268 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14269 multiarch stpncpy for PPC64.
14270 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14271 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14273 2014-05-06 Andreas Schwab <schwab@suse.de>
14276 * gmon/mcount.c (_MCOUNT_DECL): Use
14277 atomic_compare_and_exchange_bool_acq instead of
14278 catomic_compare_and_exchange_bool_acq.
14280 2014-05-05 Roland McGrath <roland@hack.frob.com>
14282 * elf/Makefile (others, install-bin): Remove pldd.
14283 (pldd-modules): Variable removed.
14284 ($(objpfx)pldd): Target removed.
14285 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14286 (others, install-bin): Append pldd here.
14287 ($(objpfx)pldd): New target.
14289 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14290 to 0, so the first #if test emitted later doesn't see it undefined.
14291 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14292 * sysdeps/gnu/errlist.c: Regenerated.
14294 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14296 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14297 [libc_hidden_builtin_def]: Define to empty value.
14298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14299 [libc_hidden_builtin_def]: Likewise.
14300 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14301 [libc_hidden_builtin_def]: Likewise.
14302 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14303 [libc_hidden_builtin_def]: Likewise.
14304 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14305 __redirect_memcpy and define ifunc as default hidden symbol.
14306 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14307 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14309 2014-05-04 Adam Conrad <adconrad@0c3.net>
14311 * locale/iso-4217.def: Reintroduce XDR currency.
14313 2014-05-04 Allan McRae <allan@archlinux.org>
14315 * po/eo.po: Update Esperanto translation from translation project.
14317 2014-05-02 Carlos O'Donell <carlos@redhat.com>
14319 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14320 and FEATURE_INDEX_MAX to 1.
14321 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14323 2014-05-01 Steve Ellcey <sellcey@mips.com>
14325 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14326 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14327 * iconvdata/big5.c (ONE_DIRECTION): Define.
14328 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14329 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14330 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14331 * iconvdata/cp932.c (ONE_DIRECTION): Define.
14332 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14333 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14334 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14335 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14336 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14337 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14338 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14339 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14340 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14341 * iconvdata/gbk.c (ONE_DIRECTION): Define.
14342 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14343 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14344 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14345 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14346 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14347 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14348 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14349 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14350 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14351 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14352 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14353 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14354 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14355 * iconvdata/iso646.c (ONE_DIRECTION): Define.
14356 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14357 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14358 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14359 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14360 * iconvdata/johab.c (ONE_DIRECTION): Define.
14361 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14362 * iconvdata/sjis.c (ONE_DIRECTION): Define.
14363 * iconvdata/t.61.c (ONE_DIRECTION): Define.
14364 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14365 * iconvdata/tscii.c (ONE_DIRECTION): Define.
14366 * iconvdata/uhc.c (ONE_DIRECTION): Define.
14367 * iconvdata/unicode.c (ONE_DIRECTION): Define.
14368 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14369 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14370 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14372 2014-05-01 Roland McGrath <roland@hack.frob.com>
14374 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14375 (_IO_JUMPS_OFFSET): Define to 0.
14377 * nptl/sysdeps/pthread/bits/libc-lock.h
14378 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14379 (__libc_lock_define_initialized_recursive): Always define using
14380 initializer. Modern compilers treat uninitialized (implicit zero) and
14381 explicit zero initializers the same (i.e. put the datum in bss).
14383 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14385 * nscd/nscd-client.h: Include <string.h>.
14387 2014-05-01 David S. Miller <davem@davemloft.net>
14390 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14391 multiple zero bytes exist at the end of a string.
14392 Reported by Aurelien Jarno <aurelien@aurel32.net>
14394 * string/test-strcmp.c (check): Add explicit test for situations where
14395 there are multiple zero bytes after the first.
14397 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
14400 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14401 when compiling wprintf.
14402 * stdio-common/tstdiomisc.c (t3): New function.
14405 2014-05-01 Steve Ellcey <sellcey@mips.com>
14407 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14408 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14409 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14410 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14412 2014-05-01 Steve Ellcey <sellcey@mips.com>
14414 * stdlib/longlong.h: Updated from GCC.
14416 2014-05-01 Will Newton <will.newton@linaro.org>
14417 Bernard Ogden <bernie.ogden@linaro.org>
14419 * NEWS: Update fixed bug list.
14422 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14424 2014-04-30 David S. Miller <davem@davemloft.net>
14426 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14427 (libc_feholdexcept_setround_sparc_ctx): New function.
14428 (libc_fesetenv_sparc_ctx): Likewise.
14429 (libc_feupdateenv_sparc_ctx): Likewise.
14430 (libc_feholdsetround_sparc_ctx): Likewise.
14431 (libc_feholdexcept_setround_ctx): Define.
14432 (libc_feholdexcept_setroundf_ctx): Likewise.
14433 (libc_feholdexcept_setroundl_ctx): Likewise.
14434 (libc_fesetenv_ctx): Likewise.
14435 (libc_fesetenvf_ctx): Likewise.
14436 (libc_fesetenvl_ctx): Likewise.
14437 (libc_feupdateenv_ctx): Likewise.
14438 (libc_feupdateenvf_ctx): Likewise.
14439 (libc_feupdateenvl_ctx): Likewise.
14440 (libc_feresetround_ctx): Likewise.
14441 (libc_feresetroundf_ctx): Likewise.
14442 (libc_feresetroundl_ctx): Likewise.
14443 (libc_feholdsetround_ctx): Likewise.
14444 (libc_feholdsetroundf_ctx): Likewise.
14445 (libc_feholdsetroundl_ctx): Likewise.
14447 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14448 with __USE_GNU instead of XOPEN cpp guards.
14450 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14453 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14454 with XOPEN cpp guards.
14456 2014-04-30 Julian Brown <julian@codesourcery.com>
14459 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14462 2014-04-30 Joseph Myers <joseph@codesourcery.com>
14465 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14467 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14468 * sysdeps/unix/sysv/linux/configure: Regenerated.
14469 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14470 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14471 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14472 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14473 * README: Update reference to required Linux kernel version.
14474 * manual/install.texi (Linux): Update reference to required Linux
14475 kernel headers version.
14476 * INSTALL: Regenerated.
14478 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14480 [POSIX] (limits.h): Likewise.
14481 [POSIX] (math.h): Likewise.
14482 [POSIX] (sys/wait.h): Likewise.
14483 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14485 [POSIX] (stddef.h): Do not allow header inclusion.
14487 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14489 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14491 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
14493 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14494 Return immediately after lll_futex_wake.
14496 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14499 * nscd/nscd-client.h (datahead_init_common): Initialize entire
14501 (datahead_init_pos): Call datahead_init_common early.
14502 (datahead_init_neg): Likewise.
14504 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14505 datahead_init_neg): New functions.
14506 * nscd/aicache.c (addhstaiX): Use them.
14507 * nscd/grpcache.c (cache_addgr): Likewise.
14508 * nscd/hstcache.c (cache_addhst): Likewise.
14509 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14510 * nscd/netgroupcache.c (do_notfound): Likewise.
14511 (addgetnetgrentX): Likewise.
14512 (addinnetgrX): Likewise.
14513 * nscd/pwdcache.c (cache_addpw): Likewise.
14514 * nscd/servicescache.c (cache_addserv): Likewise.
14516 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14517 Atsushi Onoe <atsushi@onoe.org>
14522 * resolv/res_query.c (__libc_res_nsearch): Return if at least
14523 one response is valid.
14524 * resolv/res_send.c (send_dg): Check for validity of other
14525 response if the current response is a referral.
14527 2014-04-29 Steve Ellcey <sellcey@mips.com>
14529 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14531 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
14534 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14535 Always divide by positive zero when computing -Inf result.
14536 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14537 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14539 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14541 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14542 FPSCR if value do not change.
14543 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14544 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14545 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14546 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14547 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14548 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14551 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
14553 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14554 * sysdeps/unix/sysv/linux/hppa: Move directory from
14555 ports/systeps/unix/sysv/linux/hppa.
14556 * README: Update listing for hppa-*-linux-gnu.
14558 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
14561 * manual/stdio.texi (Hook functions): Fix types of stream hook
14564 * socket/sys/socket.h: Fix typo in comment.
14566 2014-04-28 Wilco <wdijkstr@arm.com>
14568 * sysdeps/arm/fenv_private.h: New file.
14569 * sysdeps/arm/math_private.h: New file.
14570 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14572 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
14574 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14576 (La_x86_64_retval): Likewise.
14578 2014-04-24 Ian Bolton <ian.bolton@arm.com>
14580 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14581 fpsr if value didn't change.
14582 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14583 to fpcr if value didn't change.
14584 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14585 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14586 fpsr or fpcr if value didn't change.
14587 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14588 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14589 fpcr if value didn't change.
14590 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14591 to fpsr if value didn't change.
14593 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
14595 * nptl/tst-sem3.c: Use test-skeleton.c
14596 (main): Rename to do_test. Use return instead of
14598 * nptl/tst-sem4.c: Use test-skeleton.c
14599 (main): Rename to do_test.
14601 2014-04-22 David S. Miller <davem@davemloft.net>
14603 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14604 (struct sigaction): New struct member __glibc_reserved0, change
14605 type of sa_flags to int.
14607 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
14609 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14610 (COUNT_LEADING_ZEROS_0): Define for AArch64.
14612 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
14614 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14615 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14617 2014-04-22 Will Newton <will.newton@linaro.org>
14618 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
14620 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14621 (__longjmp): Add longjmp and longjmp_target SystemTap
14623 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14624 (__sigsetjmp): Add setjmp SystemTap probe.
14626 2014-04-17 Carlos O'Donell <carlos@redhat.com>
14628 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14629 match manual order.
14631 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14633 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14635 * sysdeps/powerpc/fpu/fenv_private.h
14636 (libc_feholdexcept_setroundl_ctx): Define to
14637 libc_feholdexcept_setround_ppc_ctx.
14638 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14639 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14640 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14641 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14643 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14645 * sysdeps/aarch64/math-tests.h: New file.
14647 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
14649 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14652 Check and set bit_AVX2_Usable.
14653 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14655 (bit_AVX2): Likewise.
14656 (index_AVX2_Usable): Likewise.
14657 (CPUID_AVX2): Likewise.
14658 (HAS_AVX2): Likewise.
14660 2014-04-17 Will Newton <will.newton@linaro.org>
14662 * manual/setjmp.texi (System V contexts): Add note that
14663 calling setcontext on a context created by a call to a
14664 signal handler is undefined. Update text to note that
14665 setcontext from a signal handler is possible but not
14669 * stdlib/tst-setcontext.c: Include signal.h.
14670 (main): Check that the signal stack before and
14671 after swapcontext is the same.
14673 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14674 Re-implement to restore registers in user code and avoid
14675 rt_sigreturn system call.
14677 2014-04-17 Wilco <wdijkstr@arm.com>
14679 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14680 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14681 * math/test-fenv.c: Skip exception trap tests on targets which only
14682 support non-stop mode.
14684 2014-04-17 Ian Bolton <ian.bolton@arm.com>
14685 Wilco Dijkstra <wilco.dijkstra@arm.com>
14687 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14688 (libc_feholdsetround_aarch64_ctx)
14689 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14690 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14691 (libc_feresetround_ctx, libc_feresetroundf_ctx)
14692 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14693 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14694 (libc_feresetround_noexl_ctx): Define.
14696 2014-04-16 Richard Henderson <rth@redhat.com>
14698 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14700 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14703 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14704 const from the non-libc, non-ldso copy.
14706 * sysdeps/alpha/libm-test-ulps: Regenerate.
14708 2014-04-16 Ian Bolton <ian.bolton@arm.com>
14709 Wilco Dijkstra <wilco.dijkstra@arm.com>
14711 * sysdeps/aarch64/fpu/math_private.h: New file.
14713 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
14715 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14717 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
14720 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14721 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14723 Intel MPX bound registers before _dl_profile_fixup.
14724 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14725 registers after _dl_profile_fixup. Save and restore bound
14726 registers bnd0/bnd1 when calling _dl_call_pltexit.
14727 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14728 (LR_BND_OFFSET): Likewise.
14729 (LRV_BND0_OFFSET): Likewise.
14730 (LRV_BND1_OFFSET): Likewise.
14732 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14734 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14736 * sysdeps/mach/hurd/i386/tls.h: ... here.
14737 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14738 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14741 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
14743 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14745 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14747 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14749 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
14752 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14753 * sysdeps/s390/configure: Regenerate.
14756 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14757 Set round-to-nearest internally to reduce error accumulation.
14759 2014-04-16 Alan Modra <amodra@gmail.com>
14763 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14764 * math/libm-test.inc (frexp_test_data): Add tests.
14765 * NEWS: Update fixed bug list.
14767 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14769 * benchtests/Makefile: Depend on libraries in build directory.
14770 (bench-math): Separate out math tests.
14771 (bench-pthread): Separate out pthread tests.
14772 (bench): Include math and pthread tests.
14774 2014-04-14 Carlos O'Donell <carlos@redhat.com>
14777 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14778 _dl_debug_initialize.
14780 * configure.ac: Remove SELinux header check.
14781 * configure: Regenerate.
14782 * nscd/selinux.c (perms): Array of const char* to permission names.
14783 (nscd_request_avc_has_perm): Call security_deny_unknown to find
14784 default policy. Call string_to_security_class and string_to_av_perm to
14785 translate strings. Enforce default policy and call avs_has_perm with
14786 results of translated strings.
14788 2014-04-13 David S. Miller <davem@davemloft.net>
14790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14792 2014-04-12 Allan McRae <allan@archlinux.org>
14795 * manual/string.texi (Collation Functions): Fix qsort argument
14797 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14799 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
14801 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14802 Make the test a no-op if there are no exceptions defined.
14804 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
14806 * elf/Makefile (tests): make tst-dlopen-aout conditional on
14807 enable-hardcoded-path-in-tests
14809 2014-04-11 Will Newton <will.newton@linaro.org>
14811 * benchtests/Makefile (extra-objs): Add json-lib.o.
14812 (bench-func): Tidy up JSON output.
14813 * benchtests/bench-skeleton.c: Include json-lib.h.
14814 (main): Use JSON library functions to do output of
14816 * benchtests/bench-timing-type.c (main): Output the
14817 timing type simply, leaving formatting to the user.
14818 * benchtests/json-lib.c: New file.
14819 * benchtests/json-lib.h: Likewise.
14821 2014-04-11 Torvald Riegel <triegel@redhat.com>
14824 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14825 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
14826 memory barriers. Add comments.
14827 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14828 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14829 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14830 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14831 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14832 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14834 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
14836 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14837 * sysdeps/s390/s390-64/configure.ac: ... this ...
14838 * sysdeps/s390/configure.ac: ... to here.
14839 * sysdeps/s390/s390-32/configure: Delete file.
14840 * sysdeps/s390/s390-64/configure: Delete file.
14841 * sysdeps/s390/configure: Regenerate.
14843 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
14845 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14847 2014-04-11 Will Newton <will.newton@linaro.org>
14849 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14850 to zero if it is not defined elsewhere. (mtrim): Test
14851 the value of MALLOC_DEBUG with #if rather than #ifdef.
14853 2014-04-10 Torvald Riegel <triegel@redhat.com>
14855 * benchtests/pthread_once-inputs: New file.
14856 * benchtests/pthread_once-source.c: New file.
14857 * benchtests/README: Update documentation.
14859 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
14860 H.J. Lu <hongjiu.lu@intel.com>
14863 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14864 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14865 * sysdeps/x86_64/configure: Regenerated.
14866 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14868 (REGISTER_SAVE_RAX): Likewise.
14869 (REGISTER_SAVE_RCX): Likewise.
14870 (REGISTER_SAVE_RDX): Likewise.
14871 (REGISTER_SAVE_RSI): Likewise.
14872 (REGISTER_SAVE_RDI): Likewise.
14873 (REGISTER_SAVE_R8): Likewise.
14874 (REGISTER_SAVE_R9): Likewise.
14875 (REGISTER_SAVE_BND0): Likewise.
14876 (REGISTER_SAVE_BND1): Likewise.
14877 (REGISTER_SAVE_BND2): Likewise.
14878 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
14879 bound registers when calling _dl_fixup.
14881 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14883 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14884 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14886 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14887 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14888 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14889 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14890 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14891 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14892 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14894 2014-04-09 Peter Brett <peter@peter-b.co.uk>
14897 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14898 pathconf(_PC_NAME_MAX).
14900 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14902 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14903 Remove macro usage.
14904 (__PTHREAD_SPINS): Move definition to ...
14905 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14906 (__PTHREAD_SPINS): ... here.
14907 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14908 (__PTHREAD_SPIN): Likewise.
14909 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14910 (__PTHREAD_SPIN): Likewise.
14911 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14912 (__PTHREAD_SPIN): Likewise.
14913 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14914 (__PTHREAD_SPIN): Likewise.
14915 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14916 (__PTHREAD_SPIN): Likewise.
14917 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14918 (__PTHREAD_SPIN): Likewise.
14919 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14920 (__PTHREAD_SPIN): Likewise.
14921 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14922 (__PTHREAD_SPIN): Likewise.
14923 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14924 (__PTHREAD_SPIN): Likewise.
14925 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14926 (__PTHREAD_SPIN): Likewise.
14927 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14928 (__PTHREAD_SPIN): Likewise.
14929 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14930 (__PTHREAD_SPIN): Likewise.
14932 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14933 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14934 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14935 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14937 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14938 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14939 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14940 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14941 correct imply path.
14942 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14943 strlen symbol for non multi-arch builds.
14944 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14945 missing hidden_def and weak_alias.
14947 2014-04-08 Carlos O'Donell <carlos@redhat.com>
14949 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14951 2014-04-07 Will Newton <will.newton@linaro.org>
14953 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14954 and contents. [!_LIBC] Remove #ifndef and contents.
14955 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
14956 * string/memccpy.c (__memccpy): Use ANSI prototype.
14957 * string/memfrob.c (memfrob): Likewise.
14958 * string/strcoll.c (STRCOLL): Likewise.
14959 * string/strlen.c (strlen): Likewise.
14960 * string/strtok.c (STRTOK): Likewise.
14961 * string/strcat.c: Remove unused #include of memcopy.h.
14962 (strcat): Use ANSI prototype.
14963 * string/strchr.c: Remove unused #include of memcopy.h.
14964 (strchr): Use ANSI prototype.
14965 * string/strcmp.c: Remove unused #include of memcopy.h.
14966 (strcmp): Use ANSI prototype.
14967 * string/strcpy.c: Remove unused #include of memcopy.h.
14968 (strcpy): Use ANSI prototype.
14970 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14972 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14973 * config.make.in (config-extra-cppflags): Set it from
14974 libc_extra_cppflags.
14975 * configure.ac (libc_extra_cflags): Make it accumulate over
14976 configure fragments.
14977 (libc_extra_cppflags): New flag.
14978 * configure. Regenerate.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14980 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14981 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14986 result for FE_DOWNWARD rounding mode.
14987 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14991 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
14993 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14994 in function argument name.
14996 2014-04-03 David Svoboda <svoboda@cert.org>
14999 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15002 2014-04-03 Roland McGrath <roland@hack.frob.com>
15004 * elf/dl-unmap-segments.h: New file.
15005 * sysdeps/generic/ldsodefs.h
15006 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15007 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15008 * elf/dl-fptr.c: Likewise.
15009 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15010 * sysdeps/aarch64/tlsdesc.c: Likewise.
15011 * sysdeps/arm/tlsdesc.c: Likewise.
15012 * sysdeps/i386/tlsdesc.c: Likewise.
15013 * sysdeps/tile/dl-runtime.c: Likewise.
15014 * sysdeps/x86_64/tlsdesc.c: Likewise.
15015 * elf/dl-load.h: New file.
15016 * elf/dl-load.c: Include it.
15017 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15018 Macros moved to dl-load.h.
15019 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15020 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15021 Use _dl_unmap_segments in place of __munmap.
15022 Break out segment-mapping loop into ...
15023 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15025 2014-04-03 Will Newton <will.newton@linaro.org>
15027 * elf/dl-lookup.c (do_lookup_x): Remove comment
15028 referring to nested function and move variable
15029 declarations down to before first use.
15031 2014-04-02 Joseph Myers <joseph@codesourcery.com>
15035 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15037 * math/s_catanf.c (__catanf): Likewise.
15038 * math/s_catanh.c (__catanh): Likewise.
15039 * math/s_catanhf.c (__catanhf): Likewise.
15040 * math/s_catanhl.c (__catanhl): Likewise.
15041 * math/s_catanl.c (__catanl): Likewise.
15042 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15043 by positive zero when computing -Inf result.
15044 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15045 (catanh_test): Likewise.
15046 * sysdeps/i386/fpu/libm-test-ulps: Update.
15047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15050 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15051 instead of using underflowing value in computing result.
15052 * math/s_clog10.c (__clog10): Likewise.
15053 * math/s_clog10f.c (__clog10f): Likewise.
15054 * math/s_clog10l.c (__clog10l): Likewise.
15055 * math/s_clogf.c (__clogf): Likewise.
15056 * math/s_clogl.c (__clogl): Likewise.
15057 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15058 (clog10_test): Likewise.
15059 * sysdeps/i386/fpu/libm-test-ulps: Update.
15060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15062 2014-04-02 Alan Modra <amodra@gmail.com>
15065 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15066 output when value is near a power of two. Use int64_t for lx and
15067 remove casts. Use decimal rather than hex exponent constants.
15068 Don't use long double multiplication when double will suffice.
15069 * math/libm-test.inc (nextafter_test_data): Add tests.
15070 * NEWS: Add 16739 and 16786 to bug list.
15072 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15074 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15076 2014-04-01 Will Newton <will.newton@linaro.org>
15078 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15079 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15081 2014-04-01 Florian Weimer <fweimer@redhat.com>
15084 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15085 * nptl/tst-setuid2.c: New file.
15086 * nptl/Makefile (xtests): Add tst-setuid2.
15088 2014-04-01 Alan Modra <amodra@gmail.com>
15091 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15093 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15097 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15098 set errno as appropriate.
15099 * math/w_scalbf.c (__scalbf): Likewise.
15100 * math/w_scalbl.c (__scalbl): Likewise.
15101 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15102 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15103 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15104 Add more NaN tests.
15107 * math/w_atan2.c: Include <errno.h>.
15108 (__atan2): Set errno for result underflowing to zero.
15109 * math/w_atan2f.c: Include <errno.h>.
15110 (__atan2f): Set errno for result underflowing to zero.
15111 * math/w_atan2l.c: Include <errno.h>.
15112 (__atan2l): Set errno for result underflowing to zero.
15113 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15115 * math/auto-libm-test-out: Regenerated.
15117 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15119 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15120 Encode instruction correctly in little endian.
15121 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15123 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15125 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15127 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15130 2014-03-31 Joseph Myers <joseph@codesourcery.com>
15133 * sysdeps/unix/sysv/linux/kernel-features.h
15134 [__sparc__ && !__arch64__ && !__sparc_v9__]
15135 (__ASSUME_SET_ROBUST_LIST): Do not define.
15136 [__sparc__ && !__arch64__ && !__sparc_v9__]
15137 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15138 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15140 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15141 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15142 (__ASSUME_REQUEUE_PI): Likewise.
15143 (__ASSUME_SET_ROBUST_LIST): Likewise.
15144 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15145 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15148 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15150 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15152 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15154 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15155 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15157 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15158 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15162 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15163 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15164 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15166 2014-03-31 Will Newton <will.newton@linaro.org>
15168 * benchtests/Makefile (bench): Add ffs and ffsll to list
15170 * benchtests/ffs-inputs: New file.
15171 * benchtests/ffsll-inputs: Likewise.
15173 2014-03-29 Joseph Myers <joseph@codesourcery.com>
15176 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15177 too large before casting to int.
15178 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15179 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15180 * math/libm-test.inc (scalb_test_data): Add more tests.
15182 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15184 * benchtests/Makefile (DETAILED_OPT): New make option.
15185 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15187 * benchtests/bench-skeleton.c: Include stdbool.h.
15188 (main): Store and print timings per input.
15189 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15190 member to each argument value.
15191 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15192 (_print_arg_data): Initialize per-input timing to 0.
15194 * benchtests/Makefile (timing-type): New binary.
15195 (bench-clean): Also remove bench-timing-type.
15196 (bench): New target for timing-type.
15197 (bench-func): Print output in JSON format.
15198 * benchtests/bench-skeleton.c (main): Print output in JSON
15200 * benchtests/bench-timing-type.c: New file.
15201 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15202 (TIMING_PRINT_STATS): Remove.
15203 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15206 * benchtests/bench-modf.c: Remove.
15207 * benchtests/modf-inputs: New inputs file.
15209 2014-03-28 Joseph Myers <joseph@codesourcery.com>
15212 * math/s_clog10.c (M_PI_LOG10E): New macro.
15213 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15214 imaginary parts are 0.
15215 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15216 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15217 imaginary parts are 0.
15218 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15219 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15220 imaginary parts are 0.
15221 * math/libm-test.inc (clog10_test_data): Update expected results
15222 for when real and imaginary parts are 0.
15224 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15226 * elf/dl-load.c: Finish conversion of __builtin_expect into
15227 __glibc_{un}likely.
15229 2014-03-27 Joseph Myers <joseph@codesourcery.com>
15232 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15233 1+x for argument with exponent below -67.
15234 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15236 * math/auto-libm-test-in: Add more tests of exp.
15237 * math/auto-libm-test-out: Regenerated.
15239 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15242 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15243 (nscd_getnetgrent): Use it.
15246 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15249 2014-03-27 Andi Kleen <ak@linux.intel.com>
15251 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15252 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15253 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15254 (lll_robust_unlock): Remove out of line section. Use cfi
15256 (LLL_STUB_UNWIND_INFO*): Remove.
15257 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15258 (lll_robust_lock, lll_cond_lock, lll_timedlock)
15259 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15260 (lll_robust_unlock): Remove out of line section. Use cfi
15262 (LLL_STUB_UNWIND_INFO*): Remove.
15264 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15267 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15270 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
15272 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15274 2014-03-26 Joseph Myers <joseph@codesourcery.com>
15277 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15279 * math/test-fenv-preserve.c: New file.
15280 * math/Makefile (tests): Add test-fenv-preserve.
15282 2014-03-26 Will Newton <will.newton@linaro.org>
15284 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15286 2014-03-25 Roland McGrath <roland@hack.frob.com>
15288 * scripts/versionlist.awk: Partition the version sets and emit all
15289 GLIBC_* (sorted) before all others (sorted).
15291 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15293 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15294 GLIBC_2.2.5 version.
15296 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15298 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15301 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15306 2014-03-25 Andreas Schwab <schwab@suse.de>
15308 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15309 label to be used after in6ailist is initialized.
15311 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15313 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15314 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15316 2014-03-25 Joseph Myers <joseph@codesourcery.com>
15320 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15322 (fp_formats): Update initializers.
15323 (init_fp_formats): Initialize new field.
15324 (output_for_one_input_case): Allow underflow for results up to
15326 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15327 * math/auto-libm-test-in: Don't mark some underflows from asin and
15329 * math/auto-libm-test-out: Regenerated.
15330 * sysdeps/i386/fpu/libm-test-ulps: Update.
15331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15333 2014-03-25 Andreas Schwab <schwab@suse.de>
15335 * libio/Makefile (tst-ftell-partial-wide-ENV)
15336 (tst-ftell-active-handler-ENV): Define.
15338 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
15340 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15342 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15344 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15346 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15348 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15349 * sysdeps/x86_64/fpu/multiarch/e_exp.c
15350 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15352 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
15355 * elf/dl-load.c (open_verify): Add mode parameter.
15356 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15357 (open_path): Change from boolean 'secure' to complete flag 'mode'
15358 (_dl_map_object): Adjust.
15359 * elf/Makefile (tests): Add tst-dlopen-aout.
15360 * elf/tst-dlopen-aout.c: New test.
15362 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15365 * sysdeps/unix/sysv/linux/s390/bits/stat.h
15366 (struct stat): Rename member pad0 to __glibc_reserved0.
15369 * sysdeps/s390/s390-32/bits/wordsize.h
15370 (__WORDSIZE32_SIZE_ULONG): New define.
15371 * sysdeps/s390/s390-64/bits/wordsize.h
15372 (__WORDSIZE32_SIZE_ULONG): Likewise.
15373 * sysdeps/generic/stdint.h (SIZE_MAX):
15374 Define as UL if __WORDSIZE32_SIZE_ULONG.
15377 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15378 (__glibc_reserved0): New variable.
15379 (sa_flags): Change type to int.
15381 * posix/Makefile (before-compile): Use += before-compile instead
15384 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15385 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15387 2014-03-20 Andreas Schwab <schwab@suse.de>
15390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15391 non-matching result from nscd.
15393 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15395 * scripts/bench.py: Moved to ...
15396 * benchtests/scripts/bench.py: ... here.
15397 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15399 2014-03-24 Andreas Schwab <schwab@suse.de>
15402 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15403 alloca_account and account alloca use for struct in6ailist.
15405 2014-03-24 Joseph Myers <joseph@codesourcery.com>
15408 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15409 rounding mode to recompute results that overflow to infinity or
15411 * math/auto-libm-test-in: Don't mark tests as expected to fail for
15413 * math/auto-libm-test-out: Regenerated.
15414 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15415 (ccosh_test): Likewise.
15416 (csin_test_data): Use plus_oflow.
15417 (csin_test): Use ALL_RM_TEST.
15418 (csinh_test_data): Use plus_oflow.
15419 (csinh_test): Use ALL_RM_TEST.
15420 * sysdeps/i386/fpu/libm-test-ulps: Update.
15421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15423 2014-03-21 Joseph Myers <joseph@codesourcery.com>
15425 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15426 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15427 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15430 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15431 when x - 1 is zero.
15432 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15433 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15434 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15435 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15437 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15438 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15440 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15441 * sysdeps/i386/fpu/libm-test-ulps: Update.
15442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15444 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15446 * scripts/bench.pl: Remove file.
15447 * scripts/bench.py: New benchmark script.
15448 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15449 * benchtests/README: Mention python dependency.
15450 * scripts/pylintrc: New file.
15451 * scripts/pylint: New file.
15453 * bits/mathdef.h: Use #ifdef instead of #if.
15454 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15455 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15456 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15457 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15458 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15459 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15461 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15462 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15464 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15466 and strpbrk-ppc64 objects.
15467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15468 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15469 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15470 multiarch strpbrk for POWER7.
15471 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15472 multiarch strpbrk for PPC64.
15473 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15475 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15476 strpbrk for POWER7.
15478 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15480 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15481 (atan_test): Likewise.
15482 (atanh_test_data): Use NO_TEST_INLINE for two tests.
15483 (atanh_test): Use ALL_RM_TEST.
15484 (atan2_test_data): Likewise.
15485 (cabs_test): Likewise.
15486 (cacosh_test): Likewise.
15487 (carg_test): Likewise.
15488 (casin_test): Likewise.
15489 (casinh_test): Likewise.
15490 (cbrt_test): Likewise.
15491 (csqrt_test): Likewise.
15492 (erf_test): Likewise.
15493 (erfc_test): Likewise.
15494 (pow10_test): Likewise.
15495 (exp2_test): Likewise.
15496 (hypot_test): Likewise.
15497 (j0_test): Likewise.
15498 (j1_test): Likewise.
15499 (lgamma_test): Likewise.
15500 (gamma_test): Likewise.
15501 (sincos_test): Likewise.
15502 (tanh_test): Likewise.
15503 (y0_test): Likewise.
15504 (y1_test): Likewise.
15505 * sysdeps/i386/fpu/libm-test-ulps: Update.
15506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15508 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15510 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15512 and strcspn-ppc64 objects.
15513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15514 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15515 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15516 multiarch strcspn for POWER7.
15517 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15518 multiarch strcspn for PPC64.
15519 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15521 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15522 strcspn for POWER7.
15524 2014-03-20 Joseph Myers <joseph@codesourcery.com>
15526 * math/gen-libm-test.pl (generate_testfile): Expect only function
15527 name as argument to AUTO_TESTS_* and pass results for all rounding
15528 modes to parse_args.
15529 (parse_auto_input): Separate inputs of automatic tests from
15530 outputs before storing in %auto_tests.
15531 * math/libm-test.inc (acos_test_data): Update call to
15533 (acos_test): Use ALL_RM_TEST.
15534 (acos_tonearest_test_data): Remove.
15535 (acos_test_tonearest): Likewise.
15536 (acos_towardzero_test_data): Likewise.
15537 (acos_test_towardzero): Likewise.
15538 (acos_downward_test_data): Likewise.
15539 (acos_test_downward): Likewise.
15540 (acos_upward_test_data): Likewise.
15541 (acos_test_upward): Likewise.
15542 (acosh_test_data): Update call to AUTO_TESTS_f_f.
15543 (asin_test_data): Likewise.
15544 (asin_test): Use ALL_RM_TEST.
15545 (asin_tonearest_test_data): Remove.
15546 (asin_test_tonearest): Likewise.
15547 (asin_towardzero_test_data): Likewise.
15548 (asin_test_towardzero): Likewise.
15549 (asin_downward_test_data): Likewise.
15550 (asin_test_downward): Likewise.
15551 (asin_upward_test_data): Likewise.
15552 (asin_test_upward): Likewise.
15553 (asinh_test_data): Update call to AUTO_TESTS_f_f.
15554 (atan_test_data): Likewise.
15555 (atanh_test_data): Likewise.
15556 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15557 (cabs_test_data): Update call to AUTO_TESTS_c_f.
15558 (carg_test_data): Likewise.
15559 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15560 (ccos_test_data): Update call to AUTO_TESTS_c_c.
15561 (ccosh_test_data): Likewise.
15562 (cexp_test_data): Likewise.
15563 (clog_test_data): Likewise.
15564 (clog10_test_data): Likewise.
15565 (cos_test_data): Update call to AUTO_TESTS_f_f.
15566 (cos_test): Use ALL_RM_TEST.
15567 (cos_tonearest_test_data): Remove.
15568 (cos_test_tonearest): Likewise.
15569 (cos_towardzero_test_data): Likewise.
15570 (cos_test_towardzero): Likewise.
15571 (cos_downward_test_data): Likewise.
15572 (cos_test_downward): Likewise.
15573 (cos_upward_test_data): Likewise.
15574 (cos_test_upward): Likewise.
15575 (cosh_test_data): Update call to AUTO_TESTS_f_f.
15576 (cosh_test): Use ALL_RM_TEST.
15577 (cosh_tonearest_test_data): Remove.
15578 (cosh_test_tonearest): Likewise.
15579 (cosh_towardzero_test_data): Likewise.
15580 (cosh_test_towardzero): Likewise.
15581 (cosh_downward_test_data): Likewise.
15582 (cosh_test_downward): Likewise.
15583 (cosh_upward_test_data): Likewise.
15584 (cosh_test_upward): Likewise.
15585 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15586 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15587 (ctan_test_data): Likewise.
15588 (ctan_test): Use ALL_RM_TEST.
15589 (ctan_tonearest_test_data): Remove.
15590 (ctan_test_tonearest): Likewise.
15591 (ctan_towardzero_test_data): Likewise.
15592 (ctan_test_towardzero): Likewise.
15593 (ctan_downward_test_data): Likewise.
15594 (ctan_test_downward): Likewise.
15595 (ctan_upward_test_data): Likewise.
15596 (ctan_test_upward): Likewise.
15597 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15598 (ctanh_test): Use ALL_RM_TEST.
15599 (ctanh_tonearest_test_data): Remove.
15600 (ctanh_test_tonearest): Likewise.
15601 (ctanh_towardzero_test_data): Likewise.
15602 (ctanh_test_towardzero): Likewise.
15603 (ctanh_downward_test_data): Likewise.
15604 (ctanh_test_downward): Likewise.
15605 (ctanh_upward_test_data): Likewise.
15606 (ctanh_test_upward): Likewise.
15607 (erf_test_data): Update call to AUTO_TESTS_f_f.
15608 (erfc_test_data): Likewise.
15609 (exp_test_data): Likewise.
15610 (exp_test): Use ALL_RM_TEST.
15611 (exp_tonearest_test_data): Remove.
15612 (exp_test_tonearest): Likewise.
15613 (exp_towardzero_test_data): Likewise.
15614 (exp_test_towardzero): Likewise.
15615 (exp_downward_test_data): Likewise.
15616 (exp_test_downward): Likewise.
15617 (exp_upward_test_data): Likewise.
15618 (exp_test_upward): Likewise.
15619 (exp10_test_data): Update call to AUTO_TESTS_f_f.
15620 (exp10_test): Use ALL_RM_TEST.
15621 (exp10_tonearest_test_data): Remove.
15622 (exp10_test_tonearest): Likewise.
15623 (exp10_towardzero_test_data): Likewise.
15624 (exp10_test_towardzero): Likewise.
15625 (exp10_downward_test_data): Likewise.
15626 (exp10_test_downward): Likewise.
15627 (exp10_upward_test_data): Likewise.
15628 (exp10_test_upward): Likewise.
15629 (exp2_test_data): Update call to AUTO_TESTS_f_f.
15630 (expm1_test_data): Likewise.
15631 (expm1_test): Use ALL_RM_TEST.
15632 (expm1_tonearest_test_data): Remove.
15633 (expm1_test_tonearest): Likewise.
15634 (expm1_towardzero_test_data): Likewise.
15635 (expm1_test_towardzero): Likewise.
15636 (expm1_downward_test_data): Likewise.
15637 (expm1_test_downward): Likewise.
15638 (expm1_upward_test_data): Likewise.
15639 (expm1_test_upward): Likewise.
15640 (fma_test_data): Update call to AUTO_TESTS_fff_f.
15641 (fma_test): Use ALL_RM_TEST.
15642 (fma_towardzero_test_data): Remove.
15643 (fma_test_towardzero): Likewise.
15644 (fma_downward_test_data): Likewise.
15645 (fma_test_downward): Likewise.
15646 (fma_upward_test_data): Likewise.
15647 (fma_test_upward): Likewise.
15648 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15649 (j0_test_data): Update call to AUTO_TESTS_f_f.
15650 (j1_test_data): Likewise.
15651 (jn_test_data): Update call to AUTO_TESTS_if_f.
15652 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15653 (log_test_data): Update call to AUTO_TESTS_f_f.
15654 (log10_test_data): Likewise.
15655 (log1p_test_data): Likewise.
15656 (log2_test_data): Likewise.
15657 (pow_test_data): Update call to AUTO_TESTS_ff_f.
15658 (pow_tonearest_test_data): Likewise.
15659 (sin_test_data): Update call to AUTO_TESTS_f_f.
15660 (sin_test): Use ALL_RM_TEST.
15661 (sin_tonearest_test_data): Remove.
15662 (sin_test_tonearest): Likewise.
15663 (sin_towardzero_test_data): Likewise.
15664 (sin_test_towardzero): Likewise.
15665 (sin_downward_test_data): Likewise.
15666 (sin_test_downward): Likewise.
15667 (sin_upward_test_data): Likewise.
15668 (sin_test_upward): Likewise.
15669 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15670 (sinh_test_data): Update call to AUTO_TESTS_f_f.
15671 (sinh_test): Use ALL_RM_TEST.
15672 (sinh_tonearest_test_data): Remove.
15673 (sinh_test_tonearest): Likewise.
15674 (sinh_towardzero_test_data): Likewise.
15675 (sinh_test_towardzero): Likewise.
15676 (sinh_downward_test_data): Likewise.
15677 (sinh_test_downward): Likewise.
15678 (sinh_upward_test_data): Likewise.
15679 (sinh_test_upward): Likewise.
15680 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15681 (sqrt_test): Use ALL_RM_TEST.
15682 (sqrt_tonearest_test_data): Remove.
15683 (sqrt_test_tonearest): Likewise.
15684 (sqrt_towardzero_test_data): Likewise.
15685 (sqrt_test_towardzero): Likewise.
15686 (sqrt_downward_test_data): Likewise.
15687 (sqrt_test_downward): Likewise.
15688 (sqrt_upward_test_data): Likewise.
15689 (sqrt_test_upward): Likewise.
15690 (tan_test_data): Update call to AUTO_TESTS_f_f.
15691 (tan_test): Use ALL_RM_TEST.
15692 (tan_tonearest_test_data): Remove.
15693 (tan_test_tonearest): Likewise.
15694 (tan_towardzero_test_data): Likewise.
15695 (tan_test_towardzero): Likewise.
15696 (tan_downward_test_data): Likewise.
15697 (tan_test_downward): Likewise.
15698 (tan_upward_test_data): Likewise.
15699 (tan_test_upward): Likewise.
15700 (tanh_test_data): Update call to AUTO_TESTS_f_f.
15701 (tgamma_test_data): Likewise.
15702 (y0_test_data): Likewise.
15703 (y1_test_data): Likewise.
15704 (yn_test_data): Update call to AUTO_TESTS_if_f.
15705 (main): Do not call removed functions.
15707 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15709 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15710 (ldexp_test_data): Remove.
15711 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
15713 (scalb_test): Use ALL_RM_TEST.
15715 2014-03-19 Andreas Schwab <schwab@suse.de>
15717 * nscd/nscd.service: Also invalidate netgroup cache on reload.
15719 2014-03-19 Joseph Myers <joseph@codesourcery.com>
15722 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15723 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15724 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15726 (__ASSUME_PREADV): Undefine.
15727 (__ASSUME_PWRITEV): Likewise.
15729 2014-03-18 Roland McGrath <roland@hack.frob.com>
15731 * bits/mman-linux.h: Add comment about non-Linux use.
15732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15733 bits/mman-linux.h resting place.
15735 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15736 * bits/mman-linux.h: ... here.
15738 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15740 * conform/conformtest.pl: Add standard definition when calling C
15741 preprocessor on data files.
15742 (checknamespace): Remove unused variable.
15744 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15746 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15747 minus_oflow, plus_uflow and minus_uflow in expected results.
15748 * math/libm-test.inc (scalbn_test_data): Add more tests of
15749 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
15751 (scalbn_test): Use ALL_RM_TEST.
15752 (scalbln_test_data): Add more tests of negative arguments. Use
15753 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15754 (scalbln_test): Use ALL_RM_TEST.
15756 2014-03-18 Roland McGrath <roland@hack.frob.com>
15758 * scripts/abilist.awk: Ignore symbols marked with .hidden.
15760 2014-03-18 Will Newton <will.newton@linaro.org>
15762 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15763 inaccurate comment.
15765 2014-03-18 Joseph Myers <joseph@codesourcery.com>
15767 * Makerules [!subdir] (check-abi): Exit with error status if a
15770 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15772 * math/libm-test.inc (nearbyint_test_data): Include all tests used
15773 for rint. Include results for all rounding modes.
15774 (nearbyint_test): Use ALL_RM_TEST.
15775 (rint_test_data): Include all tests used for nearbyint.
15777 2014-03-17 Will Newton <will.newton@linaro.org>
15779 * nptl/sysdeps/pthread/pthread.h: Revert previous
15782 * sysdeps/generic/ldsodefs.h: Revert previous
15785 * libio/genops.c: Revert previous change.
15786 * libio/libioP.h: Likewise.
15787 * stdio-common/vfprintf.c: Likewise.
15789 * sysdeps/generic/math_private.h: Revert previous
15792 * sysdeps/generic/math_private.h: Check whether
15793 HAVE_RM_CTX is defined with #ifdef rather
15796 * argp/argp-fmtstream.h: Check whether
15797 __STRICT_ANSI__ is defined with #ifdef rather
15799 * argp/argp.h: Likewise.
15801 * libio/genops.c: Check whether
15802 _IO_JUMPS_OFFSET is defined with #ifdef rather
15804 * libio/libioP.h: Likewise.
15805 * stdio-common/vfprintf.c: Likewise.
15807 * sysdeps/generic/ldsodefs.h: Check whether
15808 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15811 * nptl/sysdeps/pthread/pthread.h: Check
15812 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15815 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15817 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15819 * libio/tst-ftell-active-handler.c (do_append_test): Add a
15823 * libio/fileops.c (_IO_file_open): Seek to end of file but
15824 don't cache the offset.
15825 (get_file_offset): Remove function.
15826 (do_ftell): Use cached offset when available.
15827 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15828 don't cache the offset.
15829 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15831 (do_one_test): Call it.
15832 (do_ftell_test): Fix up expected old offset for a+ mode.
15833 * libio/wfileops.c (do_ftell_wide): Used cached offset when
15836 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15837 up test status with function return status.
15838 (do_write_test): Likewise.
15839 (do_append_test): Likewise.
15841 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15842 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15845 2014-03-17 Joseph Myers <joseph@codesourcery.com>
15847 * math/gen-libm-test.pl (parse_args): Handle results specified for
15848 each rounding mode separately.
15849 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15850 tests and results from lrint_tonearest_test_data,
15851 lrint_towardzero_test_data, lrint_downward_test_data and
15852 lrint_upward_test_data.
15853 (lrint_test): Use ALL_RM_TEST.
15854 (lrint_tonearest_test_data): Remove.
15855 (lrint_test_tonearest): Likewise.
15856 (lrint_towardzero_test_data): Likewise.
15857 (lrint_test_towardzero): Likewise.
15858 (lrint_downward_test_data): Likewise.
15859 (lrint_test_downward): Likewise.
15860 (lrint_upward_test_data): Likewise.
15861 (lrint_test_upward): Likewise.
15862 (llrint_test_data): Merge in per-rounding-mode tests and results
15863 from llrint_tonearest_test_data, llrint_towardzero_test_data,
15864 llrint_downward_test_data and llrint_upward_test_data.
15865 (llrint_test): Use ALL_RM_TEST.
15866 (llrint_tonearest_test_data): Remove.
15867 (llrint_test_tonearest): Likewise.
15868 (llrint_towardzero_test_data): Likewise.
15869 (llrint_test_towardzero): Likewise.
15870 (llrint_downward_test_data): Likewise.
15871 (llrint_test_downward): Likewise.
15872 (llrint_upward_test_data): Likewise.
15873 (llrint_test_upward): Likewise.
15874 (rint_test_data): Merge in per-rounding-mode tests and results
15875 from rint_tonearest_test_data, rint_towardzero_test_data,
15876 rint_downward_test_data and rint_upward_test_data. Add
15877 per-rounding-mode results for tests not in those arrays.
15878 (rint_test): Use ALL_RM_TEST.
15879 (rint_tonearest_test_data): Remove.
15880 (rint_test_tonearest): Likewise.
15881 (rint_towardzero_test_data): Likewise.
15882 (rint_test_towardzero): Likewise.
15883 (rint_downward_test_data): Likewise.
15884 (rint_test_downward): Likewise.
15885 (rint_upward_test_data): Likewise.
15886 (rint_test_upward): Likewise.
15887 (main): Don't call removed functions.
15889 2014-03-14 Roland McGrath <roland@hack.frob.com>
15891 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15892 "Compiled on ..." crapola. It is anti-useful.
15894 2014-03-14 Joseph Myers <joseph@codesourcery.com>
15896 * scripts/evaluate-test.sh: Handle fourth argument to determine
15897 whether test run should stop on failure.
15898 * Makeconfig (stop-on-test-failure): New variable.
15899 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15900 $(stop-on-test-failure).
15901 * Makefile (tests): Give a summary of results from testing and
15902 exit with failure status if they include an ERROR or FAIL.
15903 (xtests): Likewise.
15904 * manual/install.texi (Configuring and compiling): Mention
15905 stop-on-test-failure=y.
15906 * INSTALL: Regenerated.
15908 2014-03-14 Roland McGrath <roland@hack.frob.com>
15910 * scripts/versionlist.awk: New file.
15911 * Makerules [$(build-shared) = yes]
15912 (postclean-generated): Add Versions.def, not Versions.def.v and
15914 ($(common-objpfx)Versions.def.v.i): Target removed.
15915 ($(common-objpfx)Versions.def): New target.
15916 ($(common-objpfx)Versions.all): Depend on that rather that
15917 $(common-objpfx)Versions.def.v.
15918 * Versions.def: File removed.
15920 * Makeconfig (+gccwarn): Add -Wundef.
15921 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15922 a dl-sysdep.h breaking its contract.
15923 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15924 * include/stackinfo.h: New file.
15925 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15926 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15927 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15928 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15929 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15930 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15931 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15932 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15933 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15934 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15935 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15936 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15937 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15938 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15939 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15941 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15944 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15946 * math/libm-test.inc (round_test_data): Add more tests.
15949 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15951 * math/libm-test.inc (nearbyint_test_data): Add more tests.
15954 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15956 * math/libm-test.inc (ceil_test_data): Add more tests.
15958 * math/libm-test.inc (trunc_test_data): Add more tests related to
15961 2014-03-14 Roland McGrath <roland@hack.frob.com>
15963 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15964 with #if rather than #ifdef.
15965 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15967 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
15969 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15970 first. Disable AVX-512 GCC support if assembler doesn't support
15972 * sysdeps/x86_64/configure: Regenerated.
15974 2014-03-13 Carlos O'Donell <carlos@redhat.com>
15976 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15977 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15978 (__old_pthread_attr_setstack): Likewise.
15979 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15980 [!_STACK_GROWS_DOWN]: Likewise.
15982 2014-03-13 Mike Frysinger <vapier@gentoo.org>
15984 * config.make.in (have-bash2): Delete.
15985 * configure.ac (libc_cv_have_bash2): Delete.
15986 * configure: Regenerate.
15987 * elf/Makefile (common-ldd-rewrite): Rename to ...
15988 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
15989 (sh-ldd-rewrite): Delete.
15990 (bash-ldd-rewrite): Delete.
15991 (have-bash2): Delete checks.
15992 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15995 * config.make.in (have-ksh): Delete.
15997 * configure.ac (libc_cv_have_ksh): Delete.
15998 * configure: Regenerate.
16000 * elf/Makefile: Delete $(have-ksh) check.
16001 ($(objpfx)sotruss): Change KSH to BASH.
16002 * elf/sotruss.ksh: Rename to ...
16003 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16004 function style to match POSIX. Drop ksh vim mode setting.
16006 * manual/time.texi (Specifying the Time Zone with TZ): Change
16007 Tuesday to Thursday.
16009 * debug/tst-longjmp_chk2.c: Update header comment.
16010 (stackoverflow_handler): Add comment. Call assert on pass value.
16012 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16015 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16016 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16017 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16018 (La_x86_64_vector): Add zmm.
16019 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16020 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16021 ($(objpfx)tst-audit10): New target.
16022 ($(objpfx)tst-audit10.out): Likewise.
16023 (tst-audit10-ENV): New.
16024 (AVX512-CFLAGS): Likewise.
16025 (CFLAGS-tst-audit10.c): Likewise.
16026 (CFLAGS-tst-auditmod10a.c): Likewise.
16027 (CFLAGS-tst-auditmod10b.c): Likewise.
16028 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16029 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16030 * sysdeps/x86_64/configure: Regenerated.
16031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16032 AVX-512 zmm register support.
16033 (_dl_x86_64_save_sse): Likewise.
16034 (_dl_x86_64_restore_sse): Likewise.
16035 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16036 size vector registers.
16037 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16038 (ZMM_SIZE): Likewise.
16039 * sysdeps/x86_64/tst-audit10.c: New file.
16040 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16041 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16043 2014-03-13 Roland McGrath <roland@hack.frob.com>
16045 * configure.ac (HAVE_EHDR_START): New check.
16046 * configure: Regenerated.
16047 * config.h.in (HAVE_EHDR_START): New #undef.
16048 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16049 assuming the lowest-addressed segment maps the start of the file.
16051 2014-03-13 Joseph Myers <joseph@codesourcery.com>
16053 * INSTALL: Regenerated.
16055 2014-03-13 Will Newton <will.newton@linaro.org>
16057 * manual/setjmp.texi (System V contexts): Improve
16058 clarity and grammar of documentation.
16060 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16063 * elf/Makefile (tests): Add tst-pie2.
16064 (tests-pie): Add tst-pie2.
16065 * elf/tst-pie2.c: New file.
16066 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16068 * elf/rtld.c (map_doit): Load executable as lt_executable.
16069 (dl_main): Likewise.
16071 2014-03-12 Joseph Myers <joseph@codesourcery.com>
16074 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16075 (__ASSUME_PSELECT): Undefine.
16077 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16080 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16081 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16083 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16084 selector for static builds.
16086 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16089 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16092 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16094 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16095 IFUNC selector for static builds.
16097 2014-03-11 Joseph Myers <joseph@codesourcery.com>
16099 * sysdeps/mips/math_private.h [__mips_hard_float]
16100 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16101 libc_feresetround_mips_ctx.
16102 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16103 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16104 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16107 * math/s_nextafter.c (__nextafter): Do not return value from
16108 overflowing computation.
16109 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16110 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16111 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16113 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16115 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16116 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16118 2014-03-11 Roland McGrath <roland@hack.frob.com>
16120 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16121 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16122 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16123 the new mov targetting sp.
16125 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16128 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16129 Define it for static builds as well.
16130 (NO_BZERO_IMPL): Likewise.
16132 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16134 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16135 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16136 multiarch strspn for PPC64.
16137 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16138 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16140 (__libc_ifunc_impl_list): Likewise.
16141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16142 multiarch optimizations
16143 * string/strspn.c (strspn): Using macro to redefine symbol name.
16145 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16146 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16148 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16149 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16150 multiarch strncat for PPC64.
16151 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16152 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16154 (__libc_ifunc_impl_list): Likewise.
16155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16156 multiarch optimizations
16158 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16161 * nscd/nscd.service: Make service type forking.
16163 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16165 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16166 sign in non default rounding modes.
16167 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16169 2014-03-08 Joseph Myers <joseph@codesourcery.com>
16171 * math/libm-test.inc (ALL_RM_TEST): New macro.
16172 (ceil_test): Use ALL_RM_TEST.
16173 (cimag_test): Likewise.
16174 (conj_test): Likewise.
16175 (copysign_test): Likewise.
16176 (cproj_test): Likewise.
16177 (creal_test): Likewise.
16178 (fabs_test): Likewise.
16179 (floor_test): Likewise.
16180 (fmax_test): Likewise.
16181 (fmin_test): Likewise.
16182 (fmod_test): Likewise.
16183 (fpclassify_test): Likewise.
16184 (frexp_test): Likewise.
16185 (ilogb_test): Likewise.
16186 (isfinite_test): Likewise.
16187 (finite_test): Likewise.
16188 (isgreater_test): Likewise.
16189 (isgreaterequal_test): Likewise.
16190 (isinf_test): Likewise.
16191 (isless_test): Likewise.
16192 (islessequal_test): Likewise.
16193 (islessgreater_test): Likewise.
16194 (isnan_test): Likewise.
16195 (isnormal_test): Likewise.
16196 (issignaling_test): Likewise.
16197 (isunordered_test): Likewise.
16198 (logb_test): Likewise.
16199 (logb_downward_test_data): Remove.
16200 (logb_test_downward): Likewise.
16201 (lround_test): Use ALL_RM_TEST.
16202 (llround_test): Likewise.
16203 (modf_test): Likewise.
16204 (nexttoward_test): Likewise.
16205 (remainder_test): Likewise.
16206 (drem_test): Likewise.
16207 (remainder_tonearest_test_data): Likewise.
16208 (remainder_test_tonearest): Likewise.
16209 (drem_test_tonearest): Likewise.
16210 (remainder_towardzero_test_data): Likewise.
16211 (remainder_test_towardzero): Likewise.
16212 (drem_test_towardzero): Likewise.
16213 (remainder_downward_test_data): Likewise.
16214 (remainder_test_downward): Likewise.
16215 (drem_test_downward): Likewise.
16216 (remainder_upward_test_data): Likewise.
16217 (remainder_test_upward): Likewise.
16218 (drem_test_upward): Likewise.
16219 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16220 (round_test): Use ALL_RM_TEST.
16221 (signbit_test): Likewise.
16222 (trunc_test): Likewise.
16223 (significand_test): Likewise.
16224 (main): Don't call removed functions.
16226 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16229 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16230 || __USE_XOPEN2K8].
16231 (ILL_ILLOPN): Likewise.
16232 (ILL_ILLADR): Likewise.
16233 (ILL_ILLTRP): Likewise.
16234 (ILL_PRVOPC): Likewise.
16235 (ILL_PRVREG): Likewise.
16236 (ILL_COPROC): Likewise.
16237 (ILL_BADSTK): Likewise.
16238 (FPE_INTDIV): Likewise.
16239 (FPE_INTOVF): Likewise.
16240 (FPE_FLTDIV): Likewise.
16241 (FPE_FLTOVF): Likewise.
16242 (FPE_FLTUND): Likewise.
16243 (FPE_FLTRES): Likewise.
16244 (FPE_FLTINV): Likewise.
16245 (FPE_FLTSUB): Likewise.
16246 (SEGV_MAPERR): Likewise.
16247 (SEGV_ACCERR): Likewise.
16248 (BUS_ADRALN): Likewise.
16249 (BUS_ADRERR): Likewise.
16250 (BUS_OBJERR): Likewise.
16251 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16252 (TRAP_TRACE): Likewise.
16253 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16255 (CLD_KILLED): Likewise.
16256 (CLD_DUMPED): Likewise.
16257 (CLD_TRAPPED): Likewise.
16258 (CLD_STOPPED): Likewise.
16259 (CLD_CONTINUED): Likewise.
16260 (POLL_IN): Likewise.
16261 (POLL_OUT): Likewise.
16262 (POLL_MSG): Likewise.
16263 (POLL_ERR): Likewise.
16264 (POLL_PRI): Likewise.
16265 (POLL_HUP): Likewise.
16266 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16268 (ILL_ILLOPN): Likewise.
16269 (ILL_ILLADR): Likewise.
16270 (ILL_ILLTRP): Likewise.
16271 (ILL_PRVOPC): Likewise.
16272 (ILL_PRVREG): Likewise.
16273 (ILL_COPROC): Likewise.
16274 (ILL_BADSTK): Likewise.
16275 (FPE_INTDIV): Likewise.
16276 (FPE_INTOVF): Likewise.
16277 (FPE_FLTDIV): Likewise.
16278 (FPE_FLTOVF): Likewise.
16279 (FPE_FLTUND): Likewise.
16280 (FPE_FLTRES): Likewise.
16281 (FPE_FLTINV): Likewise.
16282 (FPE_FLTSUB): Likewise.
16283 (SEGV_MAPERR): Likewise.
16284 (SEGV_ACCERR): Likewise.
16285 (BUS_ADRALN): Likewise.
16286 (BUS_ADRERR): Likewise.
16287 (BUS_OBJERR): Likewise.
16288 (BUS_MCEERR_AR): Likewise.
16289 (BUS_MCEERR_AO): Likewise.
16290 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16291 (TRAP_TRACE): Likewise.
16292 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16294 (CLD_KILLED): Likewise.
16295 (CLD_DUMPED): Likewise.
16296 (CLD_TRAPPED): Likewise.
16297 (CLD_STOPPED): Likewise.
16298 (CLD_CONTINUED): Likewise.
16299 (POLL_IN): Likewise.
16300 (POLL_OUT): Likewise.
16301 (POLL_MSG): Likewise.
16302 (POLL_ERR): Likewise.
16303 (POLL_PRI): Likewise.
16304 (POLL_HUP): Likewise.
16305 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
16306 (ILL_ILLOPN): Likewise.
16307 (ILL_ILLADR): Likewise.
16308 (ILL_ILLTRP): Likewise.
16309 (ILL_PRVOPC): Likewise.
16310 (ILL_PRVREG): Likewise.
16311 (ILL_COPROC): Likewise.
16312 (ILL_BADSTK): Likewise.
16313 (FPE_INTDIV): Likewise.
16314 (FPE_INTOVF): Likewise.
16315 (FPE_FLTDIV): Likewise.
16316 (FPE_FLTOVF): Likewise.
16317 (FPE_FLTUND): Likewise.
16318 (FPE_FLTRES): Likewise.
16319 (FPE_FLTINV): Likewise.
16320 (FPE_FLTSUB): Likewise.
16321 (SEGV_MAPERR): Likewise.
16322 (SEGV_ACCERR): Likewise.
16323 (BUS_ADRALN): Likewise.
16324 (BUS_ADRERR): Likewise.
16325 (BUS_OBJERR): Likewise.
16326 (BUS_MCEERR_AR): Likewise.
16327 (BUS_MCEERR_AO): Likewise.
16328 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16329 (TRAP_TRACE): Likewise.
16330 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16332 (CLD_KILLED): Likewise.
16333 (CLD_DUMPED): Likewise.
16334 (CLD_TRAPPED): Likewise.
16335 (CLD_STOPPED): Likewise.
16336 (CLD_CONTINUED): Likewise.
16337 (POLL_IN): Likewise.
16338 (POLL_OUT): Likewise.
16339 (POLL_MSG): Likewise.
16340 (POLL_ERR): Likewise.
16341 (POLL_PRI): Likewise.
16342 (POLL_HUP): Likewise.
16343 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
16345 (ILL_ILLOPN): Likewise.
16346 (ILL_ILLADR): Likewise.
16347 (ILL_ILLTRP): Likewise.
16348 (ILL_PRVOPC): Likewise.
16349 (ILL_PRVREG): Likewise.
16350 (ILL_COPROC): Likewise.
16351 (ILL_BADSTK): Likewise.
16352 (ILL_BADIADDR): Likewise.
16353 (ILL_BREAK): Likewise.
16354 (FPE_INTDIV): Likewise.
16355 (FPE_INTOVF): Likewise.
16356 (FPE_FLTDIV): Likewise.
16357 (FPE_FLTOVF): Likewise.
16358 (FPE_FLTUND): Likewise.
16359 (FPE_FLTRES): Likewise.
16360 (FPE_FLTINV): Likewise.
16361 (FPE_FLTSUB): Likewise.
16362 (FPE_DECOVF): Likewise.
16363 (FPE_DECDIV): Likewise.
16364 (FPE_DECERR): Likewise.
16365 (FPE_INVASC): Likewise.
16366 (FPE_INVDEC): Likewise.
16367 (SEGV_MAPERR): Likewise.
16368 (SEGV_ACCERR): Likewise.
16369 (SEGV_PSTKOVF): Likewise.
16370 (BUS_ADRALN): Likewise.
16371 (BUS_ADRERR): Likewise.
16372 (BUS_OBJERR): Likewise.
16373 (BUS_MCEERR_AR): Likewise.
16374 (BUS_MCEERR_AO): Likewise.
16375 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16376 (TRAP_TRACE): Likewise.
16377 (TRAP_BRANCH): Likewise.
16378 (TRAP_HWBKPT): Likewise.
16379 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16381 (CLD_KILLED): Likewise.
16382 (CLD_DUMPED): Likewise.
16383 (CLD_TRAPPED): Likewise.
16384 (CLD_STOPPED): Likewise.
16385 (CLD_CONTINUED): Likewise.
16386 (POLL_IN): Likewise.
16387 (POLL_OUT): Likewise.
16388 (POLL_MSG): Likewise.
16389 (POLL_ERR): Likewise.
16390 (POLL_PRI): Likewise.
16391 (POLL_HUP): Likewise.
16392 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16393 (ILL_ILLOPN): Likewise.
16394 (ILL_ILLADR): Likewise.
16395 (ILL_ILLTRP): Likewise.
16396 (ILL_PRVOPC): Likewise.
16397 (ILL_PRVREG): Likewise.
16398 (ILL_COPROC): Likewise.
16399 (ILL_BADSTK): Likewise.
16400 (FPE_INTDIV): Likewise.
16401 (FPE_INTOVF): Likewise.
16402 (FPE_FLTDIV): Likewise.
16403 (FPE_FLTOVF): Likewise.
16404 (FPE_FLTUND): Likewise.
16405 (FPE_FLTRES): Likewise.
16406 (FPE_FLTINV): Likewise.
16407 (FPE_FLTSUB): Likewise.
16408 (SEGV_MAPERR): Likewise.
16409 (SEGV_ACCERR): Likewise.
16410 (BUS_ADRALN): Likewise.
16411 (BUS_ADRERR): Likewise.
16412 (BUS_OBJERR): Likewise.
16413 (BUS_MCEERR_AR): Likewise.
16414 (BUS_MCEERR_AO): Likewise.
16415 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16416 (TRAP_TRACE): Likewise.
16417 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16419 (CLD_KILLED): Likewise.
16420 (CLD_DUMPED): Likewise.
16421 (CLD_TRAPPED): Likewise.
16422 (CLD_STOPPED): Likewise.
16423 (CLD_CONTINUED): Likewise.
16424 (POLL_IN): Likewise.
16425 (POLL_OUT): Likewise.
16426 (POLL_MSG): Likewise.
16427 (POLL_ERR): Likewise.
16428 (POLL_PRI): Likewise.
16429 (POLL_HUP): Likewise.
16430 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16431 (ILL_ILLOPN): Likewise.
16432 (ILL_ILLADR): Likewise.
16433 (ILL_ILLTRP): Likewise.
16434 (ILL_PRVOPC): Likewise.
16435 (ILL_PRVREG): Likewise.
16436 (ILL_COPROC): Likewise.
16437 (ILL_BADSTK): Likewise.
16438 (FPE_INTDIV): Likewise.
16439 (FPE_INTOVF): Likewise.
16440 (FPE_FLTDIV): Likewise.
16441 (FPE_FLTOVF): Likewise.
16442 (FPE_FLTUND): Likewise.
16443 (FPE_FLTRES): Likewise.
16444 (FPE_FLTINV): Likewise.
16445 (FPE_FLTSUB): Likewise.
16446 (SEGV_MAPERR): Likewise.
16447 (SEGV_ACCERR): Likewise.
16448 (BUS_ADRALN): Likewise.
16449 (BUS_ADRERR): Likewise.
16450 (BUS_OBJERR): Likewise.
16451 (BUS_MCEERR_AR): Likewise.
16452 (BUS_MCEERR_AO): Likewise.
16453 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16454 (TRAP_TRACE): Likewise.
16455 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16457 (CLD_KILLED): Likewise.
16458 (CLD_DUMPED): Likewise.
16459 (CLD_TRAPPED): Likewise.
16460 (CLD_STOPPED): Likewise.
16461 (CLD_CONTINUED): Likewise.
16462 (POLL_IN): Likewise.
16463 (POLL_OUT): Likewise.
16464 (POLL_MSG): Likewise.
16465 (POLL_ERR): Likewise.
16466 (POLL_PRI): Likewise.
16467 (POLL_HUP): Likewise.
16468 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16469 (ILL_ILLOPN): Likewise.
16470 (ILL_ILLADR): Likewise.
16471 (ILL_ILLTRP): Likewise.
16472 (ILL_PRVOPC): Likewise.
16473 (ILL_PRVREG): Likewise.
16474 (ILL_COPROC): Likewise.
16475 (ILL_BADSTK): Likewise.
16476 (FPE_INTDIV): Likewise.
16477 (FPE_INTOVF): Likewise.
16478 (FPE_FLTDIV): Likewise.
16479 (FPE_FLTOVF): Likewise.
16480 (FPE_FLTUND): Likewise.
16481 (FPE_FLTRES): Likewise.
16482 (FPE_FLTINV): Likewise.
16483 (FPE_FLTSUB): Likewise.
16484 (SEGV_MAPERR): Likewise.
16485 (SEGV_ACCERR): Likewise.
16486 (BUS_ADRALN): Likewise.
16487 (BUS_ADRERR): Likewise.
16488 (BUS_OBJERR): Likewise.
16489 (BUS_MCEERR_AR): Likewise.
16490 (BUS_MCEERR_AO): Likewise.
16491 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16492 (TRAP_TRACE): Likewise.
16493 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16495 (CLD_KILLED): Likewise.
16496 (CLD_DUMPED): Likewise.
16497 (CLD_TRAPPED): Likewise.
16498 (CLD_STOPPED): Likewise.
16499 (CLD_CONTINUED): Likewise.
16500 (POLL_IN): Likewise.
16501 (POLL_OUT): Likewise.
16502 (POLL_MSG): Likewise.
16503 (POLL_ERR): Likewise.
16504 (POLL_PRI): Likewise.
16505 (POLL_HUP): Likewise.
16506 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16507 (ILL_ILLOPN): Likewise.
16508 (ILL_ILLADR): Likewise.
16509 (ILL_ILLTRP): Likewise.
16510 (ILL_PRVOPC): Likewise.
16511 (ILL_PRVREG): Likewise.
16512 (ILL_COPROC): Likewise.
16513 (ILL_BADSTK): Likewise.
16514 (ILL_DBLFLT): Likewise.
16515 (ILL_HARDWALL): Likewise.
16516 (FPE_INTDIV): Likewise.
16517 (FPE_INTOVF): Likewise.
16518 (FPE_FLTDIV): Likewise.
16519 (FPE_FLTOVF): Likewise.
16520 (FPE_FLTUND): Likewise.
16521 (FPE_FLTRES): Likewise.
16522 (FPE_FLTINV): Likewise.
16523 (FPE_FLTSUB): Likewise.
16524 (SEGV_MAPERR): Likewise.
16525 (SEGV_ACCERR): Likewise.
16526 (BUS_ADRALN): Likewise.
16527 (BUS_ADRERR): Likewise.
16528 (BUS_OBJERR): Likewise.
16529 (BUS_MCEERR_AR): Likewise.
16530 (BUS_MCEERR_AO): Likewise.
16531 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16532 (TRAP_TRACE): Likewise.
16533 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16535 (CLD_KILLED): Likewise.
16536 (CLD_DUMPED): Likewise.
16537 (CLD_TRAPPED): Likewise.
16538 (CLD_STOPPED): Likewise.
16539 (CLD_CONTINUED): Likewise.
16540 (POLL_IN): Likewise.
16541 (POLL_OUT): Likewise.
16542 (POLL_MSG): Likewise.
16543 (POLL_ERR): Likewise.
16544 (POLL_PRI): Likewise.
16545 (POLL_HUP): Likewise.
16546 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16547 (ILL_ILLOPN): Likewise.
16548 (ILL_ILLADR): Likewise.
16549 (ILL_ILLTRP): Likewise.
16550 (ILL_PRVOPC): Likewise.
16551 (ILL_PRVREG): Likewise.
16552 (ILL_COPROC): Likewise.
16553 (ILL_BADSTK): Likewise.
16554 (FPE_INTDIV): Likewise.
16555 (FPE_INTOVF): Likewise.
16556 (FPE_FLTDIV): Likewise.
16557 (FPE_FLTOVF): Likewise.
16558 (FPE_FLTUND): Likewise.
16559 (FPE_FLTRES): Likewise.
16560 (FPE_FLTINV): Likewise.
16561 (FPE_FLTSUB): Likewise.
16562 (SEGV_MAPERR): Likewise.
16563 (SEGV_ACCERR): Likewise.
16564 (BUS_ADRALN): Likewise.
16565 (BUS_ADRERR): Likewise.
16566 (BUS_OBJERR): Likewise.
16567 (BUS_MCEERR_AR): Likewise.
16568 (BUS_MCEERR_AO): Likewise.
16569 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16570 (TRAP_TRACE): Likewise.
16571 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16573 (CLD_KILLED): Likewise.
16574 (CLD_DUMPED): Likewise.
16575 (CLD_TRAPPED): Likewise.
16576 (CLD_STOPPED): Likewise.
16577 (CLD_CONTINUED): Likewise.
16578 (POLL_IN): Likewise.
16579 (POLL_OUT): Likewise.
16580 (POLL_MSG): Likewise.
16581 (POLL_ERR): Likewise.
16582 (POLL_PRI): Likewise.
16583 (POLL_HUP): Likewise.
16584 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16585 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16588 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16589 before #include of <time.h>.
16590 [!__USE_XOPEN2K] (__need_timespec): Likewise.
16591 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16592 (test-xfail-UNIX98/sched.h/conform): Likewise.
16594 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
16596 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16597 error absence of trapping exception support.
16598 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16600 2014-03-07 Joseph Myers <joseph@codesourcery.com>
16602 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16603 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16604 * timezone/Makefile (testdata): Move definition above include of
16606 (test-zones): New variable.
16607 (tests-special): Add zone files.
16608 (build-testdata): Use $(evaluate-test).
16610 * elf/Makefile (tests-special): Rename tests to end with .out.
16611 ($(objpfx)noload-mem): Likewise.
16612 ($(objpfx)tst-leaks1-mem): Likewise.
16613 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16614 * iconv/Makefile (xtests-special): Change test-iconvconfig to
16615 $(objpfx)test-iconvconfig.out.
16616 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
16617 set -e inside subshell and redirect output to file.
16618 * iconvdata/Makefile (generated): Rename tests to end with .out.
16620 (tests-special): Rename tests to end with .out.
16621 ($(objpfx)mtrace-tst-loading): Likewise.
16622 * intl/Makefile (generated): Likewise.
16623 (tests-special): Likewise.
16624 ($(objpfx)mtrace-tst-gettext): Likewise.
16625 * misc/Makefile (generated): Likewise.
16626 (tests-special): Likewise.
16627 ($(objpfx)tst-error1-mem): Likewise.
16628 * nptl/Makefile (tests-special): Likewise.
16629 ($(objpfx)tst-stack3-mem): Likewise.
16630 (generated): Likewise.
16631 * posix/Makefile (generated): Likewise.
16632 (tests-special): Likewise.
16633 (xtests-special): Likewise.
16634 ($(objpfx)tst-fnmatch-mem): Likewise.
16635 ($(objpfx)bug-regex2-mem): Likewise.
16636 ($(objpfx)bug-regex14-mem): Likewise.
16637 ($(objpfx)bug-regex21-mem): Likewise.
16638 ($(objpfx)bug-regex31-mem): Likewise.
16639 ($(objpfx)tst-vfork3-mem): Likewise.
16640 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16641 ($(objpfx)tst-pcre-mem): Likewise.
16642 ($(objpfx)tst-boost-mem): Likewise.
16643 ($(objpfx)bug-ga2-mem): Likewise.
16644 ($(objpfx)bug-glob2-mem): Likewise.
16645 * resolv/Makefile (generate): Likewise.
16646 (tests-special): Likewise.
16647 (xtests-special): Likewise.
16648 (generated): Likewise.
16649 ($(objpfx)mtrace-tst-leaks): Likewise.
16650 ($(objpfx)mtrace-tst-leaks2): Likewise.
16652 * scripts/merge-test-results.sh: New file.
16653 * Makefile (tests-special-notdir): New variable.
16654 (tests): Run merge-test-results.sh.
16655 (xtests): Likewise.
16656 * Rules (tests-special-notdir): New variable.
16657 (xtests-special-notdir): Likewise.
16658 (tests): Run merge-test-results.sh
16659 (xtests): Likewise.
16661 * Makeconfig (test-xfail-name): New variable.
16662 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16663 compute variable name for expected failures.
16664 * conform/Makefile (conformtest-headers-data): New variable.
16665 (conformtest-standards): Likewise.
16666 (conformtest-headers-ISO): Likewise.
16667 (conformtest-headers-ISO99): Likewise.
16668 (conformtest-headers-ISO11): Likewise.
16669 (conformtest-headers-POSIX): Likewise.
16670 (conformtest-headers-XPG3): Likewise.
16671 (conformtest-headers-XPG4): Likewise.
16672 (conformtest-headers-UNIX98): Likewise.
16673 (conformtest-headers-XOPEN2K): Likewise.
16674 (conformtest-headers-POSIX2008): Likewise.
16675 (conformtest-headers-XOPEN2K8): Likewise.
16676 (conformtest-header-list-base): Likewise.
16677 (conformtest-header-list-tests): Likewise.
16678 (conformtest-header-base): Likewise.
16679 (conformtest-header-tests): Likewise.
16680 (tests-special): Add $(conformtest-header-list-tests). If
16681 [$(fast-check) && !$(cross-compiling)], add
16682 $(conformtest-header-tests) instead of
16683 $(objpfx)run-conformtest.out.
16684 (generated): Add $(conformtest-header-list-base). If
16685 [$(fast-check) && !$(cross-compiling)], add
16686 $(conformtest-header-base). Remove previous setting.
16687 ($(conformtest-header-list-tests)): New target.
16688 (test-xfail-run-conformtest): Remove variable.
16689 ($(objpfx)run-conformtest.out): Remove target.
16690 (test-xfail-ISO11/complex.h/conform): New variable.
16691 (test-xfail-ISO11/stdalign.h/conform): Likewise.
16692 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16693 (test-xfail-XPG3/varargs.h/conform): Likewise.
16694 (test-xfail-XPG4/varargs.h/conform): Likewise.
16695 (test-xfail-UNIX98/varargs.h/conform): Likewise.
16696 (test-xfail-XPG4/ndbm.h/conform): Likewise.
16697 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16698 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16699 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16700 (test-xfail-XPG3/fcntl.h/conform): Likewise.
16701 (test-xfail-XPG3/ftw.h/conform): Likewise.
16702 (test-xfail-XPG3/grp.h/conform): Likewise.
16703 (test-xfail-XPG3/langinfo.h/conform): Likewise.
16704 (test-xfail-XPG3/limits.h/conform): Likewise.
16705 (test-xfail-XPG3/pwd.h/conform): Likewise.
16706 (test-xfail-XPG3/search.h/conform): Likewise.
16707 (test-xfail-XPG3/signal.h/conform): Likewise.
16708 (test-xfail-XPG3/stdio.h/conform): Likewise.
16709 (test-xfail-XPG3/stdlib.h/conform): Likewise.
16710 (test-xfail-XPG3/string.h/conform): Likewise.
16711 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16712 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16713 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16714 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16715 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16716 (test-xfail-XPG3/sys/types.h/conform): Likewise.
16717 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16718 (test-xfail-XPG3/termios.h/conform): Likewise.
16719 (test-xfail-XPG3/time.h/conform): Likewise.
16720 (test-xfail-XPG3/unistd.h/conform): Likewise.
16721 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16722 (test-xfail-XPG4/fcntl.h/conform): Likewise.
16723 (test-xfail-XPG4/langinfo.h/conform): Likewise.
16724 (test-xfail-XPG4/netdb.h/conform): Likewise.
16725 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16726 (test-xfail-XPG4/signal.h/conform): Likewise.
16727 (test-xfail-XPG4/stdio.h/conform): Likewise.
16728 (test-xfail-XPG4/stdlib.h/conform): Likewise.
16729 (test-xfail-XPG4/stropts.h/conform): Likewise.
16730 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16731 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16732 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16733 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16734 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16735 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16736 (test-xfail-XPG4/sys/time.h/conform): Likewise.
16737 (test-xfail-XPG4/sys/types.h/conform): Likewise.
16738 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16739 (test-xfail-XPG4/termios.h/conform): Likewise.
16740 (test-xfail-XPG4/ucontext.h/conform): Likewise.
16741 (test-xfail-XPG4/unistd.h/conform): Likewise.
16742 (test-xfail-XPG4/utmpx.h/conform): Likewise.
16743 (test-xfail-POSIX/sched.h/conform): Likewise.
16744 (test-xfail-POSIX/signal.h/conform): Likewise.
16745 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16746 (test-xfail-POSIX/tar.h/conform): Likewise.
16747 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16748 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16749 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16750 (test-xfail-UNIX98/netdb.h/conform): Likewise.
16751 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16752 (test-xfail-UNIX98/sched.h/conform): Likewise.
16753 (test-xfail-UNIX98/signal.h/conform): Likewise.
16754 (test-xfail-UNIX98/stdio.h/conform): Likewise.
16755 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16756 (test-xfail-UNIX98/stropts.h/conform): Likewise.
16757 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16758 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16759 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16760 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16761 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16762 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16763 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16764 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16765 (test-xfail-UNIX98/unistd.h/conform): Likewise.
16766 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16767 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16768 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16769 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16770 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16771 (test-xfail-XOPEN2K/math.h/conform): Likewise.
16772 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16773 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16774 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16775 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16776 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16777 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16778 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16779 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16780 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16781 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16782 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16783 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16784 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16785 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16786 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16787 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16788 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16789 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16790 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16791 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16792 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16793 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16794 (test-xfail-POSIX2008/signal.h/conform): Likewise.
16795 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16796 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16797 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16798 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16799 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16800 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16801 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16802 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16803 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16804 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16805 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16806 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16807 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16808 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16809 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16810 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16811 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16812 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16813 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16814 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16815 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16816 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16817 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16818 (conformtest-cc-flags): Likewise.
16819 ($(conformtest-header-tests): New target.
16820 * conform/check-header-lists.sh: New file.
16821 * conform/run-conformtest.sh: Remove.
16823 * conform/conformtest.pl: Allow ' and \ in values given for
16825 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16827 [POSIX] (sys/types.h): Likewise.
16828 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16830 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16832 * conform/data/signal.h-data (SIGIO): Remove expectation.
16833 [XPG3] (SIGBUS): Do not expect.
16834 [POSIX || XPG3] (SIGPOLL): Likewise.
16835 [POSIX || XPG3] (SIGPROF): Likewise.
16836 [POSIX || XPG3] (SIGSYS): Likewise.
16837 [XPG3] (SIGTRAP): Likewise.
16838 [POSIX || XPG3] (SIGURG): Likewise.
16839 [POSIX || XPG3] (SIGVTALRM): Likewise.
16840 [POSIX || XPG3] (SIGXCPU): Likewise.
16841 [POSIX || XPG3] (SIGXFSZ): Likewise.
16842 [POSIX] (SA_SIGINFO): Expect.
16843 [XPG3] (siginfo_t): Do not expect type or contents.
16844 [POSIX] (si_pid): Do not expect element.
16845 [POSIX] (si_uid): Likewise.
16846 [POSIX] (si_addr): Likewise.
16847 [POSIX] (si_status): Likewise.
16848 [POSIX] (si_band): Likewise.
16849 [XPG4] (si_value): Likewise.
16850 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16851 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16852 [POSIX || XPG3] (ILL_ILLADR): Likewise.
16853 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16854 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16855 [POSIX || XPG3] (ILL_PRVREG): Likewise.
16856 [POSIX || XPG3] (ILL_COPROC): Likewise.
16857 [POSIX || XPG3] (ILL_BADSTK): Likewise.
16858 [POSIX || XPG3] (FPE_INTDIV): Likewise.
16859 [POSIX || XPG3] (FPE_INTOVF): Likewise.
16860 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16861 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16862 [POSIX || XPG3] (FPE_FLTUND): Likewise.
16863 [POSIX || XPG3] (FPE_FLTRES): Likewise.
16864 [POSIX || XPG3] (FPE_FLTINV): Likewise.
16865 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16866 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16867 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16868 [POSIX || XPG3] (BUS_ADRALN): Likewise.
16869 [POSIX || XPG3] (BUS_ADRERR): Likewise.
16870 [POSIX || XPG3] (BUS_OBJERR): Likewise.
16871 [POSIX || XPG3] (CLD_EXITED): Likewise.
16872 [POSIX || XPG3] (CLD_KILLED): Likewise.
16873 [POSIX || XPG3] (CLD_DUMPED): Likewise.
16874 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16875 [POSIX || XPG3] (CLD_STOPPED): Likewise.
16876 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16877 [POSIX || XPG3] (POLL_IN): Likewise.
16878 [POSIX || XPG3] (POLL_OUT): Likewise.
16879 [POSIX || XPG3] (POLL_MSG): Likewise.
16880 [POSIX || XPG3] (POLL_ERR): Likewise.
16881 [POSIX || XPG3] (POLL_PRI): Likewise.
16882 [POSIX || XPG3] (POLL_HUP): Likewise.
16883 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16884 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16885 (SIG*): Do not allow.
16886 [XPG3] (si_*): Likewise.
16887 [XPG3] (SI_*): Likewise.
16888 [XPG3 || XPG4] (sigev_*): Likewise.
16889 [XPG3 || XPG4] (SIGEV_*): Likewise.
16890 [XPG3 || XPG4] (sival_*): Likewise.
16891 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16892 [POSIX || XPG3] (BUS_*): Likewise.
16893 [POSIX || XPG3] (CLD_*): Likewise.
16894 [POSIX || XPG3] (FPE_*): Likewise.
16895 [POSIX || XPG3] (ILL_*): Likewise.
16896 [POSIX || XPG3] (POLL_*): Likewise.
16897 [POSIX || XPG3] (SEGV_*): Likewise.
16898 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16899 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16900 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16901 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16902 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16903 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16904 Specify type and value.
16905 (TVERSLEN): Likewise.
16906 (REGTYPE): Likewise.
16907 (AREGTYPE): Likewise.
16908 (LNKTYPE): Likewise.
16909 (SYMTYPE): Likewise.
16910 (CHRTYPE): Likewise.
16911 (BLKTYPE): Likewise.
16912 (DIRTYPE): Likewise.
16913 (FIFOTYPE): Likewise.
16914 (CONTTYPE): Likewise.
16918 (TUREAD): Likewise.
16919 (TUWRITE): Likewise.
16920 (TUEXEC): Likewise.
16921 (TGREAD): Likewise.
16922 (TGWRITE): Likewise.
16923 (TGEXEC): Likewise.
16924 (TOREAD): Likewise.
16925 (TOWRITE): Likewise.
16926 (TOEXEC): Likewise.
16927 [POSIX] (TSVTX): Expect constant.
16929 2014-03-06 Joseph Myers <joseph@codesourcery.com>
16931 * Makefile (tests): Change dependencies to ....
16932 (tests-special): ... additions to this variable.
16933 (tests): Depend on $(tests-special).
16934 * Makerules (check-abi-list): New variable.
16935 (check-abi): Depend on $(check-abi-list).
16936 [$(subdir) = elf] (tests-special): Add
16937 $(objpfx)check-abi-libc.out.
16938 [$(build-shared) = yes && subdir] (tests-special): Add
16940 [$(build-shared) = yes && subdir] (tests): Do not depend on
16942 * Rules (tests): Depend on $(tests-special).
16943 (xtests): Depend on $(xtests-special).
16944 * catgets/Makefile (tests): Change dependencies to ....
16945 (tests-special): ... additions to this variable.
16946 * conform/Makefile (tests): Change dependencies to ....
16947 (tests-special): ... additions to this variable.
16948 * elf/Makefile (tests): Change dependencies to ....
16949 (tests-special): ... additions to this variable.
16950 * grp/Makefile (tests): Change dependencies to ....
16951 (tests-special): ... additions to this variable.
16952 * iconv/Makefile (xtests): Change dependencies to ....
16953 (xtests-special): ... additions to this variable.
16954 * iconvdata/Makefile (tests): Change dependencies to ....
16955 (tests-special): ... additions to this variable.
16956 * intl/Makefile (tests): Change dependencies to ....
16957 (tests-special): ... additions to this variable. Also add
16958 $(objpfx)tst-gettext.out.
16959 * io/Makefile (tests): Change dependencies to ....
16960 (tests-special): ... additions to this variable.
16961 * libio/Makefile (tests): Change dependencies to ....
16962 (tests-special): ... additions to this variable.
16963 * malloc/Makefile (tests): Change dependencies to ....
16964 (tests-special): ... additions to this variable.
16965 * misc/Makefile (tests): Change dependencies to ....
16966 (tests-special): ... additions to this variable.
16967 * nptl/Makefile (tests): Change dependencies to ....
16968 (tests-special): ... additions to this variable.
16969 * nptl_db/Makefile (tests): Change dependencies to ....
16970 (tests-special): ... additions to this variable.
16971 * posix/Makefile (tests): Change dependencies to ....
16972 (tests-special): ... additions to this variable.
16973 (xtests): Change dependencies to ....
16974 (xtests-special): ... additions to this variable.
16975 * resolv/Makefile (tests): Change dependencies to ....
16976 (tests-special): ... additions to this variable.
16977 (xtests): Change dependencies to ....
16978 (xtests-special): ... additions to this variable.
16979 * stdio-common/Makefile (tests): Change dependencies to ....
16980 (tests-special): ... additions to this variable.
16981 (do-tst-unbputc): Remove target.
16982 (do-tst-printf): Likewise.
16983 * stdlib/Makefile (tests): Change dependencies to ....
16984 (tests-special): ... additions to this variable.
16985 * string/Makefile (tests): Change dependencies to ....
16986 (tests-special): ... additions to this variable.
16987 * sysdeps/x86/Makefile (tests): Change dependencies to ....
16988 (tests-special): ... additions to this variable.
16990 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16992 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16994 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16995 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16997 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16998 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16999 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17000 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17001 * conform/data/libgen.h-data [XPG3]: Likewise.
17002 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17003 * conform/data/ndbm.h-data [XPG3]: Likewise.
17004 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17005 * conform/data/netdb.h-data [XPG3]: Likewise.
17006 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17007 * conform/data/poll.h-data [XPG3]: Likewise.
17008 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17009 * conform/data/strings.h-data [XPG3]: Likewise.
17010 * conform/data/stropts.h-data [XPG3]: Likewise.
17011 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17012 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17013 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17015 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17016 * conform/data/sys/time.h-data [XPG3]: Likewise.
17017 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17018 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17019 * conform/data/sys/un.h-data [XPG3]: Likewise.
17020 * conform/data/syslog.h-data [XPG3]: Likewise.
17021 * conform/data/ucontext.h-data [XPG3]: Likewise.
17022 * conform/data/utmpx.h-data [XPG3]: Likewise.
17023 * conform/data/varargs.h-data [UNIX98]: Enable file.
17025 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17027 * math/libm-test.inc (struct test_f_f_data): Move expected results
17028 into structure for each rounding mode.
17029 (struct test_ff_f_data): Likewise.
17030 (struct test_ff_f_data_nexttoward): Likewise.
17031 (struct test_fi_f_data): Likewise.
17032 (struct test_fl_f_data): Likewise.
17033 (struct test_if_f_data): Likewise.
17034 (struct test_fff_f_data): Likewise.
17035 (struct test_c_f_data): Likewise.
17036 (struct test_f_f1_data): Likewise.
17037 (struct test_fF_f1_data): Likewise.
17038 (struct test_ffI_f1_data): Likewise.
17039 (struct test_c_c_data): Likewise.
17040 (struct test_cc_c_data): Likewise.
17041 (struct test_f_i_data): Likewise.
17042 (struct test_ff_i_data): Likewise.
17043 (struct test_f_l_data): Likewise.
17044 (struct test_f_L_data): Likewise.
17045 (struct test_fFF_11_data): Likewise.
17047 (RM_FE_DOWNWARD): Likewise.
17048 (RM_FE_TONEAREST): Likewise.
17049 (RM_FE_TOWARDZERO): Likewise.
17050 (RM_FE_UPWARD): Likewise.
17051 (RUN_TEST_LOOP_f_f): Update references to expected results.
17052 (RUN_TEST_LOOP_2_f): Likewise.
17053 (RUN_TEST_LOOP_fff_f): Likewise.
17054 (RUN_TEST_LOOP_c_f): Likewise.
17055 (RUN_TEST_LOOP_f_f1): Likewise.
17056 (RUN_TEST_LOOP_fF_f1): Likewise.
17057 (RUN_TEST_LOOP_fI_f1): Likewise.
17058 (RUN_TEST_LOOP_ffI_f1): Likewise.
17059 (RUN_TEST_LOOP_c_c): Likewise.
17060 (RUN_TEST_LOOP_cc_c): Likewise.
17061 (RUN_TEST_LOOP_f_i): Likewise.
17062 (RUN_TEST_LOOP_f_i_tg): Likewise.
17063 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17064 (RUN_TEST_LOOP_f_b): Likewise.
17065 (RUN_TEST_LOOP_f_b_tg): Likewise.
17066 (RUN_TEST_LOOP_f_l): Likewise.
17067 (RUN_TEST_LOOP_f_L): Likewise.
17068 (RUN_TEST_LOOP_fFF_11): Likewise.
17069 * math/gen-libm-test.pl (parse_args): Output four copies of
17070 expected results for each test.
17072 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17073 (__ASSUME_UTIMES): Remove.
17074 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17075 (__ASSUME_UTIMES): Likewise.
17077 * math/gen-auto-libm-tests.c: Update comment on output format.
17078 (output_for_one_input_case): Generate before-rounding and
17079 after-rounding information as conditions on output flags not
17080 floating-point format.
17081 * math/auto-libm-test-out: Regenerated.
17082 * math/gen-libm-test.pl (cond_value): New function.
17083 (or_cond_value): Use cond_value.
17084 (generate_testfile): Handle conditional exceptions.
17086 2014-03-05 Joseph Myers <joseph@codesourcery.com>
17088 * math/libm-test.inc (max_valid_error): New variable.
17089 (init_max_error): Take new argument specifying whether function
17090 results are exactly determined. Set max_valid_error and bound
17091 other variables for errors based on this argument.
17092 (set_max_error): Do not record results above max_valid_error.
17093 (check_float_internal): Only accept errors of up to 0.5ulps if
17094 also at most max_valid_error.
17095 (START): Take new argument EXACT and pass it to init_max_error.
17096 (acos_test): Update call to START.
17097 (acos_test_tonearest): Likewise.
17098 (acos_test_towardzero): Likewise.
17099 (acos_test_downward): Likewise.
17100 (acos_test_upward): Likewise.
17101 (acosh_test): Likewise.
17102 (asin_test): Likewise.
17103 (asin_test_tonearest): Likewise.
17104 (asin_test_towardzero): Likewise.
17105 (asin_test_downward): Likewise.
17106 (asin_test_upward): Likewise.
17107 (asinh_test): Likewise.
17108 (atan_test): Likewise.
17109 (atanh_test): Likewise.
17110 (atan2_test): Likewise.
17111 (cabs_test): Likewise.
17112 (cacos_test): Likewise.
17113 (cacosh_test): Likewise.
17114 (carg_test): Likewise.
17115 (casin_test): Likewise.
17116 (casinh_test): Likewise.
17117 (catan_test): Likewise.
17118 (catanh_test): Likewise.
17119 (cbrt_test): Likewise.
17120 (ccos_test): Likewise.
17121 (ccosh_test): Likewise.
17122 (ceil_test): Likewise.
17123 (cexp_test): Likewise.
17124 (cimag_test): Likewise.
17125 (clog_test): Likewise.
17126 (clog10_test): Likewise.
17127 (conj_test): Likewise.
17128 (copysign_test): Likewise.
17129 (cos_test): Likewise.
17130 (cos_test_tonearest): Likewise.
17131 (cos_test_towardzero): Likewise.
17132 (cos_test_downward): Likewise.
17133 (cos_test_upward): Likewise.
17134 (cosh_test): Likewise.
17135 (cosh_test_tonearest): Likewise.
17136 (cosh_test_towardzero): Likewise.
17137 (cosh_test_downward): Likewise.
17138 (cosh_test_upward): Likewise.
17139 (cpow_test): Likewise.
17140 (cproj_test): Likewise.
17141 (creal_test): Likewise.
17142 (csin_test): Likewise.
17143 (csinh_test): Likewise.
17144 (csqrt_test): Likewise.
17145 (ctan_test): Likewise.
17146 (ctan_test_tonearest): Likewise.
17147 (ctan_test_towardzero): Likewise.
17148 (ctan_test_downward): Likewise.
17149 (ctan_test_upward): Likewise.
17150 (ctanh_test): Likewise.
17151 (ctanh_test_tonearest): Likewise.
17152 (ctanh_test_towardzero): Likewise.
17153 (ctanh_test_downward): Likewise.
17154 (ctanh_test_upward): Likewise.
17155 (erf_test): Likewise.
17156 (erfc_test): Likewise.
17157 (exp_test): Likewise.
17158 (exp_test_tonearest): Likewise.
17159 (exp_test_towardzero): Likewise.
17160 (exp_test_downward): Likewise.
17161 (exp_test_upward): Likewise.
17162 (exp10_test): Likewise.
17163 (exp10_test_tonearest): Likewise.
17164 (exp10_test_towardzero): Likewise.
17165 (exp10_test_downward): Likewise.
17166 (exp10_test_upward): Likewise.
17167 (pow10_test): Likewise.
17168 (exp2_test): Likewise.
17169 (expm1_test): Likewise.
17170 (expm1_test_tonearest): Likewise.
17171 (expm1_test_towardzero): Likewise.
17172 (expm1_test_downward): Likewise.
17173 (expm1_test_upward): Likewise.
17174 (fabs_test): Likewise.
17175 (fdim_test): Likewise.
17176 (floor_test): Likewise.
17177 (fma_test): Likewise.
17178 (fma_test_towardzero): Likewise.
17179 (fma_test_downward): Likewise.
17180 (fma_test_upward): Likewise.
17181 (fmax_test): Likewise.
17182 (fmin_test): Likewise.
17183 (fmod_test): Likewise.
17184 (fpclassify_test): Likewise.
17185 (frexp_test): Likewise.
17186 (hypot_test): Likewise.
17187 (ilogb_test): Likewise.
17188 (isfinite_test): Likewise.
17189 (finite_test): Likewise.
17190 (isgreater_test): Likewise.
17191 (isgreaterequal_test): Likewise.
17192 (isinf_test): Likewise.
17193 (isless_test): Likewise.
17194 (islessequal_test): Likewise.
17195 (islessgreater_test): Likewise.
17196 (isnan_test): Likewise.
17197 (isnormal_test): Likewise.
17198 (issignaling_test): Likewise.
17199 (isunordered_test): Likewise.
17200 (j0_test): Likewise.
17201 (j1_test): Likewise.
17202 (jn_test): Likewise.
17203 (ldexp_test): Likewise.
17204 (lgamma_test): Likewise.
17205 (gamma_test): Likewise.
17206 (lrint_test): Likewise.
17207 (lrint_test_tonearest): Likewise.
17208 (lrint_test_towardzero): Likewise.
17209 (lrint_test_downward): Likewise.
17210 (lrint_test_upward): Likewise.
17211 (llrint_test): Likewise.
17212 (llrint_test_tonearest): Likewise.
17213 (llrint_test_towardzero): Likewise.
17214 (llrint_test_downward): Likewise.
17215 (llrint_test_upward): Likewise.
17216 (log_test): Likewise.
17217 (log10_test): Likewise.
17218 (log1p_test): Likewise.
17219 (log2_test): Likewise.
17220 (logb_test): Likewise.
17221 (logb_test_downward): Likewise.
17222 (lround_test): Likewise.
17223 (llround_test): Likewise.
17224 (modf_test): Likewise.
17225 (nearbyint_test): Likewise.
17226 (nextafter_test): Likewise.
17227 (nexttoward_test): Likewise.
17228 (pow_test): Likewise.
17229 (pow_test_tonearest): Likewise.
17230 (pow_test_towardzero): Likewise.
17231 (pow_test_downward): Likewise.
17232 (pow_test_upward): Likewise.
17233 (remainder_test): Likewise.
17234 (drem_test): Likewise.
17235 (remainder_test_tonearest): Likewise.
17236 (drem_test_tonearest): Likewise.
17237 (remainder_test_towardzero): Likewise.
17238 (drem_test_towardzero): Likewise.
17239 (remainder_test_downward): Likewise.
17240 (drem_test_downward): Likewise.
17241 (remainder_test_upward): Likewise.
17242 (drem_test_upward): Likewise.
17243 (remquo_test): Likewise.
17244 (rint_test): Likewise.
17245 (rint_test_tonearest): Likewise.
17246 (rint_test_towardzero): Likewise.
17247 (rint_test_downward): Likewise.
17248 (rint_test_upward): Likewise.
17249 (round_test): Likewise.
17250 (scalb_test): Likewise.
17251 (scalbn_test): Likewise.
17252 (scalbln_test): Likewise.
17253 (signbit_test): Likewise.
17254 (sin_test): Likewise.
17255 (sin_test_tonearest): Likewise.
17256 (sin_test_towardzero): Likewise.
17257 (sin_test_downward): Likewise.
17258 (sin_test_upward): Likewise.
17259 (sincos_test): Likewise.
17260 (sinh_test): Likewise.
17261 (sinh_test_tonearest): Likewise.
17262 (sinh_test_towardzero): Likewise.
17263 (sinh_test_downward): Likewise.
17264 (sinh_test_upward): Likewise.
17265 (sqrt_test): Likewise.
17266 (sqrt_test_tonearest): Likewise.
17267 (sqrt_test_towardzero): Likewise.
17268 (sqrt_test_downward): Likewise.
17269 (sqrt_test_upward): Likewise.
17270 (tan_test): Likewise.
17271 (tan_test_tonearest): Likewise.
17272 (tan_test_towardzero): Likewise.
17273 (tan_test_downward): Likewise.
17274 (tan_test_upward): Likewise.
17275 (tanh_test): Likewise.
17276 (tgamma_test): Likewise.
17277 (trunc_test): Likewise.
17278 (y0_test): Likewise.
17279 (y1_test): Likewise.
17280 (yn_test): Likewise.
17281 (significand_test): Likewise.
17283 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17284 individual tests in comment.
17285 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17286 (prev_max_error): New variable.
17287 (prev_real_max_error): Likewise.
17288 (prev_imag_max_error): Likewise.
17289 (compare_ulp_data): Don't refer to test names in comment.
17290 (find_test_ulps): Remove function.
17291 (find_function_ulps): Likewise.
17292 (find_complex_function_ulps): Likewise.
17293 (init_max_error): Take function name as argument. Look up ulps
17295 (print_ulps): Remove function.
17296 (print_max_error): Use prev_max_error instead of calling
17297 find_function_ulps.
17298 (print_complex_max_error): Use prev_real_max_error and
17299 prev_imag_max_error instead of calling find_complex_function_ulps.
17300 (check_float_internal): Take max_ulp parameter instead of calling
17301 find_test_ulps. Don't call print_ulps.
17302 (check_float): Update call to check_float_internal.
17303 (check_complex): Update calls to check_float_internal.
17304 (START): Pass argument to init_max_error.
17305 * math/gen-libm-test.pl (%results): Don't include "kind"
17307 (parse_ulps): Don't handle ulps of individual tests.
17308 (print_ulps_file): Likewise.
17309 (output_ulps): Likewise.
17310 * math/README.libm-test: Update.
17311 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17313 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17314 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17315 * sysdeps/arm/libm-test-ulps: Likewise.
17316 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17317 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17318 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17319 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17320 * sysdeps/microblaze/libm-test-ulps: Likewise.
17321 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17322 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17324 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17325 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17326 * sysdeps/sh/libm-test-ulps: Likewise.
17327 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17328 * sysdeps/tile/libm-test-ulps: Likewise.
17329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17331 2014-03-04 Joseph Myers <joseph@codesourcery.com>
17333 * math/libm-test.inc (print_complex_max_error): Check separately
17334 whether real and imaginary errors are within allowed range and
17335 pass 0 to print_complex_function_ulps instead of value within
17338 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17340 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17342 (get_handles_fopen): Likewise.
17343 (do_write_test): Likewise.
17345 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17347 * libio/fileops.c (do_ftell): Use cached offset when
17349 * libio/iofwide.c (do_ftell_wide): Likewise.
17350 * libio/iofdopen.c (_IO_new_fdopen): Don't use
17352 * libio/wfileops.c (_IO_fwide): Don't cache offset.
17355 * libio/libioP.h (get_file_offset): New function.
17356 * libio/fileops.c (get_file_offset): Likewise.
17357 (do_ftell): Likewise.
17358 (_IO_new_file_seekoff): Split out ftell logic.
17359 * libio/wfileops.c (do_ftell_wide): Likewise.
17360 (_IO_wfile_seekoff): Split out ftell logic.
17361 * libio/tst-ftell-active-handler.c: New test case.
17362 * libio/Makefile (tests): Add it.
17364 2014-03-03 Roland McGrath <roland@hack.frob.com>
17366 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17367 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17369 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
17372 * nscd/connections.c (nscd_init): Call do_exit.
17373 (start_threads): Call do_exit and notify_parent.
17374 (begin_drop_privileges): Call do_exit.
17375 (finish_drop_privileges): Likewise.
17376 * nscd/selinux.c (preserve_capabilities): Likewise.
17377 (install_real_capabilities): Likewise.
17378 (nscd_selinux_enabled): Likewise.
17379 (avc_create_thread): Likewise.
17380 (avc_alloc_lock): Likewise.
17381 (nscd_avc_init): Likewise.
17382 * nscd/nscd.c (parent_fd): New static variable.
17383 (main): Create a pipe between parent and child processes.
17384 Skip closing parent_fd.
17385 (monitor_child): New function.
17386 (do_exit): Likewise.
17387 (notify_parent): Likewise.
17388 * nscd/nscd.h (notify_parent): Likewise.
17389 (do_exit): Likewise.
17391 2014-03-03 Carlos O'Donell <carlos@redhat.com>
17393 * malloc/malloc.c (__libc_calloc): Revert last change.
17395 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17399 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17401 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17405 (__libc_ifunc_impl_list): Likewise.
17406 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17407 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17408 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17409 * string/strrchr.c: Define STRRCHR.
17411 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
17413 * benchtest/bench-strtok.c (simple_strtok): Delete.
17414 (strtok_string): Use as benchmark.
17415 * string/strtok (STRTOK): New macro.
17417 2014-02-28 Carlos O'Donell <carlos@redhat.com>
17419 * manual/threads.texi: Add header and standard comments to all
17422 * elf/dl-lookup.c (check_match): New function.
17423 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17424 (do_lookup_x): Remove nested function check_match. Use non-nested
17425 function check_match.
17427 2014-02-28 Roland McGrath <roland@hack.frob.com>
17429 * csu/Makefile (generated, before-compile): Use += rather than =.
17430 * catgets/Makefile (generated, generated-dirs): Likewise.
17431 * debug/Makefile (generated): Likewise.
17432 * dlfcn/Makefile (generated): Likewise.
17433 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17434 * iconvdata/Makefile (before-compile, generated): Likewise.
17435 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17436 * libio/Makefile (generated): Likewise.
17437 * malloc/Makefile (generated): Likewise.
17438 * manual/Makefile (generated, generated-dirs): Likewise.
17439 * misc/Makefile (generated): Likewise.
17440 * posix/Makefile (generated): Likewise.
17441 * resolv/Makefile (generated): Likewise.
17442 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17443 * timezone/Makefile (generated, generated-dirs): Likewise.
17445 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17447 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17450 power8 implementation.
17451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17452 file: POWER8 llround ifunc implementation.
17453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17454 (__lllround): Add POWER8 implementation.
17455 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17456 POWER8 llround implementation.
17458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17459 power8 implementation.
17460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17461 file: POWER8 llrint ifunc implementation.
17462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17463 Add POWER8 implementation.
17464 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17465 POWER8 llrint implementation.
17467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17468 power8 implementation.
17469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17470 file: POWER8 finite ifunc implementation.
17471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17472 Add POWER8 implementation.
17473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17475 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17476 POWER8 finite implementation.
17477 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17480 power8 implementation.
17481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17482 file: POWER8 isinf ifunc implementation.
17483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17484 POWER8 implementation.
17485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17487 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17488 isinf implementation.
17489 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17491 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17492 (INIT_ARCH): Add hwcap2 initialization.
17493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17494 power8 implementation.
17495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17496 file: POWER8 isnan ifunc implementation.
17497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17498 POWER8 implementation.
17499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17501 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17502 isnan implementation.
17503 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17505 2014-02-27 Joey Ye <joey.ye@arm.com>
17507 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17508 (_FP_NANFRAC_Q): Set to zero.
17510 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17513 * math/auto-libm-test-in: New test inputs.
17514 * math/auto-libm-test-out: Regenerate.
17515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17518 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17520 2014-02-27 Joseph Myers <joseph@codesourcery.com>
17522 * scripts/evaluate-test.sh: Take new argument indicating whether
17523 failure is expected.
17524 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17525 indicating whether failure is expected.
17526 * conform/Makefile (test-xfail-run-conformtest): New variable.
17527 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17529 * posix/Makefile (test-xfail-annexc): New variable.
17530 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17532 2014-02-26 Joseph Myers <joseph@codesourcery.com>
17534 * argp/Makefile: Include Makeconfig immediately after defining
17536 * assert/Makefile: Likewise.
17537 * benchtests/Makefile: Likewise.
17538 * catgets/Makefile: Likewise.
17539 * conform/Makefile: Likewise.
17540 * crypt/Makefile: Likewise.
17541 * csu/Makefile: Likewise.
17542 (all): Remove target.
17543 * ctype/Makefile: Include Makeconfig immediately after defining
17545 * debug/Makefile: Likewise.
17546 * dirent/Makefile: Likewise.
17547 * dlfcn/Makefile: Likewise.
17548 * gmon/Makefile: Likewise.
17549 * gnulib/Makefile: Likewise.
17550 * grp/Makefile: Likewise.
17551 * gshadow/Makefile: Likewise.
17552 * hesiod/Makefile: Likewise.
17553 * hurd/Makefile: Likewise.
17554 (all): Remove target.
17555 * iconvdata/Makefile: Include Makeconfig immediately after
17557 * inet/Makefile: Likewise.
17558 * intl/Makefile: Likewise.
17559 * io/Makefile: Likewise.
17560 * libio/Makefile: Likewise.
17561 (all): Remove target.
17562 * locale/Makefile: Include Makeconfig immediately after defining
17564 * login/Makefile: Likewise.
17565 * mach/Makefile: Likewise.
17566 (all): Remove target.
17567 * malloc/Makefile: Include Makeconfig immediately after defining
17569 (all): Remove target.
17570 * manual/Makefile: Include Makeconfig immediately after defining
17572 * math/Makefile: Likewise.
17573 * misc/Makefile: Likewise.
17574 * nis/Makefile: Likewise.
17575 * nss/Makefile: Likewise.
17576 * po/Makefile: Likewise.
17577 (all): Remove target.
17578 * posix/Makefile: Include Makeconfig immediately after defining
17580 * pwd/Makefile: Likewise.
17581 * resolv/Makefile: Likewise.
17582 * resource/Makefile: Likewise.
17583 * rt/Makefile: Likewise.
17584 * setjmp/Makefile: Likewise.
17585 * shadow/Makefile: Likewise.
17586 * signal/Makefile: Likewise.
17587 * socket/Makefile: Likewise.
17588 * soft-fp/Makefile: Likewise.
17589 * stdio-common/Makefile: Likewise.
17590 * stdlib/Makefile: Likewise.
17591 * streams/Makefile: Likewise.
17592 * string/Makefile: Likewise.
17593 * sunrpc/Makefile: Likewise.
17594 (all): Remove target.
17595 * sysvipc/Makefile: Include Makeconfig immediately after defining
17597 * termios/Makefile: Likewise.
17598 * time/Makefile: Likewise.
17599 * timezone/Makefile: Likewise.
17600 (all): Remove target.
17601 * wcsmbs/Makefile: Include Makeconfig immediately after defining
17603 * wctype/Makefile: Likewise.
17605 2014-02-26 Steve Ellcey <sellcey@mips.com>
17607 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17608 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17609 (libc_feholdexcept_setround_mips): Ditto.
17610 (libc_feholdsetround): New.
17611 (libc_feholdsetroundf): New.
17612 (libc_feholdsetroundl): New.
17613 (libc_feupdateenv_test_mips): New.
17614 (libc_feupdateenv_test): New.
17615 (libc_feupdateenv_testf): New.
17616 (libc_feupdateenv_testl): New.
17617 (libc_feresetround): New.
17618 (libc_feresetroundf): New.
17619 (libc_feresetroundl): New.
17620 (libc_fetestexcept_mips): New.
17621 (libc_fetestexcept): New.
17622 (libc_fetestexceptf): New.
17623 (libc_fetestexceptl): New.
17624 (HAVE_RM_CTX): New.
17625 (libc_feholdexcept_setround_mips_ctx): New.
17626 (libc_feholdexcept_setround_ctx): New.
17627 (libc_feholdexcept_setroundf_ctx): New.
17628 (libc_feholdexcept_setroundl_ctx): New.
17629 (libc_fesetenv_mips_ctx): New.
17630 (libc_fesetenv_ctx): New.
17631 (libc_fesetenv_ctxf): New.
17632 (libc_fesetenv_ctxl): New.
17633 (libc_feupdateenv_mips_ctx): New.
17634 (libc_feupdateenv_ctx): New.
17635 (libc_feupdateenvf_ctx): New.
17636 (libc_feupdateenvl_ctx): New.
17637 (libc_feholdsetround_mips_ctx): New.
17638 (libc_feholdsetround_ctx): New.
17639 (libc_feholdsetroundf_ctx): New.
17640 (libc_feholdsetroundl_ctx): New.
17641 (libc_feresetround_mips_ctx): New.
17642 (libc_feresetround_ctx): New.
17643 (libc_feresetroundf_ctx): New.
17644 (libc_feresetroundl_ctx): New.
17646 2014-02-26 Carlos O'Donell <carlos@redhat.com>
17648 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17650 * manual/ipc.texi: New file.
17651 * manual/Makefile (chapters): Add ipc.
17652 * manual/job.texi: Add "Inter-Process Communication" to next.
17653 * manual/process.texi: Add "Inter-Process Communication" to prev.
17655 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17659 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
17661 * malloc/malloc.c (__libc_calloc): Simplify implementation.
17663 * manual/arith.texi: Fix spaces after sentences.
17664 * manual/charset.texi: Likewise.
17665 * manual/errno.texi: Likewise.
17666 * manual/install.texi: Likewise.
17667 * manual/llio.texi: Likewise.
17668 * manual/locale.texi: Likewise.
17669 * manual/maint.texi: Likewise.
17670 * manual/math.texi: Likewise.
17671 * manual/memory.texi: Likewise.
17672 * manual/message.texi: Likewise.
17673 * manual/probes.texi: Likewise.
17674 * manual/resource.texi: Likewise.
17675 * manual/signal.texi: Likewise.
17676 * manual/socket.texi: Likewise.
17677 * manual/stdio.texi: Likewise.
17678 * manual/string.texi: Likewise.
17679 * manual/time.texi: Likewise.
17680 * manual/users.texi: Likewise.
17682 2014-02-25 Carlos O'Donell <carlos@redhat.com>
17685 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17686 _DEFAULT_SOURCE is defined.
17688 2014-02-25 Ulrich Drepper <drepper@gmail.com>
17689 Carlos O'Donell <carlos@redhat.com>
17692 * elf/dl-tls.c (_dl_count_modids): New function.
17693 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17694 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17695 audit library and increment generation counter.
17696 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17697 * elf/tst-audit9.c: New file.
17698 * elf/tst-auditmod9a.c: New file.
17699 * elf/tst-auditmod9b.c: New file.
17700 * elf/Makefile: Add rules to build and run tst-audit9.
17702 2014-02-25 Florian Weimer <fweimer@redhat.com>
17705 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17707 2014-02-25 Will Newton <will.newton@linaro.org>
17709 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17710 (__longjmp): Restore sp and lr before restoring callee
17711 saved registers. Add longjmp and longjmp_target
17712 SystemTap probe point.
17713 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17714 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17715 Define to zero to match jmpbuf layout.
17716 * sysdeps/arm/setjmp.S: Include stap-probe.h.
17717 (__sigsetjmp): Save sp and lr before saving callee
17718 saved registers. Add setjmp SystemTap probe point.
17720 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17722 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17724 2014-02-24 Andreas Schwab <schwab@suse.de>
17727 * elf/pldd.c (wait_for_ptrace_stop): New function.
17728 (main): Call it after attaching.
17730 2014-02-22 Roland McGrath <roland@hack.frob.com>
17732 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17733 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17734 Versions files is now verboten.
17735 * hurd/Versions (libc: GLIBC_2.0):
17736 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17737 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17738 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17739 * mach/Versions: Likewise.
17741 * csu/Versions: Remove unused %include.
17742 * resolv/Versions: Likewise.
17744 2014-02-21 Joseph Myers <joseph@codesourcery.com>
17746 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17747 ($(objpfx)check-local-headers.out): Likewise.
17748 ($(objpfx)begin-end-check.out): Likewise.
17749 * Makerules (check-abi-%.out): Likewise.
17750 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17751 ($(objpfx)test2.cat): Likewise.
17752 ($(objpfx)de/libc.cat): Likewise.
17753 ($(objpfx)test-gencat.out): Likewise.
17754 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17755 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17756 ($(objpfx)noload-mem): Likewise.
17757 ($(objpfx)tst-pathopt.out): Likewise.
17758 ($(objpfx)tst-rtld-load-self.out): Likewise.
17759 ($(objpfx)tst-array1-cmp.out): Likewise.
17760 ($(objpfx)tst-array1-static-cmp.out): Likewise.
17761 ($(objpfx)tst-array2-cmp.out): Likewise.
17762 ($(objpfx)tst-array3-cmp.out): Likewise.
17763 ($(objpfx)tst-array4-cmp.out): Likewise.
17764 ($(objpfx)tst-array5-cmp.out): Likewise.
17765 ($(objpfx)tst-array5-static-cmp.out): Likewise.
17766 ($(objpfx)check-textrel.out): Likewise.
17767 ($(objpfx)check-execstack.out): Likewise.
17768 ($(objpfx)check-localplt.out): Likewise.
17769 ($(objpfx)order2-cmp.out): Likewise.
17770 ($(objpfx)tst-leaks1-mem): Likewise.
17771 ($(objpfx)tst-leaks1-static-mem): Likewise.
17772 ($(objpfx)tst-initorder-cmp.out): Likewise.
17773 ($(objpfx)tst-initorder2-cmp.out): Likewise.
17774 ($(objpfx)tst-unused-dep.out): Likewise.
17775 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17776 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17777 * iconv/Makefile (test-iconvconfig): Likewise.
17778 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17779 ($(objpfx)iconv-test.out): Likewise.
17780 ($(objpfx)tst-tables.out): Likewise.
17781 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17782 ($(objpfx)tst-gettext.out): Likewise.
17783 ($(objpfx)tst-translit.out): Likewise.
17784 ($(objpfx)tst-gettext2.out): Likewise.
17785 ($(objpfx)tst-gettext4.out): Likewise.
17786 ($(objpfx)tst-gettext6.out): Likewise.
17787 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17788 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17789 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17790 ($(objpfx)tst-fopenloc-mem.out): Likewise.
17791 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17792 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17793 * posix/Makefile ($(objpfx)globtest.out): Likewise.
17794 ($(objpfx)wordexp-tst.out): Likewise.
17795 ($(objpfx)annexc.out): Likewise.
17796 ($(objpfx)tst-fnmatch-mem): Likewise.
17797 ($(objpfx)bug-regex2-mem): Likewise.
17798 ($(objpfx)bug-regex14-mem): Likewise.
17799 ($(objpfx)bug-regex21-mem): Likewise.
17800 ($(objpfx)bug-regex31-mem): Likewise.
17801 ($(objpfx)tst-vfork3-mem): Likewise.
17802 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17803 ($(objpfx)tst-pcre-mem): Likewise.
17804 ($(objpfx)tst-boost-mem): Likewise.
17805 ($(objpfx)tst-getconf.out): Likewise.
17806 ($(objpfx)bug-ga2-mem): Likewise.
17807 ($(objpfx)bug-glob2-mem): Likewise.
17808 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17809 ($(objpfx)mtrace-tst-leaks2): Likewise.
17810 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17811 ($(objpfx)tst-printf.out): Likewise.
17812 ($(objpfx)tst-setvbuf1.out): Likewise.
17813 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17814 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17815 ($(objpfx)tst-fmtmsg.out): Likewise.
17816 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17817 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17819 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17820 * bits/sigaction.h [__USE_MISC]: Likewise.
17821 * bits/waitstatus.h: Update #endif comments.
17822 * ctype/ctype.h: Likewise.
17823 * dirent/dirent.h: Likewise.
17824 [__USE_MISC]: Remove redundant conditionals.
17825 * grp/grp.h: Update #endif comments.
17826 [__USE_GNU]: Remove redundant conditionals.
17827 [__USE_MISC]: Likewise.
17828 * inet/netinet/in.h [__USE_GNU]: Likewise.
17829 * io/sys/stat.h [__USE_MISC]: Likewise.
17830 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17831 * libio/bits/stdio.h: Update #endif comments.
17832 [__USE_MISC]: Remove redundant conditionals.
17833 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17834 * libio/stdio.h: Update #endif comments.
17835 [__USE_MISC]: Remove redundant conditionals.
17836 * math/bits/math-finite.h [__USE_MISC]: Likewise.
17837 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17838 * math/math.h: Update #else and #endif comments.
17839 [__USE_MISC]: Remove redundant conditionals.
17840 * misc/sys/uio.h: Update #endif comments.
17841 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17842 * posix/glob.h [__USE_MISC]: Likewise.
17843 * posix/sys/types.h: Update #endif comments.
17844 [__USE_MISC]: Remove redundant conditionals.
17845 * posix/sys/wait.h: Update #endif comments.
17846 [__USE_MISC]: Remove redundant conditionals.
17847 * posix/unistd.h: Update #endif comments.
17848 [__USE_MISC]: Remove redundant conditionals.
17849 * pwd/pwd.h [__USE_GNU]: Likewise.
17850 [__USE_MISC]: Likewise.
17851 * resolv/netdb.h [__USE_GNU]: Likewise.
17852 * signal/signal.h: Update #endif comments.
17853 [__USE_MISC]: Remove redundant conditionals.
17854 * stdlib/stdlib.h: Update #else and #endif comments.
17855 [__USE_MISC]: Remove redundant conditionals.
17856 [__USE_GNU]: Likewise.
17857 * string/bits/string2.h [__USE_MISC]: Likewise.
17858 * string/string.h: Update #endif comments.
17859 [__USE_MISC]: Remove redundant conditionals.
17860 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17862 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17863 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17864 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17866 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17870 [__USE_MISC]: Remove redundant conditionals.
17871 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17872 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17873 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17874 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17875 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17877 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17878 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17880 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17881 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17883 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17885 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17886 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17888 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17890 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17891 * sysdeps/x86/bits/string.h: Update #endif comments.
17892 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17894 * time/sys/time.h: Update #endif comments.
17895 * time/time.h: Likewise.
17896 [__USE_MISC]: Remove redundant conditionals.
17898 2014-02-21 Yury Gribov <y.gribov@samsung.com>
17901 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17903 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
17905 * Versions.def (librt): Add GLIBC_2.17.
17907 2014-02-21 Adam Conrad <adconrad@0c3.net>
17909 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17910 synonym for _SYS_AUXV_H to allow direct inclusion.
17911 * sysdeps/sparc/bits/hwcap.h: Likewise.
17912 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17913 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17914 * sysdeps/sparc/sysdep.h: Likewise.
17916 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17918 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17920 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17922 * benchtests/bench-strrchr.c: Print length instead of position.
17924 2014-02-20 Joseph Myers <joseph@codesourcery.com>
17927 * sysdeps/unix/sysv/linux/kernel-features.h
17928 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17929 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17930 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17931 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17933 [__i386__ || __powerpc__ || __sh__ || __sparc__]
17934 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17935 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17936 (__ASSUME_SENDMMSG): Define instead of using previous
17937 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17938 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17939 (__ASSUME_SENDMMSG_SYSCALL): Define.
17940 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17941 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17943 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17944 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17946 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17947 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17949 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17950 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17951 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17952 [__ASSUME_SENDMMSG]: Change conditionals to
17953 [__ASSUME_SENDMMSG_SOCKETCALL].
17954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17955 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17957 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17958 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17960 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17961 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17962 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17963 [!__ASSUME_SENDMMSG]: Change conditional to
17964 [!__ASSUME_SENDMMSG_SOCKETCALL].
17965 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17966 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17970 * sysdeps/unix/sysv/linux/kernel-features.h
17971 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17972 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17973 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17974 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17975 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17976 [__i386__ || __sparc__]
17977 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17978 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17979 (__ASSUME_RECVMMSG): Define instead of using previous
17980 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17981 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17982 (__ASSUME_RECVMMSG_SYSCALL): Define.
17983 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17984 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17986 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17987 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17989 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17990 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17992 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17993 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17994 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17995 [__ASSUME_RECVMMSG]: Change condition to
17996 [__ASSUME_RECVMMSG_SOCKETCALL].
17997 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17998 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18000 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18001 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18002 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18004 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18005 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18006 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18007 [!__ASSUME_RECVMMSG]: Change condition to
18008 [!__ASSUME_RECVMMSG_SOCKETCALL].
18009 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18010 (__ASSUME_RECVMMSG_SYSCALL): Define.
18013 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18014 __powerpc__ || __s390__ || __sh__ || __sparc__]
18015 (__ASSUME_SOCKETCALL): Define.
18016 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18017 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18018 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18019 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18020 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18021 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18022 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18023 (__ASSUME_ACCEPT4): Define instead of using previous
18024 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18025 __powerpc__ || __sparc__ || __s390__)] condition.
18026 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18027 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18028 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18029 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18030 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18031 [!__ASSUME_ACCEPT4]: Change condition to
18032 [!__ASSUME_ACCEPT4_SOCKETCALL].
18033 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18034 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18035 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18036 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18037 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18038 __ASSUME_ACCEPT4_SYSCALL.
18039 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18040 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18041 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18042 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18043 __ASSUME_ACCEPT4_SYSCALL.
18044 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18045 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18046 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18047 [__ASSUME_ACCEPT4]: Change condition to
18048 [__ASSUME_ACCEPT4_SOCKETCALL].
18049 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18050 (__ASSUME_SOCKETCALL): Define.
18051 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18053 (__ASSUME_SOCKETCALL): Define.
18054 (__ASSUME_ACCEPT4): Remove.
18055 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18057 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18058 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18060 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18061 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18063 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18065 (HWCAP_ARM_LPAE): Likewise.
18066 (HWCAP_ARM_EVTSTRM): Likewise.
18067 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18068 Add vpfd32, lpae and evtstrm.
18069 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18072 2014-02-19 Joseph Myers <joseph@codesourcery.com>
18074 * math/auto-libm-test-in: Add tests of clog10.
18075 * math/auto-libm-test-out: Regenerated.
18076 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18077 * sysdeps/i386/fpu/libm-test-ulps: Update.
18078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18080 2014-02-18 Andreas Schwab <schwab@suse.de>
18083 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18084 Store non-zero if the second buffer was newly allocated.
18085 (send_dg): Likewise.
18086 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18087 to send_vc and send_dg.
18088 (res_nsend): Pass NULL for ansp2_malloced.
18089 * resolv/res_query.c (__libc_res_nquery): Add parameter
18090 answerp2_malloced and pass it down to __libc_res_nsend.
18091 (res_nquery): Pass additional NULL to __libc_res_nquery.
18092 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18093 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18094 second answer buffer if answerp2_malloced was set.
18095 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18096 (__libc_res_nquerydomain): Add parameter
18097 answerp2_malloced and pass it down to __libc_res_nquery.
18098 (res_nquerydomain): Pass additional NULL to
18099 __libc_res_nquerydomain.
18100 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18101 additional NULL to __libc_res_nsend and __libc_res_nquery.
18102 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18103 additional NULL to __libc_res_nsearch.
18104 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18105 parameter of __libc_res_nsearch to check for separately allocated
18107 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18109 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18110 additional NULL to __libc_res_nquery.
18111 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18112 __libc_res_nsearch.
18113 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18114 * include/resolv.h: Update prototypes of __libc_res_nquery,
18115 __libc_res_nsearch, __libc_res_nsend.
18117 2014-02-18 Joseph Myers <joseph@codesourcery.com>
18119 * math/auto-libm-test-in: Add tests of fma.
18120 * math/auto-libm-test-out: Regenerated.
18121 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18122 (fma_towardzero_test_data): Likewise.
18123 (fma_downward_test_data): Likewise.
18124 (fma_upward_test_data): Likewise.
18125 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18127 (rounding_modes): Add values for new field.
18128 (func_calc_method): Add value mpfr_fff_f.
18129 (func_calc_desc): Add mpfr_fff_f union field.
18130 (test_function): Add field exact_args.
18131 (FUNC): Add macro argument EXACT_ARGS.
18132 (FUNC_mpfr_f_f): Update call to FUNC.
18133 (FUNC_mpfr_f_f): Likewise.
18134 (FUNC_mpfr_ff_f): Likewise.
18135 (FUNC_mpfr_if_f): Likewise.
18136 (FUNC_mpc_c_f): Likewise.
18137 (FUNC_mpc_c_c): Likewise.
18138 (test_functions): Add fma. Update calls to FUNC.
18139 (handle_input_arg): Add argument exact_args.
18140 (add_test): Update call to handle_input_arg.
18141 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18142 (output_for_one_input_case): Update call to calc_generic_results.
18143 Recalculate exact zero results in each rounding mode.
18145 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18146 non-negative before setting low bit.
18147 * math/auto-libm-test-in: Mark one asin test possibly having
18148 spurious underflow.
18149 * math/auto-libm-test-out: Regenerated.
18150 * sysdeps/i386/fpu/libm-test-ulps: Update.
18151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18153 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18155 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18156 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18157 ports/sysdeps/unix/sysv/linux/microblaze.
18158 * README: Add missing listing for microblaze*-*-linux-gnu.
18160 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
18162 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18165 2014-02-16 Mike Frysinger <vapier@gentoo.org>
18167 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18168 * sysdeps/unix/sysv/linux/ia64: Move directory from
18169 ports/sysdeps/unix/sysv/linux/ia64.
18170 * README: Update listing for ia64-*-linux-gnu.
18172 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18173 Joseph Myers <joseph@codesourcery.com>
18175 * Makeconfig (test-name): New variable.
18176 (evaluate-test): Likewise.
18177 * Makerules (do-test-clean): Remove .test-result files.
18178 (common-mostlyclean): Likewise.
18179 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18180 * scripts/evaluate-test.sh: New file.
18182 2014-02-14 Joseph Myers <joseph@codesourcery.com>
18184 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18185 separate $(objpfx)tst-fopenloc-cmp.out and
18186 $(objpfx)tst-fopenloc-mem.out targets.
18187 (tests): Update dependencies.
18188 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18189 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18190 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18191 (tst-rxspencer-no-utf8-ARGS): New variable.
18192 (tst-rxspencer-no-utf8-ENV): Likewise.
18193 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18194 instead of $(objpfx)tst-rxspencer-mem.
18195 ($(objpfx)tst-rxspencer-mem): Change target to
18196 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18197 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18198 * posix/tst-rxspencer-no-utf8.c: New file.
18200 * elf/Makefile ($(objpfx)order.out): Remove rule.
18201 [$(run-built-tests) = yes] (tests): Depend on
18202 $(objpfx)order-cmp.out.
18203 ($(objpfx)order-cmp.out): New rule.
18204 [$(run-built-tests) = yes] (tests): Depend on
18205 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18206 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18207 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18208 $(objpfx)tst-array5-static-cmp.out.
18209 ($(objpfx)tst-array1.out): Remove rule.
18210 ($(objpfx)tst-array1-cmp.out): New rule.
18211 ($(objpfx)tst-array1-static.out): Remove rule.
18212 ($(objpfx)tst-array1-static-cmp.out): New rule.
18213 ($(objpfx)tst-array2.out): Remove rule.
18214 ($(objpfx)tst-array2-cmp.out): New rule.
18215 ($(objpfx)tst-array3.out): Remove rule.
18216 ($(objpfx)tst-array3-cmp.out): New rule.
18217 ($(objpfx)tst-array4.out): Remove rule.
18218 ($(objpfx)tst-array4-cmp.out): New rule.
18219 ($(objpfx)tst-array5.out): Remove rule.
18220 ($(objpfx)tst-array5-cmp.out): New rule.
18221 ($(objpfx)tst-array5-static.out): Remove rule.
18222 ($(objpfx)tst-array5-static-cmp.out): New rule.
18223 [$(run-built-tests) = yes] (tests): Depend on
18224 $(objpfx)order2-cmp.out.
18225 ($(objpfx)order2.out): Remove rule.
18226 ($(objpfx)order2-cmp.out): New rule.
18227 ($(objpfx)tst-initorder.out): Remove rule.
18228 [$(run-built-tests) = yes] (tests): Depend on
18229 $(objpfx)tst-initorder-cmp.out.
18230 ($(objpfx)tst-initorder-cmp.out): New rule.
18231 ($(objpfx)tst-initorder2.out): Remove rule.
18232 [$(run-built-tests) = yes] (tests): Depend on
18233 $(objpfx)tst-initorder2-cmp.out.
18234 ($(objpfx)tst-initorder2-cmp.out): New rule.
18235 [$(run-built-tests) = yes] (tests): Depend on
18236 $(objpfx)tst-unused-dep-cmp.out.
18237 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18238 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18239 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18240 on $(objpfx)tst-setvbuf1-cmp.out.
18241 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18242 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18243 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18244 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18245 ($(objpfx)tst-svc.out): Remove rule.
18246 ($(objpfx)tst-svc-cmp.out): New rule.
18248 2014-02-13 Joseph Myers <joseph@codesourcery.com>
18250 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18251 * ctype/ctype.h [__USE_MISC]: Likewise.
18252 * dirent/dirent.h [__USE_MISC]: Likewise.
18253 * grp/grp.h [__USE_MISC]: Likewise.
18254 * io/fcntl.h [__USE_MISC]: Likewise.
18255 * io/sys/stat.h [__USE_MISC]: Likewise.
18256 * libio/stdio.h [__USE_MISC]: Likewise.
18257 * posix/unistd.h [__USE_MISC]: Likewise.
18258 * pwd/pwd.h [__USE_MISC]: Likewise.
18259 * stdlib.h [__USE_MISC]: Likewise.
18260 * string/bits/string2.h [__USE_MISC]: Likewise.
18261 * string/string.h [__USE_MISC]: Likewise.
18262 * time/time.h [__USE_MISC]: Likewise.
18264 2014-02-13 Andreas Schwab <schwab@suse.de>
18267 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18268 second answer buffer if it was separately allocated.
18270 2014-02-12 Joseph Myers <joseph@codesourcery.com>
18272 * sysdeps/mips/math-tests.h: Include <features.h>.
18273 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18274 (ROUNDING_TESTS_long_double): Do not define.
18275 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18276 (EXCEPTION_TESTS_long_double): Likewise.
18277 * sysdeps/mips/mips64/libm-test-ulps: Update.
18279 * include/features.h (__USE_BSD): Remove macro definitions.
18280 (__USE_SVID): Likewise.
18281 (_BSD_SOURCE): Likewise.
18282 (_SVID_SOURCE): Likewise.
18283 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18284 from definition of _DEFAULT_SOURCE.
18285 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18287 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18288 * bits/mman.h [__USE_BSD]: Likewise.
18289 * bits/termios.h [__USE_BSD]: Likewise.
18290 * bits/waitstatus.h [__USE_BSD]: Likewise.
18291 * ctype/ctype.h [__USE_SVID]: Likewise.
18292 * dirent/dirent.h [__USE_BSD]: Likewise.
18293 * grp/grp.h [__USE_SVID]: Likewise.
18294 [__USE_BSD]: Likewise.
18295 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18296 * io/fcntl.h [__USE_BSD]: Likewise.
18297 * io/ftw.h [__USE_BSD]: Likewise.
18298 * io/sys/stat.h [__USE_BSD]: Likewise.
18299 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18300 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18301 * libio/stdio.h [__USE_SVID]: Likewise.
18302 [__USE_BSD]: Likewise.
18303 * math/math.h [__USE_SVID]: Likewise.
18304 [__USE_BSD]: Likewise.
18305 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18306 * misc/bits/syslog.h [__USE_BSD]: Likewise.
18307 * misc/search.h [__USE_SVID]: Likewise.
18308 * misc/sys/mman.h [__USE_BSD]: Likewise.
18309 * misc/sys/syslog.h [__USE_BSD]: Likewise.
18310 * misc/sys/uio.h [__USE_BSD]: Likewise.
18311 * posix/bits/unistd.h [__USE_BSD]: Likewise.
18312 * posix/glob.h [__USE_BSD]: Likewise.
18313 * posix/regex.h [__USE_BSD]: Likewise.
18314 * posix/sys/types.h [__USE_BSD]: Likewise.
18315 [__USE_SVID]: Likewise.
18316 * posix/sys/utsname.h [__USE_SVID]: Likewise.
18317 * posix/sys/wait.h [__USE_BSD]: Likewise.
18318 [__USE_SVID]: Likewise.
18319 * posix/unistd.h [__USE_BSD]: Likewise.
18320 [__USE_SVID]: Likewise.
18321 * pwd/pwd.h [__USE_SVID]: Likewise.
18322 * resolv/netdb.h [__USE_BSD]: Likewise.
18323 * setjmp/setjmp.h [__USE_BSD]: Likewise.
18324 * signal/signal.h [__USE_BSD]: Likewise.
18325 [__USE_SVID]: Likewise.
18326 * socket/sys/socket.h [__USE_BSD]: Likewise.
18327 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18328 * stdlib/stdlib.h [__USE_BSD]: Likewise.
18329 [__USE_SVID]: Likewise.
18330 * string/bits/string2.h [__USE_BSD]: Likewise.
18331 [__USE_SVID]: Likewise.
18332 * string/bits/string3.h [__USE_BSD]: Likewise.
18333 * string/endian.h [__USE_BSD]: Likewise.
18334 * string/string.h [__USE_SVID]: Likewise.
18335 [__USE_BSD]: Likewise.
18336 * string/strings.h [__USE_BSD]: Likewise.
18337 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18338 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18339 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18340 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18341 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18342 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18344 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18346 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18347 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18349 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18350 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18352 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18354 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18355 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18358 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18360 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18361 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18362 * termios/termios.h [__USE_BSD]: Likewise.
18363 * time/sys/time.h [__USE_BSD]: Likewise.
18364 * time/time.h [__USE_BSD]: Likewise.
18365 [__USE_SVID]: Likewise.
18367 * Makefile (subdir_targets): Remove subdir_lint.out.
18369 * stdio-common/Makefile (do-tst-unbputc): Remove target.
18370 (do-tst-printf): Likewise.
18371 (tests): Depend directly on $(objpfx)tst-unbputc.out and
18372 $(objpfx)tst-printf.out.
18374 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18376 * Makerules (check-abi-%): Change target to
18377 $(objpfx)check-abi-%.out.
18378 (check-abi target): Update dependencies.
18379 (check-abi-pattern variable): Redirect output of diff to $@.
18380 (check-abi variable): Likewise.
18381 * elf/Makefile (check-abi): Update dependencies.
18383 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18385 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18386 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18388 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18389 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18390 value has largest subnormal exponent.
18391 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18392 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18393 * sysdeps/aarch64/soft-fp/sfp-machine.h
18394 (_FP_TININESS_AFTER_ROUNDING): New macro.
18395 * sysdeps/alpha/soft-fp/sfp-machine.h
18396 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18397 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18399 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18400 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18401 * sysdeps/mips/soft-fp/sfp-machine.h
18402 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18403 * sysdeps/powerpc/soft-fp/sfp-machine.h
18404 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18405 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18407 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18408 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18409 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18410 (_FP_TININESS_AFTER_ROUNDING): Likewise.
18411 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18414 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
18417 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18420 2014-02-12 Richard Henderson <rth@redhat.com>
18422 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18423 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18424 * sysdeps/unix/sysv/linux/alpha: Move directory from
18425 ports/sysdeps/unix/sysv/linux/alpha.
18426 * README: Update listing for alpha-*-linux-gnu.
18428 2014-02-11 Joseph Myers <joseph@codesourcery.com>
18430 * include/features.h: Update comment documenting feature test
18432 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
18434 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18435 (_SVID_SOURCE): Likewise.
18436 (_DEFAULT_SOURCE): Update description of default features.
18437 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18439 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18440 (S_ISVTX): Likewise.
18441 * manual/math.texi (Mathematical Constants): Likewise.
18442 * manual/signal.texi (Interrupted Primitives): Likewise.
18443 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18444 * math/test-matherr.c (_SVID_SOURCE): Do not define.
18445 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18446 Don't refer to _SVID_SOURCE in warning text.
18448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18450 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18452 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18453 * sysdeps/mips/dl-lookup.c: Remove.
18454 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18456 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
18459 * math/auto-libm-test-in: Add testcase for expl.
18460 * math/auto-libm-test-out: Regenerate.
18461 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18462 calculation of unsafe.
18463 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18465 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
18467 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18468 * sysdeps/unix/sysv/linux/aarch64: Move directory from
18469 ports/sysdeps/unix/sysv/linux/aarch64.
18470 * README: Update listing for aarch64*-*-linux-gnu.
18472 2014-02-11 Will Newton <will.newton@linaro.org>
18474 * manual/probes.texi (Mathematical Function Probes): Use
18475 "triggered" instead of "hit".
18477 * manual/probes.texi (Internal Probes): Add documentation
18478 of setjmp, longjmp and longjmp_target probes.
18480 * include/stap-probe.h: Add comment about probe argument
18483 * malloc/mtrace.c (attribute_hidden): Remove unused macro
18484 definition. (tr_where, tr_freehook, tr_mallochook,
18485 tr_reallochook, tr_memalignhook): Use ANSI protoype.
18487 2014-02-11 David S. Miller <davem@davemloft.net>
18489 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18490 processing int_tests.
18492 2014-02-10 Joseph Myers <joseph@codesourcery.com>
18494 * sysdeps/mips: Move directory from ports/sysdeps/mips.
18495 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18496 * sysdeps/unix/sysv/linux/mips: Move directory from
18497 ports/sysdeps/unix/sysv/linux/mips.
18498 * README: Update listing for mips-*-linux-gnu and
18499 mips64-*-linux-gnu.
18501 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
18503 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18504 * sysdeps/unix/sysv/linux/m68k: Move directory from
18505 ports/sysdeps/unix/sysv/linux/m68k.
18506 * README: Update listing for m68k-*-linux-gnu.
18508 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
18510 * sysdeps/tile: Move directory from ports/sysdeps/tile.
18511 * sysdeps/unix/sysv/linux/generic: Move directory from
18512 ports/sysdeps/unix/sysv/linux/generic.
18513 * sysdeps/unix/sysv/linux/tile: Move directory from
18514 ports/sysdeps/unix/sysv/linux/tile.
18515 * README: Update listing for tile*-*-linux-gnu.
18517 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
18519 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18521 * benchtests/bench-memmem.c (simple_memmem): Likewise.
18522 * catgets/open_catalog.c (__open_catalog): Likewise.
18523 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18524 * debug/confstr_chk.c: Likewise.
18525 * debug/fread_chk.c (__fread_chk): Likewise.
18526 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18527 * debug/getgroups_chk.c: Likewise.
18528 * debug/mbsnrtowcs_chk.c: Likewise.
18529 * debug/mbsrtowcs_chk.c: Likewise.
18530 * debug/mbstowcs_chk.c: Likewise.
18531 * debug/memcpy_chk.c: Likewise.
18532 * debug/memmove_chk.c: Likewise.
18533 * debug/mempcpy_chk.c: Likewise.
18534 * debug/memset_chk.c: Likewise.
18535 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18536 * debug/strcat_chk.c (__strcat_chk): Likewise.
18537 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18538 * debug/strncat_chk.c (__strncat_chk): Likewise.
18539 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18540 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18541 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18542 * debug/wcpncpy_chk.c: Likewise.
18543 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18544 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18545 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18546 * debug/wcsncpy_chk.c: Likewise.
18547 * debug/wcsnrtombs_chk.c: Likewise.
18548 * debug/wcsrtombs_chk.c: Likewise.
18549 * debug/wcstombs_chk.c: Likewise.
18550 * debug/wmemcpy_chk.c: Likewise.
18551 * debug/wmemmove_chk.c: Likewise.
18552 * debug/wmempcpy_chk.c: Likewise.
18553 * debug/wmemset_chk.c: Likewise.
18554 * dirent/scandirat.c (SCANDIRAT): Likewise.
18555 * dlfcn/dladdr1.c (dladdr1): Likewise.
18556 * dlfcn/dladdr.c (dladdr): Likewise.
18557 * dlfcn/dlclose.c (dlclose_doit): Likewise.
18558 * dlfcn/dlerror.c (__dlerror): Likewise.
18559 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18560 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18561 * dlfcn/dlopen.c (dlopen_doit): Likewise.
18562 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18563 * dlfcn/dlsym.c (dlsym_doit): Likewise.
18564 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18565 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18566 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18568 * elf/dl-conflict.c: Likewise.
18569 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18570 * elf/dl-dst.h: Likewise.
18571 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18572 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18573 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18574 * elf/dl-init.c (call_init, _dl_init): Likewise.
18575 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18576 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18577 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18579 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18581 * elf/dl-minimal.c (__libc_memalign): Likewise.
18582 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18583 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18584 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18585 * elf/dl-sym.c (do_sym): Likewise.
18586 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18587 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18588 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18589 * elf/dl-writev.h (_dl_writev): Likewise.
18590 * elf/ldconfig.c (search_dir): Likewise.
18591 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18592 (dl_main): Likewise.
18593 * elf/setup-vdso.h (setup_vdso): Likewise.
18594 * grp/compat-initgroups.c (compat_call): Likewise.
18595 * grp/fgetgrent.c (fgetgrent): Likewise.
18596 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18597 * grp/putgrent.c (putgrent): Likewise.
18598 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18600 * hurd/hurdinit.c: Likewise.
18601 * iconvdata/8bit-gap.c (struct): Likewise.
18602 * iconvdata/ansi_x3.110.c : Likewise.
18603 * iconvdata/big5.c : Likewise.
18604 * iconvdata/big5hkscs.c : Likewise.
18605 * iconvdata/cp1255.c: Likewise.
18606 * iconvdata/cp1258.c : Likewise.
18607 * iconvdata/cp932.c : Likewise.
18608 * iconvdata/euc-cn.c: Likewise.
18609 * iconvdata/euc-jisx0213.c : Likewise.
18610 * iconvdata/euc-jp.c: Likewise.
18611 * iconvdata/euc-jp-ms.c : Likewise.
18612 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18613 * iconvdata/gb18030.c : Likewise.
18614 * iconvdata/gbbig5.c (const): Likewise.
18615 * iconvdata/gbgbk.c: Likewise.
18616 * iconvdata/gbk.c : Likewise.
18617 * iconvdata/ibm1364.c : Likewise.
18618 * iconvdata/ibm930.c : Likewise.
18619 * iconvdata/ibm932.c: Likewise.
18620 * iconvdata/ibm933.c : Likewise.
18621 * iconvdata/ibm935.c : Likewise.
18622 * iconvdata/ibm937.c : Likewise.
18623 * iconvdata/ibm939.c : Likewise.
18624 * iconvdata/ibm943.c: Likewise.
18625 * iconvdata/iso_11548-1.c: Likewise.
18626 * iconvdata/iso-2022-cn.c : Likewise.
18627 * iconvdata/iso-2022-cn-ext.c : Likewise.
18628 * iconvdata/iso-2022-jp-3.c: Likewise.
18629 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18630 * iconvdata/iso-2022-kr.c : Likewise.
18631 * iconvdata/iso646.c (gconv_end): Likewise.
18632 * iconvdata/iso_6937-2.c : Likewise.
18633 * iconvdata/iso_6937.c : Likewise.
18634 * iconvdata/iso8859-1.c: Likewise.
18635 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18636 * iconvdata/shift_jisx0213.c : Likewise.
18637 * iconvdata/sjis.c : Likewise.
18638 * iconvdata/t.61.c : Likewise.
18639 * iconvdata/tcvn5712-1.c : Likewise.
18640 * iconvdata/tscii.c: Likewise.
18641 * iconvdata/uhc.c : Likewise.
18642 * iconvdata/unicode.c (gconv_end): Likewise.
18643 * iconvdata/utf-16.c (gconv_end): Likewise.
18644 * iconvdata/utf-32.c (gconv_end): Likewise.
18645 * iconvdata/utf-7.c (base64): Likewise.
18646 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18647 * iconv/gconv_close.c (__gconv_close): Likewise.
18648 * iconv/gconv_open.c (__gconv_open): Likewise.
18649 * iconv/gconv_simple.c (internal_ucs4_loop_single)
18650 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18651 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18652 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18653 (ucs4le_internal_loop_single): Likewise.
18654 * iconv/iconv.c (iconv): Likewise.
18655 * iconv/iconv_close.c: Likewise.
18656 * iconv/loop.c (SINGLE): Likewise.
18657 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18658 * include/atomic.h: Likewise.
18659 * inet/inet6_option.c (option_alloc): Likewise.
18660 * intl/bindtextdom.c (set_binding_values): Likewise.
18661 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18662 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18663 * intl/localealias.c (read_alias_file): Likewise.
18664 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18665 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18666 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18667 * libio/fmemopen.c (fmemopen): Likewise.
18668 * libio/iofgets.c (_IO_fgets): Likewise.
18669 * libio/iofgets_u.c (fgets_unlocked): Likewise.
18670 * libio/iofgetws.c (fgetws): Likewise.
18671 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18672 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18673 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18674 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18675 * locale/findlocale.c (_nl_find_locale): Likewise.
18676 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18677 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18679 * locale/setlocale.c (setlocale): Likewise.
18680 * login/programs/pt_chown.c (main): Likewise.
18681 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18682 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18683 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18684 (mmap, mmap64, mremap, munmap): Likewise.
18685 * math/e_exp2l.c: Likewise.
18686 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18687 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18688 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18689 * math/s_catan.c (__catan): Likewise.
18690 * math/s_catanf.c (__catanf): Likewise.
18691 * math/s_catanh.c (__catanh): Likewise.
18692 * math/s_catanhf.c (__catanhf): Likewise.
18693 * math/s_catanhl.c (__catanhl): Likewise.
18694 * math/s_catanl.c (__catanl): Likewise.
18695 * math/s_ccosh.c (__ccosh): Likewise.
18696 * math/s_ccoshf.c (__ccoshf): Likewise.
18697 * math/s_ccoshl.c (__ccoshl): Likewise.
18698 * math/s_cexp.c (__cexp): Likewise.
18699 * math/s_cexpf.c (__cexpf): Likewise.
18700 * math/s_cexpl.c (__cexpl): Likewise.
18701 * math/s_clog10.c (__clog10): Likewise.
18702 * math/s_clog10f.c (__clog10f): Likewise.
18703 * math/s_clog10l.c (__clog10l): Likewise.
18704 * math/s_clog.c (__clog): Likewise.
18705 * math/s_clogf.c (__clogf): Likewise.
18706 * math/s_clogl.c (__clogl): Likewise.
18707 * math/s_csin.c (__csin): Likewise.
18708 * math/s_csinf.c (__csinf): Likewise.
18709 * math/s_csinh.c (__csinh): Likewise.
18710 * math/s_csinhf.c (__csinhf): Likewise.
18711 * math/s_csinhl.c (__csinhl): Likewise.
18712 * math/s_csinl.c (__csinl): Likewise.
18713 * math/s_csqrt.c (__csqrt): Likewise.
18714 * math/s_csqrtf.c (__csqrtf): Likewise.
18715 * math/s_csqrtl.c (__csqrtl): Likewise.
18716 * math/s_ctan.c (__ctan): Likewise.
18717 * math/s_ctanf.c (__ctanf): Likewise.
18718 * math/s_ctanh.c (__ctanh): Likewise.
18719 * math/s_ctanhf.c (__ctanhf): Likewise.
18720 * math/s_ctanhl.c (__ctanhl): Likewise.
18721 * math/s_ctanl.c (__ctanl): Likewise.
18722 * math/w_pow.c: Likewise.
18723 * math/w_powf.c: Likewise.
18724 * math/w_powl.c: Likewise.
18725 * math/w_scalb.c (sysv_scalb): Likewise.
18726 * math/w_scalbf.c (sysv_scalbf): Likewise.
18727 * math/w_scalbl.c (sysv_scalbl): Likewise.
18728 * misc/error.c (error_tail): Likewise.
18729 * misc/pselect.c (__pselect): Likewise.
18730 * nis/nis_callback.c (__nis_create_callback): Likewise.
18731 * nis/nis_call.c (__nisfind_server): Likewise.
18732 * nis/nis_creategroup.c (nis_creategroup): Likewise.
18733 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18734 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18735 * nis/nis_getservlist.c (nis_getservlist): Likewise.
18736 * nis/nis_lookup.c (nis_lookup): Likewise.
18737 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18738 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18739 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18740 * nis/nis_xdr.c (xdr_endpoint): Likewise.
18741 * nis/nss_compat/compat-grp.c (getgrent_next_file)
18742 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18743 * nis/nss_compat/compat-initgroups.c (add_group)
18744 (internal_getgrent_r): Likewise.
18745 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18746 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18747 * nis/nss_compat/compat-spwd.c (getspent_next_file)
18748 (internal_getspnam_r): Likewise.
18749 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18750 (_nss_nis_getaliasbyname_r): Likewise.
18751 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18752 (_nss_nis_getntohost_r): Likewise.
18753 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18754 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18755 (_nss_nis_getgrgid_r): Likewise.
18756 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18757 (internal_nis_gethostent_r, internal_gethostbyname2_r)
18758 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18759 (_nss_nis_gethostbyname4_r): Likewise.
18760 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18761 (initgroups_netid): Likewise.
18762 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18763 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18764 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18765 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18766 (_nss_nis_getprotobynumber_r): Likewise.
18767 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18768 (_nss_nis_getsecretkey): Likewise.
18769 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18770 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18771 (_nss_nis_getpwuid_r): Likewise.
18772 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18773 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18774 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18775 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18776 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18777 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18778 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18780 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18781 (_nss_nisplus_getntohost_r): Likewise.
18782 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18783 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18784 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18785 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18787 * nis/nss_nisplus/nisplus-initgroups.c
18788 (_nss_nisplus_initgroups_dyn): Likewise.
18789 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18790 (_nss_nisplus_getnetbyaddr_r): Likewise.
18791 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18792 (_nss_nisplus_getprotobynumber_r): Likewise.
18793 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18794 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18795 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18797 * nis/nss_nisplus/nisplus-service.c
18798 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18799 (_nss_nisplus_getservbyport_r): Likewise.
18800 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18801 (_nss_nisplus_getspnam_r): Likewise.
18802 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18804 * nscd/aicache.c (addhstaiX): Likewise.
18805 * nscd/cache.c (cache_search, prune_cache): Likewise.
18806 * nscd/connections.c (register_traced_file, send_ro_fd)
18807 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18808 (main_loop_epoll): Likewise.
18809 * nscd/grpcache.c (addgrbyX): Likewise.
18810 * nscd/hstcache.c (addhstbyX): Likewise.
18811 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18812 * nscd/mem.c (gc, mempool_alloc): Likewise.
18813 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18814 (addinnetgrX): Likewise.
18815 * nscd/nscd-client.h (__nscd_acquire_maplock)
18816 (__nscd_drop_map_ref): Likewise.
18817 * nscd/nscd_getai.c (__nscd_getai): Likewise.
18818 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18819 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18821 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18823 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18824 (__nscd_get_map_ref): Likewise.
18825 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18826 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18828 * nscd/pwdcache.c (addpwbyX): Likewise.
18829 * nscd/selinux.c (preserve_capabilities): Likewise.
18830 * nscd/servicescache.c (addservbyX): Likewise.
18831 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18832 * posix/fnmatch.c (fnmatch): Likewise.
18833 * posix/getopt.c (_getopt_internal_r): Likewise.
18834 * posix/glob.c (glob, glob_in_dir): Likewise.
18835 * posix/wordexp.c (exec_comm_child): Likewise.
18836 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18837 (getanswer_r, gaih_getanswer_slice): Likewise.
18838 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18839 * resolv/res_init.c: Likewise.
18840 * resolv/res_mkquery.c (res_nmkquery): Likewise.
18841 * resolv/res_query.c (__libc_res_nquery): Likewise.
18842 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18844 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18845 * stdio-common/perror.c (perror): Likewise.
18846 * stdio-common/printf_fp.c (___printf_fp): Likewise.
18847 * stdio-common/tmpnam.c (tmpnam): Likewise.
18848 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18849 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18850 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18852 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18853 * stdlib/putenv.c (putenv): Likewise.
18854 * stdlib/setenv.c (__add_to_environ): Likewise.
18855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18856 * stdlib/strtol_l.c (INTERNAL): Likewise.
18857 * string/memmem.c (memmem): Likewise.
18858 * string/strerror.c (strerror): Likewise.
18859 * string/strnlen.c (__strnlen): Likewise.
18860 * string/test-memmem.c (simple_memmem): Likewise.
18861 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18862 * sunrpc/pm_getport.c (__get_socket): Likewise.
18863 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18864 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18865 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18866 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18868 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18869 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18870 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18871 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18872 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18873 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18875 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18877 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18878 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18879 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18880 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18881 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18883 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18884 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18885 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18886 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18887 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18888 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18890 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18892 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18894 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18895 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18896 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18897 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18898 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18899 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18900 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18903 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18904 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18906 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18907 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18909 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18911 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18913 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18915 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18917 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18919 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18921 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18922 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18923 * sysdeps/posix/opendir.c (__opendirat): Likewise.
18924 * sysdeps/posix/sleep.c: Likewise.
18925 * sysdeps/posix/tempname.c: Likewise.
18926 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18927 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18929 * sysdeps/powerpc/powerpc32/dl-machine.h
18930 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18931 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18933 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18934 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18936 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18937 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18938 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18939 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18940 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18941 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18942 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18943 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18944 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18945 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18947 (elf_machine_lazy_rel): Likewise.
18948 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18949 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18950 (elf_machine_lazy_rel): Likewise.
18951 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18952 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18953 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18954 * sysdeps/unix/grantpt.c (grantpt): Likewise.
18955 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18956 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18957 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18960 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18961 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18962 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18963 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18964 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18965 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18966 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18967 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18968 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18969 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18970 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18972 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18973 (__posix_fallocate64_l64): Likewise.
18974 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18975 (posix_fallocate): Likewise.
18976 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18978 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18979 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18980 (getifaddrs_internal): Likewise.
18981 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18982 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18983 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18984 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18985 * sysdeps/unix/sysv/linux/posix_fallocate64.c
18986 (__posix_fallocate64_l64): Likewise.
18987 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18989 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18990 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18991 (__get_clockfreq): Likewise.
18992 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18993 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18994 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18995 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18996 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18997 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18998 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18999 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19001 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19002 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19003 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19004 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19005 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19006 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19007 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19009 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19010 (posix_fallocate): Likewise.
19011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19012 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19013 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19014 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19015 (elf_machine_rela, elf_machine_rela_relative)
19016 (elf_machine_lazy_rel): Likewise.
19017 * time/asctime.c (asctime_internal): Likewise.
19018 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19019 * time/tzset.c (__tzset_parse_tz): Likewise.
19020 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19021 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19022 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19023 * wcsmbs/wcsmbsload.h: Likewise.
19026 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19028 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19029 (arena_get2): Remove THREAD_STATS conditionals.
19030 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19031 (__malloc_stats, int): Likewise.
19033 2014-02-08 Mike Frysinger <vapier@gentoo.org>
19035 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19036 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19038 * manual/setjmp.texi: Fix typos/grammar errors.
19040 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19041 Only return early when n is <= 0. Delete unused return statement.
19043 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19044 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19045 * debug/tst-longjmp_chk3.c: New file.
19047 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19048 (test_main): Replace code with set_fortify_handler call.
19049 * debug/test-strcpy_chk.c: Likewise.
19050 * debug/tst-chk1.c: Likewise.
19051 * debug/tst-longjmp_chk.c: Likewise.
19052 * test-skeleton.c: Include fcntl.h & paths.h
19053 (set_fortify_handler): Define.
19055 * debug/tst-longjmp_chk.c: Add header comment and include
19056 ../test-skeleton.c.
19057 (do_test): Mark static.
19058 (TEST_FUNCTION): Define.
19060 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19061 (IP_PMTUDISC_INTERFACE): Likewise.
19062 (IP_MULTICAST_IF): Likewise.
19063 (IP_MULTICAST_TTL): Likewise.
19064 (IP_MULTICAST_LOOP): Likewise.
19065 (IP_ADD_MEMBERSHIP): Likewise.
19066 (IP_DROP_MEMBERSHIP): Likewise.
19067 (IP_UNBLOCK_SOURCE): Likewise.
19068 (IP_BLOCK_SOURCE): Likewise.
19069 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19070 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19071 (IP_MSFILTER): Likewise.
19072 (MCAST_JOIN_GROUP): Likewise.
19073 (MCAST_BLOCK_SOURCE): Likewise.
19074 (MCAST_UNBLOCK_SOURCE): Likewise.
19075 (MCAST_LEAVE_GROUP): Likewise.
19076 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19077 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19078 (MCAST_MSFILTER): Likewise.
19079 (IP_MULTICAST_ALL): Likewise.
19080 (IP_UNICAST_IF): Likewise.
19082 * timezone/Makefile: Delete $(have-ksh) check.
19083 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19084 * timezone/tzselect.ksh: Add +x mode bits.
19086 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19087 (ANON_INODE_FS_MAGIC): Likewise.
19088 (BDEVFS_MAGIC): Likewise.
19089 (BINFMTFS_MAGIC): Likewise.
19090 (BTRFS_TEST_MAGIC): Likewise.
19091 (CRAMFS_MAGIC_WEND): Likewise.
19092 (DEBUGFS_MAGIC): Likewise.
19093 (ECRYPTFS_SUPER_MAGIC): Likewise.
19094 (EXT3_SUPER_MAGIC): Likewise.
19095 (EXT4_SUPER_MAGIC): Likewise.
19096 (FUTEXFS_SUPER_MAGIC): Likewise.
19097 (HOSTFS_SUPER_MAGIC): Likewise.
19098 (HUGETLBFS_MAGIC): Likewise.
19099 (MINIX3_SUPER_MAGIC): Likewise.
19100 (MTD_INODE_FS_MAGIC): Likewise.
19101 (NILFS_SUPER_MAGIC): Likewise.
19102 (OPENPROM_SUPER_MAGIC): Likewise.
19103 (PIPEFS_MAGIC): Likewise.
19104 (PSTOREFS_MAGIC): Likewise.
19105 (QNX6_SUPER_MAGIC): Likewise.
19106 (RAMFS_MAGIC): Likewise.
19107 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19108 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19109 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19110 (SECURITYFS_MAGIC): Likewise.
19111 (SELINUX_MAGIC): Likewise.
19112 (SMACK_MAGIC): Likewise.
19113 (SOCKFS_MAGIC): Likewise.
19114 (SQUASHFS_MAGIC): Likewise.
19115 (STACK_END_MAGIC): Likewise.
19116 (TMPFS_MAGIC): Likewise.
19117 (USBDEVICE_SUPER_MAGIC): Likewise.
19118 (V9FS_MAGIC): Likewise.
19119 (XENFS_SUPER_MAGIC): Likewise.
19120 (CRAMFS_MAGIC): Fix typo in comment.
19121 (EXT2_SUPER_MAGIC): Update comment.
19122 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19124 2014-02-08 Joseph Myers <joseph@codesourcery.com>
19126 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19127 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19128 * sysdeps/unix/sysv/linux/arm: Move directory from
19129 ports/sysdeps/unix/sysv/linux/arm.
19130 * README: Update listing for arm-*-linux-gnueabi.
19132 * README: Remove mention of am33.
19134 2014-02-07 Roland McGrath <roland@hack.frob.com>
19136 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19137 than the comma operator, to avoid "rhs of comma has no effect"
19139 (__sigfillset, __sigandset, __sigorset): Likewise.
19140 * include/signal.h (__sigemptyset): Likewise.
19141 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19143 2014-02-07 Allan McRae <allan@archlinux.org>
19145 * version.h (RELEASE): Set to "development".
19146 (VERSION): Set to "2.19.90"
19147 * NEWS: Add 2.20 section.
19149 2014-02-06 Carlos O'Donell <carlos@redhat.com>
19152 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19154 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19156 * manual/contrib.texi: Update entry for Carlos O'Donell,
19157 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19159 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
19161 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19163 * sysdeps/unix/sysv/linux/kernel-features.h
19164 [__LINUX_KERNEL_VERSION >= 0x020621]
19165 (__ASSUME_PROC_PID_TASK_COMM): Define.
19167 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19170 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19171 conversion when destination buffer does not have enough space.
19172 * libio/tst-ftell-partial-wide.c: New test case.
19173 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19175 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19176 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19177 Leonard and Allan McRae.
19179 2014-02-04 David S. Miller <davem@davemloft.net>
19181 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19184 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19213 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19215 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19216 * shlib-versions: Likewise.
19218 2014-02-04 Roland McGrath <roland@hack.frob.com>
19219 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19221 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19222 (abilist-pattern): New variable, set to %-le.abilist.
19224 * Makerules (abilist-pattern): New variable.
19225 (vpath): Use $(abilist-pattern) in place of %.abilist.
19226 (check-abi-% pattern rule): Likewise.
19227 (check-abi, update-abi): Likewise.
19229 2014-02-04 Eric Wong <normalperson@yhbt.net>
19231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19233 2014-02-03 Carlos O'Donell <carlos@redhat.com>
19235 * manual/startup.texi: Add next, previous, and top entries for
19236 the `Program Arguments' and `Environment Variables' nodes.
19238 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
19240 * manual/macros.texi: Add comments before MTASC-safety macros.
19242 * manual/users.texi: Document MTASC-safety properties.
19244 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19245 (pthread_getspecific, pthread_setspecific): Format with
19246 @deftypefun, and add @safety note.
19247 * manual/signal.texi: Move comments that analyze the above
19248 functions to their home place.
19250 2014-02-03 Allan McRae <allan@archlinux.org>
19252 * po/sl.po: Update Slovenian translation from translation project.
19254 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
19256 * manual/time.texi (timegm): Add missing blank after @c.
19257 Reported by Joseph Myers <joseph@codesourcery.com>.
19259 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
19261 * manual/check-safety.sh: New.
19262 * manual/Makefile ($(objpfx)stamp-summary): Run it.
19264 * manual/terminal.texi: Document MTASC-safety properties.
19266 * manual/filesys.texi: Document MTASC-safety properties.
19268 * manual/errno.texi: Document MTASC-safety properties.
19270 * manual/intro.texi: Document safety identifiers and
19273 * manual/string.texi (wcstok): Fix prototype.
19274 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19276 * manual/time.texi: Document MTASC-safety properties.
19278 * manual/string.texi: Document MTASC-safety properties.
19280 * manual/threads.texi: Document MTASC-safety properties.
19282 * manual/stdio.texi: Document MTASC-safety properties.
19284 * manual/syslog.texi: Document MTASC-safety properties.
19286 * manual/sysinfo.texi: Document MTASC-safety properties.
19288 * manual/startup.texi: Document MTASC-safety properties.
19290 * manual/socket.texi: Document MTASC-safety properties.
19292 * manual/signal.texi: Document MTASC-safety properties.
19294 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
19296 * manual/setjmp.texi: Document MTASC-safety properties.
19298 * manual/search.texi: Document MTASC-safety properties.
19300 * manual/resource.texi: Document MTASC-safety properties.
19302 * manual/process.texi: Document MTASC-safety properties.
19304 * manual/platform.texi: Document MTASC-safety properties.
19306 * manual/pipe.texi: Document MTASC-safety properties.
19308 * manual/pattern.texi: Document MTASC-safety properties.
19310 * manual/message.texi: Document MTASC-safety properties.
19313 * manual/memory.texi: Document MTASC-safety properties.
19315 * manual/math.texi: Document MTASC-safety properties.
19317 * manual/locale.texi: Document MTASC-safety properties.
19319 * manual/llio.texi: Document MTASC-safety properties.
19321 * manual/libdl.texi: New.
19323 * manual/lang.texi: Document MTASC-safety properties.
19325 * manual/job.texi: Document MTASC-safety properties.
19327 * manual/getopt.texi: Document MTASC-safety properties.
19329 * manual/ctype.texi: Document MTASC-safety properties.
19331 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
19334 * csu/libc-tls.c (static_map): Remove variable.
19335 (__libc_setup_tls): Use main executable's link map for TLS data.
19336 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19337 casing for LM_ID_BASE and GL(dl_nns).
19338 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19339 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
19340 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19341 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19342 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19344 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19347 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
19349 * manual/debug.texi: Document MTASC-safety properties.
19351 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
19354 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19355 of __x86_64__ when disabling x87 inline functions.
19357 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
19359 * manual/charset.texi: Document MTASC-safety properties.
19361 * manual/crypt.texi: Document MTASC-safety properties.
19363 * manual/conf.texi: Document MTASC-safety properties.
19365 * manual/arith.texi: Document MTASC-safety properties.
19367 * manual/argp.texi: Document MTASC-safety properties.
19369 * manual/macros.texi: Introduce macros to document multi
19370 thread, asynchronous signal and asynchronous cancellation
19372 * manual/intro.texi: Introduce the properties themselves.
19374 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19376 * sysdeps/sh/sh4/Makefile: New file.
19378 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
19380 * math/gen-libm-test.pl ($srcdir): New variable.
19381 ($auto_input): Use it.
19383 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19386 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19387 access beyond array bounds when parsing netgroups file.
19389 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19390 the old buffer before realloc.
19392 2014-01-27 Allan McRae <allan@archlinux.org>
19394 * po/fr.po: Update French translation from translation project.
19396 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19398 * sysdeps/sh/libm-test-ulps: Regenerate.
19400 2014-01-24 David S. Miller <davem@davemloft.net>
19402 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19404 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19406 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19407 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19409 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19412 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19413 string pointers after reallocation.
19415 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19417 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19418 __SH4A__ instead of __SH_FPU_ANY__.
19420 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19422 * sysdeps/sh/fpu_control.h: New file.
19423 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19424 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19425 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19426 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19427 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19428 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19429 * sysdeps/sh/sys/ucontext.h: Remove.
19430 * sysdeps/sh/sys: Remove directory.
19432 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19434 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19435 s390/sys/ucontext.h.
19436 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19437 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19439 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
19442 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19444 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19447 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19448 Adjust the vDSO correctly for internal calls.
19449 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19451 2014-01-20 Allan McRae <allan@archlinux.org>
19453 * po/ca.po: Update Catalan translation from translation project.
19455 2014-01-16 Mike Frysinger <vapier@gentoo.org>
19457 * sysdeps/s390/sotruss-lib.c: New file.
19459 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19462 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19463 (__GI___gettimeofday): Alias for a different internal symbol to avoid
19464 local calls issues by not having a PLT stub required for IFUNC calls.
19465 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19467 2014-01-16 Joseph Myers <joseph@codesourcery.com>
19469 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19470 * math/test-fpucw-static.c: Likewise.
19472 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19475 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19477 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19479 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19480 implementation for powerpc.
19482 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
19485 * sysdeps/posix/system.c (__libc_system): Do not enable
19486 asynchronous cancellation.
19488 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19491 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19492 handling only for numbers special also in the IEEE case.
19494 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19496 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19498 2014-01-11 Allan McRae <allan@archlinux.org>
19500 * po/bg.po: Update Bulgarian translation from translation project.
19502 * po/de.po: Update German translation from translation project.
19504 2014-01-10 Roland McGrath <roland@hack.frob.com>
19506 * sysdeps/generic/gcc-compat.h: New file.
19508 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19510 * benchtests/asin-inputs: Correct slow inputs.
19511 * benchtests/acos-inputs: Likewise.
19513 2014-01-10 Allan McRae <allan@archlinux.org>
19515 * po:sv.po: Update Swedish translation from translation project.
19517 * po/vi.po: Update Vietnamese translation from translation project.
19519 * po/eo.po: Update Esperanto translation from translation project.
19521 * po/cs.po: Update Czech translation from translation project.
19523 * po/nl.po: Update Dutch translation from translation project.
19525 * po/pl.po: Update Polish translation from translation project.
19527 * po/ru.po: Update Russian translation from translation project.
19529 * po/uk.po: Update Ukrainian translation from translation project.
19531 2014-01-08 Brooks Moses <bmoses@google.com>
19533 * elf/dl-load.c: Fix comment typo.
19535 2014-01-08 Carlos O'Donell <carlos@redhat.com>
19537 * po/header.pot: Rename to...
19538 * po/pot.header: ... this.
19539 * po/Makefile: Use pot.header.
19541 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
19542 Maxim Kuvyrkov <maxim@kugelworks.com>
19545 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19546 SRC and DEST against LEN.
19548 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19551 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19553 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19555 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19559 2014-01-08 Joseph Myers <joseph@codesourcery.com>
19562 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19563 for large positive arguments.
19565 2014-01-07 Joseph Myers <joseph@codesourcery.com>
19567 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19569 * math/auto-libm-test-in: Mark various tests with
19570 xfail-rounding:ldbl-128ibm.
19571 * math/auto-libm-test-out: Regenerated.
19574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19575 Increase overflow threshold.
19577 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
19580 * stdio-common/vfprintf.c: Check for integer overflow.
19582 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19584 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19585 the first argument and return value of __tls_get_addr_internal.
19587 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19589 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19590 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19592 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19594 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19595 * sysdeps/s390/rtld-global-offsets.sym: New file.
19596 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19598 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19599 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19600 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19602 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19603 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19609 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19610 halfs of GPRs for high_gprs contexts.
19611 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19612 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
19614 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19616 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19618 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19619 for high GPRs (uc_high_gprs) and for future extensions
19621 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19622 for future extensions (__reserved).
19623 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19625 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19626 SC_HIGHGPRS offset definition.
19627 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19628 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19630 * Versions.def: Add GLIBC_2.19 for libpthread.
19631 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19632 siglongjmp for libpthread with GLIBC_2.19 symver.
19633 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19634 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19635 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19636 * sysdeps/s390/__longjmp.c: New file.
19637 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19638 * sysdeps/s390/longjmp.c: New file.
19639 * sysdeps/s390/setjmp.S: New file.
19640 * sysdeps/s390/sigjmp.S: New file.
19641 * sysdeps/s390/v1-longjmp.c: New file.
19642 * sysdeps/s390/v1-setjmp.h: New file.
19643 * sysdeps/s390/v1-sigjmp.c: New file.
19644 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19645 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19646 GLIBC_2.19 version.
19647 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19648 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19649 versioned symbols for ____longjmp_chk.
19650 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19660 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19661 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19662 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19663 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19664 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19665 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19666 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19667 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19668 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19669 * sysdeps/s390/rtld-__longjmp.c: New file.
19670 * sysdeps/s390/rtld-setjmp.S: New file.
19672 2014-01-06 Joseph Myers <joseph@codesourcery.com>
19675 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19676 Return -__logl (x) for small positive arguments without evaluating
19679 2014-01-06 Mike Frysinger <vapier@gentoo.org>
19681 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19683 (__ptrace_peeksiginfo_args): ... this.
19684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19688 2014-01-06 Allan McRae <allan@archlinux.org>
19690 * inet/netinet/in.h: Fix typo in comment.
19692 2014-01-05 Andreas Jaeger <aj@suse.de>
19694 * sysdeps/i386/fpu/libm-test-ulps: Update.
19696 2014-01-05 Allan McRae <allan@archlinux.org>
19698 * po/libc.pot: Regenerated.
19700 * malloc/memusagestat.c: Fix gettext call formatting.
19702 2014-01-04 Sami Kerola <kerolasa@iki.fi>
19704 * nscd/nscd.c: Improve usage() output.
19706 2014-01-04 Mike Frysinger <vapier@gentoo.org>
19708 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19709 * sysdeps/unix/sysv/linux/configure: Regenerated.
19710 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19711 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19713 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19716 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19717 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19719 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19721 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19722 extra tokens at end of #undef directive.
19723 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19725 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19727 2014-01-03 Joseph Myers <joseph@codesourcery.com>
19729 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19731 * math/auto-libm-test-in: Mark various tests with
19732 xfail-rounding:ldbl-128ibm.
19733 * math/auto-libm-test-out: Regenerated.
19735 2014-01-02 Joseph Myers <joseph@codesourcery.com>
19738 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19739 numbers with subnormal high part when calculating exponent.
19742 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19748 (__ieee754_acoshl): Use __log1pl not __log1p.
19750 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
19752 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19753 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19754 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19755 (grow_heap, heap_trim, _int_new_arena, get_free_list)
19756 (reused_arena, arena_get2): Convert to GNU style.
19757 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19758 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19759 (memalign_check, __malloc_set_state): Likewise.
19760 * malloc/mallocbug.c (main): Likewise.
19761 * malloc/malloc.c (__malloc_assert, malloc_init_state)
19762 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19763 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19764 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19765 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19766 (__posix_memalign, malloc_info): Likewise.
19767 * malloc/malloc.h: Likewise.
19768 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19769 (mallochook, memalignhook, reallochook, mabort): Likewise.
19770 * malloc/mcheck.h: Likewise.
19771 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19772 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19773 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19774 * malloc/morecore.c (__default_morecore): Likewise.
19775 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19776 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19777 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19778 (print_and_abort): Likewise.
19779 * malloc/obstack.h: Likewise.
19780 * malloc/set-freeres.c (__libc_freeres): Likewise.
19781 * malloc/tst-mallocstate.c (main): Likewise.
19782 * malloc/tst-mtrace.c (main): Likewise.
19783 * malloc/tst-realloc.c (do_test): Likewise.
19785 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19788 * nscd/netgroupcache.c (do_notfound): New function.
19789 (addgetnetgrentX): Use it.
19792 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19793 NSS_STATUS_NOTFOUND.
19795 2014-01-01 Joseph Myers <joseph@codesourcery.com>
19797 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19800 2014-01-01 Allan McRae <allan@archlinux.org>
19802 * scripts/update-copyrights: Update configure input file suffix.
19804 * NEWS: Update copyright year.
19805 * catgets/gencat.c: Likewise.
19806 * csu/version.c: Likewise.
19807 * debug/catchsegv.sh: Likewise.
19808 * debug/pcprofiledump.c: Likewise.
19809 * debug/xtrace.sh: Likewise.
19810 * elf/ldconfig.c: Likewise.
19811 * elf/ldd.bash.in: Likewise.
19812 * elf/pldd.c: Likewise.
19813 * elf/sotruss.ksh: Likewise.
19814 * elf/sprof.c: Likewise.
19815 * iconv/iconv_prog.c: Likewise.
19816 * iconv/iconvconfig.c: Likewise.
19817 * locale/programs/locale.c: Likewise.
19818 * locale/programs/localedef.c: Likewise.
19819 * login/programs/pt_chown.c: Likewise.
19820 * malloc/memusage.sh: Likewise.
19821 * malloc/memusagestat.c: Likewise.
19822 * malloc/mtrace.pl: Likewise.
19823 * manual/libc.texinfo: Likewise.
19824 * nscd/nscd.c: Likewise.
19825 * nss/getent.c: Likewise.
19826 * nss/makedb.c: Likewise.
19827 * posix/getconf.c: Likewise.
19828 * scripts/test-installation.pl: Likewise.
19830 * All files with FSF copyright notices: Update copyright dates
19831 using scripts/update-copyrights.
19832 * intl/plural.c: Regenerated.
19833 * locale/programs/charmap-kw.h: Likewise.
19834 * locale/programs/locfile-kw.h: Likewise.
19836 2013-12-31 Mike Frysinger <vapier@gentoo.org>
19838 * sysdeps/unix/sysv/linux/configure: Regenerated.
19839 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19840 the linux/fanotify.h header.
19841 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19842 HAVE_LINUX_FANOTIFY_H is defined.
19844 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19846 * benchtests/cos-inputs: New inputs.
19847 * benchtests/sin-inputs: Likewise.
19849 * benchtests/atan-inputs: New inputs. Fix name of multiple
19850 precision fallback inputs.
19852 * benchtests/atanh-inputs: New inputs.
19853 * benchtests/tanh-inputs: Likewise.
19855 * benchtests/acosh-inputs: New inputs.
19856 * benchtests/asinh-inputs: Likewise.
19858 * benchtests/cosh-inputs: New inputs.
19859 * benchtests/sinh-inputs: Likewise.
19861 * benchtests/acos-inputs: Add more inputs.
19862 * benchtests/asin-inputs: Likewise.
19864 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
19867 * manual/arith.texi: Fix spelling.
19868 * manual/charset.texi: Likewise.
19869 * manual/errno.texi: Likewise.
19870 * manual/filesys.texi: Likewise.
19871 * manual/lang.texi: Likewise.
19872 * manual/llio.texi: Likewise.
19873 * manual/locale.texi: Likewise.
19874 * manual/message.texi: Likewise.
19875 * manual/resource.texi: Likewise.
19876 * manual/search.texi: Likewise.
19877 * manual/setjmp.texi: Likewise.
19878 * manual/stdio.texi: Likewise.
19879 * manual/string.texi: Likewise.
19880 * manual/sysinfo.texi: Likewise.
19881 * manual/time.texi: Likewise.
19883 2013-12-27 Carlos O'Donell <carlos@redhat.com>
19885 * po/sl.po: New file.
19887 2013-12-27 Mike Frysinger <vapier@gentoo.org>
19889 * .gitignore: Add core/.gdbinit/.gdb_history.
19891 2013-12-27 Allan McRae <allan@archlinux.org>
19894 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19895 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19897 2013-12-24 Brooks Moses <bmoses@google.com>
19899 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19900 all compilers that claim C++98 compliance, not just GCC.
19901 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19904 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19906 * NEWS: Restore accidentally deleted bug-fix entries.
19908 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
19909 Ondřej Bílka <neleai@seznam.cz>
19912 * malloc/malloc.c (_int_free): Perform sanity check only if we
19915 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
19918 * manual/stdio.texi (String Input Conversions): Clarify that character
19919 classes are not supported.
19921 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19925 2013-12-22 Joseph Myers <joseph@codesourcery.com>
19928 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19929 Calculate results for small negative arguments directly rather
19930 than using reflection formula with special underflow handling.
19932 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19933 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19934 sysdeps/unix/bsd/bsd4.4/syscalls.list.
19935 (fchflags): Likewise.
19936 (revoke): Likewise.
19937 (setlogin): Likewise.
19938 (sigaltstack): Likewise.
19940 (sigblock): Remove.
19941 (sigsetmask): Likewise.
19943 (waitpid): Likewise.
19944 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19945 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19947 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19948 * sysdeps/unix/bsd/Makefile: ... here.
19949 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19950 * sysdeps/unix/bsd/Versions: ... here.
19951 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19952 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19953 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19954 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19955 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19956 * sysdeps/unix/bsd/sigblock.c: ... here.
19957 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19958 * sysdeps/unix/bsd/sigsetmask.c: ... here.
19959 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19960 * sysdeps/unix/bsd/sigvec.c: ... here.
19961 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19962 * sysdeps/unix/bsd/tcdrain.c: ... here.
19963 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19964 * sysdeps/unix/bsd/tcgetattr.c: ... here.
19965 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19966 * sysdeps/unix/bsd/tcsetattr.c: ... here.
19967 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19968 * sysdeps/unix/bsd/wait.c: ... here.
19969 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19970 * sysdeps/unix/bsd/wait3.c: ... here.
19971 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19972 * sysdeps/unix/bsd/waitpid.c: ... here.
19974 2013-12-21 Joseph Myers <joseph@codesourcery.com>
19977 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19978 round-to-nearest for [!USE_AS_EXPM1L].
19979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19980 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
19981 more tests of exp and exp10. Expect some exp10 tests to miss
19982 exceptions or fail in directed rounding modes.
19983 * math/auto-libm-test-out: Regenerated.
19984 * math/libm-test.inc (exp10_tonearest_test_data): New array.
19985 (exp10_test_tonearest): New function.
19986 (exp10_towardzero_test_data): New array.
19987 (exp10_test_towardzero): New function.
19988 (exp10_downward_test_data): New array.
19989 (exp10_test_downward): New function.
19990 (exp10_upward_test_data): New array.
19991 (exp10_test_upward): New function.
19992 (main): Call the new functions.
19993 * sysdeps/i386/fpu/libm-test-ulps: Update.
19994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19996 2013-12-20 Joseph Myers <joseph@codesourcery.com>
19998 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19999 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20000 * math/auto-libm-test-out: Regenerated.
20001 * math/libm-test.inc (acosh_test_data): Add more tests.
20002 (atanh_test_data): Likewise.
20003 (ceil_test_data): Likewise.
20004 (copysign_test_data): Likewise.
20005 * sysdeps/i386/fpu/libm-test-ulps: Update.
20006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20008 * timezone/checktab.awk: Update from tzcode 2013i.
20009 * timezone/private.h: Likewise.
20010 * timezone/scheck.c: Likewise.
20011 * timezone/tzfile.h: Likewise.
20012 * timezone/tzselect.ksh: Likewise.
20013 * timezone/zdump.c: Likewise.
20014 * timezone/zic.c: Likewise.
20016 * math/auto-libm-test-in: Add tests of cpow.
20017 * math/auto-libm-test-out: Regenerated.
20018 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20019 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20021 (func_calc_desc): Add mpc_cc_c union field.
20022 (test_functions): Add cpow.
20023 (special_fill_2pi): New function.
20024 (special_real_inputs): Add 2pi.
20025 (calc_generic_results): Handle mpc_cc_c.
20026 * sysdeps/i386/fpu/libm-test-ulps: Update.
20027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20029 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20030 csqrt, ctan and ctanh.
20031 * math/auto-libm-test-out: Regenerated.
20032 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20033 (TEST_COND_x86): Likewise.
20034 (ccos_test_data): Use AUTO_TESTS_c_c.
20035 (ccosh_test_data): Likewise.
20036 (cexp_test_data): Likewise.
20037 (clog_test_data): Likewise.
20038 (csqrt_test_data): Likewise.
20039 (ctan_test_data): Likewise.
20040 (ctan_tonearest_test_data): Likewise.
20041 (ctan_towardzero_test_data): Likewise.
20042 (ctan_downward_test_data): Likewise.
20043 (ctan_upward_test_data): Likewise.
20044 (ctanh_test_data): Likewise.
20045 (ctanh_tonearest_test_data): Likewise.
20046 (ctanh_towardzero_test_data): Likewise.
20047 (ctanh_downward_test_data): Likewise.
20048 (ctanh_upward_test_data): Likewise.
20049 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20051 (func_calc_desc): Add mpc_c_c union field.
20052 (FUNC_mpc_c_c): New macro.
20053 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20054 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20056 (special_fill_min_subnorm_p120): New function.
20057 (special_real_inputs): Add min_subnorm_p120.
20058 (calc_generic_results): Handle mpc_c_c.
20059 * sysdeps/i386/fpu/libm-test-ulps: Update.
20060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20062 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20064 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20065 (do_sin_slow): New functions.
20066 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20067 (cslow2, csloww1, csloww2): Use the new functions.
20069 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20070 Use M to change sign of result instead of X. Assume X is
20072 (csloww1): Likewise.
20076 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20077 arguments A and DA.
20081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20083 (sloww1): Don't adjust sign of DX.
20084 (csloww1): Likewise.
20085 (sloww2): Use X directly and don't adjust sign of DX.
20086 (csloww2): Likewise.
20088 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20090 * math/auto-libm-test-in: Add tests of cabs and carg.
20091 * math/auto-libm-test-out: Regenerated.
20092 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20093 (carg_test_data): Likewise.
20094 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20096 (func_calc_desc): Add mpc_c_f union field.
20097 (test_functions): Add cabs and carg.
20098 (calc_generic_results): Handle mpc_c_f.
20100 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20101 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20102 as a macro and a compat symbol.
20103 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20104 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20105 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20106 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20107 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20108 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20110 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20112 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20114 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20116 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20118 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20120 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20121 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20124 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20128 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20130 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20131 trailing whitespace removed.
20132 * scripts/config.guess: Update to version 2013-11-29.
20133 * scripts/config.sub: Update to version 2013-10-01.
20135 * math/auto-libm-test-in: Add tests of sincos.
20136 * math/auto-libm-test-out: Regenerated.
20137 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20138 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20140 (func_calc_desc): Add mpfr_f_11 union field.
20141 (test_functions): Add sincos.
20142 (calc_generic_results): Handle mpfr_f_11.
20143 * sysdeps/i386/fpu/libm-test-ulps: Update.
20144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20146 2013-12-19 Andreas Schwab <schwab@suse.de>
20148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20151 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20152 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20154 2013-12-19 Joseph Myers <joseph@codesourcery.com>
20156 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20157 * sysdeps/i386/fpu/libm-test-ulps: Update.
20158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20161 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20162 round-to-nearest mode when using frndint.
20163 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20164 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20165 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20167 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20169 * math/auto-libm-test-out: Regenerated.
20170 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20171 (TEST_COND_x86): Likewise.
20172 (expm1_tonearest_test_data): New array.
20173 (expm1_test_tonearest): New function.
20174 (expm1_towardzero_test_data): New array.
20175 (expm1_test_towardzero): New function.
20176 (expm1_downward_test_data): New array.
20177 (expm1_test_downward): New function.
20178 (expm1_upward_test_data): New array.
20179 (expm1_test_upward): New function.
20180 (main): Run the new test functions.
20181 * sysdeps/i386/fpu/libm-test-ulps: Update.
20182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20184 * include/features.h: Update comment documenting feature test
20185 macros. Mention _DEFAULT_SOURCE in comment.
20186 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20187 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20188 _BSD_SOURCE and _SVID_SOURCE.
20189 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20190 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20191 !_SVID_SOURCE]: Likewise.
20192 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20193 (__USE_POSIX_IMPLICITLY): Define.
20194 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20195 (_POSIX_SOURCE): Undefine and redefine.
20196 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20197 (_POSIX_C_SOURCE): Likewise.
20198 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20199 (Feature Test Macros): Update documentation of default features.
20201 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20203 * benchtests/Makefile: Add bench-strtok.
20204 * benchtests/bench-strtok.c: New file: strtok benchtest.
20206 2013-12-19 Allan McRae <allan@archlinux.org>
20208 * manual/install.texi: Suppress menu for plain text output.
20209 * INSTALL: Regenerated.
20211 2013-12-18 Brooks Moses <bmoses@google.com>
20214 * misc/getauxval.c: Include errno.h.
20215 (__getauxval): Set errno to ENOENT if the requested type is not
20217 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20218 don't declare with __attribute_const__.
20219 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20220 * manual/startup.texi: Document that getauxval sets errno.
20222 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20224 * math/auto-libm-test-in: Add tests of jn and yn.
20225 * math/auto-libm-test-out: Regenerated.
20226 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20227 (yn_test_data): Likewise.
20228 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20230 (func_calc_desc): Add mpfr_if_f union field.
20231 (FUNC_mpfr_if_f): New macro.
20232 (test_functions): Add jn and yn.
20233 (calc_generic_results): Assert type of second input for
20234 mpfr_ff_f. Handle mpfr_if_f.
20235 (output_for_one_input_case): Disable all checking for arguments
20236 fitting floating-point types in case of an integer argument.
20237 * sysdeps/i386/fpu/libm-test-ulps: Update.
20238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20241 Don't expect fegetround reference in libm.so.
20243 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20245 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20246 $(config-cflags-nofma).
20248 2013-12-18 Joseph Myers <joseph@codesourcery.com>
20250 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20251 * math/auto-libm-test-out: Regenerated.
20254 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20255 to determine exponent and adjust argument to have exponent of -1.
20256 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20258 * math/auto-libm-test-out: Regenerated.
20259 * sysdeps/i386/fpu/libm-test-ulps: Update.
20260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20262 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
20264 * manual/probes.texi: Remove cases when per-thread arenas are
20267 2013-12-18 Andreas Schwab <schwab@suse.de>
20269 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20270 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20271 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20272 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20273 * sysdeps/i386/i686/multiarch/Makefile: Update.
20274 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20276 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20278 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20279 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20281 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
20284 Support TZ transition times < 00:00:00.
20285 This is needed for version-3 tz-format files; it supports time
20286 stamps past 2037 for America/Godthab (the only entry in the tz
20287 database for which this change is relevant).
20288 * manual/time.texi (TZ Variable): Document transition times
20289 from -167:59:59 through -00:00:01.
20290 * time/tzset.c (tz_rule): Time of day is now signed.
20291 (__tzset_parse_tz): Parse negative time of day.
20293 Document TZ transition times >= 25:00:00.
20294 * manual/time.texi (TZ Variable): Document transition times from
20295 25:00:00 through 167:59:59. These are already supported, and this
20296 support will help with version-3 tz-format files.
20298 * manual/time.texi (TZ Variable): Modernize North America example
20299 to reflect current (i.e., 2007-and-later) daylight saving rules.
20301 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20303 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20305 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20306 * sysdeps/unix/bsd/bits/stat.h: Likewise.
20307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20309 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20310 * sysdeps/unix/bsd/bsdstat.h: Likewise.
20311 * sysdeps/unix/bsd/clock.c: Likewise.
20312 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20313 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20314 * sysdeps/unix/bsd/init-posix.c: Likewise.
20315 * sysdeps/unix/bsd/poll.c: Likewise.
20316 * sysdeps/unix/bsd/ptsname.c: Likewise.
20317 * sysdeps/unix/bsd/seekdir.c: Likewise.
20318 * sysdeps/unix/bsd/setegid.c: Likewise.
20319 * sysdeps/unix/bsd/seteuid.c: Likewise.
20320 * sysdeps/unix/bsd/setgid.c: Likewise.
20321 * sysdeps/unix/bsd/setrgid.c: Likewise.
20322 * sysdeps/unix/bsd/setruid.c: Likewise.
20323 * sysdeps/unix/bsd/setsid.c: Likewise.
20324 * sysdeps/unix/bsd/setuid.c: Likewise.
20325 * sysdeps/unix/bsd/sigaction.c: Likewise.
20326 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20327 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20328 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20329 * sysdeps/unix/bsd/telldir.c: Likewise.
20330 * sysdeps/unix/bsd/times.c: Likewise.
20331 * sysdeps/unix/bsd/usleep.c: Likewise.
20333 * misc/Makefile (install-lib): Remove libbsd-compat.a.
20334 ($(objpfx)libbsd-compat.a): Remove rule.
20336 * include/features.h (__FAVOR_BSD): Do not define.
20337 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20338 features conflicting with POSIX.
20339 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20340 (_BSD_SOURCE): Remove description of not being a subset of other
20341 feature test macros.
20342 * manual/job.texi (getpgrp): Do not document BSD version.
20343 (getpgid): Do not document by reference to BSD getpgrp.
20344 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20345 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20346 * signal/signal.h [__FAVOR_BSD]: Likewise.
20347 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20348 instead of making contents conditional on [__FAVOR_BSD].
20349 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20351 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20355 2013-12-17 Joseph Myers <joseph@codesourcery.com>
20358 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20359 values below 2**-450, not 2**-500.
20360 * math/auto-libm-test-in: Don't allow spurious underflow from
20362 * math/auto-libm-test-out: Regenerated.
20366 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20367 values of ha and hb and sort them after adjusting subnormal
20369 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20371 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20372 values of ea and eb and sort them after adjusting subnormal
20374 * math/auto-libm-test-in: Do not expect some hypot tests of
20375 subnormals to fail. Add more hypot tests.
20376 * math/auto-libm-test-out: Regenerated.
20378 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20381 * sysdeps/sh/s_fma.c: New file.
20382 * sysdeps/sh/s_fmaf.c: New file.
20383 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
20385 * sysdeps/sh/Implies: Add sh/soft-fp.
20387 2013-12-16 Roland McGrath <roland@hack.frob.com>
20389 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
20390 level of indirection to members `objname', `errstring', `malloced'.
20391 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20392 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
20393 it as the __longjmp argument (just pass 1 instead).
20394 (_dl_catch_error): Initialize C with argument pointers and address of
20395 volatile local ERRCODE rather than copying values out of C at return.
20397 2013-12-16 Joseph Myers <joseph@codesourcery.com>
20399 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20400 * math/auto-libm-test-out: Regenerated.
20401 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20402 (hypot_test_data): Likewise.
20403 (pow_test_data): Likewise.
20404 (pow_tonearest_test_data): Likewise.
20405 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20407 (func_calc_desc): Add mpfr_ff_f union field.
20408 (FUNC_mpfr_ff_f): New macro.
20409 (test_functions): Add atan2, hypot and pow.
20410 (special_fill_min): New function.
20411 (special_fill_minus_min): Likewise.
20412 (special_fill_min_subnorm): Likewise.
20413 (special_fill_minus_min_subnorm): Likewise.
20414 (special_real_inputs): Add min, -min, min_subnorm and
20416 (calc_generic_results): Handle mpfr_ff_f.
20417 * sysdeps/i386/fpu/libm-test-ulps: Update.
20418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20420 2013-12-16 Will Newton <will.newton@linaro.org>
20422 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20423 (Aligned Memory Blocks): Add documentation for aligned_alloc
20424 and suggest it as an alternative to posix_memalign.
20425 (Hooks for Malloc): Document __memalign_hook is also called
20426 for aligned_alloc. (Summary of Malloc): Add summary for
20427 aligned alloc. Document __memalign_hook is also called
20430 2013-12-16 Will Newton <will.newton@linaro.org>
20432 * manual/memory.texi (Malloc Examples): Clarify default
20433 alignment documentation. Suggest posix_memalign rather
20434 than memalign or valloc.
20435 (Aligned Memory Blocks): Remove suggestion to use memalign
20436 or valloc. Remove obsolete comment about BSD.
20437 Document memalign errno values and mark the function obsolete.
20438 Document posix_memalign returned error codes. Mark valloc
20439 as obsolete. (Hooks for Malloc): __memalign_hook is also
20440 called for posix_memalign and valloc.
20441 (Summary of Malloc): Add posix_memalign to function summary.
20442 __memalign_hook is also called for posix_memalign and valloc.
20444 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20446 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20450 (sloww): Use mynumber union. Expand ternary operator into
20451 if-else statements.
20452 (cslow): use mynumber union.
20454 2013-12-16 Allan McRae <allan@archlinux.org>
20456 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20457 * configure: Regenerated.
20459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20462 * configure.ac: Added --enable-maintainer-mode. Check for
20463 autoconf when enabled.
20464 * configure: Regenerated.
20466 * nscd/nscd.service: New file.
20467 * nscd/nscd.tmpfiles: New file.
20469 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
20472 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20473 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20474 * sysdeps/x86_64/multiarch/strstr.c: ... here.
20475 (strstr): Add __strstr_sse2_unaligned ifunc.
20476 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20477 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20478 (strcasestr): Remove __strcasestr_sse42 ifunc.
20479 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20483 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20485 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20486 * sysdeps/sh/bits/fenv.h: ... here.
20487 * sysdeps/sh/sh4/fpu/bits: Remove directory.
20489 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20491 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20494 hypotf multiarch implementations.
20495 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20496 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20497 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20498 multiarch hypot for PPC64.
20499 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20500 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20501 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20502 multiarch hypotf for PPC64.
20504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20505 modff multiarch implementations.
20506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20509 multiarch modf for PPC64.
20510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20513 multiarch modff for PPC64.
20515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20516 and logl multiarch implementations.
20517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20520 multiarch logb for PPC64.
20521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20524 multiarch logb for PPC64.
20525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20528 multiarch logb for PPC64.
20530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20531 isinff multiarch implementation.
20532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20536 multiarch isinf for PPC64.
20537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20540 multiarch isinff for PPC64.
20542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20543 finitef multiarch implementation.
20544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20548 multiarch finite for PPC64.
20549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20552 multiarch finitef for PPC64.
20554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20555 lrint multiarch implementation.
20556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20560 multiarch llrint for PPC64.
20561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20562 multiarch lrint for PPC64.
20564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20565 copysignf multiarch implementation.
20566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20571 multiarch copysign for PPC64.
20572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20573 multiarch copysignf for PPC64.
20575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20576 multiarch implementation.
20577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20585 multiarch llround for PPC64.
20586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20587 multiarch trunc for PPC64.
20588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20589 multiarch truncf for PPC64.
20591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20592 multiarch implementation.
20593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20601 multiarch llround for PPC64.
20602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20603 multiarch round for PPC64.
20604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20605 multiarch roundf for PPC64.
20607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20608 multiarch implementation.
20609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20617 multiarch llround for PPC64.
20618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20619 multiarch floor for PPC64.
20620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20621 multiarch floorf for PPC64.
20623 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20624 multiarch implementation.
20625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20633 multiarch llround for PPC64.
20634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20635 multiarch ceil for PPC64.
20636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20637 multiarch ceilf for PPC64.
20639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20640 multiarch implementation.
20641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20648 multiarch llround for PPC64.
20649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20650 multiarch lround for PPC64.
20652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20653 multiarch implementation.
20654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20661 multiarch isnan for PPC64.
20662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20663 multiarch isnanf for PPC64.
20665 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20666 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20667 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20668 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20669 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20672 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20673 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20678 multiarch implementations.
20679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20680 (__libc_ifunc_impl_list): Likewise.
20681 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20682 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20683 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20684 multiarch stpcpy for PPC64.
20686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20687 multiarch implementations.
20688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20689 (__libc_ifunc_impl_list): Likewise.
20690 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20691 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20692 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20693 multiarch strcpy for PPC64.
20695 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20696 redefine function name.
20697 (_wordcopy_fwd_dest_aligned): Likewise.
20698 (_wordcopy_bwd_aligned): Likewise.
20699 (_wordcopy_bwd_dest_aligned): Likewise.
20700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20701 multiarch implementations.
20702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20703 (__libc_ifunc_impl_list): Likewise.
20704 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20705 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20707 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20708 multiarch wcscpy for PPC64.
20710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20711 multiarch implementations.
20712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20713 (__libc_ifunc_impl_list): Likewise.
20714 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20715 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20716 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20717 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20718 multiarch wcscpy for PPC64.
20720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20721 multiarch implementations.
20722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20723 (__libc_ifunc_impl_list): Likewise.
20724 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20725 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20726 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20727 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20728 multiarch wcsrchr for PPC64.
20730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20731 multiarch implementations.
20732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20733 (__libc_ifunc_impl_list): Likewise.
20734 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20735 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20736 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20737 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20738 multiarch wcschr for PPC64.
20740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20741 multiarch implementations.
20742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20743 (__libc_ifunc_impl_list): Likewise.
20744 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20745 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20746 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20747 multiarch strchrnul for PPC64.
20749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20752 (__libc_ifunc_impl_list): Likewise.
20753 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20754 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20755 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20756 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20762 (__libc_ifunc_impl_list): Likewise.
20763 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20764 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20765 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20766 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20770 multiarch implementations.
20771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20772 (__libc_ifunc_impl_list): Likewise.
20773 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20774 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20775 strncasecmp for PPC64.
20776 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20777 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20778 multiarch strncasecmp_l for PPC64.
20780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20781 multiarch implementations.
20782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20783 (__libc_ifunc_impl_list): Likewise.
20784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20785 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20786 multiarch strcasecmp for PPC64.
20787 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20790 multiarch strcasecmp_l for PPC64.
20792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20795 (__libc_ifunc_impl_list): Likewise.
20796 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20797 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20798 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20804 (__libc_ifunc_impl_list): Likewise.
20805 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20806 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20807 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20813 (__libc_ifunc_impl_list): Likewise.
20814 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20815 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20816 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20817 rawmemrchr for PPC64.
20819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20822 (__libc_ifunc_impl_list): Likewise.
20823 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20824 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20825 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20831 (__libc_ifunc_impl_list): Likewise.
20832 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20833 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20834 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20840 (__libc_ifunc_impl_list): Likewise.
20841 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20842 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20843 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20846 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20847 avoid cretion of __bzero symbol.
20848 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20850 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20852 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20855 multiarch implementations.
20856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20857 (__libc_ifunc_impl_list): Likewise.
20858 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20859 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20860 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20861 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20863 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20864 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20865 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20866 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20867 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20869 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20871 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20875 (__libc_ifunc_impl_list): Likewise.
20876 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20877 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20878 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20879 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20883 multiarch for POWER/PPC64.
20884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20885 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20886 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20887 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20888 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20889 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20890 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20891 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20892 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20895 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20896 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20897 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20898 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20899 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20900 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20901 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20902 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20903 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20904 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20905 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20906 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20907 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20908 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20909 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20918 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20920 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20922 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
20924 * benchtests/Makefile (bench): Add exp2 and log2.
20925 (LDLIBS-bench-exp2): Add -lm.
20926 (LDLIBS-bench-log2): Likewise.
20927 * benchtests/exp2-inputs: New inputs file.
20928 * benchtests/log2-inputs: New inputs file.
20929 * benchtests/log-inputs: Add new inputs.
20930 * benchtests/tan-inputs: Likewise.
20932 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20934 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20936 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20937 (csloww2): ... from here.
20939 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20940 instead of structures.
20941 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20942 (POLYNOMIAL): Likewise.
20943 (TAYLOR_SLOW): Likewise.
20949 (sloww1); Likewise.
20950 (sloww2): Likewise.
20951 (bsloww1): Likewise.
20952 (bsloww2): Likewise.
20953 (cslow2): Likewise.
20954 (csloww): Likewise.
20955 (csloww1): Likewise.
20956 (csloww2): Likewise.
20958 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
20960 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20961 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20962 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20963 * malloc/hooks.c (realloc_check): Likewise.
20965 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20966 * malloc/arena.c: Remove PER_THREAD conditional.
20967 [!PER_THREAD]: Remove code.
20968 (ptmalloc_unlock_all2): Likewise.
20969 (ptmalloc_init): Likewise.
20970 (_int_new_arena): Likewise.
20971 (arena_get2): Likewise.
20972 * malloc/hooks.c (__malloc_get_state): Likewise.
20973 (__malloc_set_state): Likewise.
20974 * malloc/malloc.c: Likewise.
20975 (struct malloc_state): Likewise.
20976 (struct malloc_par): Likewise.
20977 (__libc_realloc): Likewise.
20978 (__libc_mallopt): Likewise.
20980 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20982 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20984 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
20986 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20987 macro to a function. Check for zero perturb_byte.
20988 (_int_malloc, _int_free): Remove zero perturb_byte checks.
20990 * malloc/malloc.c: (force_reg): Remove.
20991 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20992 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20993 force_reg by atomic_forced_read.
20994 * malloc/arena.c (ptmalloc_init): Likewise.
20995 * malloc/hooks.c (top_check): Likewise.
20997 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21001 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21005 2013-12-08 Joseph Myers <joseph@codesourcery.com>
21007 * math/auto-libm-test-in: Add tests of lgamma.
21008 * math/auto-libm-test-out: Regenerated.
21009 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21010 (M_LOG_2_SQRT_PIl): Likewise.
21011 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21012 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21014 (func_calc_desc): Add mpfr_f_f1 union field.
21015 (ARGS1): New macro.
21023 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21024 (test_functions): Add lgamma.
21025 (calc_generic_results): Handle mpfr_f_f1.
21026 * sysdeps/i386/fpu/libm-test-ulps: Update.
21027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21029 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21031 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21032 __mpn_add_n for PowerPC64/POWER7.
21033 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21034 __mpn_sub_n for PowerPC64/POWER7.
21036 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21037 __mpn_addmul_1 for PowerPC64.
21038 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21039 __mpn_submul_1 for PowerPC64.
21040 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21042 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21045 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21048 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21050 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21052 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21054 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21055 add multiarch folders.
21056 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21057 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21058 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21059 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21060 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21061 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21062 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21063 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21064 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21065 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21066 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21075 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21081 multiarch __ieee754_hypot for PowerPC32.
21082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21087 multiarch __ieee754_hypotf for PowerPC32.
21089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21090 long_double_symbol only if __logbl is defined.
21091 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21092 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21093 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21094 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21096 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21097 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21098 path for implementation.
21099 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21100 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21102 logb, and logbl multiarch implementations for PowerPC32.
21103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21108 multiarch logb for PowerPC32.
21109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21114 multiarch logbf for PowerPC32.
21115 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21119 multiarch logbl implementation for PowerPC32.
21121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21122 and modff multiarch implementations.
21123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21128 multiarch modf for PowerPC32.
21129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21134 multiarch modff for PowerPC32.
21136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21137 and lrintf multiarch implementations.
21138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21143 multiarch lrint for PowerPC32.
21144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21145 file: multiarch lrintf for PowerPC32.
21147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21148 and lroundf multiarch implementations.
21149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21156 multiarch lround for PowerPC32.
21157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21158 file: multiarch lroundf for PowerPC32.
21160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21161 copysign and copysignf multiarch implementations.
21162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21167 file: multiarch copysign for PowerPC32.
21168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21169 file: multiarch copysignf for PowerPC32.
21171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21172 and truncf multiarch implementations.
21173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21178 multiarch trunc for PowerPC32.
21179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21184 multiarch truncf for PowerPC32.
21186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21187 and roundf multiarch implementations.
21188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21193 multiarch round for PowerPC32.
21194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21199 multiarch roundf for PowerPC32.
21201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21202 and floorf multiarch implementations.
21203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21208 multiarch floor for PowerPC32.
21209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21214 multiarch floorf for PowerPC32.
21216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21217 and ceilf multiarch implementations.
21218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21223 multiarch ceil for PowerPC32.
21224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21229 multiarch ceilf for PowerPC32.
21231 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21233 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21234 FINITEF is defined.
21235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21236 and finitef multiarch implementations.
21237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21242 multiarch finite for PowerPC32.
21243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21246 file: multiarch finitef for PowerPC32.
21248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21249 and isinff multiarch implementations.
21250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21255 multiarch isinf for PowerPC32.
21256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21259 multiarch isinff for PowerPC32.
21261 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21262 alias when __isnan is defined.
21263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21264 and isnanf multiarch implementations.
21265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21274 multiarch isnan for PowerPC32.
21275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21280 multiarch isnanf for PowerPC32.
21282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21283 and sqrtf multiarch implementations.
21284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21289 multiarch sqrt for PowerPC32.
21290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21295 multiarch sqrtf for PowerPC32.
21297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21298 and llroundf multiarch implementations.
21299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21306 file: multiarch llround for PowerPC32.
21307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21308 file: multiarch llroundf for PowerPC32.
21310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21311 multiarch PowerPC32 fpu implementations.
21312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21317 multiarch llrint for PowerPC32.
21318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21327 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21329 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21331 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21333 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21334 multiarch wordcopy for PPC32.
21335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21338 (__libc_ifunc_impl_list): Likewise.
21339 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21340 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21341 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21342 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21343 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21344 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21346 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21354 multiarch wcscpy for PPC32.
21355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21358 (__libc_ifunc_impl_list): Likewise.
21359 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21360 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21361 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21362 sysdeps/powerpc/power6/wcscpy.c.
21364 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21372 multiarch wcsrchr for PPC32.
21373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21376 (__libc_ifunc_impl_list): Likewise.
21377 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21378 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21379 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21380 sysdeps/powerpc/power6/wcsrchr.c.
21382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21388 multiarch wcschr for PPc32.
21389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21392 (__libc_ifunc_impl_list): Likewise.
21393 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21394 * sysdeps/powerpc/power6/wcschr.c: ... to here.
21395 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21396 sysdeps/powerpc/power6/wcschr.c.
21398 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21399 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21401 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21402 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21403 file: multiarch strchr for PPC32.
21404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21407 (__libc_ifunc_impl_list): Likewise.
21409 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21411 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21413 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21415 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21416 multiarch strchrnul for PPC32.
21417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21420 (__libc_ifunc_impl_list): Likewise.
21422 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21424 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21425 multiarch strncasecmp for PPC32.
21426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21429 multiarch strncasecmp_l for PPC32.
21430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21431 strncasecmp multiarch objects.
21432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21433 (__libc_ifunc_impl_list): Likewise.
21435 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21437 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21438 multiarch strncasecmp for PPC32.
21439 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21441 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21442 multiarch strcasecmp_l for PPC32.
21443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21446 (__libc_ifunc_impl_list): Likewise.
21448 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21452 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21453 multiarch strncmp for PPC32.
21454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21457 (__libc_ifunc_impl_list): Likewise.
21459 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21460 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21462 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21463 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21467 (__libc_ifunc_impl_list): Likewise.
21469 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21471 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21473 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21477 (__libc_ifunc_impl_list): Likewise.
21479 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21481 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21483 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21484 multiarch rawmemchr for PPC32.
21485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21488 (__libc_ifunc_impl_list): Likewise.
21490 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21492 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21494 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21495 file: memrchr multiarch for PPC32.
21496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21499 (__libc_ifunc_impl_list): Likewise.
21501 * string/memchr.c (__memchr): Using macro to redefine symbol name.
21502 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21504 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21505 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21506 multiarch memchr for PPC32.
21507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21510 (__libc_ifunc_impl_list): Likewise.
21512 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21513 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21515 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21517 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21518 file: multiarch mempcpy for PPC32.
21519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21522 (__libc_ifunc_impl_list): Likewise.
21524 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21525 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21526 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21527 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21528 multiarch bzero for PPC32.
21529 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21531 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21533 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21534 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21535 file: multiarch memset for PPC32.
21536 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21538 memset multiarch objects.
21539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21540 (__libc_ifunc_impl_list): Likewise.
21542 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21545 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21547 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21551 (__libc_ifunc_impl_list): Likewise.
21553 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21559 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21561 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21562 multiarch memcpy for PPC32.
21563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21566 (__libc_ifunc_impl_list): Likewise.
21568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21569 support multiarch for POWER/PPC32.
21570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21572 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21574 Implies file to make multiarch folder appers before the fpu and
21575 default folder for power4 configuration.
21577 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21579 * scripts/bench.pl: Append volatile keyword to type.
21581 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21583 * sysdeps/sh/sotruss-lib.c: New file.
21584 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21586 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21590 2013-12-05 Joseph Myers <joseph@codesourcery.com>
21593 * math/w_tgamma.c: Include <errno.h>.
21594 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
21595 * math/w_tgammaf.c: Include <errno.h>.
21596 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21597 * math/w_tgammal.c: Include <errno.h>.
21598 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
21599 * math/auto-libm-test-in: Do not allow missing errno on tgamma
21600 underflow. Add more tgamma tests.
21601 * math/auto-libm-test-out: Regenerated.
21602 * sysdeps/i386/fpu/libm-test-ulps: Update.
21603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21605 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21606 sin, sinh, tan, tanh, tgamma, y0 and y1.
21607 * math/auto-libm-test-out: Regenerated.
21608 * math/libm-test.inc (TEST_COND_x86_64): New macro.
21609 (TEST_COND_x86): Likewise.
21610 (M_E2l): Remove macro.
21612 (M_2_SQRT_PIl): Likewise.
21613 (M_SQRT_PIl): Likewise.
21614 (M_1_DIV_El): Likewise.
21615 (log_test_data): Use AUTO_TESTS_f_f.
21616 (log10_test_data): Likewise.
21617 (log1p_test_data): Likewise.
21618 (log2_test_data): Likewise.
21619 (sin_test_data): Likewise.
21620 (sin_tonearest_test_data): Likewise.
21621 (sin_towardzero_test_data): Likewise.
21622 (sin_downward_test_data): Likewise.
21623 (sin_upward_test_data): Likewise.
21624 (sinh_test_data): Likewise.
21625 (sinh_tonearest_test_data): Likewise.
21626 (sinh_towardzero_test_data): Likewise.
21627 (sinh_downward_test_data): Likewise.
21628 (sinh_upward_test_data): Likewise.
21629 (tan_test_data): Likewise.
21630 (tan_tonearest_test_data): Likewise.
21631 (tan_towardzero_test_data): Likewise.
21632 (tan_downward_test_data): Likewise.
21633 (tan_upward_test_data): Likewise.
21634 (tanh_test_data): Likewise.
21635 (tgamma_test_data): Likewise.
21636 (y0_test_data): Likewise.
21637 (y1_test_data): Likewise.
21638 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21639 (special_real_inputs): Add pi/4.
21640 * sysdeps/i386/fpu/libm-test-ulps: Update.
21641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21643 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21645 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21646 "longjmp_target" static probes.
21647 (__longjmp): Rename to __longjmp_symbol.
21648 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21649 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21650 on which longjmp to generate.
21651 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21652 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21654 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21655 (__sigjmp_save): Rename to __sigjmp_save_symbol.
21656 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21657 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21658 and __sigjmp_save_symbol based on which sigsetjmp to generated.
21659 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21661 __longjmp_symbol based on which __longjmp to generate.
21662 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21664 (setjmp): Rename to setjmp_symbol.
21665 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21666 (_setjmp): Rename to _setjmp_symbol.
21667 (__sigsetjmp): Rename to __sigsetjmp_symbol.
21668 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21669 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21670 which setjmp to generate.
21671 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21672 "longjmp_target" static probes.
21674 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21676 * benchtests/README: Add note about output arguments.
21677 * benchtests/bench-sincos.c: Remove file.
21678 * benchtests/sincos-inputs: New file.
21679 * scripts/bench.pl: Identify output arguments and define
21680 static variables for them.
21682 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21685 * Makefile (INSTALL): Add install-plain.texi as the primary
21687 * manual/install-plain.texi: New file.
21688 * manual/install.texi: Include node directive only for
21689 non-plaintext output.
21691 2013-12-04 Joseph Myers <joseph@codesourcery.com>
21693 * stdlib/longlong.h: Update from GCC.
21697 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21698 * math/w_j0f.c (y0f): Likewise.
21699 * math/w_j0l.c (__y0l): Likewise.
21700 * math/w_j1.c (y1): Likewise.
21701 * math/w_j1f.c (y1f): Likewise.
21702 * math/w_j1l.c (__y1l): Likewise
21703 * math/w_jn.c (yn): Likewise.
21704 * math/w_jnf.c (ynf): Likewise.
21705 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21706 Bessel function pole errors in _POSIX_ mode. Use NAN as return
21707 value for Bessel function domain errors outside _SVID_ mode.
21708 Adjust sign of return value for yn (negative integer, 0).
21709 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21710 by zero in return for negative x and set sign appropriately for
21712 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21713 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21714 * math/libm-test.inc (y0_test_data): Add more tests and adjust
21715 expectations in error cases.
21716 (y1_test_data): Likewise.
21717 (yn_test_data): Likewise.
21718 * sysdeps/i386/fpu/libm-test-ulps: Update.
21719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21721 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21723 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21724 "64" to "64-v1". Add "64-v2".
21725 (abi-64-options): Rename to ...
21726 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
21727 (abi-64-condition): Rename to ...
21728 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
21729 (abi-64-ld-soname): Rename to ...
21730 (abi-64-v1-ld-soname): ... this.
21731 (abi-64-v2-options): Define.
21732 (abi-64-v2-condition): Likewise.
21733 (abi-64-v2-ld-soname): Likewise.
21734 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21735 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21740 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21741 Alan Modra <amodra@gmail.com>
21743 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21744 New versions for use with the ELFv2 ABI.
21745 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21746 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21748 (struct La_ppc64v2_retval): Likewise.
21749 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21750 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21751 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21752 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21753 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21755 Do not save or restore CR.
21756 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21757 (_dl_profile_resolve): Do no save or restore CR. Support extended
21758 return values for ELFv2 ABI. Fix location of FPR return registers.
21759 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21760 updated values for _CALL_ELF == 2.
21761 (La_regs, La_retval, int_retval): Likewise.
21763 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21765 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21766 (FRAME_MIN_SIZE_PARM): Likewise.
21767 (FRAME_BACKCHAIN): Likewise.
21768 (FRAME_CR_SAVE): Likewise.
21769 (FRAME_LR_SAVE): Likewise.
21770 (FRAME_TOC_SAVE): Likewise.
21771 (FRAME_PARM_SAVE): Likewise.
21772 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21773 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21774 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21775 (call_mcount_parm_offset): New macro.
21776 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21777 (PROF): Use symbolic stack frame offsets.
21778 (TAIL_CALL_SYSCALL_ERROR): Likewise.
21779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21780 Redefine in terms of FRAME_MIN_SIZE.
21781 (_dl_runtime_resolve): Use symbolic stack frame offsets.
21782 (_dl_profile_resolve): Likewise. Update comment.
21783 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21784 symbols stack frame offsets.
21785 (__sigsetjmp): Likewise.
21786 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21787 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21788 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21789 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21792 (FRAME_BACKCHAIN): Remove.
21793 (FRAME_CR_SAVE): Likewise.
21794 (FRAME_LR_SAVE): Likewise.
21795 (FRAME_COMPILER_DW): Likewise.
21796 (FRAME_LINKER_DW): Likewise.
21797 (FRAME_TOC_SAVE): Likewise.
21798 (FRAME_PARM_SAVE): Likewise.
21799 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21800 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21801 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21803 (CHECK_SP): Use symbolic stack frame offsets.
21804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21805 zone" instead of caller's parameter save area for temp storage.
21806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21807 Likewise. Also, use symbolic stack frame offsets.
21808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21809 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21810 our own stack frame instead of the caller's.
21811 (__socket): Use symbolic stack frame offsets.
21813 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21814 Alan Modra <amodra@gmail.com>
21816 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21818 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21819 (PPC64_LOCAL_ENTRY_OFFSET): Define.
21820 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21822 (elf_machine_fixup_plt): Call it.
21823 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
21825 (elf_machine_rela): Update call to elf_machine_plt_conflict.
21826 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21827 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21828 r2 before calling target.
21830 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21831 Alan Modra <amodra@gmail.com>
21833 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21834 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21835 versions of macros to support ELFv2 ABI.
21836 (LOCALENTRY): New macro.
21837 (ENTRY, EALIGN): Use it.
21838 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21839 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21840 fall through into ENTRY entry point.
21841 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21842 Only define if _CALL_ELF != 2.
21844 (elf_machine_matches_host): Verify ABI version matches.
21845 (RTLD_START): Use LOCALENTRY.
21846 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21847 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21848 (PLT_ENTRY_WORDS): New macro.
21849 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21850 (elf_machine_runtime_setup): Support ELFv2 ABI.
21851 (elf_machine_fixup_plt): Likewise.
21852 (elf_machine_plt_conflict): Likewise.
21853 (resolve_ifunc): Likewise.
21854 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21855 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21858 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21860 (makecontext): Support ELFv2 ABI.
21861 * elf/elf.h (EF_PPC64_ABI): Define.
21863 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21865 * sysdeps/powerpc/powerpc64/sysdep.h
21866 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21867 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21868 (ENTRY) [ASSEMBLER]: ... but instead here ...
21869 (EALIGN) [ASSEMBLER]: ... and here.
21870 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21871 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21872 (ENTRY_2) [!ASSEMBLER]: Use it.
21873 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21874 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
21875 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21876 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21877 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21879 Use PPC64_LOAD_FUNCPTR.
21881 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21883 2013-12-04 Alan Modra <amodra@gmail.com>
21885 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21886 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21887 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21888 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21891 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21892 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21893 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21894 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21895 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21897 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
21899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21900 (__makecontext): Fix incorrect CFI when backtracing out of
21901 context created via makecontext.
21902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21903 (__setcontext): Fix incorrect CFI during switch to new context.
21904 (__novec_setcontext): Likewise.
21906 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21909 * time/strptime_l.c (__strptime_internal): Allow modifiers
21911 * time/tst-strptime.c (day_tests): Add testcase.
21913 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21915 * scripts/bench.pl: Skip over blank lines.
21917 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
21920 * manual/time.texi (Calendar Time): Clarify what timezone functions
21923 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21927 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
21929 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21931 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21932 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21933 * debug/memset_chk.c (__memset_chk): Likewise.
21934 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21935 * debug/strncpy_chk.c: Likewise.
21937 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21941 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21942 (__ieee754_exp): For possibly underflowing results, check size of
21943 result and force underflow exception if required.
21944 * math/auto-libm-test-in: Add more tests of exp.
21945 * math/auto-libm-test-out: Regenerated.
21946 * sysdeps/i386/fpu/libm-test-ulps: Update.
21947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21950 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21951 * math/w_exp2f.c (__exp2f): Likewise.
21952 * math/w_exp2l.c (__exp2l): Likewise.
21953 * math/auto-libm-test-in: Do not allow missing errno on exp2
21955 * math/auto-libm-test-out: Regenerated.
21957 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
21960 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21961 handle filename validation.
21962 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21965 2013-12-03 Joseph Myers <joseph@codesourcery.com>
21968 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21969 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21970 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21972 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21974 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21976 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21977 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21978 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21979 * math/auto-libm-test-in: Don't allow missing errno from erfc.
21980 Add more erfc tests.
21981 * math/auto-libm-test-out: Regenerated.
21982 * sysdeps/i386/fpu/libm-test-ulps: Update.
21983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21985 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21986 exp2, expm1, j0 and j1.
21987 * math/auto-libm-test-out: Regenerated.
21988 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21989 (erfc_test_data): Likewise.
21990 (exp_test_data): Likewise.
21991 (exp_tonearest_test_data): Likewise.
21992 (exp_towardzero_test_data): Likewise.
21993 (exp_downward_test_data): Likewise.
21994 (exp_upward_test_data): Likewise.
21995 (exp10_test_data): Likewise.
21996 (exp2_test_data): Likewise.
21997 (expm1_test_data): Likewise.
21998 (j0_test_data): Likewise.
21999 (j1_test_data): Likewise.
22000 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22001 (input_flag_type): Add flag_xfail_rounding.
22002 (input_flags): Add xfail-rounding.
22003 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22004 (output_for_one_input_case): Handle flag_xfail_rounding.
22005 * sysdeps/i386/fpu/libm-test-ulps: Update.
22006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22008 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22011 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22014 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22017 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22018 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22019 (STAP_PROBE0): New macro.
22020 (STAP_PROBE1): Likewise.
22021 (STAP_PROBE2): Likewise.
22022 (STAP_PROBE3): Likewise.
22023 (STAP_PROBE4): Likewise.
22025 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
22027 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22029 2013-12-02 Steve Ellcey <sellcey@mips.com>
22031 * benchtests/Makefile (bench): Add sqrt.
22032 (LDLIBS-bench-sqrt): New.
22033 * benchtests/sqrt-input: New.
22035 2013-12-02 Pavel Simerda <psimerda@redhat.com>
22037 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22038 (GAIH_EAI): Likewise.
22039 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22040 (gaih_inet): Likewise.
22041 (getaddrinfo): Don't use GAIH_EAI.
22043 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22044 (struct gaih): Remove definition.
22046 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22048 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22049 Use HERRNOP directly.
22051 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22055 2013-11-30 Joseph Myers <joseph@codesourcery.com>
22057 * math/gen-auto-libm-tests.c (test_functions): Add more
22058 single-argument functions.
22059 (special_fill_pi_2): New function.
22060 (special_fill_minus_pi_2): Likewise.
22061 (special_fill_pi_6): Likewise.
22062 (special_fill_minus_pi_6): Likewise.
22063 (special_fill_pi_3): Likewise.
22064 (special_fill_2pi_3): Likewise.
22065 (special_fill_e): Likewise.
22066 (special_fill_1_e): Likewise.
22067 (special_fill_e_minus_1): Likewise.
22068 (special_real_inputs): Add more special inputs.
22069 (output_for_one_input_case): Do not require ERANGE on underflow to
22070 zero if round-to-nearest result does not underflow to zero, unless
22071 exact results required.
22072 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22073 atan, atanh, cbrt, cos and cosh.
22074 * math/auto-libm-test-out: Regenerated.
22075 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22076 (acos_tonearest_test_data): Likewise.
22077 (acos_towardzero_test_data): Likewise.
22078 (acos_downward_test_data): Likewise.
22079 (acos_upward_test_data): Likewise.
22080 (acosh_test_data): Likewise.
22081 (asin_test_data): Likewise.
22082 (asin_tonearest_test_data): Likewise.
22083 (asin_towardzero_test_data): Likewise.
22084 (asin_upward_test_data): Likewise.
22085 (asinh_test_data): Likewise.
22086 (atan_test_data): Likewise.
22087 (atanh_test_data): Likewise.
22088 (cbrt_test_data): Likewise.
22089 (cos_test_data): Likewise.
22090 (cos_tonearest_test_data): Likewise.
22091 (cos_towardzero_test_data): Likewise.
22092 (cos_downward_test_data): Likewise.
22093 (cos_upward_test_data): Likewise.
22094 (cosh_test_data): Likewise.
22095 (cosh_tonearest_test_data): Likewise.
22096 (cosh_towardzero_test_data): Likewise.
22097 (cosh_downward_test_data): Likewise.
22098 (cosh_upward_test_data): Likewise.
22099 * sysdeps/i386/fpu/libm-test-ulps: Update.
22100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22102 2013-11-29 Joseph Myers <joseph@codesourcery.com>
22105 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22106 * math/w_exp10f.c (__exp10f): Likewise.
22107 * math/w_exp10l.c (__exp10l): Likewise.
22108 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22109 errno settings in existing tests.
22112 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22113 precision control set to double precision.
22114 * sysdeps/i386/fpu/w_sqrt.c: New file.
22115 * math/auto-libm-test-in: Add more tests.
22116 * math/auto-libm-test-out: Update.
22118 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22119 (sqrt_test_tonearest): New function.
22120 (sqrt_towardzero_test_data): New variable.
22121 (sqrt_test_towardzero): New function.
22122 (sqrt_downward_test_data): New variable.
22123 (sqrt_test_downward): New function.
22124 (sqrt_upward_test_data): New variable.
22125 (sqrt_test_upward): New function.
22126 (main): Call the new functions.
22128 * math/gen-auto-libm-tests.c: New file.
22129 * math/auto-libm-test-in: Likewise.
22130 * math/auto-libm-test-out: New generated file.
22131 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22133 (%beautify): Add generated representations of zero.
22134 (top level): Set $auto_input and call parse_auto_input.
22135 (beautify): Remove trailing "f" from hex float constants.
22136 (parse_args): Handle XFAIL_TEST.
22137 (convert_condition): New function.
22138 (or_value): Likewise.
22139 (or_cond_value): Likewise.
22140 (generate_testfile): Handle AUTO_TESTS_* lines.
22141 (parse_auto_input): New function.
22142 * math/libm-test.inc (XFAIL_TEST): New macro.
22143 (ERRNO_UNCHANGED): Update value.
22144 (ERRNO_EDOM): Likewise.
22145 (ERRNO_ERANGE): Likewise.
22146 (IGNORE_RESULT): Likewise.
22147 (TEST_COND_flt_32): New macro.
22148 (TEST_COND_dbl_64): Likewise.
22149 (TEST_COND_ldbl_96_intel): Likewise.
22150 (TEST_COND_ldbl_96_m68k): Likewise.
22151 (TEST_COND_ldbl_128): Likewise.
22152 (TEST_COND_ldbl_128ibm): Likewise.
22153 (TEST_COND_long32): Likewise.
22154 (TEST_COND_long64): Likewise.
22155 (TEST_COND_before_rounding): Likewise.
22156 (TEST_COND_after_rounding): Likewise.
22157 (enable_test): Handle XFAIL_TEST flag.
22158 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22159 with finite results.
22160 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22161 auto-libm-test-out.
22163 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22164 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22167 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22168 __tls_get_addr_internal instead of __tls_get_offset in order to
22169 avoid GOT pointer dependency. Make rtld export
22170 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22171 __tls_get_addr since we are a __tls_get_offset platform.
22172 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22173 GOT pointer being set up before.
22174 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22176 2013-11-28 Joseph Myers <joseph@codesourcery.com>
22178 * manual/math.texi (Errors in Math Functions): Document accuracy
22182 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22183 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22186 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22188 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22195 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22197 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22199 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22200 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22201 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22202 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22203 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22205 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22207 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22209 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22210 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22211 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22212 atomic-feupdateenv and flt-rounds.
22213 * sysdeps/powerpc/nofpu/Versions (libc): Add
22214 __atomic_feholdexcept, __atomic_feclearexcept,
22215 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22216 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22217 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22218 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22219 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22224 * manual/arith.texi (FP Exceptions): Document that exceptions may
22225 not be raised when matherr is used.
22226 (Math Error Reporting): Document overflow in directed rounding
22227 modes. Document that errno may not be set when finite values are
22228 returned on overflow. Document intent to set errno on underflow
22229 only for underflow to zero.
22232 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22233 round-to-nearest then adjust result for other rounding modes.
22234 * include/fenv.h (fegetround): Use libm_hidden_proto.
22235 * math/fegetround.c (fegetround): Use libm_hidden_def.
22236 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22237 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22238 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22239 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22241 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22242 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22243 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22244 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22246 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22249 * nss/Versions (libnss_files): Add
22250 _nss_files_gethostbyname3_r.
22251 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22253 (HOST_DB_LOOKUP): Remove macro.
22254 (_nss_files_gethostbyname_r): Implement function without the
22255 HOST_DB_LOOKUP macro.
22256 (_nss_files_gethostbyname2_r): Likewise.
22258 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
22260 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22262 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
22264 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22265 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22268 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22270 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22271 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22272 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22273 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22274 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22275 __fe_nomask_env_priv and attribute_hidden.
22276 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22277 (libc_feupdateenv_test_ppc): Likewise.
22278 (libc_feresetround_ppc): Likewise.
22279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22280 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22281 compat_symbol macro.
22282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22283 (__fe_nomask_env): Likewise.
22284 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22286 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22288 * string/Makefile: Remove ifunc tests.
22289 * string/test-string.h: Define TEST_IFUNC.
22290 * string/test-bcopy-ifunc.c: Remove.
22291 * string/test-bzero-ifunc.c: Likewise.
22292 * string/test-memccpy-ifunc.c: Likewise.
22293 * string/test-memchr-ifunc.c: Likewise.
22294 * string/test-memcmp-ifunc.c: Likewise.
22295 * string/test-memcpy-ifunc.c: Likewise.
22296 * string/test-memmem-ifunc.c: Likewise.
22297 * string/test-memmove-ifunc.c: Likewise.
22298 * string/test-mempcpy-ifunc.c: Likewise.
22299 * string/test-memrchr-ifunc.c: Likewise.
22300 * string/test-memset-ifunc.c: Likewise.
22301 * string/test-rawmemchr-ifunc.c: Likewise.
22302 * string/test-stpcpy-ifunc.c: Likewise.
22303 * string/test-stpncpy-ifunc.c: Likewise.
22304 * string/test-strcasecmp-ifunc.c: Likewise.
22305 * string/test-strcasestr-ifunc.c: Likewise.
22306 * string/test-strcat-ifunc.c: Likewise.
22307 * string/test-strchr-ifunc.c: Likewise.
22308 * string/test-strchrnul-ifunc.c: Likewise.
22309 * string/test-strcmp-ifunc.c: Likewise.
22310 * string/test-strcpy-ifunc.c: Likewise.
22311 * string/test-strcspn-ifunc.c: Likewise.
22312 * string/test-strlen-ifunc.c: Likewise.
22313 * string/test-strncasecmp-ifunc.c: Likewise.
22314 * string/test-strncat-ifunc.c: Likewise.
22315 * string/test-strncmp-ifunc.c: Likewise.
22316 * string/test-strncpy-ifunc.c: Likewise.
22317 * string/test-strnlen-ifunc.c: Likewise.
22318 * string/test-strpbrk-ifunc.c: Likewise.
22319 * string/test-strrchr-ifunc.c: Likewise.
22320 * string/test-strspn-ifunc.c: Likewise.
22321 * string/test-strstr-ifunc.c: Likewise.
22323 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22325 * benchtests/Makefile: Remove ifunc tests.
22326 * benchtests/bench-string.h: Define TEST_IFUNC.
22327 * benchtests/bench-bcopy-ifunc.c: Remove.
22328 * benchtests/bench-bzero-ifunc.c: Likewise.
22329 * benchtests/bench-memccpy-ifunc.c: Likewise.
22330 * benchtests/bench-memchr-ifunc.c: Likewise.
22331 * benchtests/bench-memcmp-ifunc.c: Likewise.
22332 * benchtests/bench-memcpy-ifunc.c: Likewise.
22333 * benchtests/bench-memmem-ifunc.c: Likewise.
22334 * benchtests/bench-memmove-ifunc.c: Likewise.
22335 * benchtests/bench-mempcpy-ifunc.c: Likewise.
22336 * benchtests/bench-memrchr-ifunc.c: Likewise.
22337 * benchtests/bench-memset-ifunc.c: Likewise.
22338 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22339 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22340 * benchtests/bench-stpcpy-ifunc.c: Likewise.
22341 * benchtests/bench-stpncpy-ifunc.c: Likewise.
22342 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22343 * benchtests/bench-strcasestr-ifunc.c: Likewise.
22344 * benchtests/bench-strcat-ifunc.c: Likewise.
22345 * benchtests/bench-strchr-ifunc.c: Likewise.
22346 * benchtests/bench-strchrnul-ifunc.c: Likewise.
22347 * benchtests/bench-strcmp-ifunc.c: Likewise.
22348 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22349 * benchtests/bench-strcpy-ifunc.c: Likewise.
22350 * benchtests/bench-strcspn-ifunc.c: Likewise.
22351 * benchtests/bench-strlen-ifunc.c: Likewise.
22352 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22353 * benchtests/bench-strncat-ifunc.c: Likewise.
22354 * benchtests/bench-strncmp-ifunc.c: Likewise.
22355 * benchtests/bench-strncpy-ifunc.c: Likewise.
22356 * benchtests/bench-strnlen-ifunc.c: Likewise.
22357 * benchtests/bench-strpbrk-ifunc.c: Likewise.
22358 * benchtests/bench-strrchr-ifunc.c: Likewise.
22359 * benchtests/bench-strsep-ifunc.c: Likewise.
22360 * benchtests/bench-strspn-ifunc.c: Likewise.
22361 * benchtests/bench-strstr-ifunc.c: Likewise.
22363 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22365 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22367 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
22369 * resolv/netdb.h: Use __glibc_reserved instead __unused.
22370 * rt/aio.h: Likewise.
22371 * sysdeps/gnu/bits/utmp.h: Likewise.
22372 * sysdeps/gnu/bits/utmpx.h: Likewise.
22373 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22374 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22375 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22376 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22377 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22378 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22379 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22380 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22381 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22382 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22383 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22384 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22385 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22387 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22388 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22389 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22390 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22391 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22392 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22393 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22394 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22395 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22396 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22397 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22399 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22400 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22401 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22402 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22403 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22404 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22405 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22406 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22407 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22408 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22409 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22410 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22411 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22412 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22413 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22414 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22416 2013-11-25 Carlos O'Donell <carlos@redhat.com>
22419 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22420 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22422 2013-11-25 Joseph Myers <joseph@codesourcery.com>
22424 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22425 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22428 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22430 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22431 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22432 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22433 (__fesetround): Remove define.
22434 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22435 rounding and exceptions handling.
22436 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22437 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22438 (__fe_nomask_env): Likewise.
22439 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22440 __fegetround instead of fegetround.
22441 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22442 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22444 2013-11-21 Roland McGrath <roland@hack.frob.com>
22446 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22449 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22451 2013-11-21 Meador Inge <meadori@codesourcery.com>
22454 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22455 (encrypt_r): Likewise.
22456 * malloc/obstack.h (obstack_free): Likewise.
22457 * posix/unistd.h (encrypt): Likewise.
22459 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
22461 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22462 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22463 DL_CALL_DT_FINI() that call the functions directly.
22464 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22465 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22466 * elf/dl-fini.c: Likewise.
22468 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
22470 * malloc/hooks.c (memalign_check): Add alignment rounding.
22471 * malloc/malloc.c (_mid_memalign): New function.
22472 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22473 Implement by calling _mid_memalign.
22474 * manual/probes.texi (Memory Allocation Probes): Remove
22475 memory_valloc_retry and memory_pvalloc_retry.
22477 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22479 * locale/programs/locarchive.c (open_archive): Add const
22480 qualifier to ARCHIVEFNAME and copy default fname to
22484 * libio/tst-widetext.input: Rename Oriya to Odia.
22485 * locale/iso-639.def: Likewise.
22487 * manual/probes.texi (Mathematical Function Probes): Add
22488 documentation for sin, cos, asin and acos probes.
22489 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22490 (__sin32): Add slowasin probe.
22491 (__cos32): Add slowacos probe.
22492 (__mpsin): Add slowsin probe.
22493 (__mpcos): Add slowcos probe.
22495 2013-11-19 Joseph Myers <joseph@codesourcery.com>
22498 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22499 thread-local __sim_exceptions_thread and global
22500 __sim_exceptions_global.
22501 (__sim_disabled_exceptions): Change to thread-local
22502 __sim_disabled_exceptions_thread and global
22503 __sim_disabled_exceptions_global.
22504 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22505 and global __sim_round_mode_global.
22506 (__simulate_exceptions): Use thread-local floating-point state and
22507 set global state from it as needed.
22508 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22509 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22510 __sim_round_mode_thread.
22511 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22512 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22513 and global __sim_exceptions_global.
22514 (__sim_disabled_exceptions): Change to thread-local
22515 __sim_disabled_exceptions_thread and global
22516 __sim_disabled_exceptions_global.
22517 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22518 and global __sim_round_mode_global.
22519 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22520 (SIM_SET_GLOBAL): Likewise.
22521 * sysdeps/powerpc/soft-fp/sfp-machine.h
22522 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22523 __sim_round_mode_thread.
22524 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22525 __sim_disabled_exceptions_thread.
22526 (__sim_exceptions): Change to __sim_exceptions_thread.
22527 (__sim_disabled_exceptions): Change to
22528 __sim_disabled_exceptions_thread.
22529 (__sim_round_mode): Change to __sim_round_mode_thread.
22530 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22531 thread-local floating-point state and set global state from it as
22533 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22534 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22535 (__sim_disabled_exceptions): Remove extern declaration.
22536 (feenableexcept): Use thread-local floating-point state and set
22537 global state from it as needed.
22538 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22539 extern declaration.
22540 (__sim_disabled_exceptions): Likewise.
22541 (__sim_round_mode): Likewise.
22542 (__fegetenv): Use thread-local floating-point state.
22543 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22544 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22545 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22546 floating-point state and set global state from it as needed.
22547 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22548 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22549 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22551 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22552 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22554 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22555 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22556 Use __sim_round_mode_thread.
22557 * math/test-fenv-tls.c: New file.
22558 * math/Makefile (tests): Add test-fenv-tls.
22559 ($(objpfx)test-fenv-tls): Depend on
22560 $(common-objpfx)nptl/libpthread.so.
22562 2013-11-19 Andreas Schwab <schwab@suse.de>
22564 * locale/programs/locale.c (show_info): Decode wordarray elements.
22565 * locale/categories.def (LC_MONETARY): Add element for
22566 _NL_MONETARY_CRNCYSTR.
22567 * locale/C-monetary.c (conversion_rate): New variable.
22568 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22571 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
22573 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22574 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22576 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
22578 * elf/Makefile (tst-auxv): New test.
22579 * elf/tst-auxv.c: New
22580 * elf/rtld.c (dl_main): Adjust AT_EXECFN
22582 2013-11-18 Joseph Myers <joseph@codesourcery.com>
22584 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22585 (hidden_proto): Caller changed.
22586 (hidden_tls_proto): New macro.
22587 (libc_hidden_tls_proto): Likewise.
22588 (rtld_hidden_tls_proto): Likewise.
22589 (libm_hidden_tls_proto): Likewise.
22590 (libresolv_hidden_tls_proto): Likewise.
22591 (librt_hidden_tls_proto): Likewise.
22592 (libdl_hidden_tls_proto): Likewise.
22593 (libnss_files_hidden_tls_proto): Likewise.
22594 (libnsl_hidden_tls_proto): Likewise.
22595 (libnss_nisplus_hidden_tls_proto): Likewise.
22596 (libutil_hidden_tls_proto): Likewise.
22598 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
22601 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22602 (decompose_rpath): Defer expansion to fillin_rpath.
22603 (_dl_init_paths): Pass linkmap to fillin_rpath.
22605 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22607 * benchtests/Makefile: Add strsep.
22608 * benchtests/bench-strsep.c: New file: strsep benchtest.
22609 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22611 2013-11-18 Andreas Schwab <schwab@suse.de>
22613 * locale/programs/locale.c (show_info) [case byte]: Check for
22614 '\377' instead of '\177'.
22615 * locale/C-monetary.c (not_available): Always use "\377".
22616 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22617 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
22618 detect unavailable sign_posn locale elements.
22619 * locale/localeconv.c (__localeconv): For grouping and
22620 mon_grouping handle "\177" and "\377" like no grouping.
22621 (INT_ELEM): New macro. Use it to set all numeric members.
22622 * locale/programs/ld-monetary.c (monetary_read)
22623 <tok_mon_grouping>: Normalize single -1 to the empty string.
22624 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22627 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22630 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22631 when we match (nil).
22632 * stdio-common/tst-sscanf.c (struct test): Add testcase.
22634 2013-11-16 Joseph Myers <joseph@codesourcery.com>
22636 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22637 (NO_TEST_INLINE): Update value.
22638 (ERRNO_UNCHANGED): Likewise.
22639 (ERRNO_EDOM): Likewise.
22640 (ERRNO_ERANGE): Likewise.
22641 (IGNORE_RESULT): Likewise.
22642 (check_float_internal): Check signs of NaN results if
22643 TEST_NAN_SIGN used.
22644 (check_complex): Pass TEST_NAN_SIGN flag through to second
22645 check_float_internal call.
22646 (copysign_test_data): Add tests with quiet NaNs as second
22647 argument. Use TEST_NAN_SIGN.
22648 (fabs_test_data): Add test of negative quiet NaN argument. Use
22650 (signbit_test_data): Add tests of quiet NaN argument.
22651 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22653 * math/gen-libm-test.pl (show_exceptions): Take extra argument
22655 (parse_args): Handle function results specified as IGNORE.
22656 * math/libm-test.inc (IGNORE_RESULT): New macro.
22657 (check_float_internal): Do not check numerical result if flag
22659 (check_complex): Pass through IGNORE_RESULT to second
22660 check_float_internal call.
22661 (check_int): Do not check numerical result if flag IGNORE_RESULT
22663 (check_long): Likewise.
22664 (check_bool): Likewise.
22665 (check_longlong): Likewise.
22666 (lrint_test_data): Add tests of infinite and NaN arguments.
22667 (lrint_tonearest_test_data): Likewise.
22668 (lrint_towardzero_test_data): Likewise.
22669 (lrint_downward_test_data): Likewise.
22670 (lrint_upward_test_data): Likewise.
22671 (llrint_test_data): Likewise.
22672 (llrint_tonearest_test_data): Likewise.
22673 (llrint_towardzero_test_data): Likewise.
22674 (llrint_downward_test_data): Likewise.
22675 (llrint_upward_test_data): Likewise.
22676 (lround_test_data): Likewise.
22677 (llround_test_data): Likewise.
22679 * math/libm-test.inc (NO_TEST_INLINE): New macro.
22680 (ERRNO_UNCHANGED): Update value.
22681 (ERRNO_EDOM): Likewise.
22682 (ERRNO_ERANGE): Likewise.
22683 (NO_TEST_INLINE_FLOAT): New macro.
22684 (NO_TEST_INLINE_DOUBLE): Likewise.
22685 (enable_test): New function.
22686 (RUN_TEST_f_f): Check enable_test before running test.
22687 (RUN_TEST_2_f): Likewise.
22688 (RUN_TEST_fff_f): Likewise.
22689 (RUN_TEST_c_f): Likewise.
22690 (RUN_TEST_f_f1): Likewise.
22691 (RUN_TEST_fF_f1): Likewise.
22692 (RUN_TEST_fI_f1): Likewise.
22693 (RUN_TEST_ffI_f1): Likewise.
22694 (RUN_TEST_c_c): Likewise.
22695 (RUN_TEST_cc_c): Likewise.
22696 (RUN_TEST_f_i): Likewise.
22697 (RUN_TEST_f_i_tg): Likewise.
22698 (RUN_TEST_ff_i_tg): Likewise.
22699 (RUN_TEST_f_b): Likewise.
22700 (RUN_TEST_f_b_tg): Likewise.
22701 (RUN_TEST_f_l): Likewise.
22702 (RUN_TEST_f_L): Likewise.
22703 (RUN_TEST_fFF_11): Likewise.
22704 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22706 (cosh_test_data): Likewise.
22707 (exp_test_data): Likewise.
22708 (expm1_test_data): Likewise.
22709 (hypot_test_data): Likewise.
22710 (pow_test_data): Likewise.
22711 (sinh_test_data): Likewise.
22712 (tanh_test_data): Likewise.
22713 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22716 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22717 tests with quiet NaN input and output.
22718 (acosh_test_data): Likewise.
22719 (asin_test_data): Likewise.
22720 (asinh_test_data): Likewise.
22721 (atan_test_data): Likewise.
22722 (atanh_test_data): Likewise.
22723 (atan2_test_data): Likewise.
22724 (cbrt_test_data): Likewise.
22725 (cos_test_data): Likewise.
22726 (cosh_test_data): Likewise.
22727 (erf_test_data): Likewise.
22728 (erfc_test_data): Likewise.
22729 (exp_test_data): Likewise.
22730 (exp10_test_data): Likewise.
22731 (exp2_test_data): Likewise.
22732 (expm1_test_data): Likewise.
22733 (hypot_test_data): Likewise.
22734 (j0_test_data): Likewise.
22735 (j1_test_data): Likewise.
22736 (jn_test_data): Likewise.
22737 (lgamma_test_data): Likewise.
22738 (log_test_data): Likewise.
22739 (log10_test_data): Likewise.
22740 (log1p_test_data): Likewise.
22741 (log2_test_data): Likewise.
22742 (pow_test_data): Likewise.
22743 (scalb_test_data): Likewise.
22744 (sin_test_data): Likewise.
22745 (sincos_test_data): Likewise.
22746 (sinh_test_data): Likewise.
22747 (tan_test_data): Likewise.
22748 (tanh_test_data): Likewise.
22749 (tgamma_test_data): Likewise.
22750 (y0_test_data): Likewise.
22751 (y1_test_data): Likewise.
22752 (yn_test_data): Likewise.
22755 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22756 argument being NaN and avoid computations with second argument in
22758 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22759 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22760 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22762 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
22764 * locale/iso-639.def: Add Chitwani Tharu (the).
22766 2013-11-14 Andreas Schwab <schwab@suse.de>
22768 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22769 word instead of empty string.
22771 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22774 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22776 (__fe_nomask_env): Likewise.
22778 2013-11-13 Steve Ellcey <sellcey@mips.com>
22780 * benchtests/bench-timing.h: Include time.h.
22782 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
22785 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22787 * sysdeps/unix/sysv/linux/configure: Regenerated.
22789 2013-11-13 Joseph Myers <joseph@codesourcery.com>
22792 * stdlib/strtod_l.c (round_and_return): Do not consider
22793 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22794 exponent one less than half the least subnormal exponent.
22795 * stdlib/test-strtod-round-data: Add more tests.
22796 * stdlib/tst-strtod-round.c (tests): Regenerated.
22798 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22801 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22802 (__fe_mask_env): Likewise.
22803 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22804 libm_hidden_proto and add function prototype.
22805 (__fe_mask_env): Add function prototype.
22806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22807 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22809 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22811 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22813 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22815 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22816 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22818 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22820 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22821 of htab_find_slot().
22823 2013-11-11 David S. Miller <davem@davemloft.net>
22826 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22827 symbol in the non-vis3 case in static builds.
22828 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22829 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22830 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22831 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22833 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
22836 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22839 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22841 * benchtests/Makefile: Add bench-strtod.
22842 * benchtests/bench-strtod.c: New file: strtod benchtest
22844 2013-11-11 Andreas Schwab <schwab@suse.de>
22847 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22848 terminating NUL in key length.
22850 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22852 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22853 Add artificial ODP entry for vDSO symbol for PPC64.
22854 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22855 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22857 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
22860 * nss/getent.c (services_keys): Recognize services starting with digit.
22862 2013-11-06 David S. Miller <davem@davemloft.net>
22865 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22866 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22868 2013-11-06 Will Newton <will.newton@linaro.org>
22870 * manual/memory.texi (Malloc Examples): Remove register
22871 keyword from examples.
22873 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
22875 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22877 2013-11-04 Joseph Myers <joseph@codesourcery.com>
22880 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22881 depending on [__GCC_IEC_559 > 0].
22882 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22883 depending on [__GCC_IEC_559_COMPLEX > 0].
22885 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
22887 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22890 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
22892 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22894 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
22897 * malloc/malloc (malloc_info): Do not handle first bin as
22900 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
22902 * locale/iso-639.def: Add Central Nahuatl (nhn).
22904 2013-11-01 Bruno Haible <bruno@clisp.org>
22907 * manual/math.texi (BSD Random): Specify range upper bound as
22910 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
22912 * locale/iso-639.def: Add Meadow Mari (mhr).
22914 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
22916 [BZ #14752], [BZ #15763]
22917 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22919 * rt/tst_shm.c: Add test for escaping directory.
22921 2013-10-31 Andreas Schwab <schwab@suse.de>
22924 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22925 followed by 'x' as part of digit sequence.
22926 * stdio-common/tst-sscanf.c (double_tests2): New tests.
22928 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22931 * configure.ac: allow GNU Make 4.0 and greater.
22932 * configure: Regenerated.
22934 2013-10-30 Will Newton <will.newton@linaro.org>
22937 * malloc/hooks.c (memalign_check): Limit alignment to the
22938 maximum representable power of two.
22939 * malloc/malloc.c (__libc_memalign): Likewise.
22940 * malloc/tst-memalign.c (do_test): Add test for very
22941 large alignment values.
22942 * malloc/tst-posix_memalign.c (do_test): Likewise.
22944 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22947 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22948 (munmap_chunk): Likewise.
22949 (mremap_chunk): Likewise.
22951 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
22954 * stdlib/div.c (div): Remove obsolete code.
22955 * stdlib/ldiv.c (ldiv): Likewise.
22956 * stdlib/lldiv.c (lldiv): Likewise.
22958 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
22961 * nss/nss_files/files-XXX.c (get_contents_ret): New
22963 (get_contents): New function.
22964 (internal_getent): Use it. Expand size of LINEBUFLEN.
22966 2013-10-30 Mike Frysinger <vapier@gentoo.org>
22968 * configure.in: Moved to ...
22969 * configure.ac: ... here. Change reference to configure.in
22971 * sysdeps/arm/preconfigure.ac: ... here.
22972 configure.in to configure.ac.
22973 * sysdeps/gnu/configure.in: Moved to ...
22974 * sysdeps/gnu/configure.ac: ... here.
22975 * sysdeps/i386/configure.in: Moved to ...
22976 * sysdeps/i386/configure.ac: ... here.
22977 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22978 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22979 * sysdeps/mach/configure.in: Moved to ...
22980 * sysdeps/mach/configure.ac: ... here.
22981 * sysdeps/mach/hurd/configure.in: Moved to ...
22982 * sysdeps/mach/hurd/configure.ac: ... here.
22983 * sysdeps/powerpc/configure.in: Moved to ...
22984 * sysdeps/powerpc/configure.ac: ... here.
22985 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22986 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22987 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22988 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22989 * sysdeps/s390/s390-32/configure.in: Moved to ...
22990 * sysdeps/s390/s390-32/configure.ac: ... here.
22991 * sysdeps/s390/s390-64/configure.in: Moved to ...
22992 * sysdeps/s390/s390-64/configure.ac: ... here.
22993 * sysdeps/sh/configure.in: Moved to ...
22994 * sysdeps/sh/configure.ac: ... here.
22995 * sysdeps/sparc/configure.in: Moved to ...
22996 * sysdeps/sparc/configure.ac: ... here.
22997 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22998 * sysdeps/unix/sysv/linux/configure.ac: ... here.
22999 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23000 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23001 * sysdeps/x86_64/configure.in: Moved to ...
23002 * sysdeps/x86_64/configure.ac: ... here.
23003 * sysdeps/x86_64/preconfigure.in: Moved to ...
23004 * sysdeps/x86_64/preconfigure.ac: ... here.
23005 * aclocal.m4: Change reference to configure.in to configure.ac.
23006 * config.h.in: Likewise.
23007 * manual/install.texi: Likewise.
23008 * manual/maint.texi: Likewise.
23009 * Makefile: Likewise.
23010 * malloc/Makefile: Likewise.
23011 * nscd/Makefile: Likewise.
23012 * Makeconfig: Change reference to configure.in and
23013 preconfigure.in to configure.ac and preconfigure.ac
23015 * INSTALL: Regenerated.
23016 * configure: Likewise.
23017 * sysdeps/gnu/configure: Likewise.
23018 * sysdeps/i386/configure: Likewise.
23019 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23020 * sysdeps/mach/configure: Likewise.
23021 * sysdeps/mach/hurd/configure: Likewise.
23022 * sysdeps/powerpc/configure: Likewise.
23023 * sysdeps/powerpc/powerpc32/configure: Likewise.
23024 * sysdeps/powerpc/powerpc64/configure: Likewise.
23025 * sysdeps/s390/s390-32/configure: Likewise.
23026 * sysdeps/s390/s390-64/configure: Likewise.
23027 * sysdeps/sh/configure: Likewise.
23028 * sysdeps/sparc/configure: Likewise.
23029 * sysdeps/unix/sysv/linux/configure: Likewise.
23030 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23031 * sysdeps/x86_64/configure: Likewise.
23032 * sysdeps/x86_64/preconfigure: Likewise.
23034 2013-10-29 Andreas Schwab <schwab@suse.de>
23036 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23038 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23040 * benchtests/pow-inputs: Add new inputs.
23042 * benchtests/exp-inputs: Add new inputs.
23044 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23045 conditional check for return value.
23046 (__cos32): Likewise.
23048 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23050 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23051 to provide a boost for large inputs with word alignment.
23052 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23053 implementation based on optimized PPC64 strcpy.
23054 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23055 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23056 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23057 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23059 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23062 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23064 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23067 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23068 * time/tst-strptime.c (day_tests): Add testcase.
23070 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
23073 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23075 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23078 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23079 MAP_FAILED on error.
23081 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23084 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23085 heap for large requests.
23087 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23090 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23091 result if the result has no associated interface.
23092 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23093 interface for all 127.X.Y.Z addresses.
23095 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
23097 * locale/iso-639.def: Add Ligurian (lij)
23099 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
23102 * sunrpc/rpc_main.c: Document rpcgen -5.
23104 2013-10-19 Michael Stahl <mstahl@redhat.com>
23106 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23108 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23111 * posix/glob.c: Match only directories when trailing slash is present.
23112 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23113 (main): Add testcase.
23115 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
23118 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23120 2013-10-18 Carlos O'Donell <carlos@redhat.com>
23122 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23123 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23124 AUTH_DES and cindex for FIPS 140-2.
23125 (DES Encryption): Add cindex FIPS 46-3.
23127 * locale/locarchive.h (struct locarhandle): Add fname.
23128 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23129 if an optional argument was specified to --list-archive,
23131 * locale/programs/locarchive.c (show_archive_content): Take new
23132 argument fname and pass it via ah.fname to open_archive.
23133 * locale/programs/localedef.h: Update decl.
23134 (open_archive): If AH->fname is non-null, open that file
23135 rather than the default file name, and don't ignore ENOENT.
23136 (create_archive): Set AH.fname to NULL.
23137 (delete_locales_from_archive): Likewise.
23138 (add_locales_to_archive): Likewise.
23139 * locale/programs/locfile.c (write_all_categories): Likewise.
23141 2013-10-18 Joseph Myers <joseph@codesourcery.com>
23142 Aldy Hernandez <aldyh@redhat.com>
23144 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23145 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23146 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23147 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23148 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23149 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23150 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23151 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23152 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23153 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23154 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23155 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23156 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23157 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23158 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23160 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23162 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23164 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23166 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23167 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23169 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23170 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23171 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23172 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23174 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23175 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23176 * sysdeps/powerpc/preconfigure: Likewise.
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23179 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23180 Replace contents of file by #include of <fenv_libc.h>.
23181 * sysdeps/powerpc/soft-fp/sfp-machine.h
23182 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23184 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23185 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23188 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23189 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23191 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23192 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23193 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23194 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23195 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23197 Allow copysignl PLT reference to be missing.
23199 2013-10-18 Richard Sandiford <richard@codesourcery.com>
23200 Joseph Myers <joseph@codesourcery.com
23203 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23205 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23207 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23209 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23210 * elf/tst-tls1.c: Likewise.
23211 * elf/tst-tls10.h: Likewise.
23212 * elf/tst-tls14.c: Likewise.
23213 * elf/tst-tls2.c: Likewise.
23214 * elf/tst-tls3.c: Likewise.
23215 * elf/tst-tls4.c: Likewise.
23216 * elf/tst-tls5.c: Likewise.
23217 * elf/tst-tls6.c: Likewise.
23218 * elf/tst-tls7.c: Likewise.
23219 * elf/tst-tls8.c: Likewise.
23220 * elf/tst-tls9.c: Likewise.
23221 * elf/tst-tlsmod1.c: Likewise.
23222 * elf/tst-tlsmod13.c: Likewise.
23223 * elf/tst-tlsmod13a.c: Likewise.
23224 * elf/tst-tlsmod14a.c: Likewise.
23225 * elf/tst-tlsmod16a.c: Likewise.
23226 * elf/tst-tlsmod16b.c: Likewise.
23227 * elf/tst-tlsmod2.c: Likewise.
23228 * elf/tst-tlsmod3.c: Likewise.
23229 * elf/tst-tlsmod4.c: Likewise.
23230 * elf/tst-tlsmod5.c: Likewise.
23231 * elf/tst-tlsmod6.c: Likewise.
23233 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
23236 * malloc/malloc.c: remove checks for statistics.
23238 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23241 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23242 * inet/tst-network.c: Add testcase.
23244 2013-10-17 Andreas Schwab <schwab@suse.de>
23247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23248 to determine canonical name.
23250 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
23252 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23253 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23255 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23257 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23258 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23259 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23260 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23261 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23262 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23263 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23264 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23265 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23266 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23267 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23269 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23270 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23271 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23272 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23275 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23276 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23277 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23278 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23279 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23280 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23281 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23282 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23284 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23285 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23286 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23287 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23288 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23289 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23290 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23292 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23293 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23294 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23295 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23296 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23297 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23298 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23299 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23300 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23301 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23302 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23303 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23304 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23305 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23306 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23307 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23308 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23309 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23311 2013-10-17 Joseph Myers <joseph@codesourcery.com>
23314 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23315 make result into a quiet NaN.
23317 2013-10-16 Joseph Myers <joseph@codesourcery.com>
23319 * soft-fp/adddf3.c: Fix horizontal whitespace.
23320 * soft-fp/addsf3.c: Likewise.
23321 * soft-fp/addtf3.c: Likewise.
23322 * soft-fp/divdf3.c: Likewise.
23323 * soft-fp/divsf3.c: Likewise.
23324 * soft-fp/divtf3.c: Likewise.
23325 * soft-fp/double.h: Likewise.
23326 * soft-fp/eqdf2.c: Likewise.
23327 * soft-fp/eqsf2.c: Likewise.
23328 * soft-fp/eqtf2.c: Likewise.
23329 * soft-fp/extenddftf2.c: Likewise.
23330 * soft-fp/extended.h: Likewise.
23331 * soft-fp/extendsfdf2.c: Likewise.
23332 * soft-fp/extendsftf2.c: Likewise.
23333 * soft-fp/extendxftf2.c: Likewise.
23334 * soft-fp/fixdfdi.c: Likewise.
23335 * soft-fp/fixdfsi.c: Likewise.
23336 * soft-fp/fixdfti.c: Likewise.
23337 * soft-fp/fixsfdi.c: Likewise.
23338 * soft-fp/fixsfsi.c: Likewise.
23339 * soft-fp/fixsfti.c: Likewise.
23340 * soft-fp/fixtfdi.c: Likewise.
23341 * soft-fp/fixtfsi.c: Likewise.
23342 * soft-fp/fixtfti.c: Likewise.
23343 * soft-fp/fixunsdfdi.c: Likewise.
23344 * soft-fp/fixunsdfsi.c: Likewise.
23345 * soft-fp/fixunsdfti.c: Likewise.
23346 * soft-fp/fixunssfdi.c: Likewise.
23347 * soft-fp/fixunssfsi.c: Likewise.
23348 * soft-fp/fixunssfti.c: Likewise.
23349 * soft-fp/fixunstfdi.c: Likewise.
23350 * soft-fp/fixunstfsi.c: Likewise.
23351 * soft-fp/fixunstfti.c: Likewise.
23352 * soft-fp/floatdidf.c: Likewise.
23353 * soft-fp/floatdisf.c: Likewise.
23354 * soft-fp/floatditf.c: Likewise.
23355 * soft-fp/floatsidf.c: Likewise.
23356 * soft-fp/floatsisf.c: Likewise.
23357 * soft-fp/floatsitf.c: Likewise.
23358 * soft-fp/floattidf.c: Likewise.
23359 * soft-fp/floattisf.c: Likewise.
23360 * soft-fp/floattitf.c: Likewise.
23361 * soft-fp/floatundidf.c: Likewise.
23362 * soft-fp/floatundisf.c: Likewise.
23363 * soft-fp/floatunditf.c: Likewise.
23364 * soft-fp/floatunsidf.c: Likewise.
23365 * soft-fp/floatunsisf.c: Likewise.
23366 * soft-fp/floatunsitf.c: Likewise.
23367 * soft-fp/floatuntidf.c: Likewise.
23368 * soft-fp/floatuntisf.c: Likewise.
23369 * soft-fp/floatuntitf.c: Likewise.
23370 * soft-fp/fmadf4.c: Likewise.
23371 * soft-fp/fmasf4.c: Likewise.
23372 * soft-fp/fmatf4.c: Likewise.
23373 * soft-fp/gedf2.c: Likewise.
23374 * soft-fp/gesf2.c: Likewise.
23375 * soft-fp/getf2.c: Likewise.
23376 * soft-fp/ledf2.c: Likewise.
23377 * soft-fp/lesf2.c: Likewise.
23378 * soft-fp/letf2.c: Likewise.
23379 * soft-fp/muldf3.c: Likewise.
23380 * soft-fp/mulsf3.c: Likewise.
23381 * soft-fp/multf3.c: Likewise.
23382 * soft-fp/negdf2.c: Likewise.
23383 * soft-fp/negsf2.c: Likewise.
23384 * soft-fp/negtf2.c: Likewise.
23385 * soft-fp/op-1.h: Likewise.
23386 * soft-fp/op-2.h: Likewise.
23387 * soft-fp/op-4.h: Likewise.
23388 * soft-fp/op-8.h: Likewise.
23389 * soft-fp/op-common.h: Likewise.
23390 * soft-fp/quad.h: Likewise.
23391 * soft-fp/single.h: Likewise.
23392 * soft-fp/soft-fp.h: Likewise.
23393 * soft-fp/sqrtdf2.c: Likewise.
23394 * soft-fp/sqrtsf2.c: Likewise.
23395 * soft-fp/sqrttf2.c: Likewise.
23396 * soft-fp/subdf3.c: Likewise.
23397 * soft-fp/subsf3.c: Likewise.
23398 * soft-fp/subtf3.c: Likewise.
23399 * soft-fp/truncdfsf2.c: Likewise.
23400 * soft-fp/trunctfdf2.c: Likewise.
23401 * soft-fp/trunctfsf2.c: Likewise.
23402 * soft-fp/trunctfxf2.c: Likewise.
23403 * soft-fp/unorddf2.c: Likewise.
23404 * soft-fp/unordsf2.c: Likewise.
23405 * soft-fp/unordtf2.c: Likewise.
23407 2013-10-15 Joseph Myers <joseph@codesourcery.com>
23409 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23410 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23412 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
23414 * elf/dl-libc.c: Clear initfini list after freeing.
23416 2013-10-14 Joseph Myers <joseph@codesourcery.com>
23418 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23419 * soft-fp/addsf3.c: Likewise.
23420 * soft-fp/addtf3.c: Likewise.
23421 * soft-fp/divdf3.c: Likewise.
23422 * soft-fp/divsf3.c: Likewise.
23423 * soft-fp/divtf3.c: Likewise.
23424 * soft-fp/double.h: Likewise.
23425 * soft-fp/eqdf2.c: Likewise.
23426 * soft-fp/eqsf2.c: Likewise.
23427 * soft-fp/eqtf2.c: Likewise.
23428 * soft-fp/extenddftf2.c: Likewise.
23429 * soft-fp/extended.h: Likewise.
23430 * soft-fp/extendsfdf2.c: Likewise.
23431 * soft-fp/extendsftf2.c: Likewise.
23432 * soft-fp/extendxftf2.c: Likewise.
23433 * soft-fp/fixdfdi.c: Likewise.
23434 * soft-fp/fixdfsi.c: Likewise.
23435 * soft-fp/fixdfti.c: Likewise.
23436 * soft-fp/fixsfdi.c: Likewise.
23437 * soft-fp/fixsfsi.c: Likewise.
23438 * soft-fp/fixsfti.c: Likewise.
23439 * soft-fp/fixtfdi.c: Likewise.
23440 * soft-fp/fixtfsi.c: Likewise.
23441 * soft-fp/fixtfti.c: Likewise.
23442 * soft-fp/fixunsdfdi.c: Likewise.
23443 * soft-fp/fixunsdfsi.c: Likewise.
23444 * soft-fp/fixunsdfti.c: Likewise.
23445 * soft-fp/fixunssfdi.c: Likewise.
23446 * soft-fp/fixunssfsi.c: Likewise.
23447 * soft-fp/fixunssfti.c: Likewise.
23448 * soft-fp/fixunstfdi.c: Likewise.
23449 * soft-fp/fixunstfsi.c: Likewise.
23450 * soft-fp/fixunstfti.c: Likewise.
23451 * soft-fp/floatdidf.c: Likewise.
23452 * soft-fp/floatdisf.c: Likewise.
23453 * soft-fp/floatditf.c: Likewise.
23454 * soft-fp/floatsidf.c: Likewise.
23455 * soft-fp/floatsisf.c: Likewise.
23456 * soft-fp/floatsitf.c: Likewise.
23457 * soft-fp/floattidf.c: Likewise.
23458 * soft-fp/floattisf.c: Likewise.
23459 * soft-fp/floattitf.c: Likewise.
23460 * soft-fp/floatundidf.c: Likewise.
23461 * soft-fp/floatundisf.c: Likewise.
23462 * soft-fp/floatunsidf.c: Likewise.
23463 * soft-fp/floatunsisf.c: Likewise.
23464 * soft-fp/floatuntidf.c: Likewise.
23465 * soft-fp/floatuntisf.c: Likewise.
23466 * soft-fp/floatuntitf.c: Likewise.
23467 * soft-fp/fmadf4.c: Likewise.
23468 * soft-fp/fmasf4.c: Likewise.
23469 * soft-fp/fmatf4.c: Likewise.
23470 * soft-fp/gedf2.c: Likewise.
23471 * soft-fp/gesf2.c: Likewise.
23472 * soft-fp/getf2.c: Likewise.
23473 * soft-fp/ledf2.c: Likewise.
23474 * soft-fp/lesf2.c: Likewise.
23475 * soft-fp/letf2.c: Likewise.
23476 * soft-fp/muldf3.c: Likewise.
23477 * soft-fp/mulsf3.c: Likewise.
23478 * soft-fp/multf3.c: Likewise.
23479 * soft-fp/negdf2.c: Likewise.
23480 * soft-fp/negsf2.c: Likewise.
23481 * soft-fp/negtf2.c: Likewise.
23482 * soft-fp/op-1.h: Likewise.
23483 * soft-fp/op-2.h: Likewise.
23484 * soft-fp/op-4.h: Likewise.
23485 * soft-fp/op-8.h: Likewise.
23486 * soft-fp/op-common.h: Likewise.
23487 * soft-fp/quad.h: Likewise.
23488 * soft-fp/single.h: Likewise.
23489 * soft-fp/soft-fp.h: Likewise.
23490 * soft-fp/sqrtdf2.c: Likewise.
23491 * soft-fp/sqrtsf2.c: Likewise.
23492 * soft-fp/sqrttf2.c: Likewise.
23493 * soft-fp/subdf3.c: Likewise.
23494 * soft-fp/subsf3.c: Likewise.
23495 * soft-fp/subtf3.c: Likewise.
23496 * soft-fp/truncdfsf2.c: Likewise.
23497 * soft-fp/trunctfdf2.c: Likewise.
23498 * soft-fp/trunctfsf2.c: Likewise.
23499 * soft-fp/trunctfxf2.c: Likewise.
23500 * soft-fp/unorddf2.c: Likewise.
23501 * soft-fp/unordsf2.c: Likewise.
23502 * soft-fp/unordtf2.c: Likewise.
23504 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
23507 * misc/error.c (error_tail): Fix possible buffer overflow.
23509 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
23512 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23515 2013-10-14 P. J. McDermott <pj@pehjota.net>
23518 * elf/ldd.bash.in (try_trace): New function. Delete previous code
23519 testing pipefail option.
23521 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23523 * soft-fp/double.h: Indent preprocessor directives inside #if.
23524 * soft-fp/extended.h: Likewise.
23525 * soft-fp/op-2.h: Likewise.
23526 * soft-fp/op-4.h: Likewise.
23527 * soft-fp/op-common.h: Likewise.
23528 * soft-fp/quad.h: Likewise.
23529 * soft-fp/single.h: Likewise.
23530 * soft-fp/soft-fp.h: Likewise.
23532 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
23534 * iconv/iconv_prog.c: Fix typos.
23535 * stdio-common/psiginfo-data.h: Likewise.
23537 2013-10-12 Reuben Thomas <rrt@sc3d.org>
23540 * locale/setlocale.c: Fix typo.
23542 2013-10-12 Joseph Myers <joseph@codesourcery.com>
23545 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23546 signaling NaN arguments.
23547 * soft-fp/unordsf2.c (__unordsf2): Likewise.
23548 * soft-fp/unordtf2.c (__unordtf2): Likewise.
23551 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23552 unordered operands.
23553 * soft-fp/gesf2.c (__gesf2): Likewise.
23554 * soft-fp/getf2.c (__getf2): Likewise.
23555 * soft-fp/ledf2.c (__ledf2): Likewise.
23556 * soft-fp/lesf2.c (__lesf2): Likewise.
23557 * soft-fp/letf2.c (__letf2): Likewise.
23559 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23560 * soft-fp/eqsf2.c (__eqsf2): Likewise.
23561 * soft-fp/eqtf2.c (__eqtf2): Likewise.
23562 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23563 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23564 * soft-fp/fixdfti.c (__fixdfti): Likewise.
23565 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23566 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23567 * soft-fp/fixsfti.c (__fixsfti): Likewise.
23568 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23569 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23570 * soft-fp/fixtfti.c (__fixtfti): Likewise.
23571 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23572 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23573 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23574 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23575 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23576 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23577 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23578 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23579 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23580 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23581 * soft-fp/floatdisf.c (__floatdisf): Likewise.
23582 * soft-fp/floatsisf.c (__floatsisf): Likewise.
23583 * soft-fp/floattidf.c (__floattidf): Likewise.
23584 * soft-fp/floattisf.c (__floattisf): Likewise.
23585 * soft-fp/floattitf.c (__floattitf): Likewise.
23586 * soft-fp/floatundidf.c (__floatundidf): Likewise.
23587 * soft-fp/floatundisf.c (__floatundisf): Likewise.
23588 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23589 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23590 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23591 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23592 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23593 * soft-fp/gesf2.c (__gesf2): Likewise.
23594 * soft-fp/getf2.c (__getf2): Likewise.
23595 * soft-fp/ledf2.c (__ledf2): Likewise.
23596 * soft-fp/lesf2.c (__lesf2): Likewise.
23597 * soft-fp/letf2.c (__letf2): Likewise.
23599 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23600 Undefine and redefine.
23601 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23602 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23603 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23604 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23605 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23606 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23607 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23608 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23609 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23610 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23611 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23612 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23613 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23614 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23615 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23618 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23619 without decrementing exponent if mantissa >= that for the
23620 denominator, not >.
23621 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23622 denominator, not >. Decrement exponent in < case instead of
23623 incrementing in >= case.
23624 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23625 without decrementing exponent if mantissa >= that for the
23626 denominator, not >.
23628 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23629 computing saturated result for unsigned overflow.
23631 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23632 Jeff Law <law@redhat.com>
23634 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23635 (atan2Mp): Add systemtap probe marker.
23636 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23637 (__ieee754_log): Add systemtap probe marker.
23638 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23639 (atanMp): Add systemtap probe marker.
23640 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23641 (tanMp): Add systemtap probe marker.
23642 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23643 (__slowexp): Add systemtap probe marker.
23644 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23645 (__slowpow): Add systemtap probe marker.
23646 * manual/probes.texi: Document probes.
23648 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
23651 * libio/fileops.c (_IO_new_file_write): Return count of bytes
23653 (_IO_new_file_xsputn): Don't return EOF if nothing has been
23655 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23656 written to buffer but not flushed.
23657 * libio/iofwrite_u.c: Likewise.
23658 * libio/iopadn.c: Return bytes returned even if EOF was
23660 * libio/iowpadn.c: Likewise.
23661 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23662 if _IO_padn does not write the whole buffer.
23663 [!COMPILE_WPRINTF] (PAD): Likewise.
23665 2013-10-10 David S. Miller <davem@davemloft.net>
23667 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23670 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23672 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
23673 instead of FSF address.
23674 * soft-fp/fixdfti.c: Likewise.
23675 * soft-fp/fixsfti.c: Likewise.
23676 * soft-fp/fixtfti.c: Likewise.
23677 * soft-fp/fixunsdfti.c: Likewise.
23678 * soft-fp/fixunssfti.c: Likewise.
23679 * soft-fp/fixunstfti.c: Likewise.
23680 * soft-fp/floattidf.c: Likewise.
23681 * soft-fp/floattisf.c: Likewise.
23682 * soft-fp/floattitf.c: Likewise.
23683 * soft-fp/floatuntidf.c: Likewise.
23684 * soft-fp/floatuntisf.c: Likewise.
23685 * soft-fp/floatuntitf.c: Likewise.
23686 * soft-fp/trunctfxf2.c: Likewise.
23688 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
23689 * soft-fp/fixdfti.c: Likewise.
23690 * soft-fp/fixsfti.c: Likewise.
23691 * soft-fp/fixtfti.c: Likewise.
23692 * soft-fp/fixunsdfti.c: Likewise.
23693 * soft-fp/fixunssfti.c: Likewise.
23694 * soft-fp/fixunstfti.c: Likewise.
23695 * soft-fp/floattidf.c: Likewise.
23696 * soft-fp/floattisf.c: Likewise.
23697 * soft-fp/floattitf.c: Likewise.
23698 * soft-fp/floatuntidf.c: Likewise.
23699 * soft-fp/floatuntisf.c: Likewise.
23700 * soft-fp/floatuntitf.c: Likewise.
23701 * soft-fp/trunctfxf2.c: Likewise.
23703 2013-10-10 David S. Miller <davem@davemloft.net>
23705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23707 2013-10-10 Joseph Myers <joseph@codsourcery.com>
23709 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23710 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23711 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23712 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23713 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23714 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23715 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23717 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23718 for NaNs before doing comparisons on argument.
23719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23722 2013-10-10 Will Newton <will.newton@linaro.org>
23724 * malloc/hooks.c (memalign_check): Ensure the value of bytes
23725 passed to _int_memalign does not overflow.
23727 2013-10-10 Torvald Riegel <triegel@redhat.com>
23729 * scripts/bench.pl: Add include-sources directive.
23730 * benchtests/README: Update documentation.
23732 2013-10-10 Joseph Myers <joseph@codesourcery.com>
23734 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23735 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23736 instead of FP_INIT_ROUNDMODE.
23737 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23738 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23741 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
23742 copy class of input value.
23743 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
23744 not handle exceptions.
23745 * soft-fp/negsf2.c (__negsf2): Likewise.
23746 * soft-fp/negtf2.c (__negtf2): Likewise.
23747 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23749 2013-10-09 Joseph Myers <joseph@codesourcery.com>
23751 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23752 semicolon. From Linux kernel.
23754 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
23756 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23758 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
23761 * manual/socket.texi: Added statement about buffer
23762 for gethostbyname2_r.
23764 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
23766 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23767 Use .p2align directive instead, throughout.
23768 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23769 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23770 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23771 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23773 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23774 * sysdeps/x86_64/strchr.S: Likewise.
23775 * sysdeps/x86_64/strrchr.S: Likewise.
23777 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23779 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23781 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23783 * sysdeps/generic/math_private.h (__mpsin1): Remove
23785 (__mpcos1): Likewise.
23786 (__mpsin): New argument __range_reduce.
23787 (__mpcos): Likewise.
23788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23789 (slow): Use __mpsin and __mpcos.
23793 (sloww1): Likewise.
23794 (sloww2): Likewise.
23795 (bsloww): Likewise.
23796 (bsloww1): Likewise.
23797 (bsloww2): Likewise.
23798 (cslow2): Likewise.
23799 (csloww): Likewise.
23800 (csloww1): Likewise.
23801 (csloww2): Likewise.
23802 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23803 range_reduce. Merge in __mpsin1.
23804 (__mpcos): Likewise.
23805 (__mpsin1): Remove.
23806 (__mpcos1): Likewise.
23808 2013-10-07 Joseph Myers <joseph@codesourcery.com>
23810 * locale/loadlocale.c (_nl_intern_locale_data): Use
23812 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23813 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23814 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23815 obstack data is appropriately aligned.
23816 (obstack_int32_grow_fast): Likewise.
23817 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23818 * locale/programs/locfile.c (add_locale_uint32): Likewise.
23819 (add_locale_uint32_array): Likewise.
23821 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23823 * benchtests/Makefile: Remove ARGLIST and RET variables.
23824 ($(objpfx)bench-%.c): Pass only function name to the script.
23825 * benchtests/README: Update documentation.
23826 * benchtests/acos-inputs: Add new directives.
23827 * benchtests/acosh-inputs: Likewise.
23828 * benchtests/asin-inputs: Likewise.
23829 * benchtests/asinh-inputs: Likewise.
23830 * benchtests/atan-inputs: Likewise.
23831 * benchtests/atanh-inputs: Likewise.
23832 * benchtests/cos-inputs: Likewise.
23833 * benchtests/cosh-inputs: Likewise.
23834 * benchtests/exp-inputs: Likewise.
23835 * benchtests/log-inputs: Likewise.
23836 * benchtests/pow-inputs: Likewise.
23837 * benchtests/rint-inputs: Likewise.
23838 * benchtests/sin-inputs: Likewise.
23839 * benchtests/sinh-inputs: Likewise.
23840 * benchtests/tan-inputs: Likewise.
23841 * benchtests/tanh-inputs: Likewise.
23842 * scripts/bench.pl: Add support for new directives.
23844 2013-10-07 Alan Modra <amodra@gmail.com>
23846 * README: Fix careless merge.
23848 2013-10-05 Alan Modra <amodra@gmail.com>
23850 * NEWS: Mention powerpc64le support and bugs fixed.
23851 * README: Both big-endian and little-endian powerpc64 supported.
23853 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
23855 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23856 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23857 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23858 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23860 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
23862 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23865 2013-10-04 Joseph Myers <joseph@codesourcery.com>
23867 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23868 Move -mhard-float appending from
23869 ports/sysdeps/powerpc/powerpc32/Makefile.
23870 [$(with-fp) = yes] (ASFLAGS): Likewise.
23871 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23872 * sysdeps/powerpc/nofpu: Move directory from
23873 ports/sysdeps/powerpc/nofpu.
23874 * sysdeps/powerpc/soft-fp: Move directory from
23875 ports/sysdeps/powerpc/soft-fp.
23876 * sysdeps/powerpc/powerpc32/405: Move directory from
23877 ports/sysdeps/powerpc/powerpc32/405.
23878 * sysdeps/powerpc/powerpc32/440: Move directory from
23879 ports/sysdeps/powerpc/powerpc32/440.
23880 * sysdeps/powerpc/powerpc32/464: Move directory from
23881 ports/sysdeps/powerpc/powerpc32/464.
23882 * sysdeps/powerpc/powerpc32/476: Move directory from
23883 ports/sysdeps/powerpc/powerpc32/476.
23884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23885 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23887 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23889 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23891 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23893 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23894 * README: Update for powerpc-*-linux-gnu software floating point
23897 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23898 case to powerpc/powerpc32*.
23899 * sysdeps/unix/sysv/linux/configure: Regenerated.
23901 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23902 (_FPU_MASK_OM): Define as 0x04.
23903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23904 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23911 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23914 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23917 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23918 and setcontext_e500.
23920 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
23922 * locale/iso-3166.def: Update iso-1366.def and related occurrences
23924 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23926 * manual/threads.texi (Default Thread Attributes): Fix typo.
23928 2013-10-04 Will Newton <will.newton@linaro.org>
23930 * malloc/Makefile: Add tst-memalign.
23931 * malloc/tst-memalign.c: New file.
23933 * malloc/tst-posix_memalign.c: Add comments.
23934 (do_test): Add comments and call free on all potentially
23935 allocated pointers. Add space after cast.
23937 * malloc/tst-pvalloc.c: Add comments.
23938 (do_test): Add comments and call free on all potentially
23939 allocated pointers. Remove duplicate check for NULL pointer.
23940 Add space after cast.
23942 * malloc/tst-valloc.c: Add comments.
23943 (do_test): Add comments and call free on all potentially
23944 allocated pointers. Remove duplicate check for NULL pointer.
23945 Add space after cast.
23947 2013-10-04 Alan Modra <amodra@gmail.com>
23949 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23950 Use stdint types in rather than __attribute__((mode())).
23951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23953 2013-10-04 Alan Modra <amodra@gmail.com>
23955 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23956 Correct handling of unaligned relocs for little-endian.
23957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23959 2013-10-04 Alan Modra <amodra@gmail.com>
23961 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23962 * configure: Regenerate.
23963 * nptl/shlib-versions: Powerpc*le starts at 2.18.
23964 * shlib-versions: Likewise.
23966 2013-10-04 Alan Modra <amodra@gmail.com>
23968 * string/tester.c (test_memrchr): Increment reported test cycle.
23970 2013-10-04 Alan Modra <amodra@gmail.com>
23972 * string/test-memcpy.c (do_one_test): When reporting errors, print
23973 string address and don't overrun end of string.
23975 2013-10-04 Alan Modra <amodra@gmail.com>
23977 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23978 insrdi. Make better use of reg selection to speed exit slightly.
23979 Schedule entry path a little better. Remove useless "are we done"
23980 checks on entry to main loop. Handle wrapping around zero address.
23981 Correct main loop count. Handle single left-over word from main
23982 loop inline rather than by using loop_small. Remove extra word
23983 case in loop_small caused by wrong loop count. Add little-endian
23985 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23986 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
23988 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23989 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23990 support. Avoid rlwimi.
23991 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23993 2013-10-04 Alan Modra <amodra@gmail.com>
23995 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23996 insrdi. Formatting.
23997 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23998 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23999 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24000 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24001 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24002 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24004 2013-10-04 Alan Modra <amodra@gmail.com>
24006 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24007 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24008 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24009 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24010 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24011 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24012 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24014 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24015 use of regs. Use power7 mtocrf. Tidy function tails.
24017 2013-10-04 Alan Modra <amodra@gmail.com>
24019 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24020 Formatting. Consistently use rXXX register defines or rN defines.
24021 Use early exit labels that avoid restoring unused non-volatile regs.
24022 Make cr field use more consistent with rWORDn compares. Rename
24023 regs used as shift registers for unaligned loop, using rN defines
24024 for short lifetime/multiple use regs.
24025 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24026 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24027 addi 1,1,64 to pop stack frame. Simplify return value code.
24028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24030 2013-10-04 Alan Modra <amodra@gmail.com>
24032 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24033 support. Correct typos, formatting. Optimize tail. Use insrdi
24034 rather than rlwimi.
24035 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24036 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24037 little-endian support. Correct typos.
24038 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24039 rather than rlwimi.
24040 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24041 in loop and entry code to keep "and." results.
24042 (strchr): Add little-endian support. Comment. Move cntlzd
24044 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24046 2013-10-04 Alan Modra <amodra@gmail.com>
24048 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24049 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24050 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24051 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24053 2013-10-04 Alan Modra <amodra@gmail.com>
24055 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24056 (rTMP): Define as r11.
24057 (strcmp): Add little-endian support. Optimise tail.
24058 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24059 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24060 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24061 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24062 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24063 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24064 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24066 2013-10-04 Alan Modra <amodra@gmail.com>
24068 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24069 little-endian support. Remove unnecessary "are we done" tests.
24070 Handle "s" wrapping around zero and extremely large "size".
24071 Correct main loop count. Handle single left-over word from main
24072 loop inline rather than by using small_loop. Correct comments.
24073 Delete "zero" tail, use "end_max" instead.
24074 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24076 2013-10-04 Alan Modra <amodra@gmail.com>
24078 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24079 support. Don't branch over align.
24080 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24081 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24082 support. Rearrange tmp reg use to suit. Comment.
24083 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24085 2013-10-04 Alan Modra <amodra@gmail.com>
24087 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24089 2013-10-04 Alan Modra <amodra@gmail.com>
24091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24092 conditional form of branch and link when obtaining pc.
24093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24095 2013-10-04 Alan Modra <amodra@gmail.com>
24097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24102 2013-10-04 Alan Modra <amodra@gmail.com>
24104 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24105 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24106 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24107 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24108 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24109 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24110 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24111 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24112 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24113 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24115 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24116 Alistair Popple <alistair@ozlabs.au.ibm.com>
24117 Alan Modra <amodra@gmail.com>
24120 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24121 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24122 _dl_hwcap access for little-endian.
24123 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24124 destroy vmx regs when saving unaligned.
24125 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24126 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24127 destroy vmx regs when saving unaligned.
24129 2013-10-04 Alan Modra <amodra@gmail.com>
24131 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24132 Don't use a union to pack hi/low value.
24134 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24136 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24138 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24139 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24140 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24141 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24142 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24144 2013-10-04 Alan Modra <amodra@gmail.com>
24146 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24147 constants to usual value for .cst8 section, and remove redundant
24149 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24150 constant for 0x1p52. Load little-endian words of double from
24151 correct stack offsets.
24153 2013-10-04 Alan Modra <amodra@gmail.com>
24155 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24156 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24157 words of double from correct stack offsets.
24158 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24159 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24160 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24162 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24163 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24164 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24165 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24166 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24167 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24168 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24169 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24170 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24171 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24172 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24173 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24174 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24176 2013-10-04 Alan Modra <amodra@gmail.com>
24178 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24179 64-bit int/double union.
24180 (_FPU_SETCW): Likewise.
24181 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24182 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24184 2013-10-04 Alan Modra <amodra@gmail.com>
24186 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24187 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24189 2013-10-04 Alan Modra <amodra@gmail.com>
24191 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24192 use vector int constants.
24193 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24195 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24197 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24198 array with long long.
24199 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24200 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24201 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24202 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24203 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24204 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24205 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24206 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24207 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24208 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24209 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24210 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24211 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24213 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
24215 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24216 (__signbit): Likewise. Correct for little-endian.
24217 (__signbitl): Call __signbit.
24218 (lrint): Correct for little-endian.
24219 (lrintf): Call lrint.
24221 2013-10-04 Alan Modra <amodra@gmail.com>
24223 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24224 union 32-bit int array member with 64-bit int array.
24225 (t515, tm256): Double rather than long double.
24226 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24228 2013-10-04 Alan Modra <amodra@gmail.com>
24230 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24232 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24234 version of math_ldbl.h.
24236 2013-10-04 Alan Modra <amodra@gmail.com>
24238 [BZ #15734], [BZ #15735]
24239 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24240 all uses of ieee875 long double macros and unions. Simplify test
24241 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24242 ldbl_extract_mantissa value for ix,iy exponents. Properly
24243 normalize after ldbl_extract_mantissa, and don't add hidden bit
24244 already handled. Don't treat low word of ieee854 mantissa like
24245 low word of IBM long double and mask off bit when testing for
24247 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24248 all uses of ieee875 long double macros and unions. Simplify tests
24249 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24250 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24251 two1022, instead use their values. Recognise that tests for large
24252 "a" and small "b" are mutually exclusive. Rename vars. Comment.
24253 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24254 Rewrite all uses of ieee875 long double macros and unions. Simplify
24255 test for 0.0L and nan. Correct negation.
24256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24257 ieee875 long double macros and unions. Correct output for large
24258 magnitude x. Correct absolute value calculation.
24259 (__erfcl): Likewise.
24260 * math/libm-test.inc: Add tests for errors discovered in IBM long
24261 double versions of fmodl, remainderl, erfl and erfcl.
24263 2013-10-04 Alan Modra <amodra@gmail.com>
24265 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24266 all uses of ieee854 long double macros and unions. Simplify tests
24267 for long doubles that are fully specified by the high double.
24268 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24270 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24271 Remove dead code too.
24272 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24273 (__ieee754_ynl): Likewise.
24274 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24275 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24277 Remove dead code too.
24278 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24279 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24281 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24283 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24285 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24286 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24287 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24288 Comment on variable precision.
24289 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24290 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24292 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24295 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24296 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24298 2013-10-04 Alan Modra <amodra@gmail.com>
24300 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24301 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24302 all uses of ieee854 long double macros and unions.
24303 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24305 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24306 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24307 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24308 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24311 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24312 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24313 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24314 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24316 Simplify sign and nan test too.
24317 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24318 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24319 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24320 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24322 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24323 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24325 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24326 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24327 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24328 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24329 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24332 2013-10-04 Alan Modra <amodra@gmail.com>
24334 * stdio-common/printf_size.c (__printf_size): Don't use
24335 union ieee854_long_double in fpnum union.
24336 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
24337 signbit macro to retrieve sign from long double.
24338 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24339 retrieve sign from long double.
24340 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24341 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24342 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24343 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24344 * math/test-misc.c (main): Don't use union ieee854_long_double.
24346 2013-10-04 Alan Modra <amodra@gmail.com>
24349 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24350 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24351 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24352 calculation. Remove unnecessary test for denormal exponent.
24353 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24354 Correct handling of denormals. Avoid undefined shift behaviour.
24355 Correct normalisation of low mantissa when low double is denormal.
24356 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24357 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
24358 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24359 Correct normalisation of low mantissa. Test for overflow of high
24360 mantissa and normalise.
24361 (ldbl_nearbyint): Use more readable constant for two52.
24362 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24363 (__mpn_construct_long_double): Fix test for overflow of high
24364 mantissa and correct normalisation. Avoid undefined shift.
24366 2013-10-04 Alan Modra <amodra@gmail.com>
24368 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24369 (union ibm_extended_long_double): Define as an array of ieee754_double.
24370 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24371 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24372 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24373 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24374 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24375 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24377 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24378 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24379 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24380 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24382 2013-10-03 Joseph Myers <joseph@codesourcery.com>
24384 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24385 page size instead of calling getpagesize.
24387 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24388 (LOCFILE_ALIGN_MASK): Likewise.
24389 (LOCFILE_ALIGN_UP): Likewise.
24390 (LOCFILE_ALIGNED_P): Likewise.
24391 * locale/programs/ld-collate.c (collate_output): Use the new
24392 macros instead of __alignof__ (int32_t).
24393 * locale/weight.h (findidx): Likewise.
24395 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
24398 * manual/string.texi: Fix strncat and wcsncat.
24400 2013-10-03 Brooks Moses <bmoses@google.com>
24403 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24404 * Makerules: ...here, and adjust associated comments.
24406 2013-10-02 Will Newton <will.newton@linaro.org>
24408 * malloc/Makefile: Add tst-pvalloc.
24409 * malloc/tst-pvalloc.c: New file.
24411 2013-10-02 Will Newton <will.newton@linaro.org>
24413 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24414 improve test coverage.
24416 2013-10-02 Will Newton <will.newton@linaro.org>
24418 * malloc/Makefile: Add tst-posix_memalign.
24419 * malloc/tst-posix_memalign.c: New file.
24421 2013-10-01 Eric Blake <eblake@redhat.com>
24423 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24424 Use __THROWNL rather than __THROW on static functions.
24426 2013-09-30 Petr Machata <pmachata@redhat.com>
24428 * elf/elf.h (R_AARCH64_ABS16): New macro.
24429 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24430 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24431 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24432 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24433 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24434 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24435 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24436 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24437 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24438 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24439 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24440 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24441 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24442 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24443 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24444 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24445 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24446 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24447 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24448 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24449 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24450 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24451 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24452 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24453 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24454 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24455 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24456 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24457 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24458 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24459 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24460 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24461 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24462 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24463 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24464 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24465 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24466 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24467 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24468 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24469 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24470 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24471 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24472 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24473 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24474 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24475 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24476 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24477 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24478 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24479 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24480 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24481 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24482 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24483 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24484 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24485 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24486 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24487 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24488 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24489 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24490 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24491 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24492 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24493 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24494 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24495 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24496 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24497 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24498 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24499 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24500 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24501 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24502 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24503 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24504 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24505 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24506 (R_AARCH64_TLSDESC_LDR): Likewise.
24507 (R_AARCH64_TLSDESC_ADD): Likewise.
24508 (R_AARCH64_TLSDESC_CALL): Likewise.
24510 2013-09-30 Andreas Schwab <schwab@suse.de>
24513 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24514 the nss database lookup.
24515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24518 2013-09-28 Mike Frysinger <vapier@gentoo.org>
24520 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24522 2013-09-28 P. J. McDermott <pj@pehjota.net>
24524 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24525 ${Bash-specific parameter/pattern/string} parameter expansion.
24526 * sysdeps/unix/make-syscalls.sh: Likewise.
24528 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24530 * sysdeps/sh/stackguard-macros.h: New file.
24532 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
24534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24536 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24537 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24538 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24539 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24541 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24543 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24544 Fix thread ID register.
24546 2013-09-25 Joseph Myers <joseph@codesourcery.com>
24548 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24549 [POSIX || UNIX98]: Require rather than permitting all symbols from
24551 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24552 element of struct sched_param.
24553 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24554 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24555 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24556 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24559 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
24561 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24562 argument calculation.
24564 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24566 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24568 [POSIX] (pthread_attr_t): Do not require type.
24569 [POSIX] (pthread_cond_t): Likewise.
24570 [POSIX] (pthread_condattr_t): Likewise.
24571 [POSIX] (pthread_key_t): Likewise.
24572 [POSIX] (pthread_mutex_t): Likewise.
24573 [POSIX] (pthread_mutexattr_t): Likewise.
24574 [POSIX] (pthread_once_t): Likewise.
24575 [POSIX] (pthread_t): Likewise.
24576 [POSIX-based standards] (pthread_atfork): Expect function.
24578 2013-09-24 Joseph Myers <joseph@codesourcery.com>
24579 Richard Sandiford <richard@codesourcery.com>
24581 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24582 (swap_endianness_p): New extern variable.
24583 (set_big_endian): New inline function.
24584 (maybe_swap_uint32): Likewise.
24585 (maybe_swap_uint32_array): Likewise.
24586 (maybe_swap_uint32_obstack): Likewise.
24587 * locale/programs/locfile.c: Include <stdbool.h>.
24588 (swap_endianness_p): New variable.
24589 (add_locale_uint32): Call maybe_swap_uint32.
24590 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24591 (write_locale_data): Call maybe_swap_uint32_array.
24592 * locale/programs/ld-collate.c (obstack_int32_grow): Call
24594 (obstack_int32_grow_fast): Likewise.
24595 (output_weightwc): Call maybe_swap_uint32_obstack.
24596 (collate_output): Likewise.
24597 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24598 (OPT_LITTLE_ENDIAN): Likewise.
24599 (options): Add --little-endian and --big-endian options.
24600 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24601 * locale/programs/locarchive.c: Include "locfile.h".
24605 (create_archive): Use the new macros to access fields of
24606 structures directly mapped from or written to locale archives.
24607 (oldlocrecentcmp): Likewise.
24608 (enlarge_archive): Likewise.
24609 (insert_name): Likewise.
24610 (add_alias): Likewise.
24611 (add_locale): Likewise.
24612 (delete_locales_from_archive): Likewise.
24613 (show_archive_content): Likewise.
24614 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
24617 2013-09-24 Roland McGrath <roland@hack.frob.com>
24619 * manual/freemanuals.texi: Updated from (newly) canonical copy at
24620 http://www.gnu.org/doc/freemanuals.texi.
24621 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24623 2013-09-24 Will Newton <will.newton@linaro.org>
24625 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24628 2013-09-23 Joseph Myers <joseph@codesourcery.com>
24630 * locale/hashval.h (compute_hashval): Interpret bytes of key as
24633 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
24635 * manual/threads.texi (POSIX Threads): Fix a typo.
24637 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
24640 * string/tst-strcoll-overflow.c: New test case.
24641 * string/Makefile (xtests): Add tst-strcoll-overflow.
24642 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24643 cache if string sizes may cause integer overflow.
24646 * string/strcoll_l.c (coll_seq): New members rule, idx,
24647 save_idx and back_us.
24648 (get_next_seq_nocache): New function.
24649 (do_compare_nocache): New function.
24650 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24653 2013-09-23 Carlos O'Donell <carlos@redhat.com>
24656 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24657 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24658 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24661 * elf/Makefile (tests): Add tst-ptrguard1.
24662 (tests-static): Add tst-ptrguard1-static.
24663 (tst-ptrguard1-ARGS): Define.
24664 (tst-ptrguard1-static-ARGS): Define.
24665 * elf/tst-ptrguard1.c: New file.
24666 * elf/tst-ptrguard1-static.c: New file.
24667 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24668 * sysdeps/i386/stackguard-macros.h: Likewise.
24669 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24670 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24671 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24672 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24673 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24674 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24676 2013-09-23 Hector Marco <hecmargi@upv.es>
24677 Ismael Ripoll <iripoll@disca.upv.es>
24678 Carlos O'Donell <carlos@redhat.com>
24681 * sysdeps/generic/stackguard-macros.h: Define
24682 __pointer_chk_guard_local and POINTER_CHK_GUARD.
24683 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24684 Define __pointer_chk_guard_local.
24685 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24686 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24688 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
24691 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24693 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
24695 * include/string.h (__ffs): Declare as hidden.
24696 * string/ffs.c (__ffs): Define as hidden.
24697 * sysdeps/i386/ffs.c (__ffs): Likewise.
24698 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24699 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24700 * sysdeps/s390/ffs.c (__ffs): Likewise.
24701 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24703 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
24705 * NEWS: Mention malloc probes.
24707 * malloc/arena.c (new_heap): New memory_heap_new probe.
24708 (grow_heap): New memory_heap_more probe.
24709 (shrink_heap): New memory_heap_less probe.
24710 (heap_trim): New memory_heap_free probe.
24711 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24712 (systrim): New memory_sbrk_less probe.
24713 * manual/probes.texi: Document them.
24715 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24716 * manual/probes.texi: Document it.
24718 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24719 (__libc_realloc): Add memory_realloc_retry probe.
24720 (__libc_memalign): Add memory_memalign_retry probe.
24721 (__libc_valloc): Add memory_valloc_retry probe.
24722 (__libc_pvalloc): Add memory_pvalloc_retry probe.
24723 (__libc_calloc): Add memory_calloc_retry probe.
24724 * manual/probes.texi: Document them.
24726 * malloc/arena.c (get_free_list): Add probe
24727 memory_arena_reuse_free_list.
24728 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24729 and memory_arena_reuse.
24730 (arena_get2) [!PER_THREAD]: Likewise.
24731 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24732 memory_arena_reuse_realloc.
24733 * manual/probes.texi: Document them.
24735 * malloc/malloc.c (__libc_free): Add
24736 memory_mallopt_free_dyn_thresholds probe.
24737 (__libc_mallopt): Add multiple memory_mallopt probes.
24738 * manual/probes.texi: Document them.
24740 * malloc/malloc.c: Include stap-probe.h.
24741 (__libc_mallopt): Add memory_mallopt probe.
24742 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24743 * manual/probes.texi: New.
24744 * manual/Makefile (chapters): Add probes.
24745 * manual/threads.texi: Set next node.
24747 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
24749 [BZ #15963, #13985]
24750 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24751 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24752 Add `Chinese' to `nan' entry name.
24754 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24756 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24757 (POLYNOMIAL): Likewise.
24758 (TAYLOR_SINCOS): Likewise.
24759 (TAYLOR_SLOW): Likewise.
24760 (__sin): Use TAYLOR_SINCOS.
24762 (slow): Use TAYLOR_SLOW.
24764 (bsloww): Likewise.
24765 (csloww): Likewise.
24767 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24769 * stdlib/strtod_l.c: Fix buffer overrun.
24771 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24773 * benchtests/Makefile (bench): Add sincos.
24774 * benchtests/bench-sincos.c: New file.
24776 * math/libm-test.inc (cos_test_data): New test inputs.
24777 (sin_test_data): Likewise.
24779 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24785 (sloww1): Likewise.
24786 (sloww2): Likewise.
24787 (bsloww1): Likewise.
24788 (bsloww2): Likewise.
24789 (cslow2): Likewise.
24790 (csloww1): Likewise.
24791 (csloww2): Likewise.
24793 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24798 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24802 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
24804 * config.h.in (HAVE_MIPS_NAN2008): New macro.
24805 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24806 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24807 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24808 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24809 * elf/cache.c (print_entry): Handle the new cache flags.
24811 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24812 Aldy Hernandez <aldyh@redhat.com>
24814 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24815 Change condition to [_SOFT_FLOAT].
24816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24828 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24830 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24831 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24834 2013-09-18 Joseph Myers <joseph@codesourcery.com>
24836 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24837 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24838 (__longjmp): Use LOAD_GP to load saved GPRs.
24839 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24840 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24841 (__sigsetjmp): Use SAVE_GP to save GPRs.
24843 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24844 Do not append -msoft-float.
24845 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24847 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24849 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24851 2013-09-17 Joseph Myers <joseph@codesourcery.com>
24854 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24855 (_FPU_GETCW): Use initial "__" on variable and field names but not
24856 on macro parameter name.
24857 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
24858 parentheses around reference to macro parameter.
24860 2013-09-13 Richard Sandiford <richard@codesourcery.com>
24862 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24864 (ctype_startup): Use uint32_t in cast and sizeof for
24867 2013-09-11 Jia Liu <proljc@gmail.com>
24869 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24871 [__FreeBSD__]: Likewise.
24873 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
24875 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24876 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24877 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24878 (strchr): Remove __strchr_sse42 ifunc selection.
24879 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24880 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24882 2013-09-11 Will Newton <will.newton@linaro.org>
24884 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24885 parameter to RES. Remove hardcoded 1000 value.
24886 * benchtests/bench-skeleton.c (main): Pass RES parameter
24887 to TIMING_INIT and multiply result by 1000.
24889 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24893 2013-09-11 Andreas Schwab <schwab@suse.de>
24895 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24897 (O_TMPFILE) [__USE_GNU]: Define.
24898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24901 2013-09-11 Will Newton <will.newton@linaro.org>
24904 * malloc/malloc.c (__libc_memalign): Check the value of bytes
24907 2013-09-11 Will Newton <will.newton@linaro.org>
24910 * malloc/malloc.c (__libc_valloc): Check the value of bytes
24913 2013-09-11 Will Newton <will.newton@linaro.org>
24916 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24919 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
24921 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24922 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24923 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24924 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24925 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24927 2013-09-10 Allan McRae <allan@archlinux.org>
24930 * manual/arith.texi (Parsing of Floats): Clarify
24934 * manual/install.texi (Running make install): Mention
24936 * INSTALL: Regenerated.
24938 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
24940 * csu/init-first.c (_init): Remove the !SHARED condition around
24941 FPU control word initialization.
24942 * elf/dl-support.c (_dl_fpu_control): New variable.
24943 (_dl_aux_init) <AT_FPUCW>: Initialize it.
24944 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24945 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24946 * math/test-fpucw-static.c: New file.
24947 * math/test-fpucw-ieee.c: New file.
24948 * math/test-fpucw-ieee-static.c: New file.
24949 * math/Makefile (tests): Add `test-fpucw-ieee' and
24951 (tests-static): New variable.
24952 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24954 [($(build-shared),yes)]
24955 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24957 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24960 2013-09-09 Allan McRae <allan@archlinux.org>
24963 * manual/string.texi (Collation Functions): Fix typo in
24965 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24968 * stdlib/isomac.c (get_null_defines): Fix memory leak.
24971 * libio/memstream.c (open_memstream): Fix memory leak.
24972 * libio/wmemstream.c (open_wmemstream): Likewise.
24975 * nscd/netgroupcache.c: Fix nesting of ifdefs.
24977 2013-09-09 Will Newton <will.newton@linaro.org>
24979 * malloc/Makefile: Add tst-realloc to tests.
24980 * malloc/tst-realloc.c: New file.
24982 2013-09-09 Allan McRae <allan@archlinux.org>
24985 * COPYING: Update from GNU website to fix FSF address.
24986 * COPYING.LIB: Likewise.
24988 2013-09-06 David S. Miller <davem@davemloft.net>
24990 * po/zh_TW.po: Update Chinese (traditional) translation from
24991 translation project.
24993 2013-09-06 Richard Sandiford <richard@codesourcery.com>
24994 Joseph Myers <joseph@codesourcery.com>
24996 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24998 (obstack_chunk_alloc): New macro.
24999 (obstack_chunk_free): Likewise.
25000 (record_offset): New function.
25001 (init_locale_data): Likewise.
25002 (align_locale_data): Likewise.
25003 (add_locale_empty): Likewise.
25004 (add_locale_raw_data): Likewise.
25005 (add_locale_raw_obstack): Likewise.
25006 (add_locale_string): Likewise.
25007 (add_locale_wstring): Likewise.
25008 (add_locale_uint32): Likewise.
25009 (add_locale_uint32_array): Likewise.
25010 (add_locale_char): Likewise.
25011 (start_locale_structure): Likewise.
25012 (end_locale_structure): Likewise.
25013 (start_locale_prelude): Likewise.
25014 (end_locale_prelude): Likewise.
25015 (write_locale_data): Take locale_file structure rather than an
25017 * locale/programs/locfile.h: Include "obstack.h".
25018 (struct locale_file): Change to store locale file contents instead
25020 (init_locale_data): New prototype.
25021 (align_locale_data): Likewise.
25022 (add_locale_empty): Likewise.
25023 (add_locale_raw_data): Likewise.
25024 (add_locale_raw_obstack): Likewise.
25025 (add_locale_string): Likewise.
25026 (add_locale_wstring): Likewise.
25027 (add_locale_uint32): Likewise.
25028 (add_locale_uint32_array): Likewise.
25029 (add_locale_char): Likewise.
25030 (start_locale_structure): Likewise.
25031 (end_locale_structure): Likewise.
25032 (start_locale_prelude): Likewise.
25033 (end_locale_prelude): Likewise.
25034 (write_locale_data): Update prototype.
25035 * locale/programs/3level.h (struct TABLE): Remove result field.
25036 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25037 Use new locale_file interface.
25038 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25039 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25040 * locale/programs/ld-address.c (address_output): Use new
25041 locale_file interface.
25042 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25044 (collate_finish): Don't call collseq_table_finalize.
25045 (collate_output): Use new locale_file interface.
25046 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25048 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25049 (TABLE): Move defines earlier in file.
25050 (ELEMENT): Likewise.
25051 (DEFAULT): Likewise.
25052 (wctrans_table_add): Move macro and inline function earlier in
25054 (struct wctype_table): Move type earlier in file.
25055 (add_locale_wctype_table): New static prototype.
25056 (struct locale_ctype_t): Use logical types instead of struct iovec
25057 pointers for members.
25058 (ctype_output): Use new locale_file interface.
25059 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25060 new locale_file interface.
25061 (allocate_arrays): Update for use of new locale_file interface.
25062 * locale/programs/ld-identification.c (identification_output): Use
25063 new locale_file interface.
25064 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25065 * locale/programs/ld-messages.c (messages_output): Likewise.
25066 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25067 * locale/programs/ld-name.c (name_output): Likewise.
25068 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25069 * locale/programs/ld-paper.c (paper_output): Likewise.
25070 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25071 * locale/programs/ld-time.c (time_output): Likewise.
25073 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25075 * benchtests/Makefile: Add memrchr benchmark.
25076 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25077 benchmark as memrchr.
25078 * benchtests/bench-memrchr-ifunc.c: New file.
25079 * benchtests/bench-memrchr.c: New file.
25081 2013-09-06 Will Newton <will.newton@linaro.org>
25083 * benchtests/Makefile (string-bench): Add memcpy.
25085 2013-09-05 Carlos O'Donell <carlos@redhat.com>
25086 Cong Wang <amwang@redhat.com>
25089 * sysdeps/unix/sysv/linux/bits/in.h
25090 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25091 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25092 before __USE_KERNEL_IPV6_DEFS uses.
25093 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25095 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25096 sockaddr_in6, or ipv6_mreq.
25098 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25100 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25101 memory access for final bytes in some large inputs.
25102 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25104 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25106 * string/test-memrchr.c: New file.
25107 * string/test-memrchr-ifunc.c: New file.
25108 * string/Makefile: Add new memrchr testcase.
25110 2013-09-05 Mike Frysinger <vapier@gentoo.org>
25112 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25113 fanotify_init returns EPERM.
25115 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25117 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25119 (top level): Treat second token from macro or constant entries for
25120 allowed headers as allowed.
25121 * include/complex.h: Condition internal declarations on
25123 * include/fenv.h: Condition include of <stdbool.h> and internal
25124 declarations on [!_ISOMAC].
25126 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25129 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25131 2013-09-04 Joseph Myers <joseph@codesourcery.com>
25133 * configure.in (--enable-versioning): Remove configure option.
25134 (libc_cv_asm_symver_directive): Remove configure test.
25135 (libc_cv_ld_version_script_option): Likewise.
25136 (VERSIONING): Remove variable and AC_SUBST.
25137 (DO_VERSIONING): Remove AC_DEFINE.
25138 * configure: Regenerated.
25139 * config.h.in (DO_VERSIONING): Remove macro.
25140 * Makerules [$(versioning) = yes]: Change conditionals to
25141 [$(build-shared) = yes].
25142 * config.make.in (versioning): Remove variable.
25143 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25144 [$(build-shared) = yes].
25145 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25146 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25147 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25148 [$(build-shared) = yes].
25149 * extra-lib.mk [$(versioning) = yes]: Likewise.
25150 * hurd/Makefile [$(versioning) = yes]: Likewise.
25151 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25153 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25155 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25156 [SHARED && !NO_HIDDEN].
25157 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25159 [SHARED && DO_VERSIONING]: Likewise..
25160 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25161 [$(build-shared) = yes].
25162 * manual/install.texi (--disable-versioning): Remove
25164 * INSTALL: Regenerated.
25165 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25167 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25168 [$(build-shared) = yes].
25169 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25170 * sysdeps/i386/i686/multiarch/strstr-c.c
25171 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25172 [SHARED && !NO_HIDDEN].
25173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25174 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25175 * sysdeps/powerpc/powerpc32/dl-machine.c
25176 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25177 * sysdeps/powerpc/powerpc32/sysdep.h
25178 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25179 to [SHARED && PIC && !NO_HIDDEN].
25180 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25181 conditional to [SHARED].
25183 2013-09-04 Will Newton <will.newton@linaro.org>
25185 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25186 * benchtests/bench-string.h: Include bench-timing.h instead
25187 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25188 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25189 call to HP_TIMING_DIFF_INIT.
25190 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25191 instead of hp-timing.h macros.
25192 * benchtests/bench-memchr.c: Likewise.
25193 * benchtests/bench-memcmp.c: Likewise.
25194 * benchtests/bench-memcpy.c: Likewise.
25195 * benchtests/bench-memmem.c: Likewise.
25196 * benchtests/bench-memmove.c: Likewise.
25197 * benchtests/bench-memset.c: Likewise.
25198 * benchtests/bench-rawmemchr.c: Likewise.
25199 * benchtests/bench-strcasecmp.c: Likewise.
25200 * benchtests/bench-strcasestr.c: Likewise.
25201 * benchtests/bench-strcat.c: Likewise.
25202 * benchtests/bench-strchr.c: Likewise.
25203 * benchtests/bench-strcmp.c: Likewise.
25204 * benchtests/bench-strcpy.c: Likewise.
25205 * benchtests/bench-strcpy_chk.c: Likewise.
25206 * benchtests/bench-strlen.c: Likewise.
25207 * benchtests/bench-strncasecmp.c: Likewise.
25208 * benchtests/bench-strncat.c: Likewise.
25209 * benchtests/bench-strncmp.c: Likewise.
25210 * benchtests/bench-strncpy.c: Likewise.
25211 * benchtests/bench-strnlen.c: Likewise.
25212 * benchtests/bench-strpbrk.c: Likewise.
25213 * benchtests/bench-strrchr.c: Likewise.
25214 * benchtests/bench-strspn.c: Likewise.
25215 * benchtests/bench-strstr.c: Likewise.
25217 2013-09-04 Will Newton <will.newton@linaro.org>
25219 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25221 2013-09-03 Joseph Myers <joseph@codesourcery.com>
25224 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25225 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25226 * math/libm-test.inc (lgamma_test_data): Add more tests.
25227 * sysdeps/i386/fpu/libm-test-ulps: Update.
25228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25230 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
25232 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25236 Add strcmp-sse2-unaligned
25237 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25239 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25241 * Versions.def (libc): Add GLIBC_2.19.
25243 2013-09-02 Mike Frysinger <vapier@gentoo.org>
25245 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25246 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25248 2013-09-02 Joseph Myers <joseph@codesourcery.com>
25251 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25252 intermediate calculations in recurrence.
25253 (__ieee754_ynf): Likewise.
25254 * math/libm-test.inc (jn_test_data): Do not allow spurious
25255 underflow exception. Add more tests.
25256 (yn_test_data): Add more tests.
25257 * sysdeps/i386/fpu/libm-test-ulps: Update.
25258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25260 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
25262 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25264 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25266 * csu/init-first.c: Fix then/than typos.
25267 * locale/programs/ld-collate.c: Likewise.
25268 * locale/programs/linereader.h: Likewise.
25269 * manual/charset.texi: Likewise.
25270 * manual/filesys.texi: Likewise.
25271 * manual/stdio.texi: Likewise.
25272 * manual/string.texi: Likewise.
25273 * stdlib/fmtmsg.c: Likewise.
25274 * sysdeps/i386/stpncpy.S: Likewise.
25275 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25276 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25277 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25278 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25280 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25282 * elf/dl-open.c: Fix typos.
25283 * iconvdata/gbbig5.c: Likewise.
25284 * iconvdata/iso-2022-jp.c: Likewise.
25285 * iconv/gconv_int.h: Likewise.
25286 * iconv/loop.c: Likewise.
25287 * nis/rpcsvc/nis.h: Likewise.
25288 * resolv/ns_name.c: Likewise.
25289 * stdio-common/vfscanf.c: Likewise.
25290 * streams/stropts.h: Likewise.
25291 * sunrpc/rpc_thread.c: Likewise.
25292 * sysdeps/i386/strpbrk.S: Likewise.
25293 * sysdeps/ieee754/k_standard.c: Likewise.
25294 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25295 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25296 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25297 * sysdeps/mach/hurd/profil.c: Likewise.
25298 * sysdeps/s390/dl-procinfo.h: Likewise.
25299 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25300 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25301 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25302 * sysdeps/x86_64/dl-trampoline.S: Likewise.
25303 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25305 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
25307 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25310 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25312 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25313 aix specific files.
25314 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25315 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25316 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25317 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25318 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25319 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25320 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25321 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25323 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25324 Roland McGrath <roland@hack.frob.com>
25326 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25327 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25329 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
25331 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25332 __executable_start symbol instead of _start.
25334 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
25336 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25337 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25339 * sysdeps/gnu/ldsodefs.h: ... this new file.
25341 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25342 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25343 instead of ELFOSABI_LINUX.
25345 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25346 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25347 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25348 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25350 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25351 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25352 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25354 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25355 (ibm_extended_long_double): Add ieee_nan member.
25356 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25357 (do_test): New function.
25359 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25361 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25362 functions, renamed from truncdfsf_test, trunctfsf_test,
25364 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25366 (do_test): Run all these.
25368 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
25370 * argp/argp-help.c: Fix typos.
25371 * argp/argp-parse.c: Likewise.
25372 * debug/backtracesyms.c: Likewise.
25373 * elf/elf.h: Likewise.
25374 * malloc/malloc.c: Likewise.
25375 * nis/nis_print.c: Likewise.
25376 * resolv/res_comp.c: Likewise.
25377 * stdlib/stdlib.h: Likewise.
25378 * sunrpc/clnt_tcp.c: Likewise.
25379 * sunrpc/clnt_udp.c: Likewise.
25380 * sunrpc/clnt_unix.c: Likewise.
25381 * sysdeps/unix/bsd/ptsname.c: Likewise.
25382 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25383 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25390 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25392 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25394 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25397 2013-08-27 Mike Frysinger <vapier@gentoo.org>
25400 * dlfcn/Makefile (tests): Add bug-dl-leaf.
25401 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25402 ($(objpfx)bug-dl-leaf): New rule.
25403 ($(objpfx)bug-dl-leaf.so): Likewise.
25404 ($(objpfx)bug-dl-leaf.out): Likewise.
25405 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25406 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25407 * dlfcn/bug-dl-leaf.c: New test.
25408 * dlfcn/bug-dl-leaf-lib.c: Likewise.
25409 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25410 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25411 (dlclose): Likewise.
25412 (dlmopen): Likewise.
25414 2013-08-27 Roland McGrath <roland@hack.frob.com>
25416 * include/netdb.h [!_ISOMAC]:
25417 Don't include <tls.h>.
25418 (h_errno, __libc_h_errno): Move declaration and macros out of
25421 * include/resolv.h [_RESOLV_H_]:
25422 Don't include <tls.h>.
25423 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25424 * resolv/res_libc.c: Don't include <tls.h>.
25425 (_res): Use __attribute__ ((nocommon)) in place of
25426 __attribute__ ((section (".bss"))).
25428 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25429 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25431 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25433 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25434 only under [SIOCGIFCONF && SIOCGIFNETMASK].
25436 * resolv/res_mkquery.c: Include <sys/time.h>.
25438 * inet/ifreq.c: Moved to ...
25439 * sysdeps/unix/ifreq.c: ... here.
25440 * inet/ifreq.c: New file, true stub version.
25442 * socket/sa_len.c: New file.
25443 * socket/Makefile (aux): Add it.
25444 * sysdeps/unix/sysv/linux/Makefile
25445 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25446 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25447 and #include <socket/sa_len.c>.
25448 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25449 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25451 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25452 * bits/socket.h: ... here.
25454 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25455 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25456 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25458 2013-08-27 Andreas Schwab <schwab@suse.de>
25461 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25462 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25463 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25464 * string/test-strcasecmp.c (test_main): Run tests in several
25466 * string/test-strncasecmp.c (test_main): Likewise.
25468 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25469 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25470 to __strcasecmp_nonascii and __strncasecmp_nonascii.
25471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25472 (__strncasecmp_ssse3) [PIC]: Likewise.
25474 2013-08-26 Roland McGrath <roland@hack.frob.com>
25476 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25478 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25479 instead of explicitly declaring xdecrypt.
25480 * nis/nss_nis/nis-publickey.c: Likewise.
25482 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25485 * nscd/aicache.c: Include res_hconf.h.
25486 (addhstaiX): Initialize res_hconf.
25488 2013-08-26 Andreas Schwab <schwab@suse.de>
25490 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25491 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25493 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
25495 * nscd/aicache.c (addhstaiX): Fix indentation.
25497 2013-08-25 Mike Frysinger <vapier@gentoo.org>
25499 * configure.ac: Quote $build_pt_chown test.
25500 * configure: Regenerated.
25502 2013-08-23 Joseph Myers <joseph@codesourcery.com>
25505 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25506 * math/s_cexpf.c (__cexpf): Likewise.
25507 * math/s_cexpl.c (__cexpl): Likewise.
25508 * math/libm-test.inc (cexp_test_data): Correct expected return
25509 value for NaN + i0. Add another test.
25511 2013-08-22 David S. Miller <davem@davemloft.net>
25513 * po/ca.po: Update Catalan translation from translation project.
25514 * po/uk.po: Add Ukrainian translations from translation project.
25516 2013-08-21 Joseph Myers <joseph@codesourcery.com>
25519 * math/s_fdim.c (__fdim): Check for infinite arguments if result
25520 is infinite, not alongside NaN test.
25521 * math/s_fdimf.c (__fdimf): Likewise.
25522 * math/s_fdiml.c (__fdiml): Likewise.
25523 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
25524 errno is unchanged.
25526 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
25528 * argp/argp-help.c: Fix typos.
25529 * crypt/speeds.c: Likewise.
25530 * csu/check_fds.c: Likewise.
25531 * elf/dl-load.c: Likewise.
25532 * elf/dl-open.c: Likewise.
25533 * elf/reldep3.c: Likewise.
25534 * elf/reldep.c: Likewise.
25535 * elf/sprof.c: Likewise.
25536 * iconv/iconv_charmap.c: Likewise.
25537 * iconv/skeleton.c: Likewise.
25538 * iconv/strtab.c: Likewise.
25539 * io/lockf64.c: Likewise.
25540 * libio/libioP.h: Likewise.
25541 * resolv/gai_notify.c: Likewise.
25542 * resolv/ns_name.c: Likewise.
25543 * resolv/ns_samedomain.c: Likewise.
25544 * resolv/res_send.c: Likewise.
25545 * stdlib/random.c: Likewise.
25546 * sunrpc/rpc/xdr.h: Likewise.
25547 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25548 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25549 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25550 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25551 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25552 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25555 * sysdeps/mach/hurd/check_fds.c: Likewise.
25556 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25557 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25558 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25560 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25561 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25562 * sysdeps/pthread/aio_notify.c: Likewise.
25563 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25564 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25565 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25566 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25567 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25569 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25571 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25572 version if bit_Slow_SSE4_2 is set.
25573 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25574 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25576 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25579 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25580 trampoline stack frame information.
25581 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25582 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25583 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25584 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25585 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25586 * sysdeps/unix/sysv/linux/powerpc/init-first.c
25587 (_libc_vdso_platform_setup): Initialize the signal trampolines.
25588 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25590 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25591 interrupting a syscall and set with option SA_SIGINFO.
25593 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25596 * math/s_cproj.c (__cproj): Only return an infinity if one part of
25597 argument is infinite.
25598 * math/s_cprojf.c (__cprojf): Likewise.
25599 * math/s_cprojl.c (__cprojl): Likewise.
25600 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25601 * math/libm-test.inc (cproj_test_data): Add more tests.
25603 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25605 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25606 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25607 size. Use __ffs to determine corresponding shift.
25609 2013-08-20 Joseph Myers <joseph@codesourcery.com>
25610 Roland McGrath <roland@hack.frob.com>
25612 * Makefile (INSTALL): Remove trailing blank lines from output of
25615 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25617 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25618 Align 32 bit compat elf_greg to 8 bytes.
25620 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
25622 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25624 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
25626 * string/strcoll_l.c (coll_seq): New structure.
25627 (get_next_seq_cached): New function.
25628 (get_next_seq): New function.
25629 (do_compare): New function.
25630 (STRCOLL): Use GNU style definition. Simplify implementation
25631 by using get_next_seq, get_next_seq_cached and do_compare.
25633 2013-08-16 Florian Weimer <fweimer@redhat.com>
25637 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25639 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25641 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25642 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25643 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25645 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25646 GETDENTS_64BIT_ALIGNED.
25647 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25648 * manual/filesys.texi (Reading/Closing Directory): Document
25649 ENAMETOOLONG return value of readdir_r. Recommend readdir more
25651 * manual/conf.texi (Limits for Files): Add portability note to
25652 NAME_MAX, PATH_MAX.
25653 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25655 2013-08-13 Andreas Schwab <schwab@suse.de>
25658 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25660 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25661 LDBL_MAX_EXP >= 16384]: Add tests for it.
25663 2013-08-12 David S. Miller <davem@davemloft.net>
25665 * version.h (RELEASE): Set to "development".
25666 (VERSION): Set to "2.18.90".
25667 * NEWS: Add 2.19 section.
25669 2013-08-03 David S. Miller <davem@davemloft.net>
25671 * po/ko.po: Update Korean translation from translation project.
25673 2013-08-01 David S. Miller <davem@davemloft.net>
25675 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
25676 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25679 2013-07-30 David S. Miller <davem@davemloft.net>
25681 * po/fr.po: Update French translation from translation project.
25683 2013-07-28 David S. Miller <davem@davemloft.net>
25685 * po/cs.po: Update Czech translation from translation project.
25687 * po/sv.po: Update Swedish translation from translation project.
25689 2013-07-27 David S. Miller <davem@davemloft.net>
25691 * po/eo.po: Update Esperanto translation from translation project.
25693 * po/vi.po: Update Vietnamese translation from translation project.
25695 * po/de.po: Update German translation from translation project.
25697 2013-07-26 David S. Miller <davem@davemloft.net>
25699 * po/bg.po: Update Bulgarian translation from translation project.
25701 * po/nl.po: Update Dutch translation from translation project.
25702 * po/pl.po: Update Polish translation from translation project.
25703 * po/ru.po: Update Russian translation from translation project.
25705 2013-07-24 David S. Miller <davem@davemloft.net>
25707 * po/libc.pot: Update.
25709 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25711 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25712 variable page size.
25713 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25714 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25715 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25717 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25719 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25721 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25722 Andreas Schwab <schwab@suse.de>
25723 Roland McGrath <roland@hack.frob.com>
25724 Joseph Myers <joseph@codesourcery.com>
25725 Carlos O'Donell <carlos@redhat.com>
25728 * config.h.in: Define HAVE_PT_CHOWN.
25729 * config.make.in (build-pt-chown): New variable.
25730 * configure.in (--enable-pt_chown): New configure option.
25731 * configure: Regenerate.
25732 * login/Makefile: Include Makeconfig. Build pt_chown only if
25733 build-pt-chown is enabled.
25734 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25735 pt_chown to fix pty ownership.
25736 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25738 * manual/install.texi (Configuring and compiling): Mention
25739 --enable-pt_chown. Add @findex for grantpt.
25740 * INSTALL: Regenerate.
25742 2013-07-20 David S. Miller <davem@davemloft.net>
25744 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25745 difference between 32-bit and 64-bit.
25747 2013-07-15 Carlos O'Donell <carlos@redhat.com>
25750 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25751 Avoid system header dependency with -ffreestanding.
25752 ($(objpfx)bits/syscall%d): Likewise.
25754 2013-07-13 David S. Miller <davem@davemloft.net>
25756 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25757 underflows from atanl/atan2l due to bug 15319.
25758 (casinh_test_data): Likewise.
25760 2013-07-07 David S. Miller <davem@davemloft.net>
25762 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25764 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
25766 * sysdeps/i386/fpu/libm-test-ulps: Update.
25767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25769 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
25771 * configure.in (--enable-lock-elision): Fix message text.
25772 * INSTALL: Regenerate.
25773 * configure: Regenerate.
25775 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25779 2013-07-03 Andreas Jaeger <aj@suse.de>
25781 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25783 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25784 (ptrace_peeksiginfo_args): Add.
25785 (__ptrace_peeksiginfo_flags): Add.
25786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25788 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25790 2013-07-03 Allan McRae <allan@archlinux.org>
25792 * sysdeps/i386/fpu/libm-test-ulps: Update.
25794 2013-07-02 David S. Miller <davem@davemloft.net>
25796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25798 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
25800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25802 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25804 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25807 2013-07-02 Andi Kleen <ak@linux.intel.com>
25809 * config.h.in (ENABLE_LOCK_ELISION): Add.
25810 * configure.in (--enable-lock-elision): Add option.
25811 * manual/install.texi: Document --enable lock elision.
25812 * configure: Regenerate
25813 * INSTALL: Regenerate.
25815 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
25817 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25818 SSE4.2 strcasecmp for libc.a.
25819 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25821 2013-07-02 Joseph Myers <joseph@codesourcery.com>
25824 * soft-fp/op-common.h (_FP_FMA): New macro.
25825 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25826 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
25827 (_FP_MUL_MEAT_1_imm): ... here.
25828 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
25829 (_FP_MUL_MEAT_1_wide): ... here.
25830 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
25831 (_FP_MUL_MEAT_1_hard): ... here.
25832 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25833 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
25834 (_FP_MUL_MEAT_2_wide): ... here.
25835 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
25836 (_FP_MUL_MEAT_2_wide_3mul): ... here.
25837 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
25838 (_FP_MUL_MEAT_2_gmp): ... here.
25839 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25840 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
25841 (_FP_MUL_MEAT_4_wide): ... here.
25842 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
25843 (_FP_MUL_MEAT_4_gmp): ... here.
25844 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25845 (_FP_WFRACBITS_DW_S): Likewise.
25846 (_FP_WFRACXBITS_DW_S): Likewise.
25847 (_FP_HIGHBIT_DW_S): Likewise.
25848 (FP_FMA_S): Likewise.
25849 (_FP_FRAC_HIGH_DW_S): Likewise.
25850 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25851 (_FP_WFRACBITS_DW_D): Likewise.
25852 (_FP_WFRACXBITS_DW_D): Likewise.
25853 (_FP_HIGHBIT_DW_D): Likewise.
25854 (FP_FMA_D): Likewise.
25855 (_FP_FRAC_HIGH_DW_D): Likewise.
25856 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25857 (_FP_WFRACBITS_DW_E): Likewise.
25858 (_FP_WFRACXBITS_DW_E): Likewise.
25859 (_FP_HIGHBIT_DW_E): Likewise.
25860 (FP_FMA_E): Likewise.
25861 (_FP_FRAC_HIGH_DW_E): Likewise.
25862 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25863 (_FP_WFRACBITS_DW_Q): Likewise.
25864 (_FP_WFRACXBITS_DW_Q): Likewise.
25865 (_FP_HIGHBIT_DW_Q): Likewise.
25866 (FP_FMA_Q): Likewise.
25867 (_FP_FRAC_HIGH_DW_Q): Likewise.
25868 * soft-fp/fmasf4.c: New file.
25869 * soft-fp/fmadf4.c: Likewise.
25870 * soft-fp/fmatf4.c: Likewise.
25872 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25875 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25877 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25879 (index_Slow_SSE4_2): Likewise.
25880 (index_Prefer_PMINUB_for_stringop): Likewise.
25881 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25882 bit_Slow_SSE4_2 is set.
25883 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25884 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25886 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25888 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25889 rtld_global._dl_hwcap2.
25890 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25892 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25893 POWER8 feature descriptions defined in _dl_hwcap2.
25894 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25895 string handling for POWER8 feature bits.
25896 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25897 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25898 _dl_powerpc_cap_flags.
25899 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25900 * sysdeps/powerpc/rtld-global-offsets.sym
25901 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25902 _dl_hwcap2 in the rtld_global_ro structure.
25904 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25906 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25907 hardware capabilities in support of AT_HWCAP2.
25908 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25909 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25911 (_dl_show_auxv): Add support for calling _dl_procinfo to display
25912 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
25913 explicitly the unknown a_type display mechanism is used.
25914 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25915 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25917 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25918 to macro prototype for AT_HWCAP2 support.
25919 * sysdeps/i386/dl-procinfo.h: Likewise.
25920 * sysdeps/s390/dl-procinfo.h: Likewise.
25921 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25922 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
25923 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
25924 return -1 for unknown a_type display fallback.
25925 * sysdeps/sparc/dl-procinfo.h: Likewise.
25926 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25927 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25929 2013-06-28 Joseph Myers <joseph@codesourcery.com>
25931 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25932 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25934 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
25937 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25938 mprotect making __stack_prot writable.
25940 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
25941 Joseph Myers <joseph@codesourcery.com>
25943 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25944 as being properly aligned.
25946 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
25948 * dlfcn/modstatic5.c: New file.
25949 * dlfcn/tststatic5.c: New file.
25950 * dlfcn/Makefile (tests): Add tststatic5.
25951 (tests-static): Likewise.
25952 (modules-names): Add modstatic5.
25953 (tststatic5-ENV): New variable.
25954 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25957 * elf/dl-support.c (_dl_main_map): New variable.
25958 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25959 (_dl_nns, _dl_load_adds): Set to 1.
25960 (_dl_initial_searchlist): Refer to _dl_main_map.
25961 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25962 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25963 call to _dl_get_origin.
25964 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25966 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25967 * dlfcn/modstatic3.c: New file.
25968 * dlfcn/tststatic3.c: New file.
25969 * dlfcn/tststatic4.c: New file.
25970 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25971 (tests-static): Likewise.
25972 (modules-names): Add modstatic3.
25973 (tststatic3-ENV, tststatic4-ENV): New variables.
25974 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25975 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25977 2013-06-26 Joseph Myers <joseph@codesourcery.com>
25979 * configure.in (CC): Require GCC version 4.4 or later.
25980 * configure: Regenerated.
25981 * manual/install.texi (Tools for Compilation): Update GCC version
25983 * INSTALL: Regenerated.
25985 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25988 * string/test-memcmp.c (check2): New.
25989 (main): Call check2.
25991 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25993 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
25996 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25998 (dl_open_worker) [!SHARED]: ... here.
26000 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26002 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26004 2013-06-25 Richard Henderson <rth@redhat.com>
26006 * locale/programs/locarchive.c: Include <libc-internal.h>
26008 2013-06-25 Joseph Myers <joseph@codesourcery.com>
26010 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26011 trailing whitespace removed.
26013 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26016 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26017 * locale/programs/locarchive.c: Include libc-mmap.h.
26018 (prepare_address_space): Take two new outputs (the mmap base and len).
26019 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26021 (create_archive): Declare new mmap base and len values for
26022 prepare_address_space, and store the result in ah.
26023 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26024 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26025 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26026 Declare new mmap base and len values for
26027 prepare_address_space, and store the result in new_ah.
26028 (open_archive): Declare new mmap base and len values for
26029 prepare_address_space, and store the result in ah.
26030 (close_archive): If ah->mmap_base is not NULL, use that and
26031 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26032 * sysdeps/generic/libc-mmap.h: New file.
26034 2013-06-24 Mike Frysinger <vapier@gentoo.org>
26036 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26037 (ALIGN_UP): Likewise.
26038 (PTR_ALIGN_DOWN): Likewise.
26039 (PTR_ALIGN_UP): Likewise.
26041 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26043 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26044 entry mapped to PPC_PLATFORM_POWER8.
26045 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26047 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26048 (_dl_string_platform): Add case for exporting platform position for
26050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26051 search path to sysdeps/powerpc/powerpc32/power8 directory.
26052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26053 search path to sysdeps/powerpc/powerpc64/power8 directory.
26054 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26055 power7 directories.
26056 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26057 power7 directories.
26059 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26061 * INSTALL: Regenerate.
26063 * nscd/connections.c (nscd_init): Fix comment.
26065 2013-06-22 Joseph Myers <joseph@codesourcery.com>
26067 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26070 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26071 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26073 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26075 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26077 (DL_DST_REQ_STATIC): Remove macro.
26079 2013-06-21 Joseph Myers <joseph@codesourcery.com>
26082 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26083 with a shift of 0 bits.
26085 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26087 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26090 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26093 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26095 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26097 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26098 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26099 accepts -fno-tree-loop-distribute-patterns.
26100 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26101 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26103 * string/memset.c (memset): Likewise.
26104 * string/test-memmove.c (simple_memmove): Disable loop transformation
26106 * string/test-memset.c (simple_memset): Likewise.
26107 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26108 * benchtests/bench-memset.c (simple_memset): Likewise.
26109 * configure: Regenerated.
26111 2013-06-20 Joseph Myers <joseph@codesourcery.com>
26113 * math/test-misc.c (main): Ignore fesetround failure when failures
26114 of subsequent rounding tests would be ignored.
26117 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26118 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26119 * math/fegetenv.c (__fegetenv): Return 0.
26120 * math/fegetexcept.c (fegetexcept): Return 0.
26121 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26123 * math/feholdexcpt.c (feholdexcept): Return 0.
26124 * math/fesetenv.c (__fesetenv): Return 0.
26125 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26126 argument FE_TONEAREST.
26127 * math/feupdateenv.c (__feupdateenv): Return 0.
26128 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26130 2013-06-18 Roland McGrath <roland@hack.frob.com>
26132 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26133 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26134 ($(objpfx)rtld-%.os rules): Use them.
26136 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26138 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26141 2013-06-17 Roland McGrath <roland@hack.frob.com>
26143 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26144 length of target pattern, then descending length of dependency pattern.
26145 * configure.in (AWK): Require gawk 3.1.2 or newer.
26146 * manual/install.texi (Tools for Compilation): Say that we do.
26147 * configure: Regenerated.
26149 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26150 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26151 * scripts/sysd-rules.awk: ... this new script.
26152 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26153 than a glob-style pattern.
26155 2013-06-17 Joseph Myers <joseph@codesourcery.com>
26157 * math/test-misc.c (main): Do not treat incorrectly rounded
26158 conversions as failure unless ROUNDING_TESTS passes.
26160 2013-06-15 Joseph Myers <joseph@codesourcery.com>
26163 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26164 restore exception state around main square root computation, then
26165 check for inexactness explicitly.
26167 * math/libm-test.inc (fma_test_data): Add another test.
26169 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26171 * manual/threads.texi (Non-POSIX Extensions): New document
26172 node. Document pthread_getattr_default_np and
26173 pthread_setattr_default_np.
26175 * Versions.def (libpthread): Add GLIBC_2.18.
26176 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26185 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26196 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26199 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26201 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26202 H.J. Lu <hjl.tools@gmail.com>
26205 * sysdeps/x86_64/rtld-memset.c: Remove file.
26206 * sysdeps/x86_64/rtld-memset.S: New file.
26208 2013-06-14 Joseph Myers <joseph@codesourcery.com>
26210 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26211 (test_in_one_mode): Take arguments for whether the rounding mode
26212 is supported for each floating-point type.
26213 (do_test): Pass new arguments to test_in_one_mode using
26216 2013-06-13 Roland McGrath <roland@hack.frob.com>
26218 * posix/tst-waitid.c (do_test): Distinguish different instances of
26219 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26220 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26221 before entering the kernel for waitpid.
26223 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26225 * NEWS: Fix note on clock function precision. Text by Roland
26228 2013-06-13 Roland McGrath <roland@hack.frob.com>
26230 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26231 it into place only when and if the sanity check passes.
26233 2013-06-13 Joseph Myers <joseph@codesourcery.com>
26235 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26236 output for whether conversion result is exact. Take argument
26237 indicating whether type is IBM long double.
26238 (round_for_all): Change need_exact field to ibm_ld.
26239 * stdlib/tst-strtod-round.c (struct exactness): New type.
26240 (struct test): Change bool ld_ok field to struct exactness exact.
26241 (TEST): Update all definitions for change to field.
26242 (tests): Regenerate array contents.
26243 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26244 field value. Check for IBM long double here.
26245 (do_test): Update calls to test_in_one_mode.
26247 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26250 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26251 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26253 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26256 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26257 generated by the compiler on loop optimizations.
26258 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26259 general definitions.
26261 2013-06-12 Joseph Myers <joseph@codesourcery.com>
26263 * math/bug-nextafter.c: Include <math-tests.h>.
26264 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26266 * math/bug-nexttoward.c: Include <math-tests.h>.
26267 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26269 * math/test-misc.c: Include <math-tests.h>.
26270 (main): Only test for exceptions if EXCEPTION_TESTS is true for
26273 2013-06-12 Andreas Jaeger <aj@suse.de>
26275 * po/ia.po: Update Interlingua translation from translation
26278 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26280 * include/fenv.h: Include stdbool.h.
26281 (struct rm_ctx): New structure.
26282 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26284 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26285 (SET_RESTORE_ROUNDF): Likewise.
26286 (SET_RESTORE_ROUNDL): Likewise.
26287 (SET_RESTORE_ROUND_NOEX): Likewise.
26288 (SET_RESTORE_ROUND_NOEXF): Likewise.
26289 (SET_RESTORE_ROUND_NOEXL): Likewise.
26290 (SET_RESTORE_ROUND_53BIT): Likewise.
26291 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26292 (libc_feresetround_noexf_ctx): Likewise.
26293 (libc_feresetround_noexl_ctx): Likewise.
26294 (libc_feholdsetround_53bit_ctx): Likewise.
26295 (libc_feresetround_53bit_ctx): Likewise.
26296 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26297 (libc_feholdexcept_setround_sse_ctx): New function.
26298 (libc_fesetenv_sse_ctx): Likewise.
26299 (libc_feupdateenv_sse_ctx): Likewise.
26300 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26301 (libc_feholdexcept_setround_387_ctx): Likewise.
26302 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26303 (libc_feholdsetround_387_prec_ctx): Likewise.
26304 (libc_feholdsetround_387_ctx): Likewise.
26305 (libc_feholdsetround_387_53bit_ctx): Likewise.
26306 (libc_feholdsetround_sse_ctx): Likewise.
26307 (libc_feresetround_sse_ctx): Likewise.
26308 (libc_feresetround_387_ctx): Likewise.
26309 (libc_feupdateenv_387_ctx): Likewise.
26310 (libc_feholdexcept_setroundf_ctx): Define macro.
26311 (libc_fesetenvf_ctx): Likewise.
26312 (libc_feupdateenvf_ctx): Likewise.
26313 (libc_feholdsetroundf_ctx): Likewise.
26314 (libc_feresetroundf_ctx): Likewise.
26315 (libc_feholdexcept_setround_ctx): Likewise.
26316 (libc_fesetenv_ctx): Likewise.
26317 (libc_feupdateenv_ctx): Likewise.
26318 (libc_feholdsetround_ctx): Likewise.
26319 (libc_feresetround_ctx): Likewise.
26320 (libc_feholdexcept_setroundl_ctx): Likewise.
26321 (libc_feupdateenvl_ctx): Likewise.
26322 (libc_feholdsetroundl_ctx): Likewise.
26323 (libc_feresetroundl_ctx): Likewise.
26324 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26325 (libc_feresetround_53bit_ctx): Likewise.
26327 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26329 * locale/iso-639.def: Convert to UTF-8.
26331 2013-06-11 Joseph Myers <joseph@codesourcery.com>
26333 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26334 (EXCEPTION_TESTS_double): Likewise.
26335 (EXCEPTION_TESTS_long_double): Likewise.
26336 (EXCEPTION_TESTS): Likewise.
26337 * math/libm-test.inc (test_exceptions): Only test exceptions if
26338 EXCEPTION_TESTS (FLOAT).
26340 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26342 * benchtests/Makefile (string-bench): Add strcpy_chk and
26344 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26345 * benchtests/bench-stpcpy_chk.c: New file.
26346 * benchtests/bench-strcpy_chk-ifunc.c: New file.
26347 * benchtests/bench-strcpy_chk.c: New file.
26348 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26350 (do_test): Likewise.
26352 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26354 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26355 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26356 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26357 with tabs where appropriate.
26358 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26360 [PPC_PLATFORM_PPC440]: Likewise.
26361 [PPC_PLATFORM_PPC464]: Likewise.
26362 [PPC_PLATFORM_PPC476]: Likewise.
26363 (_dl_string_platform): Add support for detecting ppc405, ppc440,
26364 ppc464, and ppc476 platform strings merging from ports/
26367 2013-06-11 Andreas Schwab <schwab@suse.de>
26370 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26371 (from_ucs4_idx): Regenerate.
26372 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26373 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26374 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26375 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26376 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26377 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26378 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26379 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26380 from FROM_LOOP and TO_LOOP specific macros.
26381 (BODY): Handle combining characters.
26382 * iconvdata/BIG5HKSCS.irreversible: Update.
26383 * iconvdata/BIG5HKSCS.precomposed: New file.
26384 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26386 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26388 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26390 * include/sys/time.h: Fix indentation and add copyright header.
26392 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26393 (do_test): Likewise.
26394 * string/test-memchr.c (do_one_test): Likewise.
26395 (do_test): Likewise.
26396 * string/test-memcmp.c (do_one_test): Likewise.
26397 (do_test): Likewise.
26398 * string/test-memcpy.c (do_one_test): Likewise.
26399 (do_test): Likewise.
26400 * string/test-memmem.c (do_one_test): Likewise.
26401 (do_test): Likewise.
26402 (do_random_tests): Likewise.
26403 * string/test-memmove.c (do_one_test): Likewise.
26404 (do_test): Likewise.
26405 * string/test-memset.c (do_one_test): Likewise.
26406 (do_test): Likewise.
26407 * string/test-rawmemchr.c (do_one_test): Likewise.
26408 (do_test): Likewise.
26409 * string/test-strcasecmp.c (do_one_test): Likewise.
26410 (do_test): Likewise.
26411 * string/test-strcasestr.c (do_one_test): Likewise.
26412 (do_test): Likewise.
26413 * string/test-strcat.c (do_one_test): Likewise.
26414 (do_test): Likewise.
26415 * string/test-strchr.c (do_one_test): Likewise.
26416 (do_test): Likewise.
26417 * string/test-strcmp.c (do_one_test): Likewise.
26418 (do_test): Likewise.
26419 * string/test-strcpy.c (do_one_test): Likewise.
26420 (do_test): Likewise.
26421 * string/test-string.h: Likewise.
26422 (test_init): Likewise.
26423 * string/test-strlen.c (do_one_test): Likewise.
26424 (do_test): Likewise.
26425 * string/test-strncasecmp.c (do_one_test): Likewise.
26426 (do_test): Likewise.
26427 * string/test-strncat.c (do_one_test): Likewise.
26428 (do_test): Likewise.
26429 * string/test-strncmp.c (do_one_test): Likewise.
26430 (do_test_limit): Likewise.
26431 (do_test): Likewise.
26432 * string/test-strncpy.c (do_one_test): Likewise.
26433 (do_test): Likewise.
26434 * string/test-strnlen.c (do_one_test): Likewise.
26435 (do_test): Likewise.
26436 * string/test-strpbrk.c (do_one_test): Likewise.
26437 (do_test): Likewise.
26438 * string/test-strrchr.c (do_one_test): Likewise.
26439 (do_test): Likewise.
26440 * string/test-strspn.c (do_one_test): Likewise.
26441 (do_test): Likewise.
26442 * string/test-strstr.c (do_one_test): Likewise.
26443 (do_test): Likewise.
26445 * benchtests/Makefile (string-bench): Add string benchmarks.
26446 * benchtests/bench-bcopy-ifunc.c: New file.
26447 * benchtests/bench-bcopy.c: New file.
26448 * benchtests/bench-bzero-ifunc.c: New file.
26449 * benchtests/bench-bzero.c: New file.
26450 * benchtests/bench-memccpy-ifunc.c: New file.
26451 * benchtests/bench-memccpy.c: New file.
26452 * benchtests/bench-memchr-ifunc.c: New file.
26453 * benchtests/bench-memchr.c: New file.
26454 * benchtests/bench-memcmp-ifunc.c: New file.
26455 * benchtests/bench-memcmp.c: New file.
26456 * benchtests/bench-memmem-ifunc.c: New file.
26457 * benchtests/bench-memmem.c: New file.
26458 * benchtests/bench-memmove-ifunc.c: New file.
26459 * benchtests/bench-memmove.c: New file.
26460 * benchtests/bench-mempcpy-ifunc.c: New file.
26461 * benchtests/bench-mempcpy.c: New file.
26462 * benchtests/bench-memset-ifunc.c: New file.
26463 * benchtests/bench-memset.c: New file.
26464 * benchtests/bench-rawmemchr-ifunc.c: New file.
26465 * benchtests/bench-rawmemchr.c: New file.
26466 * benchtests/bench-stpcpy-ifunc.c: New file.
26467 * benchtests/bench-stpcpy.c: New file.
26468 * benchtests/bench-stpncpy-ifunc.c: New file.
26469 * benchtests/bench-stpncpy.c: New file.
26470 * benchtests/bench-strcasecmp-ifunc.c: New file.
26471 * benchtests/bench-strcasecmp.c: New file.
26472 * benchtests/bench-strcasestr-ifunc.c: New file.
26473 * benchtests/bench-strcasestr.c: New file.
26474 * benchtests/bench-strcat-ifunc.c: New file.
26475 * benchtests/bench-strcat.c: New file.
26476 * benchtests/bench-strchr-ifunc.c: New file.
26477 * benchtests/bench-strchr.c: New file.
26478 * benchtests/bench-strchrnul-ifunc.c: New file.
26479 * benchtests/bench-strchrnul.c: New file.
26480 * benchtests/bench-strcmp-ifunc.c: New file.
26481 * benchtests/bench-strcmp.c: New file.
26482 * benchtests/bench-strcpy-ifunc.c: New file.
26483 * benchtests/bench-strcpy.c: New file.
26484 * benchtests/bench-strcspn-ifunc.c: New file.
26485 * benchtests/bench-strcspn.c: New file.
26486 * benchtests/bench-strlen-ifunc.c: New file.
26487 * benchtests/bench-strlen.c: New file.
26488 * benchtests/bench-strncasecmp-ifunc.c: New file.
26489 * benchtests/bench-strncasecmp.c: New file.
26490 * benchtests/bench-strncat-ifunc.c: New file.
26491 * benchtests/bench-strncat.c: New file.
26492 * benchtests/bench-strncmp-ifunc.c: New file.
26493 * benchtests/bench-strncmp.c: New file.
26494 * benchtests/bench-strncpy-ifunc.c: New file.
26495 * benchtests/bench-strncpy.c: New file.
26496 * benchtests/bench-strnlen-ifunc.c: New file.
26497 * benchtests/bench-strnlen.c: New file.
26498 * benchtests/bench-strpbrk-ifunc.c: New file.
26499 * benchtests/bench-strpbrk.c: New file.
26500 * benchtests/bench-strrchr-ifunc.c: New file.
26501 * benchtests/bench-strrchr.c: New file.
26502 * benchtests/bench-strspn-ifunc.c: New file.
26503 * benchtests/bench-strspn.c: New file.
26504 * benchtests/bench-strstr-ifunc.c: New file.
26505 * benchtests/bench-strstr.c: New file.
26507 * benchtests/Makefile: Disable parallel execution of targets.
26508 (string-bench): Add memcpy.
26509 (benchset): New variable to store a list of benchmark sets.
26510 (bench-func): Renamed from bench.
26511 (bench-set): New target.
26512 (bench): Depend on bench-func and bench-set.
26513 * benchtests/README: Add section on benchmark sets.
26514 * benchtests/bench-memcpy-ifunc.c: New file.
26515 * benchtests/bench-memcpy.c: New file.
26516 * benchtests/bench-string.h: New file.
26518 2013-06-11 Andreas Schwab <schwab@suse.de>
26521 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26522 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26523 values in the triple.
26524 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26525 terminator in the group key.
26527 2013-06-11 Andreas Jaeger <aj@suse.de>
26529 * po/zh_TW.po: Update Chinese (traditional) translation from
26530 translation project.
26532 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26534 * include/time.h (__clock_gettime): Add libc_hidden_proto.
26535 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26536 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
26537 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26538 (clock_getcpuclockid): Likewise.
26539 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26540 Add weak_alias and libc_hidden_def.
26541 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26542 * rt/clock_gettime.c (clock_gettime): Rename to
26543 __clock_gettime. Add weak_alias and libc_hidden_def.
26544 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26545 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26546 __clock_nanosleep. Add weak_alias and libc_hidden_def.
26547 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26548 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26550 * rt/clock_settime.c (clock_settime): Rename to
26551 __clock_settime. Add weak_alias and libc_hidden_def.
26552 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26554 2013-06-10 Joseph Myers <joseph@codesourcery.com>
26556 * mach/err_boot.sub: Remove trailing whitespace.
26557 * mach/err_ipc.sub: Likewise.
26558 * mach/err_mach.sub: Likewise.
26560 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26561 (ROUNDING_TESTS_double): Likewise.
26562 (ROUNDING_TESTS_long_double): Likewise.
26563 (ROUNDING_TESTS): Likewise.
26564 * math/libm-test.inc: Include <math-tests.h>.
26565 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26566 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26567 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26568 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26570 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26572 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26575 2013-06-08 Joseph Myers <joseph@codesourcery.com>
26577 * sysdeps/gnu/errlist.awk: Do not generate space at end of
26578 otherwise empty TRANS lines.
26579 * sysdeps/gnu/errlist.c: Regenerated.
26581 * catgets/gencat.c (error_print): Use (void) in function
26583 * crypt/crypt_util.c (__init_des): Likewise.
26584 * crypt/speeds.c (Stop): Likewise.
26586 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26587 * inet/ruserpass.c (token): Likewise.
26588 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26589 * intl/localealias.c (extend_alias_table): Likewise.
26590 * intl/plural-exp.c (init_germanic_plural): Likewise.
26591 * libio/fcloseall.c (__fcloseall): Likewise.
26592 * libio/genops.c (_IO_flush_all): Likewise.
26593 (_IO_flush_all_linebuffered): Likewise.
26594 (_IO_cleanup): Likewise.
26595 (_IO_iter_begin): Likewise.
26596 (_IO_iter_end): Likewise.
26597 (_IO_list_lock): Likewise.
26598 (_IO_list_unlock): Likewise.
26599 (_IO_list_resetlock): Likewise.
26600 * libio/getchar.c (getchar): Likewise.
26601 * libio/getchar_u.c (getchar_unlocked): Likewise.
26602 * libio/getwchar.c (getwchar): Likewise.
26603 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26604 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26605 * login/getpt.c (__getpt): Likewise.
26606 * login/tst-utmp.c (main): Likewise.
26607 * malloc/hooks.c (__malloc_check_init): Likewise.
26608 * malloc/malloc.c (__malloc_stats): Likewise.
26609 * malloc/mtrace.c (tr_break): Likewise.
26610 (mtrace): Likewise.
26611 (muntrace): Likewise.
26612 * misc/fstab.c (endfsent): Likewise.
26613 * misc/getclktck.c (__getclktck): Likewise.
26614 * misc/getdtsz.c (__getdtablesize): Likewise.
26615 * misc/gethostid.c (gethostid): Likewise.
26616 * misc/getpagesize.c (__getpagesize): Likewise.
26617 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26618 (__get_nprocs): Likewise.
26619 (__get_phys_pages): Likewise.
26620 (__get_avphys_pages): Likewise.
26621 * misc/getttyent.c (getttyent): Likewise.
26622 (setttyent): Likewise.
26623 (endttyent): Likewise.
26624 * misc/getusershell.c (getusershell): Likewise.
26625 (endusershell): Likewise.
26626 (setusershell): Likewise.
26627 (initshells): Likewise.
26628 * misc/hsearch.c (__hdestroy): Likewise.
26629 * misc/sync.c (sync): Likewise.
26630 * misc/syslog.c (closelog_internal): Likewise.
26631 (closelog): Likewise.
26632 * misc/ttyslot.c (ttyslot): Likewise.
26633 * misc/vhangup.c (vhangup): Likewise.
26634 * posix/fork.c (__fork): Likewise.
26635 * posix/getegid.c (__getegid): Likewise.
26636 * posix/geteuid.c (__geteuid): Likewise.
26637 * posix/getgid.c (__getgid): Likewise.
26638 * posix/getpid.c (__getpid): Likewise.
26639 * posix/getppid.c (__getppid): Likewise.
26640 * posix/getuid.c (__getuid): Likewise.
26641 * posix/pause.c (pause): Likewise.
26642 * posix/setpgrp.c (setpgrp): Likewise.
26643 * posix/setsid.c (__setsid): Likewise.
26644 * posix/test-vfork.c (noop): Likewise.
26645 * resolv/gethnamaddr.c (_endhtent): Likewise.
26646 (_gethtent): Likewise.
26647 (ht_endhostent): Likewise.
26648 (gethostent): Likewise.
26649 (dns_service): Likewise.
26650 * stdlib/drand48.c (drand48): Likewise.
26651 * stdlib/lrand48.c (lrand48): Likewise.
26652 * stdlib/mrand48.c (mrand48): Likewise.
26653 * stdlib/rand.c (rand): Likewise.
26654 * stdlib/random.c (__random): Likewise.
26655 * stdlib/setenv.c (clearenv): Likewise.
26656 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26657 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26658 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26659 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26660 (__get_nprocs): Likewise.
26661 (__get_phys_pages): Likewise.
26662 (__get_avphys_pages): Likewise.
26663 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26664 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26665 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26666 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26667 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26668 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26669 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26670 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26671 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26672 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26673 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26674 * sysdeps/mach/hurd/sync.c (sync): Likewise.
26675 * sysdeps/posix/clock.c (clock): Likewise.
26676 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26677 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26678 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26679 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26680 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26682 (__get_nprocs_conf): Likewise.
26683 (__get_phys_pages): Likewise.
26684 (__get_avphys_pages): Likewise.
26685 * time/clock.c (clock): Likewise.
26686 * time/tzset.c (__tzname_max): Likewise.
26688 2013-06-07 Joseph Myers <joseph@codesourcery.com>
26690 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26691 (__bswap_32): Do not use "register".
26692 * crypt/crypt.c (_ufc_doit_r): Likewise.
26693 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26694 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26695 * gmon/gmon.c (__monstartup): Likewise.
26696 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26697 * hurd/hurdmalloc.c (more_memory): Likewise.
26698 (malloc): Likewise.
26700 (realloc): Likewise.
26701 (malloc_fork_prepare): Likewise.
26702 (malloc_fork_parent): Likewise.
26703 (malloc_fork_child): Likewise.
26704 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26705 (_svcauth_des): Likewise.
26706 * inet/inet_lnaof.c (inet_lnaof): Likewise.
26707 * inet/inet_net.c (inet_network): Likewise.
26708 * inet/inet_netof.c (inet_netof): Likewise.
26709 * inet/rcmd.c (__validuser2_sa): Likewise.
26710 * io/fts.c (fts_open): Likewise.
26711 (fts_load): Likewise.
26712 (fts_close): Likewise.
26713 (fts_read): Likewise.
26714 (fts_children): Likewise.
26715 (fts_build): Likewise.
26716 (fts_stat): Likewise.
26717 (fts_sort): Likewise.
26718 (fts_alloc): Likewise.
26719 (fts_lfree): Likewise.
26720 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26721 (_IO_file_xsgetn): Likewise.
26722 (_IO_file_xsgetn_mmap): Likewise.
26723 * libio/iofopncook.c (_IO_cookie_read): Likewise.
26724 (_IO_cookie_write): Likewise.
26725 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26726 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26727 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26728 * malloc/obstack.c (_obstack_begin): Likewise.
26729 (_obstack_begin_1): Likewise.
26730 (_obstack_newchunk): Likewise.
26731 (_obstack_allocated_p): Likewise.
26732 (obstack_free): Likewise.
26733 (_obstack_memory_used): Likewise.
26734 * misc/getttyent.c (getttynam): Likewise.
26735 (getttyent): Likewise.
26738 * misc/getusershell.c (initshells): Likewise.
26739 * misc/syslog.c (__vsyslog_chk): Likewise.
26740 * misc/ttyslot.c (ttyslot): Likewise.
26741 * nis/nis_hash.c (__nis_hash): Likewise.
26742 * posix/fnmatch_loop.c (FCT): Likewise.
26743 * posix/getconf.c (print_all): Likewise.
26745 * posix/getopt.c (exchange): Likewise.
26746 * posix/glob.c (globfree): Likewise.
26747 (prefix_array): Likewise.
26748 (__glob_pattern_type): Likewise.
26749 * resolv/arpa/nameser.h (NS_GET16): Likewise.
26750 (NS_GET32): Likewise.
26751 (NS_PUT16): Likewise.
26752 (NS_PUT32): Likewise.
26753 * resolv/gethnamaddr.c (getanswer): Likewise.
26754 (gethostbyname2): Likewise.
26755 (gethostbyaddr): Likewise.
26756 (_gethtent): Likewise.
26757 (_gethtbyname2): Likewise.
26758 (_gethtbyaddr): Likewise.
26759 * resolv/ns_print.c (dst_s_get_int16): Likewise.
26760 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26761 * resolv/res_init.c (__res_vinit): Likewise.
26762 (net_mask): Likewise.
26763 * resolv/res_mkquery.c (outchar): Likewise.
26765 * stdio-common/printf_fp.c (outchar): Likewise.
26767 * stdio-common/printf_fphex.c (outchar): Likewise.
26769 * stdio-common/printf_size.c (outchar): Likewise.
26771 * stdio-common/test_rdwr.c (main): Likewise.
26772 * stdio-common/tfformat.c (matches): Likewise.
26773 * stdio-common/vfprintf.c (outchar): Likewise.
26774 (printf_unknown): Likewise.
26775 (buffered_vfprintf): Likewise.
26776 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26777 * stdio-common/xbug.c (AppendToBuffer): Likewise.
26778 (ReadFile): Likewise.
26779 * stdlib/qsort.c (SWAP): Likewise.
26780 (_quicksort): Likewise.
26781 * stdlib/setenv.c (__add_to_environ): Likewise.
26782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26783 * stdlib/strtol_l.c (__strtol_l): Likewise.
26784 * stdlib/tst-strtod.c (main): Likewise.
26785 * stdlib/tst-strtol.c (main): Likewise.
26786 * stdlib/tst-strtoll.c (main): Likewise.
26787 * string/bits/string2.h (__strcmp_cc): Likewise.
26788 (__strcmp_cg): Likewise.
26789 (__strcspn_c1): Likewise.
26790 (__strcspn_c2): Likewise.
26791 (__strcspn_c3): Likewise.
26792 (__strspn_c1): Likewise.
26793 (__strspn_c2): Likewise.
26794 (__strspn_c3): Likewise.
26795 (__strsep_1c): Likewise.
26796 (__strsep_2c): Likewise.
26797 (__strsep_3c): Likewise.
26798 * string/memccpy.c (__memccpy): Likewise.
26799 * string/stpcpy.c (__stpcpy): Likewise.
26800 * string/strcmp.c (strcmp): Likewise.
26801 * string/strrchr.c (strrchr): Likewise.
26802 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26804 * sysdeps/mach/hurd/getcwd.c
26805 (_hurd_canonicalize_directory_name_internal): Likewise.
26806 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26807 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26808 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26809 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26810 Likewise, in both definitions.
26811 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26813 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26814 64] (__bswap_64): Likewise.
26815 * time/test_time.c (main): Likewise.
26816 * time/tzfile.c (__tzfile_read): Likewise.
26817 (__tzfile_compute): Likewise.
26818 * time/tzset.c (__tzset_parse_tz): Likewise.
26819 (tzset_internal): Likewise.
26820 (compute_change): Likewise.
26821 * wcsmbs/wcscat.c (__wcscat): Likewise.
26822 * wcsmbs/wcschr.c (wcschr): Likewise.
26823 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26824 * wcsmbs/wcscspn.c (wcscspn): Likewise.
26825 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26826 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26827 * wcsmbs/wcsspn.c (wcsspn): Likewise.
26828 * wcsmbs/wcsstr.c (wcsstr): Likewise.
26829 * wcsmbs/wmemchr.c (wmemchr): Likewise.
26830 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26831 * wcsmbs/wmemset.c (wmemset): Likewise.
26833 2013-06-06 Joseph Myers <joseph@codesourcery.com>
26835 * scripts/config.guess: Update to version 2013-05-16.
26836 * scripts/config.sub: Update to version 2013-04-24.
26837 * scripts/install-sh: Update to version 2011-11-20.07.
26838 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26839 * scripts/move-if-change: Update to version 2012-01-06 07:23.
26841 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
26843 * debug/fgetws_u_chk.c: Fix leading whitespaces.
26844 * elf/sln.c: Likewise.
26845 * hurd/hurd/ioctl.h: Likewise.
26846 * hurd/hurdmalloc.c: Likewise.
26847 * hurd/xattr.c: Likewise.
26848 * include/shlib-compat.h: Likewise.
26849 * inet/ruserpass.c: Likewise.
26850 * libio/iofgets_u.c: Likewise.
26851 * libio/iofgetws_u.c: Likewise.
26852 * locale/programs/ld-identification.c: Likewise.
26853 * locale/programs/ld-time.c: Likewise.
26854 * mach/msg-destroy.c: Likewise.
26855 * nss/nss_files/files-netgrp.c: Likewise.
26856 * resolv/res_data.c: Likewise.
26857 * soft-fp/op-1.h: Likewise.
26858 * soft-fp/op-2.h: Likewise.
26859 * soft-fp/op-4.h: Likewise.
26860 * soft-fp/op-common.h: Likewise.
26861 * stdio-common/printf_fphex.c: Likewise.
26862 * stdlib/strtod_l.c: Likewise.
26863 * sunrpc/rpc/clnt.h: Likewise.
26864 * sysdeps/generic/framestate.c: Likewise.
26865 * sysdeps/i386/bsd-_setjmp.S: Likewise.
26866 * sysdeps/i386/bsd-setjmp.S: Likewise.
26867 * sysdeps/i386/__longjmp.S: Likewise.
26868 * sysdeps/i386/setjmp.S: Likewise.
26869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26870 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26871 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26872 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26874 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26878 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26879 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26880 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26881 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26882 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26883 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26884 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26885 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26886 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26887 * sysdeps/ieee754/support.c: Likewise.
26888 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26889 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26890 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26891 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26892 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26893 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26894 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26895 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26896 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26897 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26898 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26899 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26900 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26901 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26902 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26903 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26904 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26907 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
26909 * posix/transbug.c: Remove executable mode.
26911 2013-06-05 Joseph Myers <joseph@codesourcery.com>
26913 * crypt/speeds.c: Remove trailing whitespace.
26914 * dlfcn/default.c: Likewise.
26915 * elf/ifuncdep2.c: Likewise.
26916 * elf/ifuncmain1.c: Likewise.
26917 * elf/ifuncmain1vis.c: Likewise.
26918 * elf/testobj.h: Likewise.
26919 * elf/tst-stackguard1.c: Likewise.
26920 * gmon/sys/gmon.h: Likewise.
26921 * hurd/hurdmsg.c: Likewise.
26922 * hurd/new-fd.c: Likewise.
26923 * hurd/ports-get.c: Likewise.
26924 * iconvdata/ibm1008_420.c: Likewise.
26925 * inet/tst-getni1.c: Likewise.
26926 * inet/tst-getni2.c: Likewise.
26927 * libio/ioungetc.c: Likewise.
26928 * libio/wfiledoalloc.c: Likewise.
26929 * manual/libm-err-tab.pl: Likewise.
26930 * math/w_dremf.c: Likewise.
26931 * misc/ftruncate.c: Likewise.
26932 * posix/bug-glob2.c: Likewise.
26933 * posix/tst-pcre.c: Likewise.
26934 * posix/wait4.c: Likewise.
26935 * resolv/README: Likewise.
26936 * resolv/res_debug.h: Likewise.
26937 * resolv/tst-inet_ntop.c: Likewise.
26938 * setjmp/bug269-setjmp.c: Likewise.
26939 * soft-fp/extended.h: Likewise.
26940 * soft-fp/op-1.h: Likewise.
26941 * soft-fp/op-2.h: Likewise.
26942 * soft-fp/op-4.h: Likewise.
26943 * soft-fp/op-8.h: Likewise.
26944 * soft-fp/testit.c: Likewise.
26945 * stdio-common/bug16.c: Likewise.
26946 * stdlib/random.c: Likewise.
26947 * sunrpc/rpcsvc/rquota.x: Likewise.
26948 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26949 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26950 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26951 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26952 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26953 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26954 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26955 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26956 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26957 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26958 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26959 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26961 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26962 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26963 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26964 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26965 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26966 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26967 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26968 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26969 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26970 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26971 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26972 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26973 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26975 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26976 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26977 * sysdeps/ieee754/s_lib_version.c: Likewise.
26978 * sysdeps/mach/hurd/check_fds.c: Likewise.
26979 * sysdeps/mach/hurd/getsockname.c: Likewise.
26980 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26981 * sysdeps/mach/hurd/recvfrom.c: Likewise.
26982 * sysdeps/powerpc/bits/link.h: Likewise.
26983 * sysdeps/powerpc/dl-procinfo.c: Likewise.
26984 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26985 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26986 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26987 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26988 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26989 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26990 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26991 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26992 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26993 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26994 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26995 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26996 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26997 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26998 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26999 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27001 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27002 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27003 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27004 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27005 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27006 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27007 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27008 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27009 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27010 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27011 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27012 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27013 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27014 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27015 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27016 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27017 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27018 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27019 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27020 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27021 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27022 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27023 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27024 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27025 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27026 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27027 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27028 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27029 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27030 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27031 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27032 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27035 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27036 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27037 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27038 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27039 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27040 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27041 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27042 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27043 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27044 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27045 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27046 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27047 * sysdeps/powerpc/sysdep.h: Likewise.
27048 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27049 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27050 * sysdeps/sh/dl-trampoline.S: Likewise.
27051 * sysdeps/sh/memset.S: Likewise.
27052 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27053 * sysdeps/sh/strlen.S: Likewise.
27054 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27055 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27056 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27057 * sysdeps/sparc/sparc32/rem.S: Likewise.
27058 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27059 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27060 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27061 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27062 * sysdeps/sparc/sparc32/urem.S: Likewise.
27063 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27064 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27065 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27066 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27067 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27068 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27069 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27070 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27071 * sysdeps/unix/bsd/times.c: Likewise.
27072 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27073 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27077 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27078 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27079 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27080 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27081 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27082 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27083 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27084 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27085 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27086 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27087 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27088 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27089 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27090 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27091 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27092 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27093 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27094 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27095 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27096 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27097 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27098 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27099 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27100 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27101 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27102 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27103 * sysdeps/x86_64/strcspn.S: Likewise.
27105 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27107 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27108 generated file. Regenerate properly from gen-translit.pl.
27109 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27110 locale/C-translit.h.
27112 2013-06-05 Andreas Schwab <schwab@suse.de>
27115 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27116 week as 6 instead of -1.
27117 * time/tst-strptime.c (day_tests): Add test case.
27119 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27121 * sysdeps/generic/math_private.h
27122 (libc_feholdexcept_setround_53bit): Replace with
27123 libc_feholdsetround_53bit.
27124 (libc_feupdateenv_53bit): Replace with
27125 libc_feresetround_53bit.
27126 (SET_RESTORE_ROUND_53BIT): Adjust.
27128 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27130 * string/test-strchrnul.c: Add copyright header.
27132 * posix/tst-getaddrinfo4.c: Increase test timeout.
27134 2013-06-03 Carlos O'Donell <carlos@redhat.com>
27137 * math/libm-test.inc (MAX_EXP): Remove
27139 (ulp): Use MIN_EXP - MANT_DIG.
27140 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27142 2013-05-31 Carlos O'Donell <carlos@redhat.com>
27144 * po/be.po: Revert last change.
27145 * po/zh_CN.po: Likewise.
27146 * po/header.pot: Likewise.
27148 2013-05-31 Joseph Myers <joseph@codesourcery.com>
27150 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27151 link-libc-deps to empty as target-specific variable.
27152 * Makerules (link-libc-args): New variable.
27153 (libc-for-link): Likewise.
27154 (link-libc-deps): Likewise.
27155 (lib%.so): Depend on $(link-libc-deps). Link with
27157 (build-module): Link with $(link-libc-args).
27158 (build-module-asneeded): Likewise.
27159 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27161 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27162 target-specific variable.
27163 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27164 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27165 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27167 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27169 ($(objpfx)libpcprofile.so): Likewise.
27170 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27172 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27173 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27174 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27176 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27177 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27178 * login/Makefile ($(objpfx)libutil.so): Likewise.
27179 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27180 * math/Makefile ($(objpfx)libm.so): Likewise.
27181 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27182 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27183 variable instead of depending directly on libc.
27184 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27185 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27187 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27189 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27190 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27191 ($(objpfx)libanl.so): Likewise.
27192 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27194 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27196 * sysdeps/i386/fpu/Makefile: Remove file.
27197 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27198 ($(objpfx)libm.so): Remove dependency on ld.so.
27200 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
27203 * nis/yp_xdr.c (XDRMAXNAME): Define.
27204 (XDRMAXRECORD): Define.
27205 (xdr_domainname): Use XDRMAXNAME.
27206 (xdr_mapname): Likewise.
27207 (xdr_peername): Likewise.
27208 (xdr_keydat): Use XDRMAXRECORD.
27209 (xdr_valdat): Likewise.
27211 2013-05-30 Jeff Law <law@redhat.com>
27214 * manual/errno.texi (ESTALE): Update to account for more than
27215 just NFS file systems.
27216 * sysdeps/gnu/errlist.c: Regenerated.
27218 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27221 * elf/Makefile (tests): Add tst-null-argv.
27222 (modules-names): Add tst-null-argv-lib.
27223 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27224 (tst-null-argv-ENV): Set environment for tst-null-argv.
27225 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27226 (RTLD_PROGNAME): New macro.
27227 * elf/tst-null-argv.c: New test case.
27228 * elf/tst-null-argv-lib.c: Library for test case.
27229 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27230 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27231 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27232 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27233 * elf/dl-init.c (call_init): Likewise.
27234 (_dl_init): Likewise.
27235 * elf/dl-load.c (print_search_path): Likewise.
27236 (_dl_map_object): Likewise.
27237 * elf/dl-lookup.c (do_lookup_x): Likewise.
27238 (add_dependency): Likewise.
27239 (_dl_lookup_symbol_x): Likewise.
27240 (_dl_debug_bindings): Likewise.
27241 * elf/dl-open.c (_dl_show_scope): Likewise.
27242 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27243 * elf/dl-version.c (match_symbol): Likewise.
27244 (_dl_check_map_versions): Likewise.
27245 * elf/rtld.c (dl_main): Likewise.
27246 (print_unresolved): Use RTLD_PROGNAME.
27247 (print_missing_version): Likewise.
27248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27249 (elf_machine_rela): Likewise.
27250 * sysdeps/powerpc/powerpc32/dl-machine.c
27251 (__process_machine_rela): Likewise.
27252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27254 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27256 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27258 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27265 2013-05-28 Carlos O'Donell <carlos@redhat.com>
27267 * po/be.po: Add descriptive title.
27268 * po/zh_CN.po: Likewise.
27269 * po/header.pot: Likewise.
27271 2013-05-28 Mike Frysinger <vapier@gentoo.org>
27273 * locale/programs/locarchive.c (create_archive): Inlucde fname in
27275 (enlarge_archive): Likewise.
27277 2013-05-28 Ben North <ben@redfrontdoor.org>
27279 * manual/arith.texi (frexp): It is the magnitude of the return
27280 value which lies in [0.5, 1), not the return value itself.
27282 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27286 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
27288 * stdio-common/bug26.c (main): Correct fscanf template.
27290 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27291 declare _dl_skip_args.
27293 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27296 * manual/platform.texi: Add missing @end deftypefun.
27298 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27302 bit of mantissa of 2^16382.
27303 * math/libm-test.inc (hypot_test_data): Add more tests.
27305 * math/libm-test.inc: Add drem and pow10 to list of tested
27307 (pow10_test): New function.
27308 (drem_test): Likewise.
27309 (drem_test_tonearest): Likewise.
27310 (drem_test_towardzero): Likewise.
27311 (drem_test_downward): Likewise.
27312 (drem_test_upward): Likewise.
27313 (main): Call the new functions.
27315 * math/libm-test.inc (finite_test_data): Remove.
27316 (finite_test): Run tests from isfinite_test_data.
27317 (gamma_test_data): Remove.
27318 (gamma_test): Run tests from lgamma_test_data.
27319 * sysdeps/i386/fpu/libm-test-ulps: Update.
27320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27322 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27324 * manual/platform.texi: Add PowerPC PPR function set documentation.
27325 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27328 2013-05-24 Carlos O'Donell <carlos@redhat.com>
27330 * math/libm-test.inc (MAX_EXP): Define.
27332 (ulp): New function.
27333 (check_float_internal): Use ULPDIFF.
27334 (cpow_test): Disable failing test.
27335 (check_ulp): Test ulp() implemetnation.
27336 (main): Call check_ulp before starting tests.
27338 2013-05-24 Joseph Myers <joseph@codesourcery.com>
27340 * math/gen-libm-test.pl (generate_testfile): Do not handle
27341 START_DATA and END_DATA.
27342 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27344 (acos_tonearest_test_data): Likewise.
27345 (acos_towardzero_test_data): Likewise.
27346 (acos_downward_test_data): Likewise.
27347 (acos_upward_test_data): Likewise.
27348 (acosh_test_data): Likewise.
27349 (asin_test_data): Likewise.
27350 (asin_tonearest_test_data): Likewise.
27351 (asin_towardzero_test_data): Likewise.
27352 (asin_downward_test_data): Likewise.
27353 (asin_upward_test_data): Likewise.
27354 (asinh_test_data): Likewise.
27355 (atan_test_data): Likewise.
27356 (atanh_test_data): Likewise.
27357 (atan2_test_data): Likewise.
27358 (cabs_test_data): Likewise.
27359 (cacos_test_data): Likewise.
27360 (cacosh_test_data): Likewise.
27361 (carg_test_data): Likewise.
27362 (casin_test_data): Likewise.
27363 (casinh_test_data): Likewise.
27364 (catan_test_data): Likewise.
27365 (catanh_test_data): Likewise.
27366 (cbrt_test_data): Likewise.
27367 (ccos_test_data): Likewise.
27368 (ccosh_test_data): Likewise.
27369 (ceil_test_data): Likewise.
27370 (cexp_test_data): Likewise.
27371 (cimag_test_data): Likewise.
27372 (clog_test_data): Likewise.
27373 (clog10_test_data): Likewise.
27374 (conj_test_data): Likewise.
27375 (copysign_test_data): Likewise.
27376 (cos_test_data): Likewise.
27377 (cos_tonearest_test_data): Likewise.
27378 (cos_towardzero_test_data): Likewise.
27379 (cos_downward_test_data): Likewise.
27380 (cos_upward_test_data): Likewise.
27381 (cosh_test_data): Likewise.
27382 (cosh_tonearest_test_data): Likewise.
27383 (cosh_towardzero_test_data): Likewise.
27384 (cosh_downward_test_data): Likewise.
27385 (cosh_upward_test_data): Likewise.
27386 (cpow_test_data): Likewise.
27387 (cproj_test_data): Likewise.
27388 (creal_test_data): Likewise.
27389 (csin_test_data): Likewise.
27390 (csinh_test_data): Likewise.
27391 (csqrt_test_data): Likewise.
27392 (ctan_test_data): Likewise.
27393 (ctan_tonearest_test_data): Likewise.
27394 (ctan_towardzero_test_data): Likewise.
27395 (ctan_downward_test_data): Likewise.
27396 (ctan_upward_test_data): Likewise.
27397 (ctanh_test_data): Likewise.
27398 (ctanh_tonearest_test_data): Likewise.
27399 (ctanh_towardzero_test_data): Likewise.
27400 (ctanh_downward_test_data): Likewise.
27401 (ctanh_upward_test_data): Likewise.
27402 (erf_test_data): Likewise.
27403 (erfc_test_data): Likewise.
27404 (exp_test_data): Likewise.
27405 (exp_tonearest_test_data): Likewise.
27406 (exp_towardzero_test_data): Likewise.
27407 (exp_downward_test_data): Likewise.
27408 (exp_upward_test_data): Likewise.
27409 (exp10_test_data): Likewise.
27410 (exp2_test_data): Likewise.
27411 (expm1_test_data): Likewise.
27412 (fabs_test_data): Likewise.
27413 (fdim_test_data): Likewise.
27414 (finite_test_data): Likewise.
27415 (floor_test_data): Likewise.
27416 (fma_test_data): Likewise.
27417 (fma_towardzero_test_data): Likewise.
27418 (fma_downward_test_data): Likewise.
27419 (fma_upward_test_data): Likewise.
27420 (fmax_test_data): Likewise.
27421 (fmin_test_data): Likewise.
27422 (fmod_test_data): Likewise.
27423 (fpclassify_test_data): Likewise.
27424 (frexp_test_data): Likewise.
27425 (gamma_test_data): Likewise.
27426 (hypot_test_data): Likewise.
27427 (ilogb_test_data): Likewise.
27428 (isfinite_test_data): Likewise.
27429 (isgreater_test_data): Likewise.
27430 (isgreaterequal_test_data): Likewise.
27431 (isinf_test_data): Likewise.
27432 (isless_test_data): Likewise.
27433 (islessequal_test_data): Likewise.
27434 (islessgreater_test_data): Likewise.
27435 (isnan_test_data): Likewise.
27436 (isnormal_test_data): Likewise.
27437 (issignaling_test_data): Likewise.
27438 (isunordered_test_data): Likewise.
27439 (j0_test_data): Likewise.
27440 (j1_test_data): Likewise.
27441 (jn_test_data): Likewise.
27442 (ldexp_test_data): Likewise.
27443 (lgamma_test_data): Likewise.
27444 (lrint_test_data): Likewise.
27445 (lrint_tonearest_test_data): Likewise.
27446 (lrint_towardzero_test_data): Likewise.
27447 (lrint_downward_test_data): Likewise.
27448 (lrint_upward_test_data): Likewise.
27449 (llrint_test_data): Likewise.
27450 (llrint_tonearest_test_data): Likewise.
27451 (llrint_towardzero_test_data): Likewise.
27452 (llrint_downward_test_data): Likewise.
27453 (llrint_upward_test_data): Likewise.
27454 (log_test_data): Likewise.
27455 (log10_test_data): Likewise.
27456 (log1p_test_data): Likewise.
27457 (log2_test_data): Likewise.
27458 (logb_test_data): Likewise.
27459 (logb_downward_test_data): Likewise.
27460 (lround_test_data): Likewise.
27461 (llround_test_data): Likewise.
27462 (modf_test_data): Likewise.
27463 (nearbyint_test_data): Likewise.
27464 (nextafter_test_data): Likewise.
27465 (nexttoward_test_data): Likewise.
27466 (pow_test_data): Likewise.
27467 (pow_tonearest_test_data): Likewise.
27468 (pow_towardzero_test_data): Likewise.
27469 (pow_downward_test_data): Likewise.
27470 (pow_upward_test_data): Likewise.
27471 (remainder_test_data): Likewise.
27472 (remainder_tonearest_test_data): Likewise.
27473 (remainder_towardzero_test_data): Likewise.
27474 (remainder_downward_test_data): Likewise.
27475 (remainder_upward_test_data): Likewise.
27476 (remquo_test_data): Likewise.
27477 (rint_test_data): Likewise.
27478 (rint_tonearest_test_data): Likewise.
27479 (rint_towardzero_test_data): Likewise.
27480 (rint_downward_test_data): Likewise.
27481 (rint_upward_test_data): Likewise.
27482 (round_test_data): Likewise.
27483 (scalb_test_data): Likewise.
27484 (scalbn_test_data): Likewise.
27485 (scalbln_test_data): Likewise.
27486 (signbit_test_data): Likewise.
27487 (sin_test_data): Likewise.
27488 (sin_tonearest_test_data): Likewise.
27489 (sin_towardzero_test_data): Likewise.
27490 (sin_downward_test_data): Likewise.
27491 (sin_upward_test_data): Likewise.
27492 (sincos_test_data): Likewise.
27493 (sinh_test_data): Likewise.
27494 (sinh_tonearest_test_data): Likewise.
27495 (sinh_towardzero_test_data): Likewise.
27496 (sinh_downward_test_data): Likewise.
27497 (sinh_upward_test_data): Likewise.
27498 (sqrt_test_data): Likewise.
27499 (tan_test_data): Likewise.
27500 (tan_tonearest_test_data): Likewise.
27501 (tan_towardzero_test_data): Likewise.
27502 (tan_downward_test_data): Likewise.
27503 (tan_upward_test_data): Likewise.
27504 (tanh_test_data): Likewise.
27505 (tgamma_test_data): Likewise.
27506 (trunc_test_data): Likewise.
27507 (y0_test_data): Likewise.
27508 (y1_test_data): Likewise.
27509 (yn_test_data): Likewise.
27510 (significand_test_data): Likewise.
27512 * math/gen-libm-test.pl (@functions): Remove variable.
27513 (generate_testfile): Don't handle START and END lines.
27514 * math/libm-test.inc (START): New macro.
27516 (END_COMPLEX): Likewise.
27517 (acos_test): Use END macro without arguments.
27518 (acos_test_tonearest): Likewise.
27519 (acos_test_towardzero): Likewise.
27520 (acos_test_downward): Likewise.
27521 (acos_test_upward): Likewise.
27522 (acosh_test): Likewise.
27523 (asin_test): Likewise.
27524 (asin_test_tonearest): Likewise.
27525 (asin_test_towardzero): Likewise.
27526 (asin_test_downward): Likewise.
27527 (asin_test_upward): Likewise.
27528 (asinh_test): Likewise.
27529 (atan_test): Likewise.
27530 (atanh_test): Likewise.
27531 (atan2_test): Likewise.
27532 (cabs_test): Likewise.
27533 (cacos_test): Use END_COMPLEX macro without arguments.
27534 (cacosh_test): Likewise.
27535 (carg_test): Use END macro without arguments.
27536 (casin_test): Use END_COMPLEX macro without arguments.
27537 (casinh_test): Likewise.
27538 (catan_test): Likewise.
27539 (catanh_test): Likewise.
27540 (cbrt_test): Use END macro without arguments.
27541 (ccos_test): Use END_COMPLEX macro without arguments.
27542 (ccosh_test): Likewise.
27543 (ceil_test): Use END macro without arguments.
27544 (cexp_test): Use END_COMPLEX macro without arguments.
27545 (cimag_test): Use END macro without arguments.
27546 (clog_test): Use END_COMPLEX macro without arguments.
27547 (clog10_test): Likewise.
27548 (conj_test): Likewise.
27549 (copysign_test): Use END macro without arguments.
27550 (cos_test): Likewise.
27551 (cos_test_tonearest): Likewise.
27552 (cos_test_towardzero): Likewise.
27553 (cos_test_downward): Likewise.
27554 (cos_test_upward): Likewise.
27555 (cosh_test): Likewise.
27556 (cosh_test_tonearest): Likewise.
27557 (cosh_test_towardzero): Likewise.
27558 (cosh_test_downward): Likewise.
27559 (cosh_test_upward): Likewise.
27560 (cpow_test): Use END_COMPLEX macro without arguments.
27561 (cproj_test): Likewise.
27562 (creal_test): Use END macro without arguments.
27563 (csin_test): Use END_COMPLEX macro without arguments.
27564 (csinh_test): Likewise.
27565 (csqrt_test): Likewise.
27566 (ctan_test): Likewise.
27567 (ctan_test_tonearest): Likewise.
27568 (ctan_test_towardzero): Likewise.
27569 (ctan_test_downward): Likewise.
27570 (ctan_test_upward): Likewise.
27571 (ctanh_test): Likewise.
27572 (ctanh_test_tonearest): Likewise.
27573 (ctanh_test_towardzero): Likewise.
27574 (ctanh_test_downward): Likewise.
27575 (ctanh_test_upward): Likewise.
27576 (erf_test): Use END macro without arguments.
27577 (erfc_test): Likewise.
27578 (exp_test): Likewise.
27579 (exp_test_tonearest): Likewise.
27580 (exp_test_towardzero): Likewise.
27581 (exp_test_downward): Likewise.
27582 (exp_test_upward): Likewise.
27583 (exp10_test): Likewise.
27584 (exp2_test): Likewise.
27585 (expm1_test): Likewise.
27586 (fabs_test): Likewise.
27587 (fdim_test): Likewise.
27588 (finite_test): Likewise.
27589 (floor_test): Likewise.
27590 (fma_test): Likewise.
27591 (fma_test_towardzero): Likewise.
27592 (fma_test_downward): Likewise.
27593 (fma_test_upward): Likewise.
27594 (fmax_test): Likewise.
27595 (fmin_test): Likewise.
27596 (fmod_test): Likewise.
27597 (fpclassify_test): Likewise.
27598 (frexp_test): Likewise.
27599 (gamma_test): Likewise.
27600 (hypot_test): Likewise.
27601 (ilogb_test): Likewise.
27602 (isfinite_test): Likewise.
27603 (isgreater_test): Likewise.
27604 (isgreaterequal_test): Likewise.
27605 (isinf_test): Likewise.
27606 (isless_test): Likewise.
27607 (islessequal_test): Likewise.
27608 (islessgreater_test): Likewise.
27609 (isnan_test): Likewise.
27610 (isnormal_test): Likewise.
27611 (issignaling_test): Likewise.
27612 (isunordered_test): Likewise.
27613 (j0_test): Likewise.
27614 (j1_test): Likewise.
27615 (jn_test): Likewise.
27616 (ldexp_test): Likewise.
27617 (lgamma_test): Likewise.
27618 (lrint_test): Likewise.
27619 (lrint_test_tonearest): Likewise.
27620 (lrint_test_towardzero): Likewise.
27621 (lrint_test_downward): Likewise.
27622 (lrint_test_upward): Likewise.
27623 (llrint_test): Likewise.
27624 (llrint_test_tonearest): Likewise.
27625 (llrint_test_towardzero): Likewise.
27626 (llrint_test_downward): Likewise.
27627 (llrint_test_upward): Likewise.
27628 (log_test): Likewise.
27629 (log10_test): Likewise.
27630 (log1p_test): Likewise.
27631 (log2_test): Likewise.
27632 (logb_test): Likewise.
27633 (logb_test_downward): Likewise.
27634 (lround_test): Likewise.
27635 (llround_test): Likewise.
27636 (modf_test): Likewise.
27637 (nearbyint_test): Likewise.
27638 (nextafter_test): Likewise.
27639 (nexttoward_test): Likewise.
27640 (pow_test): Likewise.
27641 (pow_test_tonearest): Likewise.
27642 (pow_test_towardzero): Likewise.
27643 (pow_test_downward): Likewise.
27644 (pow_test_upward): Likewise.
27645 (remainder_test): Likewise.
27646 (remainder_test_tonearest): Likewise.
27647 (remainder_test_towardzero): Likewise.
27648 (remainder_test_downward): Likewise.
27649 (remainder_test_upward): Likewise.
27650 (remquo_test): Likewise.
27651 (rint_test): Likewise.
27652 (rint_test_tonearest): Likewise.
27653 (rint_test_towardzero): Likewise.
27654 (rint_test_downward): Likewise.
27655 (rint_test_upward): Likewise.
27656 (round_test): Likewise.
27657 (scalb_test): Likewise.
27658 (scalbn_test): Likewise.
27659 (scalbln_test): Likewise.
27660 (signbit_test): Likewise.
27661 (sin_test): Likewise.
27662 (sin_test_tonearest): Likewise.
27663 (sin_test_towardzero): Likewise.
27664 (sin_test_downward): Likewise.
27665 (sin_test_upward): Likewise.
27666 (sincos_test): Likewise.
27667 (sinh_test): Likewise.
27668 (sinh_test_tonearest): Likewise.
27669 (sinh_test_towardzero): Likewise.
27670 (sinh_test_downward): Likewise.
27671 (sinh_test_upward): Likewise.
27672 (sqrt_test): Likewise.
27673 (tan_test): Likewise.
27674 (tan_test_tonearest): Likewise.
27675 (tan_test_towardzero): Likewise.
27676 (tan_test_downward): Likewise.
27677 (tan_test_upward): Likewise.
27678 (tanh_test): Likewise.
27679 (tgamma_test): Likewise.
27680 (trunc_test): Likewise.
27681 (y0_test): Likewise.
27682 (y1_test): Likewise.
27683 (yn_test): Likewise.
27684 (significand_test): Likewise.
27686 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
27689 * libio/genops.c (_IO_no_init): Initialize wide struct info.
27691 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
27694 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27695 __ppc_mdoio and __ppc_mdoom.
27696 * manual/platform.texi: Document new functions __ppc_yield,
27697 __ppc_mdoio and __ppc_mdoom.
27699 2013-05-22 Carlos O'Donell <carlos@redhat.com>
27701 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27702 (main): Mention "tls" pseudo-hwcap is legacy.
27703 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27705 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27707 * math/gen-libm-test.pl (parse_args): Output only string of
27708 arguments as text for test name, not full call or descriptions of
27709 tests for extra outputs.
27710 (generate_testfile): Do not pass function name to parse_args.
27711 Generate this_func variable from START.
27712 * math/libm-test.inc (struct test_f_f_data): Rename test_name
27714 (struct test_ff_f_data): Likewise.
27715 (test_ff_f_data_nexttoward): Likewise.
27716 (struct test_fi_f_data): Likewise.
27717 (struct test_fl_f_data): Likewise.
27718 (struct test_if_f_data): Likewise.
27719 (struct test_fff_f_data): Likewise.
27720 (struct test_c_f_data): Likewise.
27721 (struct test_f_f1_data): Likewise. Remove field extra_name.
27722 (struct test_fF_f1_data): Likewise.
27723 (struct test_ffI_f1_data): Likewise.
27724 (struct test_c_c_data): Rename test_name field to arg_str.
27725 (struct test_cc_c_data): Likewise.
27726 (struct test_f_i_data): Likewise.
27727 (struct test_ff_i_data): Likewise.
27728 (struct test_f_l_data): Likewise.
27729 (struct test_f_L_data): Likewise.
27730 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
27732 (COMMON_TEST_SETUP): New macro.
27733 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27734 (COMMON_TEST_CLEANUP): Likewise.
27735 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27736 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
27738 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27739 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
27741 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27742 (RUN_TEST_fff_f): Take argument string. Call new setup and
27744 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27745 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
27747 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27748 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
27750 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27751 (RUN_TEST_fF_f1): Take argument string. Call new setup and
27753 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27754 (RUN_TEST_fI_f1): Take argument string. Call new setup and
27756 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27757 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
27759 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27760 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
27762 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27763 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
27765 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27766 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
27768 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27769 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
27771 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27772 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
27774 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27775 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
27777 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27778 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
27780 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27781 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
27783 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27784 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
27786 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27787 (RUN_TEST_fFF_11): Take argument string. Call new setup and
27789 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27791 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
27793 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27794 to _sifields.sigfault.
27795 (si_addr_lsb): Define new macro.
27796 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27800 2013-05-03 Carlos O'Donell <carlos at redhat.com>
27803 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27805 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27807 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27808 loading the domain.
27810 2013-05-22 Joseph Myers <joseph@codesourcery.com>
27812 * math/gen-libm-test.pl (parse_args): Do not include expected
27813 result in test name.
27814 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27815 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27816 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27817 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27818 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27821 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27823 * benchtests/Makefile: Sort function entries.
27825 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27826 tanh, asinh, acosh, atanh.
27827 * benchtests/acos-inputs: New file.
27828 * benchtests/acosh-inputs: New file.
27829 * benchtests/asin-inputs: New file.
27830 * benchtests/asinh-inputs: New file.
27831 * benchtests/atanh-inputs: New file.
27832 * benchtests/cosh-inputs: New file.
27833 * benchtests/log-inputs: New file.
27834 * benchtests/sinh-inputs: New file.
27835 * benchtests/tanh-inputs: New file.
27837 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
27840 * posix/tst-getaddrinfo4.c: New test.
27841 * posix/Makefile (tests): Add it.
27843 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27846 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27847 when no services were used.
27848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27849 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27851 2013-05-21 Andreas Schwab <schwab@suse.de>
27854 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27855 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27857 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27858 redundant variable declarations and reallocation of buffer when
27859 parsing as IPv6 address. Always set NSS status when called from
27860 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
27861 buffer too small. Correct computation of needed size.
27862 * nss/Makefile (tests): Add test-digits-dots.
27863 * nss/test-digits-dots.c: New test.
27865 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27867 * benchtests/Makefile: Remove instructions for adding
27869 * benchtests/README: New file to explain how to execute and
27870 enhance the benchmark tests.
27872 2013-05-21 Andreas Schwab <schwab@suse.de>
27875 * setjmp/Makefile (tests): Add tst-sigsetjmp.
27876 * setjmp/tst-sigsetjmp.c: New test.
27878 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27880 * sysdeps/x86_64/memset.S (memset): New implementation.
27881 (__bzero): Likewise.
27882 (__memset_tail): New function.
27884 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
27886 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27887 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27888 __memcpy_sse2_unaligned ifunc selection.
27889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27890 Add memcpy-sse2-unaligned.S.
27891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27892 Add: __memcpy_sse2_unaligned.
27894 2013-05-19 Joseph Myers <joseph@codesourcery.com>
27897 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27898 math_force_eval before restoring floating-point envrionment.
27899 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27902 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27904 (__nearbyintl): Use math_force_eval before restoring
27905 floating-point environment.
27906 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27908 * math/gen-libm-test.pl (special_functions): Remove.
27909 (parse_args): Don't handle TEST_extra. Handle functions with no
27911 * math/libm-test.inc (struct test_sincos_data): Replace with
27912 struct test_fFF_11_data.
27913 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27914 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27915 (sincos_test_data): Change element type to struct
27916 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
27917 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27918 RUN_TEST_LOOP_sincos.
27919 * math/README.libm-test: Don't mention special handling of
27920 individual functions.
27921 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27922 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27923 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27924 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27925 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27928 * math/gen-libm-test.pl (get_variable): Remove function.
27929 (parse_args): Don't show pointer parameters to call in test
27930 names. Use "extra output N" in test names for extra outputs
27931 rather than naming variables.
27933 2013-05-18 Joseph Myers <joseph@codesourcery.com>
27936 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27937 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27938 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27940 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27942 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27945 * math/gen-libm-test.pl (@tests): Remove variable.
27946 ($count): Likewise.
27947 (new_test): Remove function.
27948 (show_exceptions): New function.
27949 (special_functions): Use show_exceptions instead of new_test.
27950 (parse_args): Likewise.
27951 (generate_testfile): Pass only function name in generated call to
27952 print_max_error or print_complex_max_error.
27953 (get_ulps): Do not handle complex tests specially.
27954 (output_test): Rename to ...
27955 (get_all_ulps_for_test): ... this. Return a string rather than
27956 printing to a file. Require ulps to be present.
27957 (output_ulps): Generate arrays rather than #defines.
27958 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27959 (struct ulp_data): New type.
27960 (BUILD_COMPLEX_ULP): Remove macro.
27961 (compare_ulp_data): New function.
27962 (find_ulps): Likewise.
27963 (find_test_ulps): Likewise.
27964 (find_function_ulps): Likewise.
27965 (find_complex_function_ulps): Likewise.
27966 (print_max_error): Determine allowed ulps using
27967 find_function_ulps.
27968 (print_complex_max_error): Determine allowed ulps using
27969 find_complex_function_ulps.
27970 (check_float_internal): Determine max ulps using find_test_ulps.
27971 (check_float): Do not take max_ulp parameter. Update call to
27972 check_float_internal.
27973 (check_complex): Likewise.
27974 (check_int): Do not take max_ulp parameter.
27975 (check_long): Likewise.
27976 (check_bool): Likewise.
27977 (check_longlong): Likewise.
27978 (struct test_f_f_data): Remove max_ulp field.
27979 (struct test_ff_f_data): Likewise.
27980 (struct test_ff_f_data_nexttoward): Likewise.
27981 (struct test_fi_f_data): Likewise.
27982 (struct test_fl_f_data): Likewise.
27983 (struct test_if_f_data): Likewise.
27984 (struct test_fff_f_data): Likewise.
27985 (struct test_c_f_data): Likewise.
27986 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27987 (struct test_fF_f1_data): Likewise.
27988 (struct test_ffI_f1_data): Likewise.
27989 (struct test_c_c_data): Remove max_ulp field.
27990 (struct test_cc_c_data): Likewise.
27991 (struct test_f_i_data): Likewise.
27992 (struct test_ff_i_data): Likewise.
27993 (struct test_f_l_data): Likewise.
27994 (struct test_f_L_data): Likewise.
27995 (struct test_sincos_data): Likewise.
27996 (RUN_TEST_f_f): Do not handle ulps.
27997 (RUN_TEST_LOOP_f_f): Likewise.
27998 (RUN_TEST_2_f): Likewise.
27999 (RUN_TEST_LOOP_2_f): Likewise.
28000 (RUN_TEST_fff_f): Likewise.
28001 (RUN_TEST_LOOP_fff_f): Likewise.
28002 (RUN_TEST_c_f): Likewise.
28003 (RUN_TEST_LOOP_c_f): Likewise.
28004 (RUN_TEST_f_f1): Likewise.
28005 (RUN_TEST_LOOP_f_f1): Likewise.
28006 (RUN_TEST_fF_f1): Likewise.
28007 (RUN_TEST_LOOP_fF_f1): Likewise.
28008 (RUN_TEST_fI_f1): Likewise.
28009 (RUN_TEST_LOOP_fI_f1): Likewise.
28010 (RUN_TEST_ffI_f1): Likewise.
28011 (RUN_TEST_LOOP_ffI_f1): Likewise.
28012 (RUN_TEST_c_c): Likewise.
28013 (RUN_TEST_LOOP_c_c): Likewise.
28014 (RUN_TEST_cc_c): Likewise.
28015 (RUN_TEST_LOOP_cc_c): Likewise.
28016 (RUN_TEST_f_i): Likewise.
28017 (RUN_TEST_LOOP_f_i): Likewise.
28018 (RUN_TEST_f_i_tg): Likewise.
28019 (RUN_TEST_LOOP_f_i_tg): Likewise.
28020 (RUN_TEST_ff_i_tg): Likewise.
28021 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28022 (RUN_TEST_f_b): Likewise.
28023 (RUN_TEST_LOOP_f_b): Likewise.
28024 (RUN_TEST_f_b_tg): Likewise.
28025 (RUN_TEST_LOOP_f_b_tg): Likewise.
28026 (RUN_TEST_f_l): Likewise.
28027 (RUN_TEST_LOOP_f_l): Likewise.
28028 (RUN_TEST_f_L): Likewise.
28029 (RUN_TEST_LOOP_f_L): Likewise.
28030 (RUN_TEST_sincos): Likewise.
28031 (RUN_TEST_LOOP_sincos): Likewise.
28033 2013-05-17 Joseph Myers <joseph@codesourcery.com>
28037 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28038 main case of finite arguments, set rounding mode to FE_TONEAREST
28039 and discard exceptions.
28040 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28042 (remainder_tonearest_test_data): New variable.
28043 (remainder_test_tonearest): New function.
28044 (remainder_towardzero_test_data): New variable.
28045 (remainder_test_towardzero): New function.
28046 (remainder_downward_test_data): New variable.
28047 (remainder_test_downward): New function.
28048 (remainder_upward_test_data): New variable.
28049 (remainder_test_upward): New function.
28050 (main): Call the new test functions.
28052 * math/libm-test.inc (struct test_f_f1_data): Remove field
28054 (struct test_fF_f1_data): Likewise.
28055 (struct test_ffI_f1_data): Likewise.
28056 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28057 based on value of EXTRA_EXPECTED.
28058 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28059 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28060 EXTRA_VAR based on value of EXTRA_EXPECTED.
28061 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28062 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28063 EXTRA_VAR based on value of EXTRA_EXPECTED.
28064 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28065 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28066 EXTRA_VAR based on value of EXTRA_EXPECTED.
28067 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28068 * math/gen-libm-test.pl (parse_args): Don't output initializers
28069 for extra output values.
28071 * math/libm-test.inc (check_int): Expect result to be exactly
28072 equal to expected value and do not handle ulps.
28073 (check_long): Likewise.
28074 (check_longlong): Likewise.
28076 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28078 (cimag_test_data): Likewise.
28079 (conj_test_data): Likewise.
28080 (copysign_test_data): Likewise.
28081 (cproj_test_data): Likewise.
28082 (creal_test_data): Likewise.
28083 (fabs_test_data): Likewise.
28084 (fdim_test_data): Likewise.
28085 (finite_test_data): Likewise.
28086 (floor_test_data): Likewise.
28087 (fmax_test_data): Likewise.
28088 (fmin_test_data): Likewise.
28089 (fmod_test_data): Likewise.
28090 (fpclassify_test_data): Likewise.
28091 (frexp_test_data): Likewise.
28092 (ilogb_test_data): Likewise.
28093 (isfinite_test_data): Likewise.
28094 (isgreater_test_data): Likewise.
28095 (isgreaterequal_test_data): Likewise.
28096 (isinf_test_data): Likewise.
28097 (isless_test_data): Likewise.
28098 (islessequal_test_data): Likewise.
28099 (islessgreater_test_data): Likewise.
28100 (isnan_test_data): Likewise.
28101 (isnormal_test_data): Likewise.
28102 (issignaling_test_data): Likewise.
28103 (isunordered_test_data): Likewise.
28104 (ldexp_test_data): Likewise.
28105 (lrint_test_data): Likewise.
28106 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28107 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28108 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28109 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28110 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28111 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28113 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28114 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28115 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28116 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28118 (lrint_downward_test_data): Test for "inexact" exceptions.
28119 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28120 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28121 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28123 (lrint_upward_test_data): Test for "inexact" exceptions.
28124 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28126 (llrint_test_data): Test for "inexact" exceptions.
28127 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28128 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28129 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28130 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28131 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28132 (llrint_downward_test_data): Test for "inexact" exceptions.
28133 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28134 (llrint_upward_test_data): Test for "inexact" exceptions.
28135 (logb_test_data): Likewise.
28136 (logb_downward_test_data): Likewise.
28137 (nextafter_test_data): Likewise.
28138 (nexttoward_test_data): Likewise.
28139 (remainder_test_data): Likewise.
28140 (remquo_test_data): Likewise.
28141 (scalbn_test_data): Likewise.
28142 (scalbln_test_data): Likewise.
28143 (signbit_test_data): Likewise.
28144 (sqrt_test_data): Likewise.
28145 (significand_test_data): Likewise.
28147 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28150 * benchtests/bench-modf.c (struct args): Mark arg0 as
28152 * scripts/bench.pl: Mark members of struct args as volatile.
28154 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28157 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28158 negative infinity on POWER6 or lower.
28159 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28161 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28164 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28165 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28166 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28167 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28168 (_FP_SETQNAN): New macro.
28169 (_FP_SETQNAN_SEMIRAW): Likewise.
28170 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28171 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28172 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28173 (FP_EXTEND): Use _FP_FRAC_SNANP.
28174 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28175 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28177 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28179 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28182 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28184 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28185 with DIVIDE_BY_ZERO_EXCEPTION.
28186 (gamma_test_data): Likewise.
28187 (lgamma_test_data): Likewise.
28188 (log_test_data): Likewise.
28189 (log10_test_data): Likewise.
28190 (log2_test_data): Likewise.
28191 (tgamma_test_data): Likewise.
28193 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28194 (acos_test_tonearest): Likewise.
28195 (acos_test_towardzero): Likewise.
28196 (acos_test_downward): Likewise.
28197 (acos_test_upward): Likewise.
28198 (acosh_test): Likewise.
28199 (asin_test): Likewise.
28200 (asin_test_tonearest): Likewise.
28201 (asin_test_towardzero): Likewise.
28202 (asin_test_downward): Likewise.
28203 (asin_test_upward): Likewise.
28204 (asinh_test): Likewise.
28205 (atan_test): Likewise.
28206 (atanh_test): Likewise.
28207 (atan2_test): Likewise.
28208 (cabs_test): Likewise.
28209 (cacos_test): Likewise.
28210 (cacosh_test): Likewise.
28211 (casin_test): Likewise.
28212 (casinh_test): Likewise.
28213 (catan_test): Likewise.
28214 (catanh_test): Likewise.
28215 (cbrt_test): Likewise.
28216 (ccos_test): Likewise.
28217 (ccosh_test): Likewise.
28218 (cexp_test): Likewise.
28219 (clog_test): Likewise.
28220 (clog10_test): Likewise.
28221 (cos_test): Likewise.
28222 (cos_test_tonearest): Likewise.
28223 (cos_test_towardzero): Likewise.
28224 (cos_test_downward): Likewise.
28225 (cos_test_upward): Likewise.
28226 (cosh_test): Likewise.
28227 (cosh_test_tonearest): Likewise.
28228 (cosh_test_towardzero): Likewise.
28229 (cosh_test_downward): Likewise.
28230 (cosh_test_upward): Likewise.
28231 (cpow_test): Likewise.
28232 (csin_test): Likewise.
28233 (csinh_test): Likewise.
28234 (csqrt_test): Likewise.
28235 (ctan_test): Likewise.
28236 (ctan_test_tonearest): Likewise.
28237 (ctan_test_towardzero): Likewise.
28238 (ctan_test_downward): Likewise.
28239 (ctan_test_upward): Likewise.
28240 (ctanh_test): Likewise.
28241 (ctanh_test_tonearest): Likewise.
28242 (ctanh_test_towardzero): Likewise.
28243 (ctanh_test_downward): Likewise.
28244 (ctanh_test_upward): Likewise.
28245 (erf_test): Likewise.
28246 (erfc_test): Likewise.
28247 (exp_test): Likewise.
28248 (exp_test_tonearest): Likewise.
28249 (exp_test_towardzero): Likewise.
28250 (exp_test_downward): Likewise.
28251 (exp_test_upward): Likewise.
28252 (exp10_test): Likewise.
28253 (exp2_test): Likewise.
28254 (expm1_test): Likewise.
28255 (fmod_test): Likewise.
28256 (gamma_test): Likewise.
28257 (hypot_test): Likewise.
28258 (j0_test): Likewise.
28259 (j1_test): Likewise.
28260 (jn_test): Likewise.
28261 (lgamma_test): Likewise.
28262 (log_test): Likewise.
28263 (log10_test): Likewise.
28264 (log1p_test): Likewise.
28265 (log2_test): Likewise.
28266 (logb_test_downward): Likewise.
28267 (pow_test): Likewise.
28268 (pow_test_tonearest): Likewise.
28269 (pow_test_towardzero): Likewise.
28270 (pow_test_downward): Likewise.
28271 (pow_test_upward): Likewise.
28272 (remainder_test): Likewise.
28273 (remquo_test): Likewise.
28274 (sin_test): Likewise.
28275 (sin_test_tonearest): Likewise.
28276 (sin_test_towardzero): Likewise.
28277 (sin_test_downward): Likewise.
28278 (sin_test_upward): Likewise.
28279 (sincos_test): Likewise.
28280 (sinh_test): Likewise.
28281 (sinh_test_tonearest): Likewise.
28282 (sinh_test_towardzero): Likewise.
28283 (sinh_test_downward): Likewise.
28284 (sinh_test_upward): Likewise.
28285 (sqrt_test): Likewise.
28286 (tan_test): Likewise.
28287 (tan_test_tonearest): Likewise.
28288 (tan_test_towardzero): Likewise.
28289 (tan_test_downward): Likewise.
28290 (tan_test_upward): Likewise.
28291 (tanh_test): Likewise.
28292 (tgamma_test): Likewise.
28293 (y0_test): Likewise.
28294 (y1_test): Likewise.
28295 (yn_test): Likewise.
28297 * math/gen-libm-test.pl (adjust_arg): Remove function.
28298 (special_function): Remove argument $in_func. Only handle
28299 generating output for tables of tests, not inside functions.
28300 (parse_args): Likewise.
28301 (generate_testfile): Remove variable $in_func. Update call to
28303 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28304 (MINUS_ZERO_INIT): Rename macro to minus_zero.
28305 (PLUS_INFTY_INIT): Rename macro to plus_infty.
28306 (MINUS_INFTY_INIT): Rename macro to minus_infty.
28307 (QNAN_VALUE_INIT): Rename macro to qnan_value.
28308 (MAX_VALUE_INIT): Rename macro to max_value.
28309 (MIN_VALUE_INIT): Rename macro to min_value.
28310 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28311 (plus_zero): Remove variable.
28312 (minus_zero): Likewise.
28313 (plus_infty): Likewise.
28314 (minus_infty): Likewise.
28315 (qnan_value): Likewise.
28316 (max_value): Likewise.
28317 (min_value): Likewise.
28318 (min_subnorm_value): Likewise.
28320 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28322 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28323 uint64_t or uint32_t usage.
28324 * crypt/sha256-block.c: Likewise.
28325 * crypt/sha256-crypt.c: Likewise.
28326 * crypt/sha256.c: Likewise.
28327 * crypt/sha512-block.c: Likewise.
28328 * crypt/sha512-crypt.c: Likewise.
28329 * crypt/sha512.c: Likewise.
28330 * debug/backtrace-tst.c: Likewise.
28331 * debug/pcprofiledump.c: Likewise.
28332 * elf/cache.c: Likewise.
28333 * elf/dl-cache.c: Likewise.
28334 * elf/dl-misc.c: Likewise.
28335 * elf/dl-profile.c: Likewise.
28336 * elf/dl-support.c: Likewise.
28337 * elf/ldconfig.c: Likewise.
28338 * elf/sprof.c: Likewise.
28339 * iconv/dummy-repertoire.c: Likewise.
28340 * iconv/iconv_charmap.c: Likewise.
28341 * iconv/skeleton.c: Likewise.
28342 * iconvdata/8bit-generic.c: Likewise.
28343 * iconvdata/cp737.h: Likewise.
28344 * iconvdata/cp775.h: Likewise.
28345 * iconvdata/ibm1008.h: Likewise.
28346 * iconvdata/ibm1025.h: Likewise.
28347 * iconvdata/ibm1046.h: Likewise.
28348 * iconvdata/ibm1097.h: Likewise.
28349 * iconvdata/ibm1112.h: Likewise.
28350 * iconvdata/ibm1122.h: Likewise.
28351 * iconvdata/ibm1123.h: Likewise.
28352 * iconvdata/ibm1124.h: Likewise.
28353 * iconvdata/ibm1129.h: Likewise.
28354 * iconvdata/ibm1130.h: Likewise.
28355 * iconvdata/ibm1132.h: Likewise.
28356 * iconvdata/ibm1133.h: Likewise.
28357 * iconvdata/ibm1137.h: Likewise.
28358 * iconvdata/ibm1140.h: Likewise.
28359 * iconvdata/ibm1141.h: Likewise.
28360 * iconvdata/ibm1142.h: Likewise.
28361 * iconvdata/ibm1143.h: Likewise.
28362 * iconvdata/ibm1144.h: Likewise.
28363 * iconvdata/ibm1145.h: Likewise.
28364 * iconvdata/ibm1146.h: Likewise.
28365 * iconvdata/ibm1147.h: Likewise.
28366 * iconvdata/ibm1148.h: Likewise.
28367 * iconvdata/ibm1149.h: Likewise.
28368 * iconvdata/ibm1153.h: Likewise.
28369 * iconvdata/ibm1154.h: Likewise.
28370 * iconvdata/ibm1155.h: Likewise.
28371 * iconvdata/ibm1156.h: Likewise.
28372 * iconvdata/ibm1157.h: Likewise.
28373 * iconvdata/ibm1158.h: Likewise.
28374 * iconvdata/ibm1160.h: Likewise.
28375 * iconvdata/ibm1161.h: Likewise.
28376 * iconvdata/ibm1162.h: Likewise.
28377 * iconvdata/ibm1163.h: Likewise.
28378 * iconvdata/ibm1164.h: Likewise.
28379 * iconvdata/ibm1166.h: Likewise.
28380 * iconvdata/ibm1167.h: Likewise.
28381 * iconvdata/ibm12712.h: Likewise.
28382 * iconvdata/ibm1390.h: Likewise.
28383 * iconvdata/ibm1399.h: Likewise.
28384 * iconvdata/ibm16804.h: Likewise.
28385 * iconvdata/ibm4517.h: Likewise.
28386 * iconvdata/ibm4899.h: Likewise.
28387 * iconvdata/ibm4909.h: Likewise.
28388 * iconvdata/ibm4971.h: Likewise.
28389 * iconvdata/ibm5347.h: Likewise.
28390 * iconvdata/ibm803.h: Likewise.
28391 * iconvdata/ibm856.h: Likewise.
28392 * iconvdata/ibm901.h: Likewise.
28393 * iconvdata/ibm902.h: Likewise.
28394 * iconvdata/ibm9030.h: Likewise.
28395 * iconvdata/ibm9066.h: Likewise.
28396 * iconvdata/ibm921.h: Likewise.
28397 * iconvdata/ibm922.h: Likewise.
28398 * iconvdata/ibm9448.h: Likewise.
28399 * iconvdata/isiri-3342.h: Likewise.
28400 * iconvdata/jis0201.h: Likewise.
28401 * include/link.h: Likewise.
28402 * include/netdb.h: Likewise.
28403 * inet/check_native.c: Likewise.
28404 * inet/check_pf.c: Likewise.
28405 * inet/getipv4sourcefilter.c: Likewise.
28406 * inet/getnameinfo.c: Likewise.
28407 * inet/getsourcefilter.c: Likewise.
28408 * inet/htonl.c: Likewise.
28409 * inet/setipv4sourcefilter.c: Likewise.
28410 * inet/setsourcefilter.c: Likewise.
28411 * inet/test-inet6_opt.c: Likewise.
28412 * inet/tst-network.c: Likewise.
28413 * locale/C-collate.c: Likewise.
28414 * locale/C-ctype.c: Likewise.
28415 * locale/C-time.c: Likewise.
28416 * locale/C-translit.h: Likewise.
28417 * locale/loadarchive.c: Likewise.
28418 * locale/programs/3level.h: Likewise.
28419 * locale/programs/charmap.c: Likewise.
28420 * locale/programs/charmap.h: Likewise.
28421 * locale/programs/ld-address.c: Likewise.
28422 * locale/programs/ld-collate.c: Likewise.
28423 * locale/programs/ld-ctype.c: Likewise.
28424 * locale/programs/ld-identification.c: Likewise.
28425 * locale/programs/ld-measurement.c: Likewise.
28426 * locale/programs/ld-messages.c: Likewise.
28427 * locale/programs/ld-monetary.c: Likewise.
28428 * locale/programs/ld-name.c: Likewise.
28429 * locale/programs/ld-numeric.c: Likewise.
28430 * locale/programs/ld-paper.c: Likewise.
28431 * locale/programs/ld-telephone.c: Likewise.
28432 * locale/programs/ld-time.c: Likewise.
28433 * locale/programs/linereader.c: Likewise.
28434 * locale/programs/locale.c: Likewise.
28435 * locale/programs/locarchive.c: Likewise.
28436 * locale/programs/locfile.h: Likewise.
28437 * locale/programs/repertoire.c: Likewise.
28438 * locale/programs/simple-hash.c: Likewise.
28439 * locale/programs/simple-hash.h: Likewise.
28440 * malloc/memusage.c: Likewise.
28441 * malloc/memusagestat.c: Likewise.
28442 * nis/nis_defaults.c: Likewise.
28443 * nis/nis_hash.c: Likewise.
28444 * nis/nis_print.c: Likewise.
28445 * nis/nis_xdr.c: Likewise.
28446 * nscd/connections.c: Likewise.
28447 * nscd/hstcache.c: Likewise.
28448 * nscd/nscd_gethst_r.c: Likewise.
28449 * nscd/nscd_getserv_r.c: Likewise.
28450 * nscd/nscd_helper.c: Likewise.
28451 * nscd/servicescache.c: Likewise.
28452 * nss/makedb.c: Likewise.
28453 * nss/nss_db/db-XXX.c: Likewise.
28454 * nss/nss_db/db-initgroups.c: Likewise.
28455 * nss/nss_db/db-netgrp.c: Likewise.
28456 * nss/nss_files/files-network.c: Likewise.
28457 * nss/nss_files/files-parse.c: Likewise.
28458 * posix/bug-regex5.c: Likewise.
28459 * posix/fnmatch_loop.c: Likewise.
28460 * posix/regcomp.c: Likewise.
28461 * posix/regexec.c: Likewise.
28462 * posix/tst-rfc3484-2.c: Likewise.
28463 * posix/tst-rfc3484-3.c: Likewise.
28464 * posix/tst-rfc3484.c: Likewise.
28465 * resolv/nss_dns/dns-canon.c: Likewise.
28466 * resolv/nss_dns/dns-network.c: Likewise.
28467 * resolv/res_init.c: Likewise.
28468 * resolv/res_mkquery.c: Likewise.
28469 * resolv/tst-aton.c: Likewise.
28470 * stdlib/cxa_atexit.c: Likewise.
28471 * stdlib/cxa_finalize.c: Likewise.
28472 * stdlib/gen-fpioconst.c: Likewise.
28473 * stdlib/strtol_l.c: Likewise.
28474 * string/tst-endian.c: Likewise.
28475 * sunrpc/auth_des.c: Likewise.
28476 * sunrpc/clnt_udp.c: Likewise.
28477 * sunrpc/rtime.c: Likewise.
28478 * sunrpc/svcauth_des.c: Likewise.
28479 * sunrpc/xdr.c: Likewise.
28480 * sunrpc/xdr_intXX_t.c: Likewise.
28481 * sunrpc/xdr_rec.c: Likewise.
28482 * sysdeps/generic/ldconfig.h: Likewise.
28483 * sysdeps/generic/ldsodefs.h: Likewise.
28484 * sysdeps/generic/memusage.h: Likewise.
28485 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28486 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28487 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28491 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28492 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28493 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28494 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28495 * sysdeps/posix/getaddrinfo.c: Likewise.
28496 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28497 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28498 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28499 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28500 * sysdeps/powerpc/test-gettimebase.c: Likewise.
28501 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28502 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28503 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28504 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28505 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28506 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28507 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28508 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28509 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28510 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28511 * sysdeps/x86_64/dl-tls.h: Likewise.
28512 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28513 * time/alt_digit.c: Likewise.
28514 * time/era.c: Likewise.
28515 * wcsmbs/tst-c16c32-1.c: Likewise.
28517 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28519 * math/libm-test.inc (struct test_sincos_data): New type.
28520 (RUN_TEST_LOOP_sincos): New macro.
28521 (sincos_test_data): New variable.
28522 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28524 2013-05-16 Richard Henderson <rth@redhat.com>
28526 * math/atest-exp2.c (LIMB64): New macro.
28527 (CONSTSZ): New macro.
28528 (mp_exp1, mp_exp_m1, mp_log2): New variables.
28530 (print_mpn_fp): ... to function scope.
28531 (read_mpn_hex): Remove.
28532 (get_log2): Remove.
28533 (exp2_mpn): Use mp_log2.
28534 (main): Use mp_exp1.
28536 2013-05-16 Joseph Myers <joseph@codesourcery.com>
28538 * math/libm-test.inc: Remove comment about not testing "inexact"
28540 (INEXACT_EXCEPTION): New macro.
28541 (NO_INEXACT_EXCEPTION): Likewise.
28542 (INVALID_EXCEPTION_OK): Update value.
28543 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28544 (OVERFLOW_EXCEPTION_OK): Likewise.
28545 (UNDERFLOW_EXCEPTION_OK): Likewise.
28546 (IGNORE_ZERO_INF_SIGN): Likewise.
28547 (ERRNO_UNCHANGED): Likewise.
28548 (ERRNO_EDOM): Likewise.
28549 (ERRNO_ERANGE): Likewise.
28550 (test_exceptions): Handle testing "inexact" exceptions.
28551 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28552 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28553 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28554 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28556 (rint_towardzero_test_data): Likewise.
28557 (rint_downward_test_data): Likewise.
28558 (rint_upward_test_data): Likewise.
28560 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28561 with OVERFLOW_EXCEPTION.
28562 (exp10_test_data): Likewise.
28563 (exp2_test_data): Likewise.
28564 (expm1_test_data): Likewise.
28565 (lgamma_test_data): Likewise.
28566 (pow_test_data): Likewise.
28567 (tgamma_test_data): Likewise.
28568 (yn_test_data): Remove duplicate test of overflow.
28570 * math/libm-test.inc (struct test_cc_c_data): New type.
28571 (RUN_TEST_LOOP_cc_c): New macro.
28572 (cpow_test_data): New variable.
28573 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28575 * math/libm-test.inc (struct test_f_L_data): New type.
28576 (RUN_TEST_LOOP_f_L): New macro.
28577 (llrint_test_data): New variable.
28578 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28579 (llrint_tonearest_test_data): New variable.
28580 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28581 (llrint_towardzero_test_data): New variable.
28582 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28583 (llrint_downward_test_data): New variable.
28584 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28585 (llrint_upward_test_data): New variable.
28586 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28587 (llround_test_data): New variable.
28588 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28590 2013-05-13 Peter Collingbourne <pcc@google.com>
28592 * math/atest-exp2.c (get_log2): Remove const attribute.
28594 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28596 * math/libm-test.inc (struct test_f_l_data): New type.
28597 (RUN_TEST_LOOP_f_l): New macro.
28598 (lrint_test_data): New variable.
28599 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28600 (lrint_tonearest_test_data): New variable.
28601 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28602 (lrint_towardzero_test_data): New variable.
28603 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28604 (lrint_downward_test_data): New variable.
28605 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28606 (lrint_upward_test_data): New variable.
28607 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28608 (lround_test_data): New variable.
28609 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28611 2013-05-15 Peter Collingbourne <pcc@google.com>
28613 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28614 (EXTRACT_WORDS64) Use where appropriate.
28615 (INSERT_WORDS64) Likewise.
28617 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28618 constraints with x constraints.
28619 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28621 * malloc/obstack.c (_obstack_compat): Add initializer.
28623 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
28625 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28626 si_trapno and add si_addr_lsb to _sifields.sigfault.
28627 (si_trapno): Remove macro.
28628 (si_addr_lsb): Define new macro.
28629 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28631 2013-05-15 Joseph Myers <joseph@codesourcery.com>
28633 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28634 instead of TEST_f_l.
28635 (llrint_test_tonearest): Likewise.
28636 (llrint_test_towardzero): Likewise.
28637 (llrint_test_downward): Likewise.
28638 (llrint_test_upward): Likewise.
28639 (llround_test): Likewise.
28641 * math/libm-test.inc (struct test_f_i_data): Add comment.
28642 (RUN_TEST_LOOP_f_b): New macro.
28643 (RUN_TEST_LOOP_f_b_tg): Likewise.
28644 (finite_test_data): New variable.
28645 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28646 (isfinite_test_data): New variable.
28647 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28648 (isinf_test_data): New variable.
28649 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28650 (isnan_test_data): New variable.
28651 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28652 (isnormal_test_data): New variable.
28653 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28654 (issignaling_test_data): New variable.
28655 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28656 (signbit_test_data): New variable.
28657 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28659 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28660 with INVALID_EXCEPTION.
28661 (acosh_test_data): Likewise.
28662 (asin_test_data): Likewise.
28663 (atanh_test_data): Likewise.
28664 (fmod_test_data): Likewise.
28665 (log_test_data): Likewise.
28666 (log10_test_data): Likewise.
28667 (log2_test_data): Likewise.
28668 (pow_test_data): Likewise.
28669 (sqrt_test_data): Likewise.
28670 (y0_test_data): Likewise.
28671 (y1_test_data): Likewise.
28672 (yn_test_data): Likewise.
28674 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28677 * math/libm-test.inc (struct test_ff_i_data): New type.
28678 (RUN_TEST_LOOP_ff_i_tg): New macro.
28679 (isgreater_test_data): New variable.
28680 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28681 (isgreaterequal_test_data): New variable.
28682 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28683 (isless_test_data): New variable.
28684 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28685 (islessequal_test_data): New variable.
28686 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28687 (islessgreater_test_data): New variable.
28688 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28689 (isunordered_test_data): New variable.
28690 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28692 2013-05-14 David S. Miller <davem@davemloft.net>
28694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28696 2013-05-14 Joseph Myers <joseph@codesourcery.com>
28698 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28700 * math/libm-test.inc (struct test_fF_f1_data): Change type of
28702 (struct test_f_i_data): Change type of max_ulp to int.
28704 * math/libm-test.inc (test_ffI_f1_data): New type.
28705 (RUN_TEST_LOOP_ffI_f1): New macro.
28706 (remquo_test_data): New variable.
28707 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28709 * setjmp/tst-setjmp-fp.c: New file.
28710 * setjmp/Makefile (tests): Add tst-setjmp-fp.
28711 (link-libm): New variable.
28712 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28714 * math/libm-test.inc (struct test_f_i_data): New type.
28715 (RUN_TEST_LOOP_f_i): New macro.
28716 (RUN_TEST_LOOP_f_i_tg): Likewise.
28717 (fpclassify_test_data): New variable.
28718 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28719 (ilogb_test_data): New variable.
28720 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28722 * math/libm-test.inc (scalbln_test): Correct function name in END
28725 * math/libm-test.inc (struct test_f_f1_data): Add comment.
28726 (RUN_TEST_LOOP_fI_f1): New macro.
28727 (frexp_test_data): New variable.
28728 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28730 * math/libm-test.inc (struct test_fF_f1_data): New type.
28731 (RUN_TEST_LOOP_fF_f1): New macro.
28732 (modf_test_data): New variable.
28733 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28735 * math/libm-test.inc (struct test_f_f1_data): New type.
28736 (RUN_TEST_LOOP_f_f1): New macro.
28737 (gamma_test_data): New variable.
28738 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28739 (lgamma_test_data): New variable.
28740 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28742 2013-05-13 Carlos O'Donell <carlos@redhat.com>
28744 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28745 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28746 (main): Comment "tls" pseudo-hwcap.
28748 2013-05-13 Joseph Myers <joseph@codesourcery.com>
28750 * math/libm-test.inc (struct test_fl_f_data): New type.
28751 (RUN_TEST_LOOP_fl_f): New variable.
28752 (scalbln_test_data): New variable.
28753 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28755 * math/libm-test.inc (struct test_fi_f_data): New type.
28756 (RUN_TEST_LOOP_fi_f): New macro.
28757 (ldexp_test_data): New variable.
28758 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28759 (scalbn_test_data): New variable.
28760 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28762 * math/libm-test.inc (struct test_c_f_data): New type.
28763 (RUN_TEST_LOOP_c_f): New macro.
28764 (cabs_test_data): New variable.
28765 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28766 (carg_test_data): New variable.
28767 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28768 (cimag_test_data): New variable.
28769 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28770 (creal_test_data): New variable.
28771 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28773 * math/libm-test.inc (struct test_if_f_data): New type.
28774 (RUN_TEST_LOOP_if_f): New macro.
28775 (jn_test_data): New variable.
28776 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28777 (yn_test_data): New variable.
28778 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28780 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28782 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28784 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28785 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28787 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28789 * benchtests/Makefile (CPPFLAGS-nonlib): Add
28790 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28791 (bench-deps): Add bench-timing.h.
28792 * benchtests-bench-skeleton.c: Include bench-timing.h.
28793 (main): Use TIMING_* macros instead of clock_gettime.
28794 * benchtests/bench-timing.h: New file.
28797 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28798 Renamed from _LIB_VERSION.
28799 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28801 2013-05-12 Joseph Myers <joseph@codesourcery.com>
28803 * math/libm-test.inc (struct test_fff_f_data): New type.
28804 (RUN_TEST_LOOP_fff_f): New macro.
28805 (fma_test_data): New variable.
28806 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28807 (fma_towardzero_test_data): New variable.
28808 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28809 (fma_downward_test_data): New variable.
28810 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28811 (fma_upward_test_data): New variable.
28812 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28814 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28815 (struct test_c_c_data): New type.
28816 (RUN_TEST_LOOP_c_c): New macro.
28817 (cacos_test_data): New variable.
28818 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28819 (cacosh_test_data): New variable.
28820 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28821 (casin_test_data): New variable.
28822 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28823 (casinh_test_data): New variable.
28824 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28825 (catan_test_data): New variable.
28826 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28827 (catanh_test_data): New variable.
28828 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28829 (ccos_test_data): New variable.
28830 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28831 (ccosh_test_data): New variable.
28832 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28833 (cexp_test_data): New variable.
28834 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28835 (clog_test_data): New variable.
28836 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28837 (clog10_test_data): New variable.
28838 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28839 (conj_test_data): New variable.
28840 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28841 (cproj_test_data): New variable.
28842 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28843 (csin_test_data): New variable.
28844 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28845 (csinh_test_data): New variable.
28846 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28847 (csqrt_test_data): New variable.
28848 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28849 (ctan_test_data): New variable.
28850 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28851 (ctan_tonearest_test_data): New variable.
28852 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28853 (ctan_towardzero_test_data): New variable.
28854 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28855 (ctan_downward_test_data): New variable.
28856 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28857 (ctan_upward_test_data): New variable.
28858 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28859 (ctanh_test_data): New variable.
28860 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28861 (ctanh_tonearest_test_data): New variable.
28862 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28863 (ctanh_towardzero_test_data): New variable.
28864 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28865 (ctanh_downward_test_data): New variable.
28866 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28867 (ctanh_upward_test_data): New variable.
28868 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28869 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28872 * math/libm-test.inc (struct test_ff_f_data): New type.
28873 (struct test_ff_f_data_nexttoward): Likewise.
28874 (RUN_TEST_LOOP_2_f): New macro.
28875 (RUN_TEST_LOOP_ff_f): Likewise.
28876 (atan2_test_data): New variable.
28877 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28878 (copysign_test_data): New variable.
28879 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28880 (fdim_test_data): New variable.
28881 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28882 (fmax_test_data): New variable.
28883 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28884 (fmin_test_data): New variable.
28885 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28886 (fmod_test_data): New variable.
28887 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28888 (hypot_test_data): New variable.
28889 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28890 (nextafter_test_data): New variable.
28891 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28892 (nexttoward_test_data): New variable.
28893 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28894 (pow_test_data): New variable.
28895 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28896 (pow_tonearest_test_data): New variable.
28897 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28898 (pow_towardzero_test_data): New variable.
28899 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28900 (pow_downward_test_data): New variable.
28901 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28902 (pow_upward_test_data): New variable.
28903 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28904 (remainder_test_data): New variable.
28905 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28906 (scalb_test_data): New variable.
28907 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28908 * sysdeps/i386/fpu/libm-test-ulps: Update.
28910 2013-05-11 Joseph Myers <joseph@codesourcery.com>
28912 * math/libm-test.inc (fma_test): Use max_value instead of local
28914 (nextafter_test): Likewise.
28916 * math/libm-test.inc (acos_towardzero_test_data): New variable.
28917 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28918 (acos_downward_test_data): New variable.
28919 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28920 (acos_upward_test_data): New variable.
28921 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28922 (acosh_test_data): New variable.
28923 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28924 (asin_test_data): New variable.
28925 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28926 (asin_tonearest_test_data): New variable.
28927 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28928 (asin_towardzero_test_data): New variable.
28929 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28930 (asin_downward_test_data): New variable.
28931 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28932 (asin_upward_test_data): New variable.
28933 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28934 (asinh_test_data): New variable.
28935 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28936 (atan_test_data): New variable.
28937 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28938 (atanh_test_data): New variable.
28939 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28940 (cbrt_test_data): New variable.
28941 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28942 (ceil_test_data): New variable.
28943 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28944 (cos_test_data): New variable.
28945 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28946 (cos_tonearest_test_data): New variable.
28947 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28948 (cos_towardzero_test_data): New variable.
28949 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28950 (cos_downward_test_data): New variable.
28951 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28952 (cos_upward_test_data): New variable.
28953 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28954 (cosh_test_data): New variable.
28955 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28956 (cosh_tonearest_test_data): New variable.
28957 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28958 (cosh_towardzero_test_data): New variable.
28959 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28960 (cosh_downward_test_data): New variable.
28961 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28962 (cosh_upward_test_data): New variable.
28963 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28964 (erf_test_data): New variable.
28965 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28966 (erfc_test_data): New variable.
28967 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28968 (exp_test_data): New variable.
28969 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28970 (exp_tonearest_test_data): New variable.
28971 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28972 (exp_towardzero_test_data): New variable.
28973 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28974 (exp_downward_test_data): New variable.
28975 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28976 (exp_upward_test_data): New variable.
28977 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28978 (exp10_test_data): New variable.
28979 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28980 (exp2_test_data): New variable.
28981 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28982 (expm1_test_data): New variable.
28983 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28984 (fabs_test_data): New variable.
28985 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28986 (floor_test_data): New variable.
28987 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28988 (j0_test_data): New variable.
28989 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28990 (j1_test_data): New variable.
28991 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28992 (log_test_data): New variable.
28993 (log_test): Run tests with RUN_TEST_LOOP_f_f.
28994 (log10_test_data): New variable.
28995 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28996 (log1p_test_data): New variable.
28997 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28998 (log2_test_data): New variable.
28999 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29000 (logb_test_data): New variable.
29001 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29002 (logb_downward_test_data): New variable.
29003 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29004 (nearbyint_test_data): New variable.
29005 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29006 (rint_test_data): New variable.
29007 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29008 (rint_tonearest_test_data): New variable.
29009 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29010 (rint_towardzero_test_data): New variable.
29011 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29012 (rint_downward_test_data): New variable.
29013 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29014 (rint_upward_test_data): New variable.
29015 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29016 (round_test_data): New variable.
29017 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29018 (sin_test_data): New variable.
29019 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29020 (sin_tonearest_test_data): New variable.
29021 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29022 (sin_towardzero_test_data): New variable.
29023 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29024 (sin_downward_test_data): New variable.
29025 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29026 (sin_upward_test_data): New variable.
29027 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29028 (sinh_test_data): New variable.
29029 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29030 (sinh_tonearest_test_data): New variable.
29031 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29032 (sinh_towardzero_test_data): New variable.
29033 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29034 (sinh_downward_test_data): New variable.
29035 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29036 (sinh_upward_test_data): New variable.
29037 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29038 (sqrt_test_data): New variable.
29039 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29040 (tan_test_data): New variable.
29041 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29042 (tan_tonearest_test_data): New variable.
29043 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29044 (tan_towardzero_test_data): New variable.
29045 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29046 (tan_downward_test_data): New variable.
29047 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29048 (tan_upward_test_data): New variable.
29049 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29050 (tanh_test_data): New variable.
29051 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29052 (tgamma_test_data): New variable.
29053 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29054 (trunc_test_data): New variable.
29055 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29056 (y0_test_data): New variable.
29057 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29058 (y1_test_data): New variable.
29059 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29060 (significand_test_data): New variable.
29061 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29063 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29066 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29068 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29070 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29072 2013-05-10 Andreas Jaeger <aj@suse.de>
29075 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29076 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29078 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29080 * math/gen-libm-test.pl (adjust_arg): New function.
29081 (special_functions): Handle generating output in both functions
29083 (parse_args): Likewise.
29084 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29085 $in_func argument to parse_args.
29086 * math/libm-test.inc (struct test_f_f_data): New type.
29087 (IF_ROUND_INIT_): New macro.
29088 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29089 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29090 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29091 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29092 (ROUND_RESTORE_): Likewise.
29093 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29094 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29095 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29096 (ROUND_RESTORE_FE_UPWARD): Likewise.
29097 (RUN_TEST_LOOP_f_f): New macro.
29098 (acos_test_data): New variable.
29099 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29100 (acos_tonearest_test_data): New variable.
29101 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29103 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29105 * benchtests/bench-skeleton.c (startup): Fix coding style.
29107 2013-05-10 Joseph Myers <joseph@codesourcery.com>
29110 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29111 negative infinity argument.
29112 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29113 negative infinity argument.
29114 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29115 negative infinity argument.
29116 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29119 2013-05-10 Florian Weimer <fweimer@redhat.com>
29121 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29122 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29123 * iconv/iconv_prog.c (main): Likewise.
29124 * locale/programs/charmap-dir.c (charmap_readdir)
29125 (fopen_uncompressed): Likewise.
29126 * locale/programs/locfile.c (siblings_uncached)
29127 (write_locale_data): Use lstat64 instead of lstat.
29128 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29131 2013-05-10 Andreas Jaeger <aj@suse.de>
29134 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29136 Include <locale.h>.
29138 2013-05-09 Carlos O'Donell <carlos@redhat.com>
29140 * elf/dl-close.c (_dl_close_worker): Add comments.
29142 2013-05-09 Joseph Myers <joseph@codesourcery.com>
29145 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29147 (__ieee754_rem_pio2l): Update comments.
29150 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29152 (__ieee754_rem_pio2l): Update comments.
29154 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29155 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29157 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29160 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29161 (M_PI_34_LOG10El): Likewise.
29162 (M_PI2_LOG10El): Likewise.
29163 (M_PI4_LOG10El): Likewise.
29164 (M_PI_LOG10El): Likewise.
29166 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29170 2013-05-08 Joseph Myers <joseph@codesourcery.com>
29172 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29173 (MINUS_ZERO_INIT): Likewise.
29174 (PLUS_INFTY_INIT): Likewise.
29175 (MINUS_INFTY_INIT): Likewise.
29176 (QNAN_VALUE_INIT): Likewise.
29177 (MAX_VALUE_INIT): Likewise.
29178 (MIN_VALUE_INIT): Likewise.
29179 (MIN_SUBNORM_VALUE_INIT): Likewise.
29180 (plus_zero): Initialize with PLUS_ZERO_INIT.
29181 (minus_zero): Initialize with MINUS_ZERO_INIT.
29182 (plus_infty): Initialize with PLUS_INFTY_INIT.
29183 (minus_infty): Initialize with MINUS_INFTY_INIT.
29184 (qnan_value): Initialize with QNAN_VALUE_INIT.
29185 (max_value): Initialize with MAX_VALUE_INIT.
29186 (min_value): Initialize with MIN_VALUE_INIT.
29187 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29189 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29190 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29191 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29192 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29194 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29195 (RUN_TEST_2_f): Likewise.
29196 (RUN_TEST_ff_f): Likewise.
29197 (RUN_TEST_fi_f): Likewise.
29198 (RUN_TEST_fl_f): Likewise.
29199 (RUN_TEST_fff_f): Likewise.
29200 (RUN_TEST_c_f): Likewise.
29201 (RUN_TEST_f_f1): Likewise.
29202 (RUN_TEST_fF_f1): Likewise.
29203 (RUN_TEST_fI_f1): Likewise.
29204 (RUN_TEST_ffI_f1): Likewise.
29205 (RUN_TEST_c_c): Likewise.
29206 (RUN_TEST_cc_c): Likewise.
29207 (RUN_TEST_f_i): Likewise.
29208 (RUN_TEST_f_i_tg): Likewise.
29209 (RUN_TEST_ff_i_tg): Likewise.
29210 (RUN_TEST_f_b): Likewise.
29211 (RUN_TEST_f_b_tg): Likewise.
29212 (RUN_TEST_f_l): Likewise.
29213 (RUN_TEST_f_L): Likewise.
29214 (RUN_TEST_sincos): Likewise.
29215 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29216 whether to show exceptions. Do not include ");\n" in return
29218 (special_functions): Output call to RUN_TEST_sincos instead of
29219 check_float calls. Update calls to new_test.
29220 (parse_args): Output call to single RUN_TEST_* macro instead of
29221 check_* calls and other assignments. Update calls to new_test.
29227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29228 input to result for tgamma overflow.
29229 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29230 (gamma_coeff): New variable.
29231 (NCOEFF): New macro.
29232 (gamma_positive): New function.
29233 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29234 underflow here. Use gamma_positive instead of exp (lgamma) for
29236 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29237 (gamma_coeff): New variable.
29238 (NCOEFF): New macro.
29239 (gammaf_positive): New function.
29240 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29241 underflow here. Use gamma_positive instead of exp (lgamma) for
29243 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29244 (gamma_coeff): New variable.
29245 (NCOEFF): New macro.
29246 (gammal_positive): New function.
29247 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29248 underflow here. Use gamma_positive instead of exp (lgamma) for
29250 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29251 (gamma_coeff): New variable.
29252 (NCOEFF): New macro.
29253 (gammal_positive): New function.
29254 (__ieee754_gammal_r): Handle positive infinity, overflow and
29255 underflow here. Handle NaN the same as positive infinity. Remove
29256 check x < 0xffffffff for negative integers. Use gamma_positive
29257 instead of exp (lgamma) for other arguments.
29258 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29259 (gamma_coeff): New variable.
29260 (NCOEFF): New macro.
29261 (gammal_positive): New function.
29262 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29263 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29264 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29265 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29266 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29267 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29268 * sysdeps/generic/math_private.h (__gamma_productf): New
29270 (__gamma_product): Likewise.
29271 (__gamma_productl): Likewise.
29272 * math/Makefile (libm-calls): Add gamma_product.
29273 * math/libm-test.inc (tgamma_test): Add more tests.
29274 * sysdeps/i386/fpu/libm-test-ulps: Update.
29275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29277 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
29279 * benchtests/bench-skeleton.c (main): Preheat CPU.
29281 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
29283 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29285 2013-05-07 Roland McGrath <roland@hack.frob.com>
29287 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29288 and _dl_skip_args_internal.
29290 2013-05-07 Carlos O'Donell <carlos@redhat.com>
29292 * manual/message.texi (Message Translation): Talk about users.
29293 Message to key mapping impacts design.
29295 2013-05-06 Roland McGrath <roland@hack.frob.com>
29297 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29299 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29301 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29302 * sysdeps/wordsize-64/glob64.c: ... here.
29304 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29305 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29308 * debug/getlogin_r_chk.c: Moved to ...
29309 * login/getlogin_r_chk.c: ... here.
29310 * debug/Makefile (routines): Move getlogin_r_chk to ...
29311 * login/Makefile (routines): ... here.
29312 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29313 * login/Versions (libc: GLIBC_2.4): ... here.
29315 * io/poll.c (__poll): Renamed from poll.
29316 Add libc_hidden_def.
29317 (poll): Define as weak alias.
29319 * debug/ptsname_r_chk.c: Moved to ...
29320 * login/ptsname_r_chk.c: ... here.
29321 * debug/Makefile (routines): Move ptsname_r_chk to ...
29322 * login/Makefile (routines): ... here.
29323 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29324 * login/Versions (libc: GLIBC_2.4): ... here.
29326 * posix/getlogin.c: Moved to ...
29327 * login/getlogin.c: ... here.
29328 * posix/getlogin_r.c: Moved to ...
29329 * login/getlogin_r.c: ... here.
29330 * posix/getlogin_r.c: Moved to ...
29331 * login/getlogin_r.c: ... here.
29332 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29333 * login/Makefile (routines): ... here.
29334 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29335 * login/Versions (libc: GLIBC_2.0): ... here.
29337 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29338 (setrlimit): Define as weak alias.
29340 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29341 Call __ names for open, ftruncate, and close.
29342 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29343 (truncate): Define as weak alias.
29345 2013-05-06 Joseph Myers <joseph@codesourcery.com>
29347 * math/gen-libm-test.pl (parse_args): Initialize x before each
29348 test of frexp, modf and remquo.
29350 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29351 test signgam value.
29353 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29357 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29359 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29361 2013-05-06 Roland McGrath <roland@hack.frob.com>
29363 * elf/dl-writev.h: New file.
29364 * elf/dl-misc.c: Include it.
29365 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29366 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29368 2013-05-04 Joseph Myers <joseph@codesourcery.com>
29370 * math/libm-test.inc (noXFails): Remove variable.
29371 (noXPasses): Likewise.
29372 (BUILD_COMPLEX_INT): Remove macro.
29373 (print_screen): Remove xfail argument.
29374 (print_screen_max_error): Likewise.
29375 (update_stats): Likewise.
29376 (print_max_error): Likewise. Update calls to other affected
29378 (print_complex_max_error): Likewise.
29379 (test_single_exception): Update calls to print_screen.
29380 (test_single_errno): Likewise.
29381 (check_float_internal): Remove xfail argument. Update calls to
29382 other affected functions.
29383 (check_float): Likewise.
29384 (check_complex): Likewise.
29385 (check_int): Likewise.
29386 (check_long): Likewise.
29387 (check_bool): Likewise.
29388 (check_longlong): Likewise.
29389 (main): Don't print noXFails and noXPasses.
29390 * math/gen-libm-test.pl (top level): Don't mention expected
29391 failure handling in comment.
29392 (new_test): Don't handle expected failures.
29393 (parse_args): Don't mention expected failure handling in comment.
29394 (generate_testfile): Don't handle expected failures.
29395 (parse_ulps): Likewise.
29396 (print_ulps_file): Likewise.
29397 (get_failure): Remove function.
29398 (output_test): Don't handle expected failures.
29399 * make/README.libm-test: Don't mention expected failure handling.
29401 * math/libm-test.inc (plus_zero): Make const. Add initializer.
29402 (minus_zero): Likewise.
29403 (plus_infty): Likewise.
29404 (minus_infty): Likewise.
29405 (qnan_value): Likewise.
29406 (max_value): Likewise.
29407 (min_value): Likewise.
29408 (min_subnorm_value): Likewise.
29409 (initialize): Do not initialize those variables dynamically.
29411 2013-05-03 Roland McGrath <roland@hack.frob.com>
29413 * io/open.c (__open_2): Moved to ...
29414 * io/open_2.c: ... this new file.
29415 * io/open64.c (__open64_2): Moved to ...
29416 * io/open64_2.c: ... this new file.
29417 * io/openat.c (__openat_2): Moved to ...
29418 * io/openat_2.c: ... this new file.
29419 * io/openat64.c (__openat64_2): Moved to ...
29420 * io/openat64_2.c: ... this new file.
29421 * io/Makefile (routines): Add them.
29422 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29423 * sysdeps/unix/sysv/linux/open_2.c: File removed.
29424 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29425 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29426 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29427 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29428 (__openat64): Add hidden_ver.
29429 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29430 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29432 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29433 Separately conditionalize setting of GLRO(dl_sysinfo) so
29434 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29435 as well, but the actual setting is only under [NEED_DL_SYSINFO].
29437 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29439 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29440 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29442 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29443 * sysdeps/unix/sysv/linux/powerpc/init-first.c
29444 (_libc_vdso_platform_setup): Add __vdso_time initialization.
29445 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29446 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29448 2013-05-03 Joseph Myers <joseph@codesourcery.com>
29450 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29451 test signgam value.
29453 * math/libm-test.inc (hypot_test): Do not use
29454 IGNORE_ZERO_INF_SIGN.
29456 2013-05-03 Andreas Jaeger <aj@suse.de>
29458 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29460 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29461 (PF_MAX): Adjust for VSOCK change.
29463 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29467 2013-05-02 Carlos O'Donell <carlos@redhat.com>
29470 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29471 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29472 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29474 2013-05-02 David S. Miller <davem@davemloft.net>
29476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29478 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
29480 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29482 2013-05-01 Roland McGrath <roland@hack.frob.com>
29484 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29486 2013-05-01 Richard Smith <richard@metafoo.co.uk>
29489 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29490 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29491 Use __attribute__ ((__gnu_inline__)).
29492 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29493 Don't use __attribute__ ((__gnu_inline__)).
29495 2013-05-01 Joseph Myers <joseph@codesourcery.com>
29498 * math/s_catan.c (__catan): Handle small real or imaginary part of
29499 input specially to avoid spurious underflow.
29500 * math/s_catanf.c (__catanf): Likewise.
29501 * math/s_catanh.c (__catanh): Likewise.
29502 * math/s_catanhf.c (__catanhf): Likewise.
29503 * math/s_catanhl.c (__catanhl): Likewise.
29504 * math/s_catanl.c (__catanl): Likewise.
29505 * math/libm-test.inc (catan_test): Add more tests.
29506 (catanh_test): Likewise.
29507 * sysdeps/i386/fpu/libm-test-ulps: Update.
29508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29510 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29514 2013-04-30 Joseph Myers <joseph@codesourcery.com>
29517 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29518 accurately for denominator in atan2.
29519 * math/s_catanf.c (__catanf): Likewise.
29520 * math/s_catanh.c (__catanh): Likewise.
29521 * math/s_catanhf.c (__catanhf): Likewise.
29522 * math/s_catanhl.c (__catanhl): Likewise.
29523 * math/s_catanl.c (__catanl): Likewise.
29524 * math/libm-test.inc (catan_test): Add more tests.
29525 (catanh_test): Likewise.
29526 * sysdeps/i386/fpu/libm-test-ulps: Update.
29527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29529 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29531 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29533 * benchtests/Makefile (bench): Remove slow benchmarks.
29534 * benchtests/atan-inputs: Add slow benchmark inputs.
29535 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29536 (BENCH_FUNC): Accept variant offset.
29538 * benchtests/bench-skeleton.c (main): Run benchmark for each
29540 * benchtests/cos-inputs: Add slow benchmark inputs.
29541 * benchtests/exp-inputs: Likewise.
29542 * benchtests/pow-inputs: Likewise.
29543 * benchtests/sin-inputs: Likewise.
29544 * benchtests/slowatan-inputs: Remove.
29545 * benchtests/slowatan.c: Remove.
29546 * benchtests/slowcos-inputs: Remove.
29547 * benchtests/slowcos.c: Remove.
29548 * benchtests/slowexp-inputs: Remove.
29549 * benchtests/slowexp.c: Remove.
29550 * benchtests/slowpow-inputs: Remove.
29551 * benchtests/slowpow.c: Remove.
29552 * benchtests/slowsin-inputs: Remove.
29553 * benchtests/slowsin.c: Remove.
29554 * benchtests/slowtan-inputs: Remove.
29555 * benchtests/slowtan.c: Remove.
29556 * benchtests/tan-inputs: Add slow benchmark inputs.
29557 * scripts/bench.pl: Parse comments and directives.
29559 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
29561 ($(objpfx)bench-%.c): Remove *-ITER.
29562 * benchtests/bench-modf.c: Remove definition of ITER.
29563 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29564 (main): Loop for DURATION seconds instead of fixed number of
29566 * scripts/bench.pl: Don't expect iterations in parameters.
29568 2013-04-29 Roland McGrath <roland@hack.frob.com>
29570 * io/fchdir.c (__fchdir): Renamed from fchdir.
29571 (fchdir): Define as weak alias.
29573 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29575 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29576 (ERRNO_EDOM): Likewise.
29577 (ERRNO_ERANGE): Likewise.
29578 (noErrnoTests): New variable.
29579 (init_max_error): Set errno to 0.
29580 (test_single_errno): New function.
29581 (test_errno): Likewise.
29582 (check_float_internal): Call test_errno. Set errno to 0.
29583 (check_complex): Refer to errno tests in comment.
29584 (check_int): Call test_errno. Set errno to 0.
29585 (check_long): Likewise.
29586 (check_bool): Likewise.
29587 (check_longlong): Likewise.
29588 (cos_test): Use ERRNO_* flags for errno tests instead of
29590 (expm1_test): Likewise.
29591 (fmod_test): Likewise.
29592 (ilogb_test): Likewise.
29593 (lgamma_test): Likewise.
29594 (pow_test): Likewise.
29595 (remainder_test): Likewise.
29596 (sin_test): Likewise.
29597 (tan_test): Likewise.
29598 (yn_test): Likewise.
29599 (initialize): Set errno to 0.
29600 (main): Print number of errno tests.
29601 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29603 2013-04-29 Andreas Jaeger <aj@suse.de>
29606 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29610 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29611 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29615 * stdlib/random.c (__initstate): Return NULL if
29619 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29620 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29623 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29627 2013-04-29 Joseph Myers <joseph@codesourcery.com>
29629 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29630 of individual tests.
29631 (casin_test): Likewise.
29632 (casinh_test): Likewise.
29634 2013-04-27 Joseph Myers <joseph@codesourcery.com>
29637 * math/s_catan.c (__catan): Handle arguments with large real or
29638 imaginary part separately without squaring.
29639 * math/s_catanf.c (__catanf): Likewise.
29640 * math/s_catanh.c (__catanh): Likewise.
29641 * math/s_catanhf.c (__catanhf): Likewise.
29642 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29644 (__catanhl): Handle arguments with large real or imaginary part
29645 separately without squaring.
29646 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29648 (__catanl): Handle arguments with large real or imaginary part
29649 separately without squaring.
29650 * math/libm-test.inc (catan_test): Add more tests.
29651 (catanh_test): Likewise.
29652 * sysdeps/i386/fpu/libm-test-ulps: Update.
29653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29655 2013-04-27 Andreas Jaeger <aj@suse.de>
29658 * stdlib/stdlib.h: Update guards for qecvt.
29659 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29662 2013-04-27 Allan McRae <allan@archlinux.org>
29664 * sysdeps/i386/fpu/libm-test-ulps: Update.
29666 2013-04-26 Joseph Myers <joseph@codesourcery.com>
29669 * math/s_catan.c: Include <float.h>.
29670 (__catan): Ensure underflow exception occurs for underflowed
29672 * math/s_catanf.c: Include <float.h>.
29673 (__catanf): Ensure underflow exception occurs for underflowed
29675 * math/s_catanh.c: Include <float.h>.
29676 (__catanh): Ensure underflow exception occurs for underflowed
29678 * math/s_catanhf.c: Include <float.h>.
29679 (__catanhf): Ensure underflow exception occurs for underflowed
29681 * math/s_catanhl.c: Include <float.h>.
29682 (__catanhl): Ensure underflow exception occurs for underflowed
29684 * math/s_catanl.c: Include <float.h>.
29685 (__catanl): Ensure underflow exception occurs for underflowed
29687 * math/libm-test.inc (catan_test): Add more tests.
29688 (catanh_test): Likewise.
29691 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29692 underflowed result.
29693 * math/s_ccoshf.c (__ccoshf): Likewise.
29694 * math/s_ccoshl.c (__ccoshl): Likewise.
29695 * math/s_csin.c (__csin): Likewise.
29696 * math/s_csinf.c (__csinf): Likewise.
29697 * math/s_csinh.c (__csinh): Likewise.
29698 * math/s_csinhf.c (__csinhf): Likewise.
29699 * math/s_csinhl.c (__csinhl): Likewise.
29700 * math/s_csinl.c (__csinl): Likewise.
29701 * math/libm-test.inc (ccos_test): Add more tests.
29702 (ccosh_test): Likewise.
29703 (csin_test): Likewise.
29704 (csinh_test): Likewise.
29706 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29708 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29709 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29710 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29711 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29712 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29713 powerpc/power5+/fpu folders.
29714 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29717 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
29719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29721 2013-04-25 Joseph Myers <joseph@codesourcery.com>
29723 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29724 additions to variable.
29725 [$(config-machine) = x86_64] (modules-names): Likewise.
29726 ($(objpfx)tst-audit3): Remove dependency.
29727 ($(objpfx)tst-audit3.out): Likewise.
29728 ($(objpfx)tst-audit4): Likewise.
29729 ($(objpfx)tst-audit4.out): Likewise.
29730 ($(objpfx)tst-audit5): Likewise.
29731 ($(objpfx)tst-audit5.out): Likewise.
29732 ($(objpfx)tst-audit6): Likewise.
29733 ($(objpfx)tst-audit6.out): Likewise.
29734 ($(objpfx)tst-audit7): Likewise.
29735 ($(objpfx)tst-audit7.out): Likewise.
29736 (tst-audit3-ENV): Remove variable.
29737 (tst-audit4-ENV): Likewise.
29738 (tst-audit5-ENV): Likewise.
29739 (tst-audit6-ENV): Likewise.
29740 (tst-audit7-ENV): Likewise.
29741 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29742 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29743 addition to variable.
29744 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29745 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29746 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29747 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29748 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29749 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29750 tst-audit3, tst-audit4 and tst-audit5.
29751 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29752 tst-audit6 and tst-audit7.
29753 [$(subdir) = elf] (modules-names): Add audit modules for those
29755 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29756 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29757 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29758 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29759 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29760 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29761 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29762 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29763 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29764 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29765 [$(subdir) = elf] (tst-audit3-ENV): New variable.
29766 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29767 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29768 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29769 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29770 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29772 [$(subdir) = elf && $(config-cflags-avx) = yes]
29773 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29774 [$(subdir) = elf && $(config-cflags-avx) = yes]
29775 (CFLAGS-tst-auditmod4a.c): Likewise.
29776 [$(subdir) = elf && $(config-cflags-avx) = yes]
29777 (CFLAGS-tst-auditmod4b.c): Likewise.
29778 [$(subdir) = elf && $(config-cflags-avx) = yes]
29779 (CFLAGS-tst-auditmod6b.c): Likewise.
29780 [$(subdir) = elf && $(config-cflags-avx) = yes]
29781 (CFLAGS-tst-auditmod6c.c): Likewise.
29782 [$(subdir) = elf && $(config-cflags-avx) = yes]
29783 (CFLAGS-tst-auditmod7b.c): Likewise.
29784 * elf/tst-audit3.c: Move to ...
29785 * sysdeps/x86_64/tst-audit3.c: ... here.
29786 * elf/tst-audit4.c: Move to ...
29787 * sysdeps/x86_64/tst-audit4.c: ... here.
29788 * elf/tst-audit5.c: Move to ...
29789 * sysdeps/x86_64/tst-audit5.c: ... here.
29790 * elf/tst-audit6.c: Move to ...
29791 * sysdeps/x86_64/tst-audit6.c: ... here.
29792 * elf/tst-audit7.c: Move to ...
29793 * sysdeps/x86_64/tst-audit7.c: ... here.
29794 * elf/tst-auditmod3a.c: Move to ...
29795 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29796 * elf/tst-auditmod3b.c: Move to ...
29797 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29798 * elf/tst-auditmod4a.c: Move to ...
29799 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29800 * elf/tst-auditmod4b.c: Move to ...
29801 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29802 * elf/tst-auditmod5a.c: Move to ...
29803 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29804 * elf/tst-auditmod5b.c: Move to ...
29805 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29806 * elf/tst-auditmod6a.c: Move to ...
29807 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29808 * elf/tst-auditmod6b.c: Move to ...
29809 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29810 * elf/tst-auditmod6c.c: Move to ...
29811 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29812 * elf/tst-auditmod7a.c: Move to ...
29813 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29814 * elf/tst-auditmod7b.c: Move to ...
29815 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29817 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29820 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29821 define unconditionally.
29822 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29823 define unconditionally.
29824 (INT8_C, INT16_C, etc.): Likewise.
29826 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
29828 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29829 __ehdr_start with hidden visibility.
29831 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29833 2013-04-24 Carlos O'Donell <carlos@redhat.com>
29835 * math/libm-test.inc (cos_test): Use accurate hex constants.
29836 (sincost_test): Likewise.
29838 2013-04-24 Joseph Myers <joseph@codesourcery.com>
29840 * math/libm-test.inc (catan_test): Add more tests.
29841 (catanh_test): Likewise.
29843 * math/s_catanf.c (__catanf): Use suffixed floating-point
29845 * math/s_catanhf.c (__catanhf): Likewise.
29846 * math/s_catanhl.c (__catanhl): Likewise.
29847 * math/s_catanl.c (__catanl): Likewise.
29850 * math/s_catan.c (__catan): Calculate imaginary part of result
29851 with log1p not log unless computing log of number close to 0.
29852 * math/s_catanf.c (__catanf): Likewise.
29853 * math/s_catanl.c (__catanl): Likewise.
29854 * math/s_catanh.c (__catanh): Calculate real part of result with
29855 log1p not log unless computing log of number close to 0.
29856 * math/s_catanhf.c (__catanhf): Likewise.
29857 * math/s_catanhl.c (__catanhl): Likewise.
29858 * math/libm-test.inc (catan_test): Add more tests.
29859 (catanh_test): Likewise.
29860 * sysdeps/i386/fpu/libm-test-ulps: Update.
29861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29863 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29865 * benchtests/Makefile: Mention files in which fast and slow
29866 paths of math functions are implemented.
29868 2013-04-23 Roland McGrath <roland@hack.frob.com>
29870 * sysdeps/posix/timespec_get.c: New file.
29872 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29874 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29876 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29878 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29879 powerpc/power5/fpu folders.
29880 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29881 * benchtests/Makefile: Add modf testcase.
29882 * benchtests/bench-modf.c: New file: Benchmark test for mo
29884 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
29887 * time/Makefile (tests): Add tst-strptime-whitespace.
29888 * time/strptime_l.c (get_number): Use ISSPACE.
29889 (__strptime_internal): Likewise.
29890 * time/tst-strptime-whitespace.c: New test case.
29892 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
29894 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29896 (_nss_files_init): Set it here.
29898 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
29900 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29901 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29904 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
29906 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29908 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29913 2013-04-21 David S. Miller <davem@davemloft.net>
29915 * po/ru.po: Update Russion translation from translation project.
29917 2013-04-17 Adam Conrad <adconrad@0c3.net>
29919 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29922 2013-04-17 Carlos O'Donell <carlos@redhat.com>
29924 * configure.in: Remove i386 configure warning. Remove i386 case.
29925 * configure: Regenerate.
29926 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29927 Add example to error message.
29928 * sysdeps/i386/configure: Regenerate.
29930 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
29932 * benchtests/Makefile (bench): Add cos, tan, slowcos and
29934 * benchtests/cos-inputs: New file.
29935 * benchtests/slowcos-inputs: New file.
29936 * benchtests/slowcos.c: New file.
29937 * benchtests/slowtan-inputs: New file.
29938 * benchtests/slowtan.c: New file.
29939 * benchtests/tan-inputs: New file.
29941 2013-04-16 Roland McGrath <roland@hack.frob.com>
29943 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29946 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29948 * benchtests/Makefile: Include cppflags-iterator.mk to add
29949 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29951 * Makefile.in (bench-clean): New target.
29952 * benchtests/Makefile (bench-clean): Likewise.
29954 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
29956 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29958 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
29960 * stdio-common/tstdiomisc.c: Fix coding-style violation.
29962 2013-04-15 Andreas Schwab <schwab@suse.de>
29964 * nscd/grpcache.c (cache_addgr): Properly check for short write.
29965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29966 * nscd/pwdcache.c (cache_addpw): Likewise.
29967 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
29970 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29972 * benchtests/Makefile (bench): Write all output to
29973 bench-out.tmp together.
29975 2013-04-15 Andreas Schwab <schwab@suse.de>
29977 * nscd/nscd.c (main): Don't fork again after closing files.
29979 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29981 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29983 * benchtests/Rules (bench-deps): Collect dependencies into a
29984 single variable. Add Makefile to dependencies.
29985 ($(objpfx)bench-%.c): Depend on bench-deps.
29987 2013-04-12 Roland McGrath <roland@hack.frob.com>
29988 Xavier Roche <roche+kml2@exalead.com>
29991 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29992 just that it's a file descriptor.
29993 * manual/llio.texi (Synchronizing AIO Operations): Update description
29994 for EBADF error from aio_fsync.
29996 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
29998 * Rules (bench): Move target definition...
29999 * benchtests/Makefile: ... here.
30001 2013-04-11 Carlos O'Donell <carlos@redhat.com>
30003 * math/libm-test.inc (cos_test): Fix PI/2 test.
30004 (sincos_test): Likewise.
30005 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30006 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30008 2013-04-11 Andreas Schwab <schwab@suse.de>
30011 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30012 accept exponent character only when digits were seen.
30013 * stdio-common/Makefile (tests): Add bug26.
30014 * stdio-common/bug26.c: New file.
30017 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30020 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30022 * Makeconfig (rtld-prefix): Define built linker prefix.
30023 * Rules (run-bench): Use it.
30024 * math/Makefile (run-regen-ulps): Likewise.
30026 * Rules (bench): Remove eval.
30028 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30029 Roland McGrath <roland@hack.frob.com>
30030 Ondrej Bilka <neleai@seznam.cz>
30033 * time/getdate.c: Include ctype.h and alloca.h.
30034 (__getdate_r): Trim leading and trailing spaces of input.
30035 * time/tst-getdate.c (tests): Add tests with leading and
30038 2013-04-08 Roland McGrath <roland@hack.frob.com>
30041 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30042 when computing value.
30044 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30046 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30047 Use testrun.sh to run libm tests.
30050 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30052 2013-04-06 Marko Myllynen <myllynen@redhat.com>
30055 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30057 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30059 * Makefile.in (regen-ulps): New target.
30060 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30061 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30062 [ifneq (no,$(PERL)] (regen-ulps): New target.
30063 [ifeq (no,$(PERL)] (regen-ulps): New target.
30064 * math/libm-test.inc (ulps_file_name): Define.
30065 (output_dir): New variable.
30066 (options): Add "output-dir" option.
30067 (parse_opt): Handle 'o' case.
30068 (main): If output_dir is non-NULL use it as a prefix
30070 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30072 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30074 [BZ #10060, #10062]
30075 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30076 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30077 fail configure if __sync_val_compare_and_swap is not inlined.
30078 * sysdeps/i386/configure: Regenerate.
30079 * configure.in: Build for i686 when configured for i386.
30080 * configure: Regenerate.
30081 * README: Remove i386 reference.
30083 2013-04-06 Carlos O'Donell <carlos@redhat.com>
30085 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30086 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30088 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30090 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30091 (lmsnanval): New variables.
30092 (F): Add conversion tests.
30093 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30094 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30096 * stdio-common/tstdiomisc.c (F): Properly collect individual
30099 [BZ #14686, #15336]
30100 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30101 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30102 Instead, use input NaN values or generate a qNaN by arithmetic
30103 operation. Also fix bugs to comply with the standard.
30104 * math/libm-test.inc (remainder_test): Add more tests.
30106 [BZ #15335, #15342]
30107 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30109 input NaN values or generate a qNaN by arithmetic operation.
30111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30114 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30117 2013-04-03 Joseph Myers <joseph@codesourcery.com>
30120 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30121 underflowed result.
30122 * math/s_cexpf.c (__cexpf): Likewise.
30123 * math/s_cexpl.c (__cexpl): Likewise.
30124 * math/libm-test.inc (cexp_test): Add more tests.
30126 2013-04-03 Andreas Schwab <schwab@suse.de>
30129 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30130 order arrays from heap if bigger than alloca cutoff.
30132 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30134 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30135 (SNAN_TESTS_double): Refer to GCC PR56831.
30136 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30139 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30141 * Rules (bench): Move bench.out after the run is complete.
30143 * Rules (bench): Echo currently running benchmark.
30145 * benchtests/Makefile (bench): Add atan and slowatan.
30146 * benchtests/atan-inputs: New file.
30147 * benchtests/slowatan-inputs: New file.
30148 * benchtests/slowatan.c: New file.
30150 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30155 * sysdeps/unix/sysv/linux/kernel-features.h
30156 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30157 __ASSUME_XFS_RESTRICTED_CHOWN.
30158 * sysdeps/unix/sysv/linux/pathconf.c
30159 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30160 Save and restore errno.
30162 2013-04-02 Joseph Myers <joseph@codesourcery.com>
30165 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30166 arguments using __kernel_casinh.
30167 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30168 arguments using __kernel_casinhf.
30169 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30170 arguments using __kernel_casinhl.
30171 * math/libm-test.inc (cacosh_test): Add more tests.
30172 * sysdeps/i386/fpu/libm-test-ulps: Update.
30173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30175 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30177 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30180 * bench/Makefile (bench): Add sin and slowsin.
30181 * benchtests/sin-inputs: New file.
30182 * benchtests/slowsin-inputs: New file.
30183 * benchtests/slowsin.c: New file.
30185 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30186 (bench): Add slowexp and slowpow.
30187 (exp-ITER): Increase iterations.
30188 (pow-ITER): Likewise.
30189 * benchtests/exp-inputs: Change input.
30190 * benchtests/pow-inputs: Likewise.
30191 * benchtests/slowexp-inputs: New file.
30192 * benchtests/slowexp.c: New file.
30193 * benchtests/slowpow-inputs: New file.
30194 * benchtests/slowpow.c: New file.
30196 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30198 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30200 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30201 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30202 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30203 * benchtests/Makefile: Add rint benchtest.
30204 * benchtests/rint-inputs: Input for rint benchtest.
30206 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30208 * Versions.def (libm): Add GLIBC_2.18.
30209 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30210 hidden libm prototypes.
30211 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30212 * math/Makefile (libm-calls): Add s_issignaling.
30213 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30214 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30215 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30217 * math/math.h [__USE_GNU] (issignaling): New macro.
30218 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30219 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30220 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30221 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30222 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30223 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30224 * manual/arith.texi (issignaling): New section.
30225 * manual/libm-err-tab.pl (@all_functions): Update comment.
30226 * math/gen-libm-test.pl (parse_args): Apply special handling for
30228 * math/libm-test.inc (print_float, issignaling_test): New
30230 (check_float_internal): Add issignaling checks.
30231 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30232 default definition.
30233 * sysdeps/powerpc/math-tests.h: New file.
30234 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30236 * math/test-snan.c (TEST_FUNC): Likewise.
30238 2013-03-30 David S. Miller <davem@davemloft.net>
30240 * po/de.po: Update from translation team.
30242 2013-03-30 Joseph Myers <joseph@codesourcery.com>
30245 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30246 imaginary part less than 1.0 and real part less than 0.5
30248 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30249 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30250 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30251 (cacos_test): Add more tests.
30252 (casin_test): Likewise.
30253 (casinh_test): Likewise.
30254 * sysdeps/i386/fpu/libm-test-ulps: Update.
30255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30257 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30259 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30260 ONE with its value.
30262 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30263 (__pow_mp): Replace ONE and MONE with their values.
30264 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30265 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30266 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30267 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30268 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30269 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30271 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30273 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30274 (__pow_mp): Replace ZERO and MZERO with their values.
30275 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30277 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30279 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30280 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30283 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30285 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30287 2013-03-28 Roland McGrath <roland@hack.frob.com>
30289 * include/stdlib.h [!SHARED] (__call_tls_dtors):
30290 Declare with __attribute__ ((weak)).
30291 * stdlib/exit.c (__libc_atexit) [!SHARED]:
30292 Call __call_tls_dtors only if it's not NULL.
30294 2013-03-28 Roland McGrath <roland@hack.frob.com>
30296 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30297 didn't do it already, then set _dl_phdr and _dl_phnum based on the
30298 magic __ehdr_start linker symbol if it's defined.
30299 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30300 them up here if it was already done.
30302 * elf/dl-support.c (_dl_phdr): Make pointer to const.
30303 (_dl_aux_init): Use const in cast when setting it.
30304 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30305 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30306 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30308 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30310 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30311 * csu/libc-tls.c: Nor here.
30312 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30314 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30315 (__libc_message): Never call vsyslog.
30317 2013-03-28 Alan Modra <amodra@gmail.com>
30319 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30321 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30324 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30331 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30334 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30335 Don't add gid passed as argument.
30337 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30339 2013-03-27 Joseph Myers <joseph@codesourcery.com>
30342 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30343 imaginary part between 1.0 and 1.5 and real part less than 0.5
30345 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30346 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30347 * math/libm-test.inc (cacos_test): Add more tests.
30348 (casin_test): Likewise.
30349 (casinh_test): Likewise.
30350 * sysdeps/i386/fpu/libm-test-ulps: Update.
30351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30353 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30355 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30358 (denorm): Likewise.
30359 (__dbl_mp): Likewise.
30360 (add_magnitudes): Likewise.
30361 (sub_magnitudes): Likewise.
30369 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30371 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30372 (__dubcos): Likewise.
30373 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30374 (__ieee754_acos): Likewise.
30375 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30376 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30377 (__exp1): Likewise.
30378 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30381 (my_log2): Likewise.
30382 (checkint): Likewise.
30383 * sysdeps/ieee754/dbl-64/e_remainder.c
30384 (__ieee754_remainder): Likewise.
30385 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30386 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30387 (bsloww): Likewise.
30388 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30390 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30391 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30392 MANTISSA_STORE_T to store computations on mantissa. Use
30393 macros for rounding and division.
30394 (denorm): Likewise.
30395 (__dbl_mp): Likewise.
30396 (add_magnitudes): Likewise.
30397 (sub_magnitudes): Likewise.
30400 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30401 powers of two in terms of TWOPOW macro.
30402 (mp_no): Make type of mantissa as MANTISSA_T.
30403 [!RADIXI]: Define RADIXI.
30404 [!TWO52]: Define TWO52.
30405 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30407 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30409 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30410 llroundl symbol when building for PPC32.
30412 2013-03-24 Mark H Weaver <mhw@netris.org>
30414 * manual/arith.texi (Normalization Functions): Fix prototypes for
30415 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30417 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30420 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30421 high value to check if expl overflow.
30422 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30423 to check for underflow and overflow.
30424 * math/libm-test.inc: Add exp test.
30426 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
30429 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30432 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30434 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30437 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
30439 * math/gen-libm-test.pl (parse_args, special_functions): Properly
30440 wrap blocks consisting of several statements.
30442 * sysdeps/generic/math-tests.h: New file.
30443 * sysdeps/i386/fpu/math-tests.h: Likewise.
30444 * math/test-snan.c: Include it.
30445 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30447 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30450 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30451 (__ieee754_j0l): Do not improve calculations using cos of twice
30452 input for inputs above LDBL_MAX / 2.0L.
30453 (__ieee754_y0l): Likewise.
30454 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30455 (__ieee754_j1l): Do not improve calculations using cos of twice
30456 input for inputs above LDBL_MAX / 2.0L.
30457 (__ieee754_y1l): Likewise.
30458 * math/libm-test.inc (j0_test): Add another test.
30459 (j1_test): Likewise.
30460 (y0_test): Likewise.
30461 (y1_test): Likewise.
30462 * sysdeps/i386/fpu/libm-test-ulps: Update.
30464 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30466 * Rules ($(objpfx)bench-%.c): Include code from a C source
30469 2013-03-21 Joseph Myers <joseph@codesourcery.com>
30472 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30473 imaginary part 1.0 and real part less than 0.5 specially.
30474 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30475 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30476 * math/libm-test.inc (cacos_test): Add more tests.
30477 (casin_test): Likewise.
30478 (casinh_test): Likewise.
30479 * sysdeps/i386/fpu/libm-test-ulps: Update.
30480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30482 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30484 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30485 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30487 2013-03-20 Joseph Myers <joseph@codesourcery.com>
30489 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30490 * config.make.in (config-cflags-sse4): Remove variable.
30491 (config-cflags-avx): Likewise.
30492 (config-cflags-sse2avx): Likewise.
30493 (config-cflags-novzeroupper): Likewise.
30494 (config-asflags-i686): Likewise.
30495 (have-mfma4): Likewise.
30496 (have-as-vis3): Likewise.
30498 * configure.in (MIG): Do not AC_SUBST.
30499 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30500 (libc_cv_cc_sse4): Do not AC_SUBST.
30501 (libc_cv_cc_avx): Likewise.
30502 (libc_cv_cc_sse2avx): Likewise.
30503 (libc_cv_cc_novzeroupper): Likewise.
30504 (libc_cv_cc_fma4): Likewise.
30505 (libc_cv_as_i686): Likewise.
30506 (libc_cv_sparc_as_vis3): Likewise.
30507 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30509 (config-asflags-i686): Likewise.
30510 (config-cflags-avx): Likewise.
30511 (config-cflags-sse2avx): Likewise.
30512 (have-mfma4): Likewise.
30513 (config-cflags-novzeroupper): Likewise.
30514 * sysdeps/mach/configure.in (MIG): Likewise.
30515 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30516 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30518 (config-cflags-avx): Likewise.
30519 (config-cflags-sse2avx): Likewise.
30520 (have-mfma4): Likewise.
30521 (config-cflags-novzeroupper): Likewise.
30522 * configure: Regenerated.
30523 * sysdeps/i386/configure: Likewise.
30524 * sysdeps/mach/configure: Likewise.
30525 * sysdeps/sparc/configure: Likewise.
30526 * sysdeps/x86_64/configure: Likewise.
30528 2013-03-20 Roland McGrath <roland@hack.frob.com>
30531 * locale/programs/localedef.c (options): Put N_ translation marker
30532 on argument names, not just descriptions.
30534 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
30536 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30538 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
30541 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30543 2013-03-19 Roland McGrath <roland@hack.frob.com>
30545 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30546 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30547 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30548 [!BEFORE_ABORT] (before_abort): New function.
30549 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30550 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30551 (writev_for_fatal): New function.
30552 (WRITEV_FOR_FATAL): New macro; call that.
30553 (backtrace_and_maps): New function.
30554 (BEFORE_ABORT): New macro; call that.
30555 (struct str_list): Type removed.
30556 (__libc_message, __libc_fatal): Functions removed.
30557 Include <sysdeps/posix/libc_fatal.c> instead.
30559 2013-03-19 Joseph Myers <joseph@codesourcery.com>
30561 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30563 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30566 2013-03-19 Andreas Schwab <schwab@suse.de>
30568 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30569 * sysdeps/gnu/configure: Regenerate.
30571 * configure.in: Substitute libc_cv_rtlddir.
30572 * configure: Regenerate.
30573 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30574 * Makeconfig (rtlddir, inst_rtlddir): New variables.
30575 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30576 * elf/Makefile (install-others, CFLAGS-interp.c)
30577 (ldso_install, common-ldd-rewrite): Likewise.
30578 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30579 $(inst_slibdir)/$(rtld-installed-name).
30580 * scripts/rellns-sh: Add -p option.
30581 * Makerules (make-shlib-link): Use rellns-sh to get relative name
30584 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30586 * manual/nptl.texi: Renamed to ...
30587 * manual/threads.texi: ... this.
30588 * manual/Makefile (chapters): Update.
30590 2013-03-18 Roland McGrath <roland@hack.frob.com>
30593 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30594 on argument names, not just descriptions.
30595 * malloc/memusagestat.c (options): Likewise.
30596 * nss/getent.c (options): Likewise.
30598 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
30601 * iconv/iconv_prog.c (options): Put N_ translation marker
30602 on argument names, not just descriptions.
30603 * iconv/iconvconfig.c (options): Likewise.
30605 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
30607 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30608 implementation which is faster on all x86_64 architectures.
30609 Tested on AMD, Intel Nehalem, SNB, IVB.
30610 * sysdeps/x86_64/strnlen.S: Likewise.
30612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30613 Remove all multiarch strlen and strnlen versions.
30614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30615 Remove strlen and strnlen related parts.
30617 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30618 Inline strlen part.
30619 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30621 * sysdeps/x86_64/multiarch/strlen.S: Remove.
30622 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30623 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30624 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30625 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30626 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30628 2013-03-17 Carlos O'Donell <carlos@redhat.com>
30630 * manual/memory.texi (Malloc Tunable Parameters):
30631 Sort parameters alphabetically. Add comments for missing entries.
30633 2013-03-17 David S. Miller <davem@davemloft.net>
30635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30637 2013-03-16 Joseph Myers <joseph@codesourcery.com>
30640 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30641 for arguments at most half maximum finite value.
30642 * math/libm-test.inc (j0_test): Add more tests.
30643 (j1_test): Likewise.
30644 (y0_test): Likewise.
30645 (y1_test): Likewise.
30646 * sysdeps/i386/fpu/libm-test-ulps: Update.
30647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30650 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30651 1 / x and functions P and Q for arguments above 0x1p256L.
30652 (__ieee754_y0l): Likewise.
30653 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30654 (__ieee754_y1l): Likewise.
30655 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30656 (j1_test): Likewise.
30657 (y0_test): Likewise.
30658 (y1_test): Likewise.
30660 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
30662 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30665 2013-03-15 Roland McGrath <roland@hack.frob.com>
30667 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30668 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30669 zero since it's initialized to EXEC_PAGESIZE.
30671 * sysdeps/unix/sysv/linux/ldsodefs.h
30672 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30673 * sysdeps/generic/ldsodefs.h: ... here.
30675 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
30677 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30679 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30681 * math/test-snan.c: Renamed from
30682 sysdeps/powerpc/fpu/test-powerpc-snan.c.
30683 * math/Makefile (tests): Add test-snan.
30684 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30687 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30688 SUFFIX. Initialize qNaN_var with __builtin_nan family of
30690 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
30691 __builtin_nan family of functions.
30692 * math/libm-test.inc (initialize): Initialize qnan_value with
30693 __builtin_nan family of functions.
30694 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30696 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30698 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
30699 storage class. Initialize qNaN_var and sNaN_var with
30700 __builtin_nan and __builtin_nans families of functions,
30703 * math/libm-test.inc (acosh_test): Also test with qNaN input.
30704 (sqrt_test): Remove duplicate test with qNaN input.
30705 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30706 (round_test, signbit_test, significand_test): Note missing +/-Inf
30707 as well as qNaN tests.
30709 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30710 qNaN_var. Fix a few strings, too.
30711 * math/libm-test.inc (nan_value): Rename to qnan_value.
30712 * math/gen-libm-test.pl (%beautify): Adjust to that.
30713 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30714 * math/test-misc.c (main): Likewise.
30715 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30716 to __qnan_bytes, and __qnan_union, respectively.
30717 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30719 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30720 and lqnanval, respectively.
30721 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30722 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30723 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30724 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30726 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30727 * math/test-misc.c (main) [__x86_64__]: Enable test for long
30730 * math/test-misc.c (main): Fix copy'n'pastos.
30731 * misc/tst-efgcvt.c (special): Likewise.
30733 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30734 Remove declarations.
30736 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30738 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30739 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30740 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30741 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30743 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30745 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30746 macro to return vdso values correctly in IFUNC implementations.
30747 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30748 Optimization by using IFUNC.
30750 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30751 Richard Henderson <rth@redhat.com>
30752 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30754 * Makefile.in (bench): New target.
30755 * NEWS: Mention the benchmark framework.
30756 * Rules (bench): Likewise.
30757 (binaries-bench): Generate binaries for functions to
30759 * benchtests/Makefile: New makefile for benchmark tests.
30760 * benchtests/bench-skeleton.c: New skeleton file for benchmark
30762 * benchtests/exp-inputs: New input file for EXP function.
30763 * benchtests/pow-inputs: New input file for POW function.
30764 * scripts/bench.pl: New script to generate source files for
30765 benchmark programs.
30767 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30769 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30770 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30771 computations on mantissa. Use macros for rounding and
30773 (denorm): Likewise.
30774 (__dbl_mp): Likewise.
30775 (add_magnitudes): Likewise.
30776 (sub_magnitudes): Likewise.
30779 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
30780 powers of two in terms of TWOPOW macro.
30781 (mp_no): Make type of mantissa as MANTISSA_T.
30782 [!RADIXI]: Define RADIXI.
30783 [!TWO52]: Define TWO52.
30784 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30786 * manual/nptl.texi (cindex): Modify threads to pthreads.
30788 2013-03-15 Joseph Myers <joseph@codesourcery.com>
30790 * sysdeps/x86_64/preconfigure: Regenerated.
30792 2013-03-14 Joseph Myers <joseph@codesourcery.com>
30795 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30797 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30798 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30800 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30801 * math/libm-test.inc (j0_test): Do not allow one spurious
30802 underflow exception.
30803 (y1_test): Likewise.
30805 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30807 * manual/Makefile (chapters): Add nptl.
30808 * manual/debug.texi (Debugging Support): Add link to Threads
30810 * manual/nptl.texi: New file.
30812 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30814 2013-03-14 Petr Baudis <pasky@ucw.cz>
30816 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30817 for non-NULL pointer before the memory validity test. Pointed
30818 out by Holger Brunck <holger.brunck@keymile.com>.
30820 2013-03-13 Andreas Schwab <schwab@suse.de>
30822 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30825 2013-03-13 Joseph Myers <joseph@codesourcery.com>
30827 * timezone/zic.c: Update from tzcode 2013b.
30829 2013-03-12 Carlos O'Donell <carlos@redhat.com>
30831 * manual/install.texi (Configuring and compiling):
30832 Mention i686 and i586.
30833 * INSTALL: Regenerate.
30835 2013-03-12 Roland McGrath <roland@hack.frob.com>
30837 * sysdeps/init_array/elf-init.c: New file.
30839 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30840 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30842 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30843 __gmon_start__ as global, but as static with a .preinit_array pointer.
30844 * sysdeps/init_array/gmon-start.c: New file. Use that.
30845 * sysdeps/init_array/crti.S: New file, empty except for comments.
30846 * sysdeps/init_array/crtn.S: Likewise.
30848 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
30850 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30853 Remove Prefer_SSE_for_memop.
30854 * sysdeps/x86_64/multiarch/init-arch.h: Remove
30855 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30856 HAS_PREFER_SSE_FOR_MEMOP.
30857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30860 Remove bzero, memset ifunc support.
30861 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30862 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30863 * sysdeps/x86_64/multiarch/memset.S: Likewise.
30864 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30866 2013-03-11 Andreas Schwab <schwab@suse.de>
30869 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30872 (GLIBC_2.16): Remove pthread_atfork.
30874 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
30876 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30877 (ptestcases.h): Likewise.
30879 2013-03-08 Roland McGrath <roland@hack.frob.com>
30881 * Makeconfig ($(common-objpfx)config.status): Depend on
30882 sysdeps/*/preconfigure{,.in} too.
30884 2013-03-08 Joseph Myers <joseph@codesourcery.com>
30886 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30887 (__free_hook): Use void * instead of __malloc_ptr_t.
30888 (__malloc_hook): Likewise.
30889 (__realloc_hook): Likewise.
30890 (__memalign_hook): Likewise.
30891 (__after_morecore_hook): Likewise.
30892 * malloc/arena.c (save_malloc_hook): Likewise.
30893 (save_free_hook): Likewise.
30894 * malloc/hooks.c (malloc_hook_ini): Likewise.
30895 (realloc_hook_ini): Likewise.
30896 (memalign_hook_ini): Likewise.
30897 * malloc/malloc.c (malloc_hook_ini): Likewise.
30898 (realloc_hook_ini): Likewise.
30899 (memalign_hook_ini): Likewise.
30900 (__free_hook): Likewise.
30901 (__malloc_hook): Likewise.
30902 (__realloc_hook): Likewise.
30903 (__memalign_hook): Likewise.
30904 (__libc_malloc): Likewise.
30905 (__libc_free): Likewise.
30906 (__libc_realloc): Likewise.
30907 (__libc_memalign): Likewise.
30908 (__libc_valloc): Likewise.
30909 (__libc_pvalloc): Likewise.
30910 (__libc_calloc): Likewise.
30911 (__posix_memalign): Likewise.
30912 * malloc/morecore.c (__sbrk): Likewise.
30913 (__default_morecore): Likewise.
30915 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30917 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30918 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30919 __malloc_ptrdiff_t.
30921 * malloc/malloc.h (__malloc_size_t): Remove macro.
30922 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30924 (old_memalign_hook): Likewise.
30925 (old_realloc_hook): Likewise.
30926 (struct hdr): Likewise.
30928 (mallochook): Likewise.
30929 (memalignhook): Likewise.
30930 (reallochook): Likewise.
30931 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30932 (tr_old_realloc_hook): Likewise.
30933 (tr_old_memalign_hook): Likewise.
30934 (tr_mallochook): Likewise.
30935 (tr_reallochook): Likewise.
30936 (tr_memalignhook): Likewise.
30938 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30940 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30941 default_ldbl_pack and using as default implementation.
30942 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30944 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30945 redundant definition.
30946 (ldbl_insert_mantissa): Likewise.
30947 (ldbl_canonicalize): Likewise.
30948 (ldbl_nearbyint): Likewise.
30949 (ldbl_pack): Rename to ldbl_pack_ppc.
30950 (ldbl_unpack): Rename to ldbl_unpack_ppc.
30951 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30952 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30954 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
30956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30957 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30958 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30959 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30961 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30962 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30963 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30965 2013-03-07 Andreas Jaeger <aj@suse.de>
30967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30970 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30972 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30973 Include mpa.h and declare __MPEXP.
30974 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30975 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30976 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30977 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30978 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30979 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30980 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30982 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30983 (__slowpow): Use long double EXPL and LOGL functions to
30985 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30986 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30987 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30988 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30989 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30990 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30993 intermediate variable to calculate exponent.
30995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30999 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31000 [!NO__SQR]: Define __sqr.
31001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31002 and NO__SQR. Remove all code except __mul and __sqr. Include
31003 sysdeps/ieee754/dbl-64/mpa.c.
31004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31007 * posix/Makefile (tests): Add tst-pathconf.
31008 * posix/tst-pathconf.c: New test case.
31009 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31011 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31013 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
31015 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31017 2013-03-06 Andreas Jaeger <aj@suse.de>
31019 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31020 definition via __MAP_ANONYMOUS.
31022 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31023 it's not part of Linux headers.
31025 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31026 (MAP_HUGE_MASK): Define.
31028 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31030 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31033 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31034 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31036 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31037 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31039 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31041 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31042 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31043 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31044 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31045 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31046 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31048 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31051 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31052 Handle f2fs and efivarfs.
31054 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31057 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31058 (EFIVARFS_MAGIC): Add.
31059 (F2FS_LINK_MAX): Add.
31061 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31063 * stdio-common/vfprintf.c: Replace __builtin_expect with
31066 2013-03-06 Joseph Myers <joseph@codesourcery.com>
31069 * sysdeps/generic/bp-sym.h: Remove file.
31070 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31071 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31072 <bp-sym.h> and <bp-asm.h>.
31073 (__longjmp): Don't use BP_SYM.
31074 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31076 (memcpy): Don't use BP_SYM.
31077 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31078 <bp-sym.h> and <bp-asm.h>.
31079 (memcpy): Don't use BP_SYM.
31080 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31082 (memcpy): Don't use BP_SYM.
31083 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31085 (memset): Don't use BP_SYM.
31086 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31087 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31088 (__bzero): Don't use BP_SYM.
31089 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31090 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31091 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31092 <bp-sym.h> and <bp-asm.h>.
31093 (memcmp): Don't use BP_SYM. Remove comment about bounded
31095 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31096 <bp-sym.h> and <bp-asm.h>.
31097 (memcpy): Don't use BP_SYM.
31098 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31099 <bp-sym.h> and <bp-asm.h>.
31100 (memset): Don't use BP_SYM.
31101 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31102 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31103 (__bzero): Don't use BP_SYM.
31104 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31105 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31106 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31107 <bp-sym.h> and <bp-asm.h>.
31108 (strncmp): Don't use BP_SYM. Remove comment about bounded
31110 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31111 <bp-sym.h> and <bp-asm.h>.
31112 (memcpy): Don't use BP_SYM.
31113 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31114 <bp-sym.h> and <bp-asm.h>.
31115 (memset): Don't use BP_SYM.
31116 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31117 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31118 (__bzero): Don't use BP_SYM.
31119 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31120 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31121 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31122 <bp-sym.h> and <bp-asm.h>.
31123 (__memchr): Don't use BP_SYM.
31124 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31125 <bp-sym.h> and <bp-asm.h>.
31126 (memcmp): Don't use BP_SYM. Remove comment about bounded
31128 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31129 <bp-sym.h> and <bp-asm.h>.
31130 (memcpy): Don't use BP_SYM.
31131 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31132 <bp-sym.h> and <bp-asm.h>.
31133 (__mempcpy): Don't use BP_SYM.
31134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31135 <bp-sym.h> and <bp-asm.h>.
31136 (__memrchr): Don't use BP_SYM.
31137 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31138 <bp-sym.h> and <bp-asm.h>.
31139 (memset): Don't use BP_SYM.
31140 (__bzero): Likewise.
31141 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31142 <bp-sym.h> and <bp-asm.h>.
31143 (__rawmemchr): Don't use BP_SYM.
31144 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31145 <bp-sym.h> and <bp-asm.h>.
31146 (__STRCMP): Don't use BP_SYM.
31147 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31148 <bp-sym.h> and <bp-asm.h>.
31149 (strchr): Don't use BP_SYM.
31150 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31151 <bp-sym.h> and <bp-asm.h>.
31152 (__strchrnul): Don't use BP_SYM.
31153 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31154 <bp-sym.h> and <bp-asm.h>.
31155 (strlen): Don't use BP_SYM.
31156 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31157 <bp-sym.h> and <bp-asm.h>.
31158 (strncmp): Don't use BP_SYM. Remove comment about bounded
31160 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31161 <bp-sym.h> and <bp-asm.h>.
31162 (__strnlen): Don't use BP_SYM.
31163 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31164 <bp-sym.h> and <bp-asm.h>.
31165 (__GI__setjmp): Don't use BP_SYM.
31166 (_setjmp): Likewise.
31167 (__sigsetjmp): Likewise.
31168 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31169 (L(start_addresses)): Don't use BP_SYM.
31170 (_start): Likewise.
31171 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31173 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31174 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31175 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31176 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31177 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31179 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31180 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31181 about bounded pointers.
31182 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31183 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31184 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31186 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31187 about bounded pointers. Remove GKM FIXME comments.
31188 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31189 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31191 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31192 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31193 Remove GKM FIXME comments.
31194 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31195 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31196 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31198 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31199 about bounded pointers. Remove GKM FIXME comment.
31200 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31202 (strncmp): Don't use BP_SYM. Remove comment about bounded
31204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31205 <bp-sym.h> and <bp-asm.h>.
31206 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31208 <bp-sym.h> and <bp-asm.h>.
31209 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31212 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31214 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31217 2013-03-05 David S. Miller <davem@davemloft.net>
31219 * po/es.po: Update from translation team.
31221 2013-03-05 Andreas Jaeger <aj@suse.de>
31223 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31224 <bits/mman-linux.h>.
31225 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31227 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31228 <bits/mman-linux.h> to end of file.
31229 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31231 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31232 <bits/mman-linux.h> to end of file.
31233 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31236 <bits/mman-linux.h> to end of file.
31238 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31239 (MCL_CURRENT, MCL_FUTURE): Define here.
31241 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31244 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31246 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31248 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31250 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31251 fourth parameter needed for rt_sigprocmask syscall.
31252 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31253 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31254 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31255 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31256 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31257 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31259 2013-03-04 Joseph Myers <joseph@codesourcery.com>
31262 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31263 comment about bounded pointers.
31264 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31265 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31267 2013-03-04 Andreas Jaeger <aj@suse.de>
31269 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31270 common definitions.
31272 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31273 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31274 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31275 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31276 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31277 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31279 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31283 __ieee754_sqrl instead of __sqrl.
31285 2013-03-01 Joseph Myers <joseph@codesourcery.com>
31287 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31288 * sysdeps/powerpc/fpu_control.h: ... here.
31289 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31290 * sysdeps/powerpc/bits/fenvinline.h: ... here.
31291 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31292 * sysdeps/powerpc/bits/mathinline.h: ... here.
31294 2013-03-01 Roland McGrath <roland@hack.frob.com>
31296 * elf/dl-hwcaps.c (_dl_important_hwcaps):
31297 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31298 to just [NEED_DL_SYSINFO_DSO].
31299 * elf/dl-support.c: Likewise.
31300 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31301 * elf/rtld.c (dl_main): Likewise.
31302 * elf/setup-vdso.h (setup_vdso): Likewise.
31303 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31304 * sysdeps/unix/sysv/linux/dl-sysdep.c
31305 (_dl_discover_osversion): Likewise.
31307 2013-03-01 Carlos O'Donell <carlos@redhat.com>
31309 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31310 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31312 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
31314 * NEWS: Mention libm performance improvements and non-x86 PI
31317 * csu/libc-start.c (__pthread_initialize_minimal): Change
31318 function arguments.
31319 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31321 2013-02-28 Joseph Myers <joseph@codesourcery.com>
31324 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31325 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31326 <bp-sym.h> and <bp-asm.h>.
31327 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31328 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31330 (memcpy): Don't use BP_SYM.
31331 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31333 (__mpn_add_n): Don't use BP_SYM.
31334 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31335 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31337 (__mpn_addmul_1): Don't use BP_SYM.
31338 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31339 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31341 (_setjmp): Don't use BP_SYM.
31342 (__novmx_setjmp): Likewise.
31343 (__GI__setjmp): Likewise.
31344 (__vmx_setjmp): Likewise.
31345 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31347 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31348 (__bzero): Don't use BP_SYM.
31349 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31350 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31351 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31352 <bp-sym.h> and <bp-asm.h>.
31353 (memcpy): Don't use BP_SYM.
31354 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31355 <bp-sym.h> and <bp-asm.h>.
31356 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31357 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31358 <bp-sym.h> and <bp-asm.h>.
31359 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31360 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31362 (__mpn_lshift): Don't use BP_SYM.
31363 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31364 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31366 (memset): Don't use BP_SYM.
31367 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31368 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31369 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31371 (__mpn_mul_1): Don't use BP_SYM.
31372 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31373 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31374 <bp-sym.h> and <bp-asm.h>.
31375 (memcmp): Don't use BP_SYM.
31376 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31377 <bp-sym.h> and <bp-asm.h>.
31378 (memcpy): Don't use BP_SYM.
31379 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31380 <bp-sym.h> and <bp-asm.h>.
31381 (memset): Don't use BP_SYM.
31382 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31383 <bp-sym.h> and <bp-asm.h>.
31384 (strncmp): Don't use BP_SYM.
31385 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31386 <bp-sym.h> and <bp-asm.h>.
31387 (memcpy): Don't use BP_SYM.
31388 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31389 <bp-sym.h> and <bp-asm.h>.
31390 (memset): Don't use BP_SYM.
31391 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31392 <bp-sym.h> and <bp-asm.h>.
31393 (__memchr): Don't use BP_SYM.
31394 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31395 <bp-sym.h> and <bp-asm.h>.
31396 (memcmp): Don't use BP_SYM.
31397 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31398 <bp-sym.h> and <bp-asm.h>.
31399 (memcpy): Don't use BP_SYM.
31400 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31401 <bp-sym.h> and <bp-asm.h>.
31402 (__mempcpy): Don't use BP_SYM.
31403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31404 <bp-sym.h> and <bp-asm.h>.
31405 (__memrchr): Don't use BP_SYM.
31406 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31407 <bp-sym.h> and <bp-asm.h>.
31408 (memset): Don't use BP_SYM.
31409 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31410 <bp-sym.h> and <bp-asm.h>.
31411 (__rawmemchr): Don't use BP_SYM.
31412 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31413 <bp-sym.h> and <bp-asm.h>.
31414 (__STRCMP): Don't use BP_SYM.
31415 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31416 <bp-sym.h> and <bp-asm.h>.
31417 (strchr): Don't use BP_SYM.
31418 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31419 <bp-sym.h> and <bp-asm.h>.
31420 (__strchrnul): Don't use BP_SYM.
31421 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31422 <bp-sym.h> and <bp-asm.h>.
31423 (strlen): Don't use BP_SYM.
31424 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31425 <bp-sym.h> and <bp-asm.h>.
31426 (strncmp): Don't use BP_SYM.
31427 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31428 <bp-sym.h> and <bp-asm.h>.
31429 (__strnlen): Don't use BP_SYM.
31430 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31432 (__mpn_rshift): Don't use BP_SYM.
31433 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31434 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31435 <bp-sym.h> and <bp-asm.h>.
31436 (__sigsetjmp): Don't use BP_SYM.
31437 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31438 (L(start_addresses)): Don't use BP_SYM.
31439 (_start): Likewise.
31440 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31442 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31443 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31444 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31445 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31447 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31448 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31449 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31450 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31452 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31454 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31455 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31457 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
31459 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31460 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31461 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31463 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
31465 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31467 (strncmp): Don't use BP_SYM,
31468 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31470 (__mpn_sub_n): Don't use BP_SYM.
31471 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31472 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31474 (__mpn_submul_1): Don't use BP_SYM.
31475 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31477 <bp-sym.h> and <bp-asm.h>.
31478 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31480 <bp-sym.h> and <bp-asm.h>.
31481 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31484 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31487 Use ZK to minimize writes to Z.
31488 (sub_magnitudes): Simplify code a bit.
31489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31490 Use ZK to minimize writes to Z.
31491 (sub_magnitudes): Simplify code a bit.
31493 2013-02-27 Roland McGrath <roland@hack.frob.com>
31495 * csu/gmon-start.c: Add special exception to license text.
31497 2013-02-27 Richard Henderson <rth@redhat.com>
31499 * scripts/config.guess: Update from config.git.
31500 * scripts/config.sub: Likewise.
31502 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31504 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31506 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31508 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31510 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31512 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31514 2013-02-26 Roland McGrath <roland@hack.frob.com>
31516 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31517 [$(build-shared = yes].
31519 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31521 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31522 (__mul): Reduce iterations for calculating mantissa.
31524 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31526 (__mpranred): Likewise.
31529 * malloc/memusagestat.c (main): Draw graphs for heap and stack
31530 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31532 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
31534 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31535 Define __attribute__.
31537 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31539 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31541 * posix/regex_internal.h (__attribute): Remove.
31542 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31543 (re_string_context_at): Likewise.
31544 (bitset_not): Use __attribute__ and mark function as possibly
31546 (bitset_merge): Likewise.
31547 (bitset_mask): Likewise.
31548 (re_string_char_size_at): Likewise.
31549 (re_string_wchar_at): Likewise.
31550 (re_string_elem_size_at): Likewise.
31552 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31554 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31558 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31562 (denorm): Likewise.
31563 (__dbl_mp): Likewise.
31564 (add_magnitudes): Likewise.
31565 (sub_magnitudes): Likewise.
31569 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31572 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31575 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31579 up changes with default code.
31580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31583 2013-02-24 Allan McRae <allan@archlinux.org>
31585 * manual/socket.texi (The Internet Namespace): Order menu items
31586 to match that in the file.
31588 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31589 node listing of the info page menu.
31591 2013-02-21 Joseph Myers <joseph@codesourcery.com>
31594 * sysdeps/i386/bp-asm.h: Remove file.
31595 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31596 (PARMS): Do not use macros from bp-asm.h.
31600 (__mpn_add_n): Do not use BP_SYM
31601 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31603 (PARMS): Do not use macros from bp-asm.h.
31606 (__mpn_addmul_1): Do not use BP_SYM
31607 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31609 (PARMS): Do not use macros from bp-asm.h.
31610 (SIGMSK): Likewise.
31611 (_setjmp): Likewise. Do not use BP_SYM.
31612 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31614 (PARMS): Do not use macros from bp-asm.h.
31615 (SIGMSK): Likewise.
31616 (setjmp): Likewise. Do not use BP_SYM.
31617 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31619 (PARMS): Do not use macros from bp-asm.h.
31620 (__frexp): Do not use BP_SYM.
31622 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31624 (PARMS): Do not use macros from bp-asm.h.
31625 (__frexpf): Do not use BP_SYM.
31626 (frexpf): Likewise.
31627 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31629 (PARMS): Do not use macros from bp-asm.h.
31630 (__frexpl): Do not use BP_SYM.
31631 (frexpl): Likewise.
31632 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31634 (PARMS): Do not use macros from bp-asm.h.
31635 (__remquo): Do not use BP_SYM.
31636 (remquo): Likewise.
31637 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31639 (PARMS): Do not use macros from bp-asm.h.
31640 (__remquof): Do not use BP_SYM.
31641 (remquof): Likewise.
31642 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31644 (PARMS): Do not use macros from bp-asm.h.
31645 (__remquol): Do not use BP_SYM.
31646 (remquol): Likewise.
31647 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31649 (PARMS): Do not use macros from bp-asm.h.
31652 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
31653 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31655 (PARMS): Do not use macros from bp-asm.h.
31656 (strlen): Do not use BP_SYM.
31657 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31659 (PARMS): Do not use macros from bp-asm.h.
31663 (__mpn_add_n): Do not use BP_SYM.
31664 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31666 (PARMS): Do not use macros from bp-asm.h.
31669 (__mpn_addmul_1): Do not use BP_SYM.
31670 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31673 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31675 (PARMS): Do not use macros from bp-asm.h.
31678 (__mpn_lshift): Do not use BP_SYM.
31679 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31681 (PARMS): Do not use macros from bp-asm.h.
31685 (memcpy): Likewise. Do not use BP_SYM.
31686 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31687 libc_hidden_def and weak_alias.
31688 (mempcpy): Do not use BP_SYM in weak_alias.
31689 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31691 (PARMS): Do not use macros from bp-asm.h.
31694 [!BZERO_P] (CHR): Likewise.
31695 (memset): Likewise. Do not use BP_SYM.
31696 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31698 (PARMS): Do not use macros from bp-asm.h.
31701 (__mpn_mul_1): Do not use BP_SYM.
31702 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31704 (PARMS): Do not use macros from bp-asm.h.
31707 (__mpn_rshift): Do not use BP_SYM.
31708 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31710 (PARMS): Do not use macros from bp-asm.h.
31713 (strchr): Likewise. Do not use BP_SYM.
31714 (index): Do not use BP_SYM in weak_alias.
31715 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31717 (PARMS): Do not use macros from bp-asm.h.
31720 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
31721 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31723 (PARMS): Do not use macros from bp-asm.h.
31724 (strlen): Do not use BP_SYM.
31725 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31727 (PARMS): Do not use macros from bp-asm.h.
31731 (__mpn_sub_n): Do not use BP_SYM.
31732 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31734 (PARMS): Do not use macros from bp-asm.h.
31737 (__mpn_submul_1): Do not use BP_SYM.
31738 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31740 (PARMS): Do not use macros from bp-asm.h.
31744 (__mpn_add_n): Do not use BP_SYM.
31745 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31748 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31750 (PARMS): Do not use macros from bp-asm.h.
31753 (memcmp): Do not use BP_SYM.
31754 (bcmp): Do not use BP_SYM in weak_alias.
31755 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31757 (PARMS): Do not use macros from bp-asm.h.
31761 (memcpy): Likewise. Do not use BP_SYM.
31762 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31764 (PARMS): Do not use macros from bp-asm.h.
31768 (memmove): Likewise. Do not use BP_SYM.
31769 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31771 (PARMS): Do not use macros from bp-asm.h.
31775 (__mempcpy): Likewise. Do not use BP_SYM.
31776 (mempcpy): Do not use BP_SYM in weak_alias.
31777 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31779 (PARMS): Do not use macros from bp-asm.h.
31782 [!BZERO_P] (CHR): Likewise.
31783 (memset): Likewise. Do not use BP_SYM.
31784 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31786 (PARMS): Do not use macros from bp-asm.h.
31788 (strcmp): Do not use BP_SYM.
31789 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31791 (PARMS): Do not use macros from bp-asm.h.
31794 [USE_AS_STRTOK_R] (SAVE): Likewise.
31795 (FUNCTION): Likewise. Do not use BP_SYM.
31796 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31798 (strtok_r): Likewise.
31799 (__GI___strtok_r): Likewise.
31800 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31801 (PARMS): Do not use macros from bp-asm.h.
31804 (__mpn_lshift): Do not use BP_SYM.
31805 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31806 (PARMS): Do not use macros from bp-asm.h.
31809 (__memchr): Do not use BP_SYM.
31810 (memchr): Do not use BP_SYM in weak_alias.
31811 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31812 (PARMS): Do not use macros from bp-asm.h.
31815 (memcmp): Do not use BP_SYM.
31816 (bcmp): Do not use BP_SYM in weak_alias.
31817 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31818 (PARMS): Do not use macros from bp-asm.h.
31821 (__mpn_mul_1): Do not use BP_SYM.
31822 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31824 (PARMS): Do not use macros from bp-asm.h.
31827 (__rawmemchr): Do not use BP_SYM.
31828 (rawmemchr): Do not use BP_SYM in weak_alias.
31829 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31830 (PARMS): Do not use macros from bp-asm.h.
31833 (__mpn_rshift): Do not use BP_SYM.
31834 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31835 (PARMS): Do not use macros from bp-asm.h.
31836 (SIGMSK): Likewise.
31837 (__sigsetjmp): Likewise. Do not use BP_SYM.
31838 * sysdeps/i386/start.S: Do not include "bp-sym.h".
31839 (_start): Do not use BP_SYM.
31840 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31841 (PARMS): Do not use macros from bp-asm.h.
31844 (__stpcpy): Likewise. Do not use BP_SYM.
31845 (stpcpy): Do not use BP_SYM in weak_alias.
31846 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31848 (PARMS): Do not use macros from bp-asm.h.
31852 (__stpncpy): Likewise. Do not use BP_SYM.
31853 (stpncpy): Do not use BP_SYM in weak_alias.
31854 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31855 (PARMS): Do not use macros from bp-asm.h.
31858 (strchr): Likewise. Do not use BP_SYM.
31859 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31861 (PARMS): Do not use macros from bp-asm.h.
31864 (__strchrnul): Likewise. Do not use BP_SYM.
31865 (strchrnul): Do not use BP_SYM in weak_alias.
31866 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31868 (PARMS): Do not use macros from bp-asm.h.
31870 (strcspn): Do not use BP_SYM.
31871 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31873 (PARMS): Do not use macros from bp-asm.h.
31876 (strpbrk): Likewise. Do not use BP_SYM.
31877 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31879 (PARMS): Do not use macros from bp-asm.h.
31882 (strrchr): Likewise. Do not use BP_SYM.
31883 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31884 (PARMS): Do not use macros from bp-asm.h.
31886 (strspn): Do not use BP_SYM.
31887 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31888 (PARMS): Do not use macros from bp-asm.h.
31892 (FUNCTION): Likewise. Do not use BP_SYM.
31893 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31895 (strtok_r): Likewise.
31896 (__GI___strtok_r): Likewise.
31897 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31898 (PARMS): Do not use macros from bp-asm.h.
31902 (__mpn_sub_n): Do not use BP_SYM.
31903 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31905 (PARMS): Do not use macros from bp-asm.h.
31908 (__mpn_submul_1): Do not use BP_SYM.
31909 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31911 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31913 (PARMS): Do not use macros from bp-asm.h.
31918 (__clone): Do not use BP_SYM.
31919 (clone): Do not use BP_SYM in weak_alias.
31920 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31922 (PARMS): Do not use macros from bp-asm.h.
31924 (__mmap64): Do not use BP_SYM.
31925 (mmap64): Do not use BP_SYM in weak_alias.
31926 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31927 <bp-sym.h> and <bp-asm.h>.
31928 (PARMS): Do not use macros from bp-asm.h.
31929 (__posix_fadvise64_l64): Do not use BP_SYM.
31930 * sysdeps/unix/sysv/linux/i386/semtimedop.S
31931 (PARMS): Do not use macros from bp-asm.h.
31933 (semtimedop): Do not use BP_SYM.
31934 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31937 2013-02-21 Allan McRae <allan@archlinux.org>
31939 * manual/message.texi (Charset conversion in gettext):
31940 Move @end statement to beginning of line.
31942 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31949 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31950 (denorm): Likewise.
31951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31954 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31956 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31957 tail-call to the resolved function if pltexit isn't needed.
31959 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31962 or Y being zero as being unlikely.
31963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31966 2013-02-20 Carlos O'Donell <carlos@redhat.com>
31968 * manual/nss.texi (System Databases and Name Service Switch):
31969 Remove frobnicate @pxref.
31971 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
31973 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31974 __attribute__ ((unused)) to __attribute__ ((__unused__)).
31976 2013-02-20 Petr Machata <pmachata@redhat.com>
31978 * elf/elf.h (R_ARM_TARGET1): New macro.
31979 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31980 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31981 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31982 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31983 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31984 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31985 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31986 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31987 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31988 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31989 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31990 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31991 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31992 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31993 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31994 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31995 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31996 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31997 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31998 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31999 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32000 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32001 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32002 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32003 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32004 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32005 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32006 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32007 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32008 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32009 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32010 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32011 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32012 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32013 (R_ARM_THM_GOT_BREL12): Likewise.
32014 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32015 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32016 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32017 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32018 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32019 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32020 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32021 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32022 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32024 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32026 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32027 __attribute_used__ to __attribute__ ((unused)).
32029 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32031 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32034 comment formatting.
32035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32037 2013-02-19 Joseph Myers <joseph@codesourcery.com>
32040 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32042 (ENTER): Remove both macro definitions.
32044 (CHECK_BOUNDS_LOW): Likewise.
32045 (CHECK_BOUNDS_HIGH): Likewise.
32046 (CHECK_BOUNDS_BOTH): Likewise.
32047 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32048 (RETURN_BOUNDED_POINTER): Likewise.
32049 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32050 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32051 (POP_ERRNO_LOCATION_RETURN): Likewise.
32052 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32053 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32054 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32056 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32057 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32058 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32059 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32060 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32061 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32062 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32063 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32064 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32065 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32066 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32067 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32068 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32069 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32071 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32072 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32074 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32075 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32076 * sysdeps/i386/i586/memset.S (memset): Likewise.
32077 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32078 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32079 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32081 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32082 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32083 Change uses of L(2) to L(out).
32084 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32085 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32086 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32087 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32088 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32090 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32091 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32093 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32094 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32095 (RETURN): Do not use macro LEAVE.
32096 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32097 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32098 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32099 * sysdeps/i386/i686/memset.S (memset): Likewise.
32100 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32101 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32102 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32103 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32105 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32106 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32107 L(1_2) and L(1_3) into L(1).
32108 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32109 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32110 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32111 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32112 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32113 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32114 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32115 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32116 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32118 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32119 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32120 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32121 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32122 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32123 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32124 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32125 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32126 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32127 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32128 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32129 * sysdeps/i386/strspn.S (strspn): Likewise.
32130 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32132 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32133 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32134 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32135 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32136 L(1_3) into L(1_1).
32137 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32138 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32139 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32141 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32143 2013-02-19 Jakub Jelinek <jakub@redhat.com>
32145 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32148 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32150 * math/atest-exp.c (exp_mpn): Remove ROUND.
32151 * math/atest-exp2.c (exp_mpn): Likewise.
32152 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32154 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32155 * stdlib/tst-tls-atexit-lib.c: Likewise.
32156 * stdlib/tst-tls-atexit.c: Likewise.
32158 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32160 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32161 and __attribute_alloc_size__.
32163 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32165 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32166 __attribute_alloc_size__.
32167 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32168 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32170 2013-02-18 Mike Frysinger <vapier@gentoo.org>
32172 * include/programs/xmalloc.h: New file.
32173 * catgets/gencat.c: Include it.
32174 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32175 * elf/pldd.c: Likewise.
32176 * iconv/iconv_charmap.c: Likewise.
32177 * iconv/iconvconfig.c: Likewise.
32178 * iconv/strtab.c: Likewise.
32179 * locale/programs/locale.c: Likewise.
32180 * locale/programs/localedef.h: Likewise.
32181 * locale/programs/simple-hash.c: Likewise.
32182 * nscd/nscd.h: Likewise.
32183 * nss/makedb.c: Likewise.
32184 * sysdeps/generic/ldconfig.h: Likewise.
32186 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32188 * Versions.def: Add GLIBC_2.18.
32189 * include/link.h (struct link_map): New member l_tls_dtor_count.
32190 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32191 (__call_tls_dtors): Likewise.
32192 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32193 __cxa_thread_atexit_impl.
32194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32210 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32211 (tests): Add test case tst-tls-atexit.
32212 (modules-names): Add shared library for tst-tls-atexit.
32213 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32214 (GLIBC_PRIVATE): Add __call_tls_dtors.
32215 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32217 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32218 * stdlib/tst-tls-atexit.c: New test case.
32219 * stdlib/tst-tls-atexit-lib.c: New test case.
32221 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32223 * elf/Versions (ld): Add _dl_find_dso_for_object.
32224 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32225 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32226 (dl_open_worker): Use _dl_find_dso_for_object.
32227 * elf/dl-sym.c (do_sym): Likewise.
32228 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32230 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32232 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32233 Syntactic changes only.
32234 (_dl_runtime_profile): Do a tail-call to the resolved function.
32236 2013-02-17 Joseph Myers <joseph@codesourcery.com>
32239 * sysdeps/x86_64/bp-asm.h: Remove file.
32240 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32241 <bp-sym.h> and <bp-asm.h>.
32242 (__clone): Do not use BP_SYM.
32243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32244 <bp-sym.h> and <bp-asm.h>.
32245 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32246 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32248 (_setjmp): Do not use BP_SYM.
32249 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32251 (setjmp): Do not use BP_SYM.
32252 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32254 (mempcpy): Do not use BP_SYM in weak_alias.
32255 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32257 (strchr): Do not use BP_SYM.
32258 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32260 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32261 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32262 (_start): Do not use BP_SYM.
32263 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32265 (strcat): Do not use BP_SYM.
32266 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32268 (STRCMP): Do not use BP_SYM.
32269 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32271 (STRCPY): Do not use BP_SYM.
32272 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32274 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32276 (FUNCTION): Do not use BP_SYM.
32277 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32279 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32281 2013-02-17 Andreas Jaeger <aj@suse.de>
32283 * time/Versions: Sort entries.
32284 * string/Versions: Likewise.
32285 * resolv/Versions: Likewise.
32286 * posix/Versions: Likewise.
32287 * iconv/Versions: Likewise.
32288 * elf/Versions: Likewise.
32289 * wcsmbs/Versions: Likewise.
32291 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32293 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32294 loop termination condition.
32296 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32297 variable to calculate EZ.
32300 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32301 the lower precision input.
32303 2013-02-15 Joseph Myers <joseph@codesourcery.com>
32306 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32307 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32308 (run-via-rtld-prefix): Do not handle %-bp tests.
32309 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32310 (all-object-suffixes): Remove .ob.
32311 (bppfx): Remove variable.
32312 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32313 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32314 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32315 [$(build-bounded) = yes] (libtype.ob): Likewise.
32316 * Makerules (elide-routines.ob): Remove variable.
32317 (do-tests-clean): Do not handle *-bp.out.
32318 (common-mostlyclean): Do not handle *-bp and *-bp.out.
32319 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32320 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32321 (tests): Do not include $(tests-bp.out).
32322 (xtests): Do not include $(xtests-bp.out).
32323 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32324 [$(build-bounded) = yes] ($(addprefix
32325 $(objpfx),$(binaries-bounded))): Remove rule.
32326 ($(objpfx)%-bp.out): Remove rule.
32327 * config.make.in (build-bounded): Remove variable.
32328 * crypt/Makefile [$(build-bounded) = yes]
32329 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32330 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32331 append to variable.
32332 [$(build-bounded) = yes] (install-lib): Likewise.
32333 [$(build-bounded) = yes] (generated): Likewise.
32334 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32336 * intl/Makefile [$(build-bounded) = yes]
32337 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32338 * math/Makefile [$(build-bounded) = yes]
32339 ($(tests:%=$(objpfx)%-bp): Likewise.
32340 * misc/Makefile [$(build-bounded) = yes]
32341 ($(objpfx)tst-tsearch-bp): Likewise.
32342 * nptl/Makeconfig (bounded-thread-library): Remove variable.
32343 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32345 * string/Makefile (o-objects.ob): Remove variable.
32346 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32347 (CFLAGS-.ob): Remove variable.
32348 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32349 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32350 both definitions of variable.
32351 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32352 (ASFLAGS-.ob): Remove variable.
32354 2013-02-14 Joseph Myers <joseph@codesourcery.com>
32357 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32358 Remove __BOUNDED_POINTERS__ from condition.
32359 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32360 * string/bits/string2.h [!__NO_STRING_INLINES &&
32361 !__BOUNDED_POINTERS__]: Likewise.
32362 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32364 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32365 Remove conditional code.
32366 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32367 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32368 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32372 * csu/libc-start.c: Do not include <bp-sym.h>.
32373 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32374 * elf/dl-open.c: Do not include <bp-sym.h>.
32375 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32376 * math/fegetenv.c: Do not include <bp-sym.h>.
32377 (fegetenv): Do not use BP_SYM in versioned symbols.
32378 * nptl/sysdeps/pthread/bits/libc-lockP.h
32379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32382 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32384 (__pthread_mutex_destroy): Likewise.
32385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32386 (__pthread_mutex_lock): Likewise.
32387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32388 (__pthread_mutex_trylock): Likewise.
32389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32390 (__pthread_mutex_unlock): Likewise.
32391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32392 (__pthread_mutexattr_init): Likewise.
32393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32394 (__pthread_mutexattr_destroy): Likewise.
32395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32396 (__pthread_mutexattr_settype): Likewise.
32397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32398 (__pthread_rwlock_init): Likewise.
32399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32400 (__pthread_rwlock_destroy): Likewise.
32401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32402 (__pthread_rwlock_rdlock): Likewise.
32403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32404 (__pthread_rwlock_tryrdlock): Likewise.
32405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32406 (__pthread_rwlock_wrlock): Likewise.
32407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32408 (__pthread_rwlock_trywrlock): Likewise.
32409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32410 (__pthread_rwlock_unlock): Likewise.
32411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32412 (__pthread_key_create): Likewise.
32413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32414 (__pthread_setspecific): Likewise.
32415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32416 (__pthread_getspecific): Likewise.
32417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32420 (_pthread_cleanup_push_defer): Likewise.
32421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32422 (_pthread_cleanup_pop_restore): Likewise.
32423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32424 (pthread_setcancelstate): Likewise.
32425 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32427 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32428 (memchr): Do not use BP_SYM in weak_alias.
32429 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32430 (fegetenv): Do not use BP_SYM in versioned symbols.
32431 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32432 (fesetenv): Do not use BP_SYM in versioned symbols.
32433 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32434 (feupdateenv): Do not use BP_SYM in versioned symbols.
32435 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32436 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32437 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32438 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32439 (open64): Do not use BP_SYM in weak_alias.
32440 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32441 (fegetenv): Do not use BP_SYM in versioned symbols.
32442 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32443 (fesetenv): Do not use BP_SYM in versioned symbols.
32444 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32445 (feupdateenv): Do not use BP_SYM in versioned symbols.
32446 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32447 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32448 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32449 (feraiseexcept): Do not use BP_SYM in versioned symbols.
32450 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32451 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32452 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32454 (__libc_start_main): Do not use BP_SYM.
32456 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32459 redundant return line.
32461 (denorm): Likewise.
32462 (dbl_mp): Likewise.
32463 (sub_magnitudes): Likewise.
32469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32471 (denorm): Likewise.
32472 (dbl_mp): Likewise.
32473 (sub_magnitudes): Likewise.
32480 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32483 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32486 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32487 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32489 of __mul for squares.
32490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32494 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32495 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32497 2013-02-13 Joseph Myers <joseph@codesourcery.com>
32500 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32502 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32503 prototype or function definition. Rename ubp_* variables and
32504 parameters. Remove argv definitions conditional on
32505 [__BOUNDED_POINTERS__].
32506 * debug/backtrace.c (__backtrace): Do not use __unbounded.
32507 * elf/dl-runtime.c (_dl_fixup): Likewise.
32508 * include/set-hooks.h (RUN_HOOK): Likewise.
32509 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32511 * string/strcpy.c (strcpy): Do not use __unbounded.
32512 * sysdeps/generic/frame.h (struct layout): Likewise.
32513 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32514 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32515 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32516 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32517 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32518 (__backtrace): Likewise.
32519 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32521 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32522 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32523 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32525 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32526 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32527 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32528 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32529 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32530 Do not use __unbounded.
32531 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32532 Rename __unboundedrlimits parameter to rlimits in prototype.
32533 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32534 Do not use __unbounded.
32535 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32536 not use __ptrvalue.
32537 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32538 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32539 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32540 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32541 __ptrvalue or __unbounded.
32542 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32543 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32545 (__new_msgctl): Do not use __ptrvalue.
32546 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32548 (__libc_msgrcv): Do not use __ptrvalue.
32549 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32550 startup_info): Do not use __unbounded.
32551 (__libc_start_main): Likewise. Rename ubp_* variables and
32552 parameters. Remove argv definitions conditional on
32553 [__BOUNDED_POINTERS__].
32554 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32556 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32560 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32562 (__new_shmctl): Do not use __ptrvalue.
32563 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32564 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32566 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32567 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32568 (__libc_sigaction): Likewise.
32569 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32570 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32572 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32574 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
32576 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32578 * string/mempcpy.c: Implement by calling memcpy.
32580 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
32582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32588 values in the mantissa.
32590 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32591 minimize writes to Z.
32592 (sub_magnitudes): Simplify code a bit.
32594 2013-02-12 Roland McGrath <roland@hack.frob.com>
32596 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32597 from the message. The linker prefixes all warnings with that already.
32599 2013-02-12 Andreas Schwab <schwab@suse.de>
32602 * posix/regexec.c (extend_buffers): Add parameter min_len.
32603 (check_matching): Pass minimum needed length.
32604 (clean_state_log_if_needed): Likewise.
32605 (get_subexp): Likewise.
32606 * posix/Makefile (tests): Add bug-regex34.
32607 (bug-regex34-ENV): Define.
32608 * posix/bug-regex34.c: New file.
32611 * posix/regcomp.c (parse_bracket_exp): When looking up collating
32612 elements compare against the byte sequence of it, not its name.
32613 * posix/Makefile (tests): Add bug-regex35.
32614 (bug-regex35-ENV): Define.
32615 * posix/bug-regex35.c: New file.
32617 2013-02-11 Tom de Vries <tom@codesourcery.com>
32619 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
32621 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32622 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32623 (CHECK_EOL): Add undef.
32625 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
32627 * bits/stdlib-bsearch.h: New file.
32628 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32629 * stdlib/stdlib.h: Likewise.
32631 2013-02-11 Roland McGrath <roland@hack.frob.com>
32633 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32634 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32636 * manual/search.texi (Array Search Function): Add missing const in
32638 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32639 declaration to use rlim_t.
32640 (Basic Scheduling Functions): Remove erroneous const from
32641 sched_getparam prototype. Remove erroneous * from
32642 sched_get_priority_max and sched_get_priority_min prototypes.
32643 (Resource Usage): Fix summary @comment on vtimes to refer to
32644 sys/vtimes.h rather than vtimes.h.
32645 Add missing *s in vtimes prototype.
32646 (Limits on Resources): Fix ulimit prototype to return long int.
32647 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32648 prototypes to use long int rather than double.
32649 (BSD Random): Fix initstate and setstate to use char *, not void *.
32650 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32651 prototype to make second argument 'struct aiocb64 *const[]'.
32652 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32653 (Status of AIO Operations): Remove erroneous const in aio_return and
32654 aio_return64 prototypes.
32655 (Synchronizing I/O): Fix sync prototype to return void.
32656 * manual/startup.texi (Suboptions): Remove an erroneous const in
32657 getsubopt prototype.
32658 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32659 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32660 use size_t rather than int.
32661 (Scanning All Users): Likewise for getpwent_r.
32662 (Setting Groups): Add missing const to setgroups prototype.
32663 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32664 * manual/socket.texi (Host Names): Fix gethostbyaddr and
32665 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32666 'const void *' rather than 'const char *'.
32667 (Host Address Functions): Likewise for inet_ntop.
32668 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32669 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32670 ssize_t for return value.
32671 (Sending Data): Likewise for send, sendto, sendmsg.
32672 (Socket Option Functions): Add a missing const in setsockopt prototype.
32673 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32674 use wchar_t for the argument.
32675 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32676 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32678 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32679 double/float/long double for second argument.
32680 Fix return types of significand, significandf, significandl.
32681 * manual/filesys.texi (Setting Permissions): Use mode_t for second
32682 argument in fchmod prototype.
32683 (File Owner): Use uid_t and gid_t in fchown prototype.
32684 (File Times): Add const to utimes, futimes, and lutimes prototypes.
32685 (Making Special Files): Use mode_t and dev_t in mknod prototype.
32686 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32687 use 'const struct dirent **' as argument types to CMP function pointer
32689 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32690 (File Times): Fix summary magic @comment for struct utimbuf and utime
32691 to refer to utime.h, not time.h.
32692 * manual/string.texi (Argz Functions): Add missing const in
32693 argz_extract and argz_next prototypes.
32694 (Finding Tokens in a String): Likewise for basename.
32695 (String/Array Comparison): Fix typo in wcscasecmp prototype.
32696 (Copying and Concatenation): Fix typo in wmemmove prototype.
32697 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32698 (Signal Stack): Remove erroneous const in sigstack prototype.
32699 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32701 (Simple Calendar Time): Likewise for stime.
32702 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32704 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32705 say sys/sysctl.h instead.
32706 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32707 and vsyslog prototypes.
32709 2013-02-11 Tom de Vries <tom@codesourcery.com>
32711 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32714 2013-02-11 Roland McGrath <roland@hack.frob.com>
32716 * misc/sys/mman.h: Fix typo in mremap comment.
32718 2013-02-08 Roland McGrath <roland@hack.frob.com>
32720 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32721 the '\0' terminator.
32723 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32726 * debug/segfault.c: Don't include <bp-checks.h>.
32727 * sysdeps/generic/bp-checks.h: Remove file.
32728 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32729 (__GETDENTS): Don't use CHECK_N.
32730 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32731 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32732 (__getgroups): Don't use CHECK_N.
32733 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32734 (setgroups): Don't use CHECK_N.
32735 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32736 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32737 (__libc_msgrcv): Don't use CHECK_N.
32738 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32739 (__libc_msgsnd): Don't use CHECK_N.
32740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32742 (__libc_pread): Don't use CHECK_N.
32743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32744 include <bp-checks.h>.
32745 (__libc_pread64): Don't use CHECK_N.
32746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32747 include <bp-checks.h>.
32748 (__libc_pwrite): Don't use CHECK_N.
32749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32750 include <bp-checks.h>.
32751 (__libc_pwrite64): Don't use CHECK_N.
32752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32754 (__libc_pread): Don't use CHECK_N.
32755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32756 include <bp-checks.h>.
32757 (__libc_pread64): Don't use CHECK_N.
32758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32759 include <bp-checks.h>.
32760 (__libc_pwrite): Don't use CHECK_N.
32761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32762 include <bp-checks.h>.
32763 (__libc_pwrite64): Don't use CHECK_N.
32764 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32765 (do_pread): Don't use CHECK_N.
32766 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32767 (do_pread64): Don't use CHECK_N.
32768 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32769 (do_pwrite): Don't use CHECK_N.
32770 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32771 (do_pwrite64): Don't use CHECK_N.
32772 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32773 (__libc_readv): Don't use CHECK_N.
32774 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32775 (semop): Don't use CHECK_N.
32776 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32778 (semtimedop): Don't use CHECK_N.
32779 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32780 (__libc_pread): Don't use CHECK_N.
32781 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32783 (__libc_pread64): Don't use CHECK_N.
32784 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32786 (__libc_pwrite): Don't use CHECK_N.
32787 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32789 (__libc_pwrite64): Don't use CHECK_N.
32790 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32792 (__libc_msgrcv): Don't use CHECK_N.
32793 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32794 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
32795 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32796 (__libc_writev): Don't use CHECK_N.
32798 2013-02-08 Roland McGrath <roland@hack.frob.com>
32800 * string/strcpy.c: Removed unused variable.
32802 * Makeconfig (+sysdep-includes): Define with := rather than =.
32803 Use an existing include/ subdir of each sysdeps dir before it.
32805 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32807 * nscd/connection.c (register_traced_file): Comment function.
32808 [HAVE_INOTIFY] (union __inev): Define.
32809 [HAVE_INOTIFY] (inotify_check_files): New function.
32810 [HAVE_INOTIFY] (clear_db_cache): Likewise.
32811 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32813 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32815 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32817 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32818 loaded if not already and that a failure is permanent.
32820 2013-02-08 Carlos O'Donell <carlos@redhat.com>
32823 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32824 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32826 2013-02-08 Joseph Myers <joseph@codesourcery.com>
32829 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32830 (CHECK_1_NULL_OK): Likewise.
32831 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32832 (__fxstat): Do not use CHECK_1.
32833 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32835 (___fxstat64): Do not use CHECK_1.
32836 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32838 (__fxstatat): Do not use CHECK_1.
32839 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32841 (__fxstatat64): Do not use CHECK_1.
32842 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32844 (__fxstat): Do not use CHECK_1.
32845 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32847 (__fxstatat): Do not use CHECK_1.
32848 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32850 (__getresgid): Do not use CHECK_1.
32851 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32853 (__getresuid): Do not use CHECK_1.
32854 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32856 (__lxstat): Do not use CHECK_1.
32857 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32859 (__old_msgctl): Do not use CHECK_1.
32860 (__new_msgctl): Likewise.
32861 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32863 (__new_setrlimit): Do not use CHECK_1.
32864 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32866 (__old_shmctl): Do not use CHECK_1.
32867 (__new_shmctl): Likewise.
32868 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32870 (__xstat): Do not use CHECK_1.
32871 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32872 (__lxstat): Do not use CHECK_1.
32873 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32875 (___lxstat64): Do not use CHECK_1.
32876 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32877 (__old_msgctl): Do not use CHECK_1.
32878 (__new_msgctl): Likewise.
32879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32881 (__gettimeofday): Do not use CHECK_1.
32882 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32883 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32884 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32886 (__gettimeofday): Do not use CHECK_1.
32887 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32888 (__old_shmctl): Do not use CHECK_1_NULL_OK.
32889 (__new_shmctl): Do not use CHECK_1.
32890 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32892 (do_sigtimedwait): Do not use CHECK_1.
32893 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32895 (do_sigwaitinfo): Do not use CHECK_1.
32896 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32898 (msgctl): Do not use CHECK_1.
32899 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32901 (shmctl): Do not use CHECK_1.
32902 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32903 (ustat): Do not use CHECK_1.
32904 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32906 (__fxstat): Do not use CHECK_1.
32907 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32909 (__fxstatat): Do not use CHECK_1.
32910 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32912 (__lxstat): Do not use CHECK_1.
32913 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32915 (__xstat): Do not use CHECK_1.
32916 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32917 (__xstat): Do not use CHECK_1.
32918 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32919 (___xstat64): Do not use CHECK_1.
32922 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32924 (CHECK_BOUNDS_HIGH): Likewise.
32925 * string/strcpy.c: Do not include <bp-checks.h>.
32926 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32928 2013-02-07 Roland McGrath <roland@hack.frob.com>
32930 * nscd/nscd-client.h (__nscd_drop_map_ref):
32931 Add __attribute__ ((unused)).
32932 * nis/nss-nisplus.h (niserr2nss): Likewise.
32934 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32935 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32937 * csu/libc-tls.c (init_static_tls, init_slotinfo):
32938 Remove inline keyword.
32939 * include/rounding-mode.h (round_away): Likewise.
32940 * libio/wfileops.c (adjust_wide_data): Likewise.
32941 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32942 (__m128i_strloadu_tolower): Likewise.
32943 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32944 (__m128i_strloadu_tolower): Likewise.
32945 * time/mktime.c (ydhms_diff): Likewise.
32946 * locale/elem-hash.h (elem_hash): Likewise.
32947 * locale/setlocale.c (setdata): Likewise.
32948 * posix/regex_internal.h (re_string_char_size_at): Likewise.
32949 (re_string_wchar_at): Likewise.
32950 (bitset_not, bitset_merge, bitset_mask): Likewise.
32951 [!(__GNUC__ > 3)] (inline): Remove macro.
32952 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32953 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32954 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32955 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32956 * string/memcmp.c (memcmp_bytes): Likewise.
32957 * locale/programs/locarchive.c (compute_hashval): Likewise.
32958 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32959 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32960 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32961 * nss/getent.c (print_rpc, print_protocols): Likewise.
32962 (print_passwd, print_group, print_aliases): Likewise.
32963 * nis/nss-nisplus.h (niserr2nss): Likewise.
32964 * nscd/connections.c (restart_p): Likewise.
32965 Change return type to bool.
32967 2013-02-05 Roland McGrath <roland@hack.frob.com>
32969 * Makeconfig (all-Depend-files): Add existing
32970 $(sorted-subdirs:=/Depend) files.
32971 (all-subdirs): Remove nss.
32972 * sysdeps/unix/inet/Subdirs: Add it here instead.
32973 * hesiod/Depend: New file.
32975 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32976 instead of calling alloca.
32978 * io/lseek.c (__lseek): Rename to __libc_lseek.
32979 Define __lseek as an alias.
32981 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32983 2013-02-04 Carlos O'Donell <carlos@redhat.com>
32985 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32986 else clause and remove check for non-standard endianness.
32988 2013-02-04 David S. Miller <davem@davemloft.net>
32990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32992 2013-02-04 Joseph Myers <joseph@codesourcery.com>
32995 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32996 (__ubp_memchr): Remove prototype.
32997 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32998 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32999 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33000 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33001 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33003 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33004 (__ubp_memchr): Likewise.
33005 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33006 (__ubp_memchr): Likewise.
33007 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33008 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33009 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33010 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33012 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33013 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33014 (__getcwd): Do not use CHECK_STRING.
33015 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33017 (__real_chown): Do not use CHECK_STRING.
33018 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33020 (fchownat): Do not use CHECK_STRING.
33021 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33023 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33025 (__lchown): Do not use CHECK_STRING.
33026 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33027 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33028 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33029 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33031 include <bp-checks.h>.
33032 (truncate64): Do not use CHECK_STRING.
33033 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33035 (__real_chown): Do not use CHECK_STRING.
33036 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33038 (__lchown): Do not use CHECK_STRING.
33039 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33041 (__chown): Do not use CHECK_STRING.
33042 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33044 (truncate64): Do not use CHECK_STRING.
33045 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33047 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33048 (__xmknod): Do not use CHECK_STRING.
33049 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33051 (__xmknodat): Do not use CHECK_STRING.
33052 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33053 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33055 2013-02-04 Andreas Schwab <schwab@suse.de>
33058 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33059 * include/netdb.h: Likewise for h_errno.
33060 * elf/tst-stackguard1.c: Include <tls.h>.
33062 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33064 * elf/link.h (struct link_map): Extend the l_addr comment.
33065 * include/link.h (struct link_map): Likewise.
33067 2013-02-01 Joseph Myers <joseph@codesourcery.com>
33070 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33071 (BOUNDED_1): Remove macro.
33072 * debug/backtrace.c: Don't include <bp-checks.h>.
33073 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33074 (__backtrace): Likewise.
33075 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33077 (__backtrace): Don't use BOUNDED_1.
33078 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33080 (__backtrace): Don't use BOUNDED_1.
33081 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33082 (__backtrace): Don't use BOUNDED_1.
33083 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33084 (shmat): Don't use BOUNDED_N.
33086 2013-01-31 Joseph Myers <joseph@codesourcery.com>
33089 * sysdeps/generic/bp-start.h: Remove file.
33090 * csu/libc-start.c: Don't include <bp-start.h>.
33091 (LIBC_START_MAIN): Set up __environ directly instead of using
33092 INIT_ARGV_and_ENVIRON.
33093 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33097 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33099 (CHECK_FCNTL): Likewise.
33100 (CHECK_N_PAGES): Likewise.
33103 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33105 (CHECK_SIGSET_NULL_OK): Likewise.
33106 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33108 (sigpending): Don't use CHECK_SIGSET.
33109 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33111 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33112 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33114 (do_sigsuspend): Don't use CHECK_SIGSET.
33115 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33117 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33118 (do_sigwait): Don't use CHECK_SIGSET.
33119 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33121 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33122 include <bp-checks.h>.
33123 (sigpending): Don't use CHECK_SIGSET.
33124 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33125 include <bp-checks.h>.
33126 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33127 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33129 (sigpending): Don't use CHECK_SIGSET.
33130 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33132 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33135 * sysdeps/generic/bp-semctl.h: Remove file.
33136 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33137 <bp-checks.h> and <bp-semctl.h>.
33138 (__old_semctl): Don't use CHECK_SEMCTL.
33139 (__new_semctl): Likewise.
33140 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33142 (__old_semctl): Don't use CHECK_SEMCTL.
33143 (__new_semctl): Likewise.
33144 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33145 <bp-checks.h> and <bp-semctl.h>.
33146 (__old_semctl): Don't use CHECK_SEMCTL.
33147 (__new_semctl): Likewise.
33148 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33149 <bp-checks.h> and <bp-semctl.h>.
33150 (semctl): Don't use CHECK_SEMCTL.
33153 * Makerules (elide-bp-thunks): Remove variable.
33154 (elide-routines.oS): Don't use $(elide-bp-thunks).
33155 (elide-routines.os): Likewise.
33156 (elide-routines.o): Likewise.
33157 (elide-routines.op): Likewise.
33158 (elide-routines.og): Likewise.
33159 (objects): Don't use $(bp-thunks).
33160 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33162 (common-generated): Do not add s-proto-bp.d.
33163 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33166 Do not generate makefile rules for bounded-pointer thunks.
33167 * sysdeps/generic/bp-thunks.h: Remove file.
33168 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33169 * sysdeps/unix/s-proto-bp.S: Likewise.
33172 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33173 parts of result separately when argument is not close to line from
33174 -i to i and one part of argument is small.
33175 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33176 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33177 * math/libm-test.inc (cacos_test): Add more tests.
33178 (casin_test): Likewise.
33179 (casinh_test): Likewise.
33180 * sysdeps/i386/fpu/libm-test-ulps: Update.
33181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33183 2013-01-31 David S. Miller <davem@davemloft.net>
33185 * po/de.po: Update from translation team.
33187 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33189 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33191 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33193 * configure.in (_AC_PROG_CC_C89): New definition.
33194 * configure: Regenerate.
33196 * configure.in (AC_PROG_CPP): New definition.
33197 * configure: Regenerate.
33199 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33201 * debug/tst-backtrace.h: New file.
33202 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33203 (ret): Remove variable.
33205 (FAIL): Remove macro.
33206 (NO_INLINE): Likewise.
33207 (fn1): Use match function instead of strstr.
33208 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33209 (ret): Remove variable.
33211 (FAIL): Remove macro.
33212 (NO_INLINE): Likewise.
33213 (fn): Use match function instead of strstr.
33214 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33215 (ret): Remove variable.
33217 (FAIL): Remove macro.
33218 (NO_INLINE): Likewise.
33219 (handle_signal): Use match function instead of strstr.
33220 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33221 (ret): Remove variable.
33223 (FAIL): Remove macro.
33224 (NO_INLINE): Likewise.
33225 (handle_signal): Use match function instead of strstr.
33227 2013-01-23 Roland McGrath <roland@hack.frob.com>
33229 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33231 2013-01-23 David S. Miller <davem@davemloft.net>
33233 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33234 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33235 argument of CAS if possible.
33236 * sysdeps/sparc/sparc64/bits/atomic.h
33237 (__arch_compare_and_exchange_val_32_acq): Likewise.
33238 (__arch_compare_and_exchange_val_64_acq): Likewise.
33240 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33242 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33243 * sysdeps/posix/ulimit.c: ... this.
33244 Include <limits.h>.
33245 * sysdeps/unix/bsd/ulimit.c: Remove file.
33247 2013-01-23 Adam Conrad <adconrad@0c3.net>
33249 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33250 (LDFLAGS-tst-array5): Likewise.
33252 2013-01-23 Joseph Myers <joseph@codesourcery.com>
33255 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33256 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33257 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33258 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33260 2013-01-21 David S. Miller <davem@davemloft.net>
33262 * sysdeps/sparc/backtrace.c: New file.
33263 * sysdeps/sparc/sparc32/backtrace.h: New file.
33264 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33265 * sysdeps/sparc/sparc64/backtrace.h: New file.
33266 * sysdeps/sparc/sparc64/backtrace.c: Delete.
33267 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33270 2013-01-21 Andreas Schwab <schwab@suse.de>
33273 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33276 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
33278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33282 2013-01-18 Joseph Myers <joseph@codesourcery.com>
33283 Mark Mitchell <mark@codesourcery.com>
33284 Tom de Vries <tom@codesourcery.com>
33285 Paul Pluzhnikov <ppluzhnikov@google.com>
33287 * debug/tst-backtrace2.c: New file.
33288 * debug/tst-backtrace3.c: Likewise.
33289 * debug/tst-backtrace4.c: Likewise.
33290 * debug/tst-backtrace5.c: Likewise.
33291 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33292 (CFLAGS-tst-backtrace3.c): Likewise.
33293 (CFLAGS-tst-backtrace4.c): Likewise.
33294 (CFLAGS-tst-backtrace5.c): Likewise.
33295 (LDFLAGS-tst-backtrace2): Likewise.
33296 (LDFLAGS-tst-backtrace3): Likewise.
33297 (LDFLAGS-tst-backtrace4): Likewise.
33298 (LDFLAGS-tst-backtrace5): Likewise.
33299 (tests): Add new tests tst-backtrace2, tst-backtrace3,
33300 tst-backtrace4 and tst-backtrace5.
33302 2013-01-18 Anton Blanchard <anton@samba.org>
33303 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
33305 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33306 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33308 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33310 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33311 "+r" and remove output regs list as redundant. Add explicit inline
33312 asm to specify register of return val to work around compiler codegen
33313 bug. Remove (int) cast on return value. Add return type parameter to
33314 use in macro so that this macro does not truncate return value for
33316 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33317 pass to INTERNAL_VSYSCALL_NCS.
33318 (INLINE_VSYSCALL): Add 'long int' as return type to
33319 INTERNAL_VSYSCALL_NCS macro invocation.
33320 (INTERNAL_VSYSCALL): Add 'long int' as return type to
33321 INTERNAL_VSYSCALL_NCS macro invocation.
33322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33324 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
33327 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33328 Fix application of SIMD FP exception mask.
33330 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33331 mp_no from a power of two.
33332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33333 __mpexp_twomm1. Use __pow_mp.
33335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33338 2013-01-17 David S. Miller <davem@davemloft.net>
33340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33342 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33345 * include/complex.h: Condition contents on [!_COMPLEX_H].
33346 (__kernel_casinhf): New prototype.
33347 (__kernel_casinh): Likewise.
33348 (__kernel_casinhl): Likewise.
33349 * math/Makefile (libm_calls): Add k_casinh.
33350 * math/k_casinh.c: New file.
33351 * math/k_casinhf.c: Likewise.
33352 * math/k_casinhl.c: Likewise.
33353 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33354 finite nonzero arguments.
33355 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33356 finite nonzero arguments.
33357 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33358 finite nonzero arguments.
33359 * math/s_casinh.c: Do not include <float.h>.
33360 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33361 * math/s_casinhf.c: Do not include <float.h>.
33362 (__casinhf): Move code for finite nonzero arguments to
33364 * math/s_casinhl.c: Do not include <float.h>.
33365 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33367 (__casinhl): Move code for finite nonzero arguments to
33369 * math/libm-test.inc (cacos_test): Add more tests.
33370 * sysdeps/i386/fpu/libm-test-ulps: Update.
33371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33373 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
33375 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33376 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33377 [!HAVE_MREMAP]: Remove [defined linux] case.
33378 * malloc/arena.c: Do not include <malloc-sysdep.h>.
33380 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
33382 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33384 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
33386 * elf/elf.h (R_386_SIZE32): New relocation.
33387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33389 (elf_machine_rela): Likewise.
33390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33391 R_X86_64_SIZE64 and R_X86_64_SIZE32.
33393 2013-01-17 Joseph Myers <joseph@codesourcery.com>
33395 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33396 (FP_FAST_FMA): Do not define.
33397 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33398 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33399 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33400 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33401 !_SOFT_FLOAT]: Likewise.
33402 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33403 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33405 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33406 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33407 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33408 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33409 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33410 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33413 2013-01-16 Andreas Schwab <schwab@suse.de>
33416 * include/stdlib.h (__mktemp): Add declaration.
33417 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33418 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33420 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33422 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33424 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33425 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33426 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33428 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33429 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33431 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33433 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33434 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33435 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33437 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33438 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33440 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33442 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33444 2013-01-15 David S. Miller <davem@davemloft.net>
33446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33447 trunc{,f} to libm-sysdep_routes.
33448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33458 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33459 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33460 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33461 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33462 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33463 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33466 nearbyint{,f} to libm-sysdep_routes.
33467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33478 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33480 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33481 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33483 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33484 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33485 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33487 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33488 libc_feholdexcept and libc_fesetenv.
33490 2013-01-15 Mike Frysinger <vapier@gentoo.org>
33492 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33494 2013-01-14 David S. Miller <davem@davemloft.net>
33496 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33497 (SPARC_ASM_VIS2_IFUNC): Likewise.
33498 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33500 use of 'siam' instruction.
33501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33534 routines to libm-sysdep_routines.
33535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33538 fdim/fdimf to libm-sysdep_routines.
33539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33547 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33548 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33549 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33550 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33552 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33554 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33555 to optimize copies.
33557 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33562 local variable MPTWO.
33563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33566 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33568 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33571 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33573 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33575 2013-01-13 Mike Frysinger <vapier@gentoo.org>
33577 * manual/pattern.texi (glob_t): Document gl_flags.
33578 (glob64_t): Likewise.
33580 2013-01-11 David S. Miller <davem@davemloft.net>
33582 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33583 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33584 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
33585 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33586 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33587 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33588 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33589 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33590 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33591 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33592 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33593 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33594 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33596 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33597 sparc V9 rather than using V8 code.
33598 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33599 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33601 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33603 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33606 2013-01-11 Roland McGrath <roland@hack.frob.com>
33608 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33609 not in the main loop.
33610 * configure: Regenerated.
33612 2013-01-11 Joseph Myers <joseph@codesourcery.com>
33614 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33615 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33617 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
33618 [!__GLIBC_HAVE_LONG_LONG] case.
33619 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33620 condition to just #else.
33621 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33622 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33623 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33624 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33626 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33627 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33628 #elif condition to just #else.
33629 * sysdeps/unix/sysv/linux/sys/sysmacros.h
33630 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33631 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33632 #elif condition to just #else.
33634 2013-01-11 Steve Ellcey <sellcey@mips.com>
33636 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33637 (EF_MIPS_ARCH_64): Fix value.
33638 (EF_MIPS_ARCH_32R2): New.
33639 (EF_MIPS_ARCH_64R2): New.
33641 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
33643 * Makeconfig (+link-pie-before-libc): New.
33644 (+link-pie-after-libc): Likewise.
33645 (+link-pie-tests): Likewise.
33646 (+link-pie): Rewritten.
33647 (link-before-libc): Remove $(config-LDFLAGS).
33648 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33649 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33650 (config-LDFLAGS): Renamed to ...
33651 (rtld-LDFLAGS): This.
33652 (rtld-tests-LDFLAGS): New macro.
33653 (link-libc-rpath-link): Likewise.
33654 (link-libc-tests-rpath-link): Likewise.
33655 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33656 (link-libc): Prepand $(link-libc-rpath-link).
33657 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33658 (test-program-prefix): New macro.
33659 (test-via-rtld-prefix): Likewise.
33660 (test-program-cmd): Likewise.
33661 (host-test-program-cmd): Likewise.
33662 * Makefile ($(common-objpfx)testrun.sh): Replace
33663 $(run-program-prefix) with $(test-program-prefix).
33664 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33666 ($(common-objpfx)shlib.lds): Likewise.
33667 (build-module-helper): Likewise.
33668 ($(common-objpfx)format.lds): Likewise.
33669 * Rules (binaries-pie-tests): New.
33670 (binaries-pie-notests): Likewise.
33671 (binaries-pie): Rewritten.
33672 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33673 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33674 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33675 (make-test-out): Replace $(host-built-program-cmd) with
33676 $(host-test-program-cmd).
33677 * config.make.in (build-hardcoded-path-in-tests): New variable.
33678 * configure.in (--enable-hardcoded-path-in-tests): New configure
33680 (hardcoded_path_in_tests): New AC_SUBST.
33681 * configure: Regenerated.
33682 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33683 $(built-program-cmd) with $(test-program-cmd).
33684 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33685 (test_program_cmd): This.
33686 * elf/Makefile ($(objpfx)order.out): Run test with
33687 $(test-program-prefix).
33688 ($(objpfx)order2.out): Likewise.
33689 ($(objpfx)tst-initorder.out): Likewise.
33690 ($(objpfx)tst-initorder2.out): Likewise.
33691 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33692 $(test-program-cmd).
33693 ($(objpfx)tst-array1-static.out): Likewise.
33694 ($(objpfx)tst-array2.out): Likewise.
33695 ($(objpfx)tst-array3.out): Likewise.
33696 ($(objpfx)tst-array4.out): Likewise.
33697 ($(objpfx)tst-array5.out): Likewise.
33698 ($(objpfx)tst-array5-static.out): Likewise.
33699 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33700 $(test-program-cmd).
33701 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33702 $(run-program-prefix) with $(test-program-prefix).
33703 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33704 (test_program_prefix): This.
33705 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33706 $(run-program-prefix) with $(test-program-prefix).
33707 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33708 (test_program_prefix): This.
33709 * iconvdata/tst-tables.sh: Likewise.
33710 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33711 $(run-program-prefix) with $(test-program-prefix).
33712 ($(objpfx)tst-translit.out): Likewise.
33713 ($(objpfx)tst-gettext2.out): Likewise.
33714 ($(objpfx)tst-gettext4.out): Likewise.
33715 ($(objpfx)tst-gettext6.out): Likewise.
33716 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33717 (test_program_prefix): This.
33718 * intl/tst-gettext2.sh: Likewise.
33719 * intl/tst-gettext4.sh Likewise.
33720 * intl/tst-gettext6.sh: Likewise.
33721 * intl/tst-translit.sh: Likewise.
33722 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33723 with $(test-program-cmd).
33724 * libio/Makefile ($(objpfx)test-freopen.out): Replace
33725 $(run-program-prefix) with $(test-program-prefix).
33726 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33727 (test_program_prefix): This.
33728 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33729 $(run-program-prefix) with $(test-program-prefix).
33730 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33731 (test_program_prefix): This.
33732 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33733 * posix/Makefile ($(objpfx)globtest.out): Replace
33734 $(run-via-rtld-prefix) and $(test-wrapper) with
33735 $(test-program-prefix) and $(test-via-rtld-prefix).
33736 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33737 $(test-program-prefix).
33738 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33739 $(host-test-program-cmd).
33740 (tst-spawn-ARGS): Likewise.
33741 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33742 $(test-program-prefix).
33743 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33744 (test_via_rtld_prefix): This.
33745 (test_wrapper): Renamed to ...
33746 (test_program_prefix): This.
33747 (run_program_prefix): Replaced by test_program_prefix.
33748 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33749 (test_program_prefix): This.
33750 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33751 with $(host-test-program-cmd).
33752 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33753 $(run-program-prefix) with $(test-program-prefix).
33754 ($(objpfx)tst-printf.out): Likewise.
33755 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33756 $(test-program-cmd).
33757 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33758 (test_program_prefix): This.
33759 * stdio-common/tst-unbputc.sh: Likewise.
33760 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33761 $(run-program-prefix) with $(test-program-prefix).
33762 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33763 (test_program_prefix): This.
33764 * string/Makefile ($(objpfx)tst-svc.out): Replace
33765 $(built-program-cmd) with $(test-program-cmd).
33767 2013-01-11 Andreas Jaeger <aj@suse.de>
33770 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33771 value. Sync with Linux 3.7.
33773 2013-01-10 David S. Miller <davem@davemloft.net>
33775 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33779 2013-01-10 Roland McGrath <roland@hack.frob.com>
33781 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33783 * configure: Regenerated.
33785 2013-01-10 David S. Miller <davem@davemloft.net>
33787 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33788 sparc V9 rather than using V8 code.
33789 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33790 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33792 2013-01-10 Roland McGrath <roland@hack.frob.com>
33794 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33795 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33796 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33797 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33798 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33799 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33800 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33801 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33802 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33803 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33804 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33805 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33806 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33807 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33808 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33809 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33810 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33811 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33812 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33813 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33814 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33815 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33816 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33817 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33818 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33819 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33820 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33822 2013-01-10 David S. Miller <davem@davemloft.net>
33824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33826 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33828 * posix/Makefile (tests-static): New variable.
33829 (tests): Add $(tests-static).
33830 (tst-exec-static-ARGS): New variable.
33831 (tst-spawn-static-ARGS): Likewise.
33832 * posix/tst-exec-static.c: New file.
33833 * posix/tst-spawn-static.c: Likewise.
33834 * posix/tst-exec.c: Support run directly.
33835 * posix/tst-spawn.c: Likewise.
33837 2013-01-10 Joseph Myers <joseph@codesourcery.com>
33839 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33841 * math/bits/mathcalls.h (llrint): Likewise.
33842 (llround): Likewise.
33843 * stdlib/stdlib.h (struct drand48_data): Likewise.
33844 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33845 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33846 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33848 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33850 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33851 (elf_greg_t): Likewise.
33852 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33853 (__jmp_buf): Likewise.
33854 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33856 (llrint): Likewise, for all definitions.
33857 (llrintl): Likewise.
33859 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33860 Remove [__GNUC__] condition.
33861 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33862 condition to just [__USE_ISOC99].
33863 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33865 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
33868 * sysdeps/unix/sysv/linux/x86/bits/environments.h
33869 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33871 (_POSIX_V6_ILP32_OFF32): Likewise.
33872 (_XBS5_ILP32_OFF32): Likewise.
33873 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33874 (__ILP32_OFFBIG_LDFLAGS): Likewise.
33876 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
33878 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33881 doubles __mpexp_twomm1. Adjust usage.
33882 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33885 2013-01-10 Andreas Schwab <schwab@suse.de>
33888 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33889 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33891 2013-01-09 David S. Miller <davem@davemloft.net>
33894 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33895 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33896 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33897 (TCP_FASTOPEN): Define.
33898 (tcp_repair_opt): New structure.
33899 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33901 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33902 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33903 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33904 (tcp_cookie_transactions): New structure.
33906 2013-01-09 Anton Blanchard <anton@samba.org>
33908 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33909 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33910 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33911 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33913 2013-01-09 Joseph Myers <joseph@codesourcery.com>
33915 * include/features.h (__USE_ANSI): Remove.
33917 2013-01-09 Roland McGrath <roland@hack.frob.com>
33919 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33921 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33923 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
33925 * sysdeps/s390/fpu/libm-test-ulps: Update.
33927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33929 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33933 (denorm): Likewise.
33934 (__mp_dbl): Likewise.
33935 (__dbl_mp): Likewise.
33936 (add_magnitudes): Likewise.
33937 (sub_magnitudes): Likewise.
33943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33947 (denorm): Likewise.
33948 (__mp_dbl): Likewise.
33949 (__dbl_mp): Likewise.
33950 (add_magnitudes): Likewise.
33951 (sub_magnitudes): Likewise.
33957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33961 (denorm): Likewise.
33962 (__mp_dbl): Likewise.
33963 (__dbl_mp): Likewise.
33964 (add_magnitudes): Likewise.
33965 (sub_magnitudes): Likewise.
33972 2013-01-08 Joseph Myers <joseph@codesourcery.com>
33974 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33975 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33976 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33977 2 && __USE_EXTERN_INLINES]: Likewise.
33979 2013-01-08 Andreas Jaeger <aj@suse.de>
33982 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33984 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33985 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33987 2013-01-07 Anton Blanchard <anton@samba.org>
33989 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33990 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33991 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33992 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33993 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33994 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33995 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33996 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33998 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33999 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34000 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34001 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34002 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34003 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34004 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34005 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34006 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34007 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34008 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34009 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34010 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34012 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34013 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34014 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34015 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34016 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34017 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34018 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34019 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34021 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34022 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34023 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34025 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34027 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34029 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34031 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34033 2013-01-07 Joseph Myers <joseph@codesourcery.com>
34035 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34036 (__MALLOC_PMT): Likewise.
34037 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34038 [__GNUC__], only on [_LIBC].
34039 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34040 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34041 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34042 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34043 forward declaration.
34044 (realloc_hook_ini): Likewise.
34045 (memalign_hook_ini): Likewise.
34046 (__libc_memalign): Do not use __MALLOC_PMT in variable
34048 (__libc_valloc): Likewise.
34049 (__libc_pvalloc): Likewise.
34050 (__libc_calloc): Likewise.
34051 (__posix_memalign): Likewise.
34054 * math/s_casinh.c: Include <float.h>.
34055 (__casinh): Do not do computation with squaring and square root
34056 for large arguments.
34057 * math/s_casinhf.c: Include <float.h>.
34058 (__casinhf): Do not do computation with squaring and square root
34059 for large arguments.
34060 * math/s_casinhl.c: Include <float.h>.
34061 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34062 (__casinhl): Do not do computation with squaring and square root
34063 for large arguments.
34064 * math/libm-test.inc (casin_test): Add more tests.
34065 (casinh_test): Likewise.
34066 * sysdeps/i386/fpu/libm-test-ulps: Update.
34067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34069 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34071 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34072 (__x86_64_raw_data_cache_size): Likewise.
34073 (__x86_64_data_cache_size_half): Likewise.
34074 (__x86_64_raw_data_cache_size_half): Likewise.
34075 (__x86_64_shared_cache_size): Likewise.
34076 (__x86_64_raw_shared_cache_size): Likewise.
34077 (__x86_64_shared_cache_size_half): Likewise.
34078 (__x86_64_raw_shared_cache_size_half): Likewise.
34079 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34081 (__x86_data_cache_size): This.
34082 (__x86_64_raw_data_cache_size): Renamed to ...
34083 (__x86_raw_data_cache_size): This.
34084 (__x86_64_data_cache_size_half): Renamed to ...
34085 (__x86_data_cache_size_half): This.
34086 (__x86_64_raw_data_cache_size_half): Renamed to ...
34087 (__x86_raw_data_cache_size_half): This.
34088 (__x86_64_shared_cache_size): Renamed to ...
34089 (__x86_shared_cache_size): This.
34090 (__x86_64_raw_shared_cache_size): Renamed to ...
34091 (__x86_raw_shared_cache_size): This.
34092 (__x86_64_shared_cache_size_half): Renamed to ...
34093 (__x86_shared_cache_size_half): This.
34094 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34095 (__x86_raw_shared_cache_size_half): This.
34096 * sysdeps/x86_64/memcpy.S: Updated.
34097 * sysdeps/x86_64/memset.S: Likewise.
34098 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34102 2013-01-04 David S. Miller <davem@davemloft.net>
34104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34106 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34108 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34109 1 to avoid redefinition warning.
34110 (__USE_GNU): Don't define.
34111 (init_signaling_nan): Protoize.
34113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34115 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34117 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34119 (__cpymn): Likewise.
34120 (norm): Remove commented code.
34121 (denorm): Likewise.
34122 (__mp_dbl): Likewise.
34124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34125 (__cpymn): Likewise.
34126 (norm): Remove commented code.
34127 (denorm): Likewise.
34128 (__mp_dbl): Likewise.
34131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34132 mp_no value for 1.0 and 2.0.
34133 (norm): Use RADIXI instead of radixi.d.
34134 (denorm): Likewise.
34135 (__mul): Use 0.0 instead of zero.d.
34136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34137 mp_no value for 1.0 and 2.0.
34138 (norm): Use RADIXI instead of radixi.d.
34139 (denorm): Likewise.
34140 (__mul): Use 0.0 instead of zero.d.
34142 2013-01-04 Joseph Myers <joseph@codesourcery.com>
34145 * math/s_casinh.c (__casinh): Reduce finite argument to first
34146 quadrant then set signs of results at the end.
34147 * math/s_casinhf.c (__casinhf): Likewise.
34148 * math/s_casinhl.c (__casinhl): Likewise.
34149 * math/libm-test.inc (casin_test): Add more tests.
34150 (casinh_test): Likewise.
34151 * sysdeps/i386/fpu/libm-test-ulps: Update.
34152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34154 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34156 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34158 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34160 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34162 (denorm): Likewise.
34163 (__mp_dbl): Likewise.
34166 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34167 and adjust the header comment.
34169 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34170 variable name from declaration.
34172 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34175 Initialize COMMON_CPUID_INDEX_7 element.
34176 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34177 (CPUID_RTM): Likewise.
34178 (HAS_RTM): Likewise.
34179 (COMMON_CPUID_INDEX_7): New enum.
34181 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34184 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34185 size is zero, record memory as freed.
34187 2013-01-03 Andreas Jaeger <aj@suse.de>
34189 * po/ia.po: Add new Interlingua translation.
34191 2012-01-03 Allan McRae <allan@archlinux.org>
34193 * locale/programs/localedef.c: Fix description of '--posix' flag.
34195 2013-01-02 Joseph Myers <joseph@codesourcery.com>
34197 * NEWS: Update dates in second copyright notice.
34198 * README: Update copyright dates in example.
34199 * manual/libc.texinfo: Update copyright dates.
34200 * scripts/test-installation.pl: Update copyright date in --version
34203 * hurd/ctty-input.c: Fix copyright notice formatting.
34204 * hurd/ctty-output.c: Likewise.
34205 * hurd/dtable.c: Likewise.
34206 * hurd/hurd-raise.c: Likewise.
34207 * hurd/hurdprio.c: Likewise.
34208 * hurd/msgportdemux.c: Likewise.
34209 * misc/sys/file.h: Likewise.
34210 * misc/sys/ioctl.h: Likewise.
34211 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34212 * sysdeps/mach/hurd/chdir.c: Likewise.
34213 * sysdeps/mach/hurd/fchdir.c: Likewise.
34214 * sysdeps/mach/hurd/rename.c: Likewise.
34215 * sysdeps/mach/hurd/rmdir.c: Likewise.
34216 * sysdeps/mach/hurd/seekdir.c: Likewise.
34217 * sysdeps/mach/hurd/setsid.c: Likewise.
34218 * sysdeps/posix/wait3.c: Likewise.
34220 * All files with FSF copyright notices: Update copyright dates
34221 using scripts/update-copyrights.
34222 * intl/plural.c: Regenerated.
34223 * locale/programs/charmap-kw.h: Likewise.
34224 * locale/programs/locfile-kw.h: Likewise.
34226 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34228 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34231 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34232 calculation loop and add branch prediction.
34234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34235 check access beyond bounds of m1np.
34237 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34239 (__inv): Remove local variable MPTWO to use the global
34241 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34244 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34245 MP3HALFS static const.
34247 2013-01-01 David S. Miller <davem@davemloft.net>
34249 * po/ca.po: Update from translation team.
34251 2013-01-01 Joseph Myers <joseph@codesourcery.com>
34253 * scripts/update-copyrights: New file.
34254 * Makeconfig: Reformat copyright notice.
34255 * ctype/ctype.h: Likewise.
34256 * debug/swprintf_chk.c: Likewise.
34257 * elf/dl-cache.c: Likewise.
34258 * elf/dl-debug.c: Likewise.
34259 * elf/dl-object.c: Likewise.
34260 * grp/initgroups.c: Likewise.
34261 * hurd/Makefile: Likewise.
34262 * hurd/hurd/signal.h: Likewise.
34263 * hurd/hurdfault.c: Likewise.
34264 * hurd/hurdioctl.c: Likewise.
34265 * hurd/hurdlookup.c: Likewise.
34266 * hurd/intr-msg.c: Likewise.
34267 * iconv/gconv_open.c: Likewise.
34268 * libio/swprintf.c: Likewise.
34269 * locale/lc-ctype.c: Likewise.
34270 * locale/nl_langinfo.c: Likewise.
34271 * mach/Machrules: Likewise.
34272 * mach/Makefile: Likewise.
34273 * malloc/obstack.h: Likewise.
34274 * manual/Makefile: Likewise.
34275 * manual/tsort.awk: Likewise.
34276 * misc/bits/stab.def: Likewise.
34277 * nis/nis_print_group_entry.c: Likewise.
34278 * nis/nis_table.c: Likewise.
34279 * nis/nss_compat/compat-pwd.c: Likewise.
34280 * nis/nss_compat/compat-spwd.c: Likewise.
34281 * po/Makefile: Likewise.
34282 * posix/fnmatch.c: Likewise.
34283 * posix/regex.h: Likewise.
34284 * resolv/Makefile: Likewise.
34285 * resolv/nss_dns/dns-network.c: Likewise.
34286 * resolv/res_hconf.c: Likewise.
34287 * scripts/gen-sorted.awk: Likewise.
34288 * soft-fp/soft-fp.h: Likewise.
34289 * stdio-common/printf.h: Likewise.
34290 * stdlib/monetary.h: Likewise.
34291 * stdlib/random.c: Likewise.
34292 * stdlib/random_r.c: Likewise.
34293 * sysdeps/generic/Makefile: Likewise.
34294 * sysdeps/gnu/Makefile: Likewise.
34295 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34297 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34298 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34299 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34302 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34303 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34305 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34306 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34307 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34308 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34309 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34310 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34311 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34312 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34313 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34314 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34315 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34316 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34317 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34318 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34319 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34320 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34321 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34322 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34323 * sysdeps/mach/hurd/errnos.awk: Likewise.
34324 * sysdeps/mach/hurd/fork.c: Likewise.
34325 * sysdeps/mach/hurd/getcwd.c: Likewise.
34326 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34327 * sysdeps/mach/hurd/mmap.c: Likewise.
34328 * sysdeps/mach/hurd/utimes.c: Likewise.
34329 * sysdeps/mach/hurd/xmknod.c: Likewise.
34330 * sysdeps/posix/profil.c: Likewise.
34331 * sysdeps/posix/readdir_r.c: Likewise.
34332 * sysdeps/powerpc/bits/mathdef.h: Likewise.
34333 * sysdeps/powerpc/bits/setjmp.h: Likewise.
34334 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34335 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34337 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34338 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34339 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34341 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34342 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34343 * sysdeps/pthread/lio_listio.c: Likewise.
34344 * sysdeps/sparc/dl-procinfo.h: Likewise.
34345 * sysdeps/unix/i386/sysdep.S: Likewise.
34346 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34347 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34348 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34349 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34351 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34352 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34353 * sysdeps/unix/sysv/linux/speed.c: Likewise.
34354 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34355 * sysdeps/wordsize-32/divdi3.c: Likewise.
34356 * time/sys/time.h: Likewise.
34357 * wcsmbs/Makefile: Likewise.
34359 2013-01-01 David S. Miller <davem@davemloft.net>
34361 * po/fr.po: Update from translation team.
34363 * catgets/gencat.c: Update copyright year.
34364 * csu/version.c: Likewise.
34365 * debug/catchsegv.sh: Likewise.
34366 * debug/pcprofiledump.c: Likewise.
34367 * debug/xtrace.sh: Likewise.
34368 * elf/ldconfig.c: Likewise.
34369 * elf/ldd.bash.in: Likewise.
34370 * elf/pldd.c: Likewise.
34371 * elf/sotruss.ksh: Likewise.
34372 * elf/sprof.c: Likewise.
34373 * iconv/iconv_prog.c: Likewise.
34374 * iconv/iconvconfig.c: Likewise.
34375 * locale/programs/locale.c: Likewise.
34376 * locale/programs/localedef.c: Likewise.
34377 * login/programs/pt_chown.c: Likewise.
34378 * malloc/memusage.sh: Likewise.
34379 * malloc/memusagestat.c: Likewise.
34380 * malloc/mtrace.pl: Likewise.
34381 * nscd/nscd.c: Likewise.
34382 * nss/getent.c: Likewise.
34383 * nss/makedb.c: Likewise.
34384 * posix/getconf.c: Likewise.
34386 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
34388 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34391 2012-12-30 Mike Frysinger <vapier@gentoo.org>
34393 * math/bits/mathcalls.h (modf): Use __nonnull.
34395 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
34397 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34398 (split): Use macro CN instead of the bare value.
34399 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34402 instead of the bare value.
34403 (power1): Likewise.
34405 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34407 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34409 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34411 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34413 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34414 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34415 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34416 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34418 2012-12-28 Andreas Jaeger <aj@suse.de>
34420 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
34421 values are from Linux 3.7.
34423 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34424 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
34426 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34428 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34431 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34433 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34434 variables with preprocessor constants.
34435 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34436 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34437 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34439 2012-12-27 Bruno Haible <bruno@clisp.org>
34442 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34445 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34447 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34448 and use variable directly.
34449 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34451 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34453 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34456 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34458 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34459 include directive. Remove local variable MPONE.
34460 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34461 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34462 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34464 2012-12-25 David S. Miller <davem@davemloft.net>
34466 * version.h (RELEASE): Set to "development".
34467 (VERSION): Set to "2.17.90".
34468 * NEWS: Add 2.18 section.
34470 2012-12-21 David S. Miller <davem@davemloft.net>
34472 * po/hr.po: Update from translation team.
34474 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34476 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34478 2012-12-19 Steve Ellcey <sellcey@mips.com>
34480 * NEWS: Mention new memcpy for MIPS.
34482 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34484 * manual/contrib.texi (Contributors): Spelling correction.
34486 2012-12-15 David S. Miller <davem@davemloft.net>
34488 * po/ru.po: Update from translation team.
34490 2012-12-13 David S. Miller <davem@davemloft.net>
34492 * NEWS: Mention IFUNC testsuite enhancements.
34494 * po/pl.po: Update from translation team.
34495 * po/bg.po: Likewise.
34497 * manual/contrib.texi (Contributors): Update entries for Hongjiu
34498 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
34500 2012-12-11 David S. Miller <davem@davemloft.net>
34502 * po/sv.po: Update from translation team.
34504 * po/vi.po: Update from translation team.
34506 * po/cs.po: Update from translation team.
34508 * po/de.po: Update from translation team.
34509 * po/eo.po: Likewise.
34510 * po/nl.po: Likewise.
34512 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
34515 * manual/argp.texi (Argp Helper Functions): Move node to follow
34516 Argp Parsing State.
34519 * manual/conf.texi (Limits on File System Capacity): Mention if
34520 terminating null is included in the max size.
34522 2012-12-10 Andreas Jaeger <aj@suse.de>
34524 * po/cs.po: Update from translation team.
34526 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
34528 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34529 void pointer and cast to uintptr_t.
34530 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34532 * sysdeps/s390/s390-64/memcpy.S: Likewise.
34533 * sysdeps/s390/s390-64/memset.S: Likewise.
34535 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
34538 * menual/message.texi (Message Translation): Fix typos.
34539 (Helper programs for gettext): Likewise.
34541 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
34544 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34547 2012-12-07 David S. Miller <davem@davemloft.net>
34549 * po/libc.pot: Update.
34551 2012-12-07 Richard Henderson <rth@redhat.com>
34554 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34555 normal/normal case to before the switch.
34556 (_FP_DIV): Likewise.
34558 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
34559 Mike Frysinger <vapier@gentoo.org>
34561 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34562 check for __NR_fadvise64_64.
34564 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
34566 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34567 0, not just to plain "0" as a statement.
34568 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34571 2012-12-06 Joseph Myers <joseph@codesourcery.com>
34573 * NEWS: Use sourceware.org in Bugzilla URL.
34575 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
34577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34578 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34580 * stdio-common/tst-put-error.c (do_test): Add newline to the
34581 padded test to ensure flush.
34583 2012-12-05 Jeff Law <law@redhat.com>
34585 * sunrpc/etc.rpc (fedfs_admin): Add entry.
34587 2012-12-05 Joseph Myers <joseph@codesourcery.com>
34589 * README: Don't refer to ports add-on as distributed separately.
34590 Mention AArch64 in list of systems supported in the ports add-on.
34592 * LICENSES: Add more non-FSF copyright and license notices.
34594 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34597 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34599 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34600 10000 as width of padded output.
34602 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34604 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34607 variable LX with __attribute__ ((unused)).
34608 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34610 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34612 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34613 with __attribute__ ((unused)).
34615 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
34617 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34619 2012-12-04 Joseph Myers <joseph@codesourcery.com>
34621 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34622 (CFLAGS-nldbl-acos.c): New variable.
34623 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34624 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34625 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34626 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34627 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34628 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34629 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34630 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34631 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34632 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34633 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34634 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34635 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34636 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34637 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34638 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34639 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34640 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34641 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34642 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34643 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34644 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34645 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34646 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34647 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34648 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34649 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34650 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34651 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34652 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34653 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34654 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34655 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34656 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34657 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34658 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34659 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34660 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34661 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34662 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34663 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34664 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34665 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34666 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34667 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34668 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34669 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34670 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34671 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34672 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34673 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34674 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34675 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34676 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34677 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34678 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34679 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34680 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34681 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34682 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34683 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34684 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34685 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34686 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34687 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34688 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34689 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34690 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34691 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34692 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34693 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34694 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34695 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34696 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34697 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34698 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34699 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34700 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34701 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34702 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34703 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34704 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34705 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34706 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34707 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34708 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34709 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34710 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34711 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34712 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34713 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34714 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34715 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34716 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34717 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34718 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34719 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34722 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34725 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34726 whole low double instead of just low 47 bits when splitting values
34729 2012-12-03 Allan McRae <allan@archlinux.org>
34731 * manual/stdio.texi (Predefined Printf Handlers): Remove
34732 @hsep and @vsep usage.
34734 2012-12-03 Mike Frysinger <vapier@gentoo.org>
34736 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34737 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34739 2012-12-03 Jeff Law <law@redhat.com>
34741 * time/sys/time.h (settimeofday): Do not mark TV argument
34744 2012-12-01 Mike Frysinger <vapier@gentoo.org>
34746 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34747 when currently writing and seek to current position when not.
34748 * libio/Makefile (tests): Remove bug-fclose1.
34749 * libio/bug-fclose1.c: Delete.
34751 2012-12-01 Joseph Myers <joseph@codesourcery.com>
34753 * manual/arith.texi (feenableexcept): Fix typo.
34754 (fedisableexcept): Likewise.
34756 2012-11-30 Roland McGrath <roland@hack.frob.com>
34758 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34759 second, differently-typed declaration, rather than a cast.
34761 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
34763 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34764 * include/rpc/svc.h: ... here.
34766 2012-11-30 Aurelien Jarno <aurel32@debian.org>
34769 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34770 depending n and resplen2 to catch cases where answer
34773 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
34775 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34776 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34778 2012-11-29 Mike Frysinger <vapier@gentoo.org>
34780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34782 2012-11-29 Roland McGrath <roland@hack.frob.com>
34784 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34786 2012-11-28 Jeff Law <law@redhat.com>
34789 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34790 dataset_temporary. Track alloca usage into alloca_used.
34791 If dataset is large allocate and release it via malloc/free.
34793 2012-06-04 Florian Weimer <fweimer@redhat.com>
34796 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34798 2012-11-28 David S. Miller <davem@davemloft.net>
34800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34802 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34805 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34806 of pi/2 rounded to nearest to 64 bits.
34807 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34808 nearest to 64 bits.
34809 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34812 2012-11-28 Jeff Law <law@redhat.com>
34813 Martin Osvald <mosvald@redhat.com>
34816 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34817 * sunrpc/svc.c: Include time.h.
34818 (__svc_accept_failed): New function.
34819 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34820 any reason other than EINTR, call __svc_accept_failed.
34821 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34822 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34824 2012-11-28 Andreas Schwab <schwab@suse.de>
34826 * scripts/abilist.awk: Also handle indirect functions in .opd
34829 2012-11-28 Joseph Myers <joseph@codesourcery.com>
34832 * sysdeps/x86/fpu/powl_helper.c: New file.
34833 * sysdeps/x86/fpu/Makefile: Likewise.
34834 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34836 (__ieee754_powl): Use __powl_helper for finite arguments except
34837 integer exponents below 8.
34838 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34840 (__ieee754_powl): Use __powl_helper for finite arguments except
34841 integer exponents below 8.
34842 * math/libm-test.inc (pow_test): Add more tests and enable some
34843 previously disabled tests.
34844 * sysdeps/i386/fpu/libm-test-ulps: Update.
34845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34847 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34848 Carlos O'Donell <carlos_odonell@mentor.com>
34850 * nss/makedb.c (is_prime): Assert that input is odd and greater
34851 than 4. Note that fact in a comment too.
34852 (next_prime): Add 4 to input.
34854 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
34857 * libio/Makefile (tests): Add test case tst-fwrite-error.
34858 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34859 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34860 * libio/tst-fwrite-error.c: New test case.
34862 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
34864 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34865 before casting to void *.
34866 * include/libc-internal.h (__pointer_type): New macro.
34867 (__integer_if_pointer_type_sub): Likewise.
34868 (__integer_if_pointer_type): Likewise.
34869 (cast_to_integer): Likewise.
34870 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34871 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34872 before casting to atomic64_t.
34873 (atomic_exchange_acq): Likewise.
34874 (__arch_exchange_and_add_body): Likewise.
34875 (__arch_add_body): Likewise.
34876 (atomic_add_negative): Likewise.
34877 (atomic_add_zero): Likewise.
34879 2012-11-26 Joseph Myers <joseph@codesourcery.com>
34881 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34882 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34883 (add_fdes): Likewise.
34884 (linear_search_fdes): Likewise.
34885 (binary_search_unencoded_fdes): Likewise.
34887 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
34889 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34891 2012-11-24 Adam Conrad <adconrad@0c3.net>
34893 * configure.in: Autodetect C++ header directories.
34894 * configure: Regenerated.
34896 2012-11-23 Mike Frysinger <vapier@gentoo.org>
34898 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34900 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
34902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34904 2012-11-22 Joseph Myers <joseph@codesourcery.com>
34906 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34907 LDBL_MANT_DIG == 106]: Disable some tests.
34908 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34910 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34914 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34915 input for small inputs. Return +/- pi/2 for large inputs.
34916 * math/libm-test.inc (atan_test): Add more tests.
34918 * sysdeps/generic/unwind-dw2-fde-glibc.c
34919 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34920 __attribute__ ((unused)).
34923 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34924 x * y if x and y are nonzero and z is zero.
34927 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34928 nonzero exponents with absolute value below 0x1p-117 to +/-
34932 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34933 up arguments below 2**-450, not just those below 2**-500.
34934 * math/libm-test.inc (hypot_test): Add another test.
34937 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34938 Return a+b for ratio over 2**120, not 2**60.
34939 * math/libm-test.inc (hypot_test): Add another test.
34941 * math/libm-test.inc (clog_test): Use
34942 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34943 (clog10_test): Likewise.
34946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34948 2012-11-22 Andreas Schwab <schwab@suse.de>
34950 * sysdeps/i386/fpu/libm-test-ulps: Update.
34952 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
34954 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34955 printf output with newline.
34957 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
34960 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34961 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34962 -z nodlopen, -z initfirst and -z execstack support.
34963 * configure: Regenerated.
34965 * elf/elf.h (DF_1_NODIRECT): New macro.
34966 (DF_1_IGNMULDEF): Likewise.
34967 (DF_1_NOKSYMS): Likewise.
34968 (DF_1_NOHDR): Likewise.
34969 (DF_1_EDITED): Likewise.
34970 (DF_1_NORELOC): Likewise.
34971 (DF_1_SYMINTPOSE): Likewise.
34972 (DF_1_GLOBAUDIT): Likewise.
34973 (DF_1_SINGLETON): Likewise.
34974 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34975 DT_1_SUPPORTED_MASK bits.
34976 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34978 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
34980 * sysdeps/unix/make-syscalls.sh: Document prefixes.
34982 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
34984 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34987 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34988 (sendmmsg): Move declarations...
34989 * socket/sys/socket.h: ... here.
34990 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34991 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34993 * socket/recvmmsg.c: ... this new file.
34994 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34995 (sendmmsg): Rename to __sendmmsg, create weak alias and make
34996 definition of __sendmmsg hidden.
34997 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34998 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34999 Move ENOSYS stub into and include it from...
35000 * socket/sendmmsg.c: ... this new file.
35001 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35002 (sysdep_routines): Move recvmmsg and sendmmsg...
35003 * socket/Makefile (routines): ... here.
35004 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35005 (GLIBC_PRIVATE): Add __sendmmsg.
35006 * include/sys/socket.h (__sendmmsg): Add declarations.
35007 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35010 2012-11-20 Joseph Myers <joseph@codesourcery.com>
35012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35013 variable I1 with __attribute__ ((unused)).
35014 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35016 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35018 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35019 DUMMY variables with __attribute__ ((unused)).
35021 * bits/byteswap.h: Include <bits/types.h>.
35022 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35024 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35026 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35027 string_t. Do not manually set errno.
35028 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35029 length with __strnlen. Make sure to both set errno and return it on
35032 2012-11-19 David S. Miller <davem@davemloft.net>
35034 With help from Joseph Myers.
35035 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35036 very large arguments properly.
35037 * math/libm-test.inc (atan_test): New tests.
35038 (atan2_test): New tests.
35039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35042 2012-11-19 Joseph Myers <joseph@codesourcery.com>
35045 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35048 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35049 [POSIX] (EADDRNOTAVAIL): Likewise.
35050 [POSIX] (EAFNOSUPPORT): Likewise.
35051 [POSIX] (EALREADY): Likewise.
35052 [POSIX] (ECONNABORTED): Likewise.
35053 [POSIX] (ECONNREFUSED): Likewise.
35054 [POSIX] (ECONNRESET): Likewise.
35055 [POSIX] (EDESTADDRREQ): Likewise.
35056 [POSIX] (EDQUOT): Likewise.
35057 [POSIX] (EHOSTUNREACH): Likewise.
35058 [POSIX] (EIDRM): Likewise.
35059 [POSIX] (EISCONN): Likewise.
35060 [POSIX] (ELOOP): Likewise.
35061 [POSIX] (EMULTIHOP): Likewise.
35062 [POSIX] (ENETDOWN): Likewise.
35063 [POSIX] (ENETUNREACH): Likewise.
35064 [POSIX] (ENOBUFS): Likewise.
35065 [POSIX] (ENODATA): Likewise.
35066 [POSIX] (ENOLINK): Likewise.
35067 [POSIX] (ENOMSG): Likewise.
35068 [POSIX] (ENOPROTOOPT): Likewise.
35069 [POSIX] (ENOSR): Likewise.
35070 [POSIX] (ENOSTR): Likewise.
35071 [POSIX] (ENOTCONN): Likewise.
35072 [POSIX] (ENOTSOCK): Likewise.
35073 [POSIX] (EOPNOTSUPP): Likewise.
35074 [POSIX] (EOVERFLOW): Likewise.
35075 [POSIX] (EPROTO): Likewise.
35076 [POSIX] (EPROTONOSUPPORT): Likewise.
35077 [POSIX] (EPROTOTYPE): Likewise.
35078 [POSIX] (ESTALE): Likewise.
35079 [POSIX] (ETIME): Likewise.
35080 [POSIX] (ETXTBSY): Likewise.
35081 [POSIX] (EWOULDBLOCK): Likewise.
35082 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35083 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35084 [POSIX] (SEEK_CUR): Likewise.
35085 [POSIX] (SEEK_END): Likewise.
35086 [POSIX || UNIX98] (mode_t): Do not require.
35087 [POSIX] (off_t): Likewise.
35088 [POSIX] (pid_t): Likewise.
35089 [POSIX] (sys/stat.h): Do not allow header.
35090 [POSIX] (unistd.h): Likewise.
35091 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35092 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35093 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35094 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35096 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35097 sigevent): Specify elements.
35098 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35100 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35101 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35103 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35104 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35105 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35106 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35107 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35108 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35109 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35110 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35111 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35112 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35113 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35114 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35115 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35116 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35118 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35120 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35122 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35124 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35125 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35126 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35127 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35128 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35129 Specify lower bound on value.
35130 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35131 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35132 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35133 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35134 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35135 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35136 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35137 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35139 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35141 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35142 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35143 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35144 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35145 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35146 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35147 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35148 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35149 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35150 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35151 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35152 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35153 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35154 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35155 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35156 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35158 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35160 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35161 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35162 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35163 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35164 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35165 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35167 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35168 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35169 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35170 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35171 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35172 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35173 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35175 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35176 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35177 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35178 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35179 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35180 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35181 specify as optional.
35182 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35183 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35184 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35185 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35186 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35187 [XPG3] (NL_LANGMAX): Likewise.
35188 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35189 [POSIX || XPG3] (NL_NMAX): Likewise.
35190 [POSIX || XPG3] (NL_SETMAX): Likewise.
35191 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35192 [XPG3] (NZERO): Likewise.
35193 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35194 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35195 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35196 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35197 (REG_ERANGE): Expect.
35198 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35200 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35201 Use (void) in prototype.
35202 [POSIX] (*_t): Allow.
35203 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35204 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35205 (WRDE_BADVAL): Expect.
35207 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35209 [XPG3 || XPG4] (O_RSYNC): Likewise.
35210 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35212 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35213 [XPG3 || XPG4] (sigqueue): Likewise.
35214 [XPG3 || XPG4] (sigtimedwait): Likewise.
35215 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35216 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35217 [XPG3 || XPG4] (vsnprintf): Likewise.
35218 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35220 [XPG3 || XPG4] (blksize_t): Likewise.
35221 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35223 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35224 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35225 [XPG3 || XPG4] (struct itimerspec): Likewise.
35226 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35227 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35228 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35229 [XPG3 || XPG4] (clockid_t): Likewise.
35230 [XPG3 || XPG4] (timer_t): Likewise.
35231 [XPG3 || XPG4] (clock_getres): Likewise.
35232 [XPG3 || XPG4] (clock_gettime): Likewise.
35233 [XPG3 || XPG4] (clock_settime): Likewise.
35234 [XPG3 || XPG4] (nanosleep): Likewise.
35235 [XPG3 || XPG4] (timer_create): Likewise.
35236 [XPG3 || XPG4] (timer_delete): Likewise.
35237 [XPG3 || XPG4] (timer_gettime): Likewise.
35238 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35239 [XPG3 || XPG4] (timer_settime): Likewise.
35240 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35241 [XPG3 || XPG4] (getlogin_r): Likewise.
35242 [XPG3 || XPG4] (pread): Likewise.
35243 [XPG3 || XPG4] (pthread_atfork): Likewise.
35244 [XPG3 || XPG4] (pwrite): Likewise.
35247 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35250 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35252 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35253 finalizing MALLSTREAM.
35255 * sysdeps/mach/hurd/syncfs.c: New file.
35257 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
35260 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35261 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35262 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35263 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35264 (_nss_dns_gethostbyname4_r): Likewise.
35265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35266 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35268 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
35271 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35273 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
35275 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35276 * elf/cache.c (print_entry): Print ",AArch64" for
35279 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35280 * elf/cache.c (print_entry): Print ",hard-float" for
35283 2012-11-18 David S. Miller <davem@davemloft.net>
35285 With help from Joseph Myers.
35286 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35288 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35290 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35291 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35293 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35294 * math/libm-test.inc (y0_test): New tests.
35295 (y1_test): New tests.
35296 * sysdeps/i386/fpu/libm-test-ulps: Update.
35297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35300 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
35302 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35304 * configure: Regenerated.
35306 2012-11-17 David S. Miller <davem@davemloft.net>
35309 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35310 nonzero exponents with absolute value below 0x1p-128 to +/-
35313 2012-11-17 Joseph Myers <joseph@codesourcery.com>
35315 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35317 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35319 * posix/getconf-speclist.c: New file.
35320 * posix/posix-envs.def: Likewise.
35321 * posix/confstr.c (START_ENV_GROUP): New macro.
35322 (END_ENV_GROUP): Likewise.
35323 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35324 (KNOWN_PRESENT_ENV_STRING): Likewise.
35325 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35326 (UNKNOWN_ENVIRONMENT): Likewise.
35327 (confstr): Include posix-envs.def instead of handling
35328 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35329 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35330 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35331 (END_ENV_GROUP): Likewise.
35332 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35333 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35334 (UNKNOWN_ENVIRONMENT): Likewise.
35335 (__sysconf): Include posix-envs.def instead of handling associated
35336 cases directly here.
35337 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35338 preprocessing getconf-speclist.c rather than running getconf or
35339 generating empty file.
35341 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
35343 * scripts/check-local-headers.sh: Ignore 'mach' headers.
35345 2012-11-16 Andrej Lajovic <natrij@gmail.com>
35348 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35350 2012-11-16 David S. Miller <davem@davemloft.net>
35352 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35353 smaller than LDBL_EPSILON/2.0L, just return xm1.
35355 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
35357 * elf/tst-array1.c (init): Set constructor priority to 1000.
35358 (fini): Set destructor priority to 1000.
35359 * elf/tst-array2dep.c: Likewise.
35361 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35364 * libio/fileops.c (_IO_new_file_write): Correctly return error.
35365 (_IO_new_file_xsputn): Also return EOF if none of the input
35366 data was written when overflow failed.
35367 * libio/iopadn.c (_IO_padn): Likewise.
35368 * libio/iowpadn.c (_IO_wpadn): Likewise.
35369 * stdio-common/tst-put-error.c: Add copyright notice.
35370 (do_test): Add case for printing padded string.
35371 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35372 _IO_padn returned error.
35373 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35374 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35377 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35379 * libio/libioP.h: Add comment note that the references to C++
35380 bits are now obsolete.
35382 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35384 * math/libm-test.inc (check_complex): Use asprintf.
35386 2012-11-14 Joseph Myers <joseph@codesourcery.com>
35388 * debug/pcprofiledump.c (print_version): Update copyright year.
35389 * malloc/memusagestat.c (print_version): Likewise.
35391 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
35394 * elf/Makefile (tests): Add tst-audit8.
35395 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35396 ($(objpfx)tst-audit8.out): New target.
35397 (tst-audit8-ENV): New variable.
35398 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35399 audit if l_reloc_result is NULL.
35400 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35401 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35402 * elf/tst-audit8.c: New file.
35404 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35406 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35407 * misc/Makefile (CFLAGS-select.c): Define.
35408 * posix/Makefile (CFLAGS-pause.c): Define.
35410 2012-11-13 David S. Miller <davem@davemloft.net>
35412 * crypt/Makefile: Move test targets after toplevel Rules
35413 inclusion. Grab any necessary sysdep routines when linking.
35414 * crypt/md5.c (md5_process_block): Remove define, we will always
35415 name it __md5_process_block.
35416 (md5_finish_ctx): Update md5_process_block call.
35417 (md5_stream): Likewise.
35418 (md5_process_bytes): Likewise.
35419 (md5_process_block): Rename to __md5_process_block and move to ...
35420 * crypt/md5-block.c: ... here.
35421 * crypt/sha256.c (sha256_process_block): Move to ...
35422 * crypt/sha256-block.c: ... here.
35423 * crypt/sha512.c (sha512_process_block): Move to ...
35424 * crypt/sha512-block.c: ... here.
35425 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35427 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35428 * sysdeps/sparc/sparc64/multiarch/Makefile
35429 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35431 (localedef-aux): Add md5 crypto assembler when in locale subdir.
35432 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35434 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35435 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35436 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35437 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35438 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35439 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35440 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35441 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35442 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35444 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35445 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35447 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35449 2012-11-13 Joseph Myers <joseph@codesourcery.com>
35451 * timezone/tzselect.ksh: Update from tzcode git revision
35452 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35453 * timezone/zdump.c: Likewise.
35454 * timezone/zic.c: Likewise.
35455 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35456 in TZVERSION setting, not $(PKGVERSION).
35457 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
35458 REPORT_BUGS_TO settings.
35461 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35464 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35466 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35467 detection to immediately after _FP_ROUND().
35468 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35471 2012-11-11 David S. Miller <davem@davemloft.net>
35473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35475 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35476 __close rather than their public counterparts.
35478 2012-11-10 Joseph Myers <joseph@codesourcery.com>
35480 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35482 [UNIX98] (sem_timedwait): Do not expect.
35483 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35484 [XPG4 || UNIX98] (sockatmark): Do not expect.
35485 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35486 (clock_getcpuclockid): Do not expect.
35487 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35488 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35490 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35491 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35492 [UNIX98] (vwscanf): Likewise.
35493 [UNIX98] (vswscanf): Likewise.
35495 2012-11-09 Joseph Myers <joseph@codesourcery.com>
35497 * timezone/version.h: Remove file.
35498 * timezone/README: Do not refer to version.h.
35499 * timezone/Makefile ($(objpfx)zic.o): New dependency on
35500 $(objpfx)version.h.
35501 ($(objpfx)zdump.o): Likewise.
35502 ($(objpfx)version.h): New target.
35504 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35506 * timezone/README: Don't mention modification to tzselect.ksh.
35507 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35508 work on unmodified tzselect.ksh. Substitute version numbers in
35511 * Makefile (format-me): Remove.
35512 (INSTALL): Adjust indentation. Use commands directly instead of
35513 using $(format-me).
35515 * aclocal.m4 (ACX_PKGVERSION): New macro.
35516 (ACX_BUGURL): Likewise.
35517 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35518 (PKGVERSION): New AC_DEFINE_UNQUOTED.
35519 (REPORT_BUGS_TO): Likewise.
35520 * configure: Regenerated.
35521 * config.h.in (PKGVERSION): New macro.
35522 (REPORT_BUGS_TO): Likewise.
35523 * config.make.in (PKGVERSION): New variable.
35524 (PKGVERSION_TEXI): Likewise.
35525 (REPORT_BUGS_TO): Likewise.
35526 (REPORT_BUGS_TEXI): Likewise.
35527 * Makefile (format-me): Use -I$(common-objpfx)manual.
35528 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35529 ($(common-objpfx)manual/%): New target.
35530 (manual/%): Remove target.
35531 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35532 (print_version): Use PKGVERSION.
35533 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35534 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35535 and REPORT_BUGS_TO.
35536 ($(objpfx)xtrace): Likewise.
35537 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35538 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35539 (print_version): Use PKGVERSION.
35540 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35541 (do_version): Use PKGVERSION.
35542 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35544 (common-ldd-rewrite): Likewise.
35545 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35546 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35547 (print_version): Use PKGVERSION.
35548 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35549 * elf/pldd.c (argp_program_bug_address): Remove variable.
35550 (more_help): New function.
35551 (argp): Use more_help.
35552 (print_version): Use PKGVERSION.
35553 * elf/sln.c (main): Use PKGVERSION.
35554 (usage): Use REPORT_BUGS_TO.
35555 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35556 (top level): Use PKGVERSION.
35557 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35558 (print_version): Use PKGVERSION.
35559 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35560 (print_version): Use PKGVERSION.
35561 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35562 (print_version): Use PKGVERSION.
35563 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35564 (print_version): Use PKGVERSION.
35565 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35566 (print_version): Use PKGVERSION.
35567 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35568 (print_version): Use PKGVERSION.
35569 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35571 ($(objpfx)memusage): Likewise.
35572 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35573 (do_version): Use PKGVERSION.
35574 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35575 (print_version): Use PKGVERSION.
35576 * malloc/mtrace.pl ($PACKAGE): Remove variable.
35577 ($PKGVERSION): New variable.
35578 ($REPORT_BUGS_TO): Likewise.
35579 (usage): Use $REPORT_BUGS_TO.
35580 (top level): Use $PKGVERSION.
35581 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35582 ($(objpfx)pkgvers.texi): New rule.
35583 ($(objpfx)stamp-pkgvers): Likewise.
35584 * manual/install.texi: Include pkgvers.texi.
35585 (--with-pkgversion): Document new configure option.
35586 (--with-bugurl): Likewise.
35587 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35588 than necessarily for this particular distribution. Use
35589 REPORT_BUGS_TO for where to report bugs.
35590 * INSTALL: Regenerated.
35591 * manual/libc.texinfo: Include pkgvers.texi.
35592 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35593 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35594 (print_version): Use PKGVERSION.
35595 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35596 (print_version): Use PKGVERSION.
35597 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35598 (print_version): Use PKGVERSION.
35599 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35600 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35602 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35603 (print_version): Use PKGVERSION.
35604 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35605 (print_version): Use PKGVERSION.
35606 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35609 * timezone/checktab.awk: Update from tzcode 2012i.
35610 * timezone/ialloc.c: Likewise.
35611 * timezone/private.h: Likewise.
35612 * timezone/scheck.c: Likewise.
35613 * timezone/tzfile.h: Likewise.
35614 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35615 (TZVERSION): Hardcode tzcode version number.
35616 * timezone/zdump.c: Update from tzcode 2012i.
35617 * timezone/zic.c: Likewise.
35618 * timezone/version.h: New file.
35619 * timezone/README: Describe version.h. Update upstream location.
35622 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35623 (mktemp): Enable declaration.
35624 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35629 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35631 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35633 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35635 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35641 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35642 offset in buffer as u_int32_t not u_long. Consistently use memcpy
35643 for copies of such integer values.
35644 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35645 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35647 2012-11-09 Andreas Jaeger <aj@suse.de>
35649 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35650 definitions and declarations that are provided by
35651 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35653 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35655 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35656 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35657 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35660 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35662 * elf/elf.h: Update comment before AArch64 relocations.
35664 2012-11-07 David S. Miller <davem@davemloft.net>
35666 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35667 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35668 (__start_context): Declare.
35669 (__makecontext_ret): Delete.
35670 (__makecontext): Hook up __start_context instead of
35672 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35673 (sysdep_routines): Add __start_context when in stdlib.
35675 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35677 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35678 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35679 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
35681 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
35682 (READELF): New variable. Use it instead of hardcoded "readelf".
35684 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
35686 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35687 * sysdeps/x86/Makefile: Here.
35688 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35689 * sysdeps/x86/tst-xmmymm.sh: This.
35691 2012-11-07 Joseph Myers <joseph@codesourcery.com>
35693 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35695 [UNIX98] (pthread_barrier_t): Do not expect.
35696 [UNIX98] (pthread_barrierattr_t): Likewise.
35697 [UNIX98] (pthread_spinlock_t): Likewise.
35698 [UNIX98] (pthread_barrier_destroy): Likewise.
35699 [UNIX98] (pthread_barrier_init): Likewise.
35700 [UNIX98] (pthread_barrier_wait): Likewise.
35701 [UNIX98] (pthread_barrierattr_destroy): Likewise.
35702 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35703 [UNIX98] (pthread_barrierattr_init): Likewise.
35704 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35705 [UNIX98] (pthread_getcpuclockid): Likewise.
35706 [UNIX98] (pthread_mutex_timedlock): Likewise.
35707 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35708 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35709 [UNIX98] (pthread_sigmask): Likewise.
35710 [UNIX98] (pthread_spin_destroy): Likewise.
35711 [UNIX98] (pthread_spin_init): Likewise.
35712 [UNIX98] (pthread_spin_lock): Likewise.
35713 [UNIX98] (pthread_spin_trylock): Likewise.
35714 [UNIX98] (pthread_spin_unlock): Likewise.
35715 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35717 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35718 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35719 [XPG3 || XPG4] (pthread_cond_t): Likewise.
35720 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35721 [XPG3 || XPG4] (pthread_key_t): Likewise.
35722 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35723 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35724 [XPG3 || XPG4] (pthread_once_t): Likewise.
35725 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35726 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35727 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35728 [XPG3 || XPG4] (pthread_t): Likewise.
35730 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35732 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35734 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35735 Change function return type to int.
35737 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35738 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35739 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35740 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35741 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35742 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35743 [!POSIX] (posix_madvise): Likewise.
35744 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35746 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35747 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35748 (mode_t): Likewise.
35749 (posix_mem_offset): Likewise.
35750 (posix_typed_mem_get_info): Likewise.
35751 (posix_typed_mem_open): Likewise.
35753 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35754 Change condition to [XOPEN2K8].
35756 * conform/conformtest.pl: Preprocess allow-header data with -x c
35757 instead of from stdin.
35758 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35759 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35760 [C99-based standards] (cerfc): Likewise.
35761 [C99-based standards] (cexp2): Likewise.
35762 [C99-based standards] (cexpm1): Likewise.
35763 [C99-based standards] (clog10): Likewise.
35764 [C99-based standards] (clog1p): Likewise.
35765 [C99-based standards] (clog2): Likewise.
35766 [C99-based standards] (clgamma): Likewise.
35767 [C99-based standards] (ctgamma): Likewise.
35768 [C99-based standards] (cerff): Likewise.
35769 [C99-based standards] (cerfcf): Likewise.
35770 [C99-based standards] (cexp2f): Likewise.
35771 [C99-based standards] (cexpm1f): Likewise.
35772 [C99-based standards] (clog10f): Likewise.
35773 [C99-based standards] (clog1pf): Likewise.
35774 [C99-based standards] (clog2f): Likewise.
35775 [C99-based standards] (clgammaf): Likewise.
35776 [C99-based standards] (ctgammaf): Likewise.
35777 [C99-based standards] (cerfl): Likewise.
35778 [C99-based standards] (cerfcl): Likewise.
35779 [C99-based standards] (cexp2l): Likewise.
35780 [C99-based standards] (cexpm1l): Likewise.
35781 [C99-based standards] (clog10l): Likewise.
35782 [C99-based standards] (clog1pl): Likewise.
35783 [C99-based standards] (clog2l): Likewise.
35784 [C99-based standards] (clgammal): Likewise.
35785 [C99-based standards] (ctgammal): Likewise.
35786 * conform/data/inttypes.h-data [C99-based standards]: Include
35787 stdint.h-data. Remove all expectations for stdint.h contents.
35788 [C99-based standards] (PRI*): Do not allow.
35789 [C99-based standards] (SCN*): Likewise.
35790 [C99-based standards] (*_t): Likewise.
35791 [C99-based-standards] (PRId8): Expect macro.
35792 [C99-based-standards] (PRIi8): Likewise.
35793 [C99-based-standards] (PRIo8): Likewise.
35794 [C99-based-standards] (PRIu8): Likewise.
35795 [C99-based-standards] (PRIx8): Likewise.
35796 [C99-based-standards] (PRIX8): Likewise.
35797 [C99-based-standards] (SCNd8): Likewise.
35798 [C99-based-standards] (SCNi8): Likewise.
35799 [C99-based-standards] (SCNo8): Likewise.
35800 [C99-based-standards] (SCNu8): Likewise.
35801 [C99-based-standards] (SCNx8): Likewise.
35802 [C99-based-standards] (PRIdLEAST8): Likewise.
35803 [C99-based-standards] (PRIiLEAST8): Likewise.
35804 [C99-based-standards] (PRIoLEAST8): Likewise.
35805 [C99-based-standards] (PRIuLEAST8): Likewise.
35806 [C99-based-standards] (PRIxLEAST8): Likewise.
35807 [C99-based-standards] (PRIXLEAST8): Likewise.
35808 [C99-based-standards] (SCNdLEAST8): Likewise.
35809 [C99-based-standards] (SCNiLEAST8): Likewise.
35810 [C99-based-standards] (SCNoLEAST8): Likewise.
35811 [C99-based-standards] (SCNuLEAST8): Likewise.
35812 [C99-based-standards] (SCNxLEAST8): Likewise.
35813 [C99-based-standards] (PRIdFAST8): Likewise.
35814 [C99-based-standards] (PRIiFAST8): Likewise.
35815 [C99-based-standards] (PRIoFAST8): Likewise.
35816 [C99-based-standards] (PRIuFAST8): Likewise.
35817 [C99-based-standards] (PRIxFAST8): Likewise.
35818 [C99-based-standards] (PRIXFAST8): Likewise.
35819 [C99-based-standards] (SCNdFAST8): Likewise.
35820 [C99-based-standards] (SCNiFAST8): Likewise.
35821 [C99-based-standards] (SCNoFAST8): Likewise.
35822 [C99-based-standards] (SCNuFAST8): Likewise.
35823 [C99-based-standards] (SCNxFAST8): Likewise.
35824 [C99-based-standards] (PRId16): Likewise.
35825 [C99-based-standards] (PRIi16): Likewise.
35826 [C99-based-standards] (PRIo16): Likewise.
35827 [C99-based-standards] (PRIu16): Likewise.
35828 [C99-based-standards] (PRIx16): Likewise.
35829 [C99-based-standards] (PRIX16): Likewise.
35830 [C99-based-standards] (SCNd16): Likewise.
35831 [C99-based-standards] (SCNi16): Likewise.
35832 [C99-based-standards] (SCNo16): Likewise.
35833 [C99-based-standards] (SCNu16): Likewise.
35834 [C99-based-standards] (SCNx16): Likewise.
35835 [C99-based-standards] (PRIdLEAST16): Likewise.
35836 [C99-based-standards] (PRIiLEAST16): Likewise.
35837 [C99-based-standards] (PRIoLEAST16): Likewise.
35838 [C99-based-standards] (PRIuLEAST16): Likewise.
35839 [C99-based-standards] (PRIxLEAST16): Likewise.
35840 [C99-based-standards] (PRIXLEAST16): Likewise.
35841 [C99-based-standards] (SCNdLEAST16): Likewise.
35842 [C99-based-standards] (SCNiLEAST16): Likewise.
35843 [C99-based-standards] (SCNoLEAST16): Likewise.
35844 [C99-based-standards] (SCNuLEAST16): Likewise.
35845 [C99-based-standards] (SCNxLEAST16): Likewise.
35846 [C99-based-standards] (PRIdFAST16): Likewise.
35847 [C99-based-standards] (PRIiFAST16): Likewise.
35848 [C99-based-standards] (PRIoFAST16): Likewise.
35849 [C99-based-standards] (PRIuFAST16): Likewise.
35850 [C99-based-standards] (PRIxFAST16): Likewise.
35851 [C99-based-standards] (PRIXFAST16): Likewise.
35852 [C99-based-standards] (SCNdFAST16): Likewise.
35853 [C99-based-standards] (SCNiFAST16): Likewise.
35854 [C99-based-standards] (SCNoFAST16): Likewise.
35855 [C99-based-standards] (SCNuFAST16): Likewise.
35856 [C99-based-standards] (SCNxFAST16): Likewise.
35857 [C99-based-standards] (PRId32): Likewise.
35858 [C99-based-standards] (PRIi32): Likewise.
35859 [C99-based-standards] (PRIo32): Likewise.
35860 [C99-based-standards] (PRIu32): Likewise.
35861 [C99-based-standards] (PRIx32): Likewise.
35862 [C99-based-standards] (PRIX32): Likewise.
35863 [C99-based-standards] (SCNd32): Likewise.
35864 [C99-based-standards] (SCNi32): Likewise.
35865 [C99-based-standards] (SCNo32): Likewise.
35866 [C99-based-standards] (SCNu32): Likewise.
35867 [C99-based-standards] (SCNx32): Likewise.
35868 [C99-based-standards] (PRIdLEAST32): Likewise.
35869 [C99-based-standards] (PRIiLEAST32): Likewise.
35870 [C99-based-standards] (PRIoLEAST32): Likewise.
35871 [C99-based-standards] (PRIuLEAST32): Likewise.
35872 [C99-based-standards] (PRIxLEAST32): Likewise.
35873 [C99-based-standards] (PRIXLEAST32): Likewise.
35874 [C99-based-standards] (SCNdLEAST32): Likewise.
35875 [C99-based-standards] (SCNiLEAST32): Likewise.
35876 [C99-based-standards] (SCNoLEAST32): Likewise.
35877 [C99-based-standards] (SCNuLEAST32): Likewise.
35878 [C99-based-standards] (SCNxLEAST32): Likewise.
35879 [C99-based-standards] (PRIdFAST32): Likewise.
35880 [C99-based-standards] (PRIiFAST32): Likewise.
35881 [C99-based-standards] (PRIoFAST32): Likewise.
35882 [C99-based-standards] (PRIuFAST32): Likewise.
35883 [C99-based-standards] (PRIxFAST32): Likewise.
35884 [C99-based-standards] (PRIXFAST32): Likewise.
35885 [C99-based-standards] (SCNdFAST32): Likewise.
35886 [C99-based-standards] (SCNiFAST32): Likewise.
35887 [C99-based-standards] (SCNoFAST32): Likewise.
35888 [C99-based-standards] (SCNuFAST32): Likewise.
35889 [C99-based-standards] (SCNxFAST32): Likewise.
35890 [C99-based-standards] (PRId64): Likewise.
35891 [C99-based-standards] (PRIi64): Likewise.
35892 [C99-based-standards] (PRIo64): Likewise.
35893 [C99-based-standards] (PRIu64): Likewise.
35894 [C99-based-standards] (PRIx64): Likewise.
35895 [C99-based-standards] (PRIX64): Likewise.
35896 [C99-based-standards] (SCNd64): Likewise.
35897 [C99-based-standards] (SCNi64): Likewise.
35898 [C99-based-standards] (SCNo64): Likewise.
35899 [C99-based-standards] (SCNu64): Likewise.
35900 [C99-based-standards] (SCNx64): Likewise.
35901 [C99-based-standards] (PRIdLEAST64): Likewise.
35902 [C99-based-standards] (PRIiLEAST64): Likewise.
35903 [C99-based-standards] (PRIoLEAST64): Likewise.
35904 [C99-based-standards] (PRIuLEAST64): Likewise.
35905 [C99-based-standards] (PRIxLEAST64): Likewise.
35906 [C99-based-standards] (PRIXLEAST64): Likewise.
35907 [C99-based-standards] (SCNdLEAST64): Likewise.
35908 [C99-based-standards] (SCNiLEAST64): Likewise.
35909 [C99-based-standards] (SCNoLEAST64): Likewise.
35910 [C99-based-standards] (SCNuLEAST64): Likewise.
35911 [C99-based-standards] (SCNxLEAST64): Likewise.
35912 [C99-based-standards] (PRIdFAST64): Likewise.
35913 [C99-based-standards] (PRIiFAST64): Likewise.
35914 [C99-based-standards] (PRIoFAST64): Likewise.
35915 [C99-based-standards] (PRIuFAST64): Likewise.
35916 [C99-based-standards] (PRIxFAST64): Likewise.
35917 [C99-based-standards] (PRIXFAST64): Likewise.
35918 [C99-based-standards] (SCNdFAST64): Likewise.
35919 [C99-based-standards] (SCNiFAST64): Likewise.
35920 [C99-based-standards] (SCNoFAST64): Likewise.
35921 [C99-based-standards] (SCNuFAST64): Likewise.
35922 [C99-based-standards] (SCNxFAST64): Likewise.
35923 [C99-based-standards] (PRIdMAX): Likewise.
35924 [C99-based-standards] (PRIiMAX): Likewise.
35925 [C99-based-standards] (PRIoMAX): Likewise.
35926 [C99-based-standards] (PRIuMAX): Likewise.
35927 [C99-based-standards] (PRIxMAX): Likewise.
35928 [C99-based-standards] (PRIXMAX): Likewise.
35929 [C99-based-standards] (SCNdMAX): Likewise.
35930 [C99-based-standards] (SCNiMAX): Likewise.
35931 [C99-based-standards] (SCNoMAX): Likewise.
35932 [C99-based-standards] (SCNuMAX): Likewise.
35933 [C99-based-standards] (SCNxMAX): Likewise.
35934 [C99-based-standards] (PRIdPTR): Likewise.
35935 [C99-based-standards] (PRIiPTR): Likewise.
35936 [C99-based-standards] (PRIoPTR): Likewise.
35937 [C99-based-standards] (PRIuPTR): Likewise.
35938 [C99-based-standards] (PRIxPTR): Likewise.
35939 [C99-based-standards] (PRIXPTR): Likewise.
35940 [C99-based-standards] (SCNdPTR): Likewise.
35941 [C99-based-standards] (SCNiPTR): Likewise.
35942 [C99-based-standards] (SCNoPTR): Likewise.
35943 [C99-based-standards] (SCNuPTR): Likewise.
35944 [C99-based-standards] (SCNxPTR): Likewise.
35945 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35947 * conform/data/stdint.h-data: Update comments to clarify
35949 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
35951 [C99-based standards] (INT8_MAX): Likewise.
35952 [C99-based standards] (INT16_MIN): Likewise.
35953 [C99-based standards] (INT16_MAX): Likewise.
35954 [C99-based standards] (INT32_MIN): Likewise.
35955 [C99-based standards] (INT32_MAX): Likewise.
35956 [C99-based standards] (INT64_MIN): Likewise.
35957 [C99-based standards] (INT64_MAX): Likewise.
35958 [C99-based standards] (UINT8_MAX): Likewise.
35959 [C99-based standards] (UINT16_MAX): Likewise.
35960 [C99-based standards] (UINT32_MAX): Likewise.
35961 [C99-based standards] (UINT64_MAX): Likewise.
35962 [C99-based standards] (INT_LEAST8_MIN): Likewise.
35963 [C99-based standards] (INT_LEAST8_MAX): Likewise.
35964 [C99-based standards] (INT_LEAST16_MIN): Likewise.
35965 [C99-based standards] (INT_LEAST16_MAX): Likewise.
35966 [C99-based standards] (INT_LEAST32_MIN): Likewise.
35967 [C99-based standards] (INT_LEAST32_MAX): Likewise.
35968 [C99-based standards] (INT_LEAST64_MIN): Likewise.
35969 [C99-based standards] (INT_LEAST64_MAX): Likewise.
35970 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35971 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35972 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35973 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35974 [C99-based standards] (INT_FAST8_MIN): Likewise.
35975 [C99-based standards] (INT_FAST8_MAX): Likewise.
35976 [C99-based standards] (INT_FAST16_MIN): Likewise.
35977 [C99-based standards] (INT_FAST16_MAX): Likewise.
35978 [C99-based standards] (INT_FAST32_MIN): Likewise.
35979 [C99-based standards] (INT_FAST32_MAX): Likewise.
35980 [C99-based standards] (INT_FAST64_MIN): Likewise.
35981 [C99-based standards] (INT_FAST64_MAX): Likewise.
35982 [C99-based standards] (UINT_FAST8_MAX): Likewise.
35983 [C99-based standards] (UINT_FAST16_MAX): Likewise.
35984 [C99-based standards] (UINT_FAST32_MAX): Likewise.
35985 [C99-based standards] (UINT_FAST64_MAX): Likewise.
35986 [C99-based standards] (INTPTR_MIN): Likewise.
35987 [C99-based standards] (INTPTR_MAX): Likewise.
35988 [C99-based standards] (UINTPTR_MAX): Likewise.
35989 [C99-based standards] (INTMAX_MIN): Likewise.
35990 [C99-based standards] (INTMAX_MAX): Likewise.
35991 [C99-based standards] (UINTMAX_MAX): Likewise.
35992 [C99-based standards] (PTRDIFF_MIN): Likewise.
35993 [C99-based standards] (PTRDIFF_MAX): Likewise.
35994 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35995 [C99-based standards] (SIZE_MAX): Likewise.
35996 [C99-based standards] (WCHAR_MAX): Likewise.
35997 [C99-based standards] (WINT_MAX): Likewise.
35998 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
35999 constraint on value.
36000 [C99-based standards] (WCHAR_MIN): Likewise.
36001 [C99-based standards] (WINT_MIN): Likewise.
36002 [C99-based standards] (*_t): Allow.
36003 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36004 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36005 Include math.h-data and complex.h-data. Remove all expectations
36006 of math.h and complex.h contents.
36007 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36009 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36010 (struct tm): Expect tag.
36011 [C99-based-standards] (wcstof): Expect function.
36012 [C99-based-standards] (wcstold): Likewise.
36013 [C99-based-standards] (wcstoll): Likewise.
36014 [C99-based-standards] (wcstoull): Likewise.
36015 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36016 macro-int-constant. Specify type.
36017 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36018 constraint on value.
36019 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36021 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36023 [ISO C standards]: Do not allow headers.
36024 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36025 wcs[abcdefghijklmnopqrstuvwxyz]*.
36026 [ISO C standards] (*_t): Do not allow.
36027 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36029 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36030 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36032 [ISO C standards]: Do not allow headers.
36033 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36034 is[abcdefghijklmnopqrstuvwxyz]*.
36035 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36036 to[abcdefghijklmnopqrstuvwxyz]*.
36037 [ISO C standards] (*_t): Do not allow.
36038 * conform/data/stdalign.h-data: New file.
36039 * conform/data/stdbool.h-data: Likewise.
36040 * conform/data/stdnoreturn.h-data: Likewise.
36042 2012-11-07 Roland McGrath <roland@hack.frob.com>
36045 * manual/filesys.texi (Directory Entries): Typo fix.
36046 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36048 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36050 * elf/elf.h (EM_AARCH64): New macro.
36051 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36052 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36053 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36054 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36055 (R_AARCH64_TLSDESC): Likewise.
36056 (NT_ARM_TLS): Likewise.
36057 (NT_ARM_HW_BREAK): Likewise.
36058 (NT_ARM_HW_WATCH): Likewise.
36060 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36063 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36064 (__ieee754_powl): Saturate nonzero exponents with absolute value
36065 below 0x1p-79 to +/- 0x1p-79.
36066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36067 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36068 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36069 nonzero exponents with absolute value below 0x1p-32 to +/-
36071 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36072 (__ieee754_powl): Saturate nonzero exponents with absolute value
36073 below 0x1p-79 to +/- 0x1p-79.
36074 * math/libm-test.inc (pow_test): Add more tests.
36076 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36078 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36079 _dl_s390_cap_flags with kernel. Increase string length.
36080 (_dl_s390_platforms): Add z196 and zEC12.
36082 2012-11-07 Joseph Myers <joseph@codesourcery.com>
36084 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36085 Change XOPEN21K to XOPEN2K.
36087 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36089 * string/memmove.c: Use memcpy when possible.
36091 2012-11-06 Andreas Jaeger <aj@suse.de>
36093 * po/eo.po: Update from translation team.
36095 2012-11-06 Joseph Myers <joseph@codesourcery.com>
36098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36099 exponent and small x and y exponents, scale x or y up. Increase
36100 by 2 the exponent used in scaling up.
36101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36103 * math/libm-test.inc (fma_test): Add more tests.
36104 (fma_test_towardzero): Likewise.
36105 (fma_test_downward): Likewise.
36106 (fma_test_upward): Likewise.
36108 2012-11-05 Joseph Myers <joseph@codesourcery.com>
36111 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36115 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36116 namespace for names of struct fields.
36117 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36119 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36120 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36122 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36125 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36127 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36129 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36133 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36136 2012-11-04 Joseph Myers <joseph@codesourcery.com>
36139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36140 definitely overflow as x * y not x * y + z.
36141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36142 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36143 * math/libm-test.inc (fma_test): Add more tests.
36144 (fma_test_towardzero): Likewise.
36145 (fma_test_downward): Likewise.
36146 (fma_test_upward): Likewise.
36148 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36152 * include/stub-tag.h: Remove file.
36153 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36155 * manual/maint.texi (Porting): Don't reference it.
36156 * Makerules ($(objpfx)stubs): Likewise.
36157 * dirent/closedir.c: Don't include <stub-tag.h>.
36158 * dirent/dirfd.c: Likewise.
36159 * dirent/fdopendir.c: Likewise.
36160 * dirent/getdents.c: Likewise.
36161 * dirent/getdents64.c: Likewise.
36162 * dirent/opendir.c: Likewise.
36163 * dirent/readdir.c: Likewise.
36164 * dirent/readdir64.c: Likewise.
36165 * dirent/readdir64_r.c: Likewise.
36166 * dirent/readdir_r.c: Likewise.
36167 * dirent/rewinddir.c: Likewise.
36168 * dirent/seekdir.c: Likewise.
36169 * dirent/telldir.c: Likewise.
36170 * gmon/profil.c: Likewise.
36171 * grp/setgroups.c: Likewise.
36172 * inet/if_index.c: Likewise.
36173 * io/access.c: Likewise.
36174 * io/chdir.c: Likewise.
36175 * io/chmod.c: Likewise.
36176 * io/chown.c: Likewise.
36177 * io/close.c: Likewise.
36178 * io/dup.c: Likewise.
36179 * io/dup2.c: Likewise.
36180 * io/dup3.c: Likewise.
36181 * io/euidaccess.c: Likewise.
36182 * io/faccessat.c: Likewise.
36183 * io/fchdir.c: Likewise.
36184 * io/fchmod.c: Likewise.
36185 * io/fchmodat.c: Likewise.
36186 * io/fchown.c: Likewise.
36187 * io/fchownat.c: Likewise.
36188 * io/fcntl.c: Likewise.
36189 * io/flock.c: Likewise.
36190 * io/fstatfs.c: Likewise.
36191 * io/fstatfs64.c: Likewise.
36192 * io/fstatvfs.c: Likewise.
36193 * io/fstatvfs64.c: Likewise.
36194 * io/futimens.c: Likewise.
36195 * io/fxstat.c: Likewise.
36196 * io/fxstat64.c: Likewise.
36197 * io/fxstatat.c: Likewise.
36198 * io/fxstatat64.c: Likewise.
36199 * io/getcwd.c: Likewise.
36200 * io/isatty.c: Likewise.
36201 * io/lchmod.c: Likewise.
36202 * io/lchown.c: Likewise.
36203 * io/link.c: Likewise.
36204 * io/linkat.c: Likewise.
36205 * io/lseek.c: Likewise.
36206 * io/lseek64.c: Likewise.
36207 * io/lxstat64.c: Likewise.
36208 * io/mkdir.c: Likewise.
36209 * io/mkdirat.c: Likewise.
36210 * io/mkfifo.c: Likewise.
36211 * io/mkfifoat.c: Likewise.
36212 * io/open.c: Likewise.
36213 * io/open64.c: Likewise.
36214 * io/openat.c: Likewise.
36215 * io/openat64.c: Likewise.
36216 * io/pipe.c: Likewise.
36217 * io/pipe2.c: Likewise.
36218 * io/poll.c: Likewise.
36219 * io/posix_fadvise.c: Likewise.
36220 * io/posix_fadvise64.c: Likewise.
36221 * io/posix_fallocate.c: Likewise.
36222 * io/posix_fallocate64.c: Likewise.
36223 * io/read.c: Likewise.
36224 * io/readlink.c: Likewise.
36225 * io/readlinkat.c: Likewise.
36226 * io/rmdir.c: Likewise.
36227 * io/sendfile.c: Likewise.
36228 * io/sendfile64.c: Likewise.
36229 * io/statfs.c: Likewise.
36230 * io/statfs64.c: Likewise.
36231 * io/statvfs.c: Likewise.
36232 * io/statvfs64.c: Likewise.
36233 * io/symlink.c: Likewise.
36234 * io/symlinkat.c: Likewise.
36235 * io/ttyname.c: Likewise.
36236 * io/ttyname_r.c: Likewise.
36237 * io/umask.c: Likewise.
36238 * io/unlink.c: Likewise.
36239 * io/unlinkat.c: Likewise.
36240 * io/utime.c: Likewise.
36241 * io/utimensat.c: Likewise.
36242 * io/write.c: Likewise.
36243 * io/xmknod.c: Likewise.
36244 * io/xmknodat.c: Likewise.
36245 * io/xstat.c: Likewise.
36246 * io/xstat64.c: Likewise.
36247 * login/getpt.c: Likewise.
36248 * login/grantpt.c: Likewise.
36249 * login/unlockpt.c: Likewise.
36250 * math/e_acoshl.c: Likewise.
36251 * math/e_acosl.c: Likewise.
36252 * math/e_asinl.c: Likewise.
36253 * math/e_atan2l.c: Likewise.
36254 * math/e_atanhl.c: Likewise.
36255 * math/e_coshl.c: Likewise.
36256 * math/e_expl.c: Likewise.
36257 * math/e_fmodl.c: Likewise.
36258 * math/e_gammal_r.c: Likewise.
36259 * math/e_hypotl.c: Likewise.
36260 * math/e_j0l.c: Likewise.
36261 * math/e_j1l.c: Likewise.
36262 * math/e_jnl.c: Likewise.
36263 * math/e_lgammal_r.c: Likewise.
36264 * math/e_log10l.c: Likewise.
36265 * math/e_log2l.c: Likewise.
36266 * math/e_logl.c: Likewise.
36267 * math/e_powl.c: Likewise.
36268 * math/e_rem_pio2l.c: Likewise.
36269 * math/e_sinhl.c: Likewise.
36270 * math/e_sqrtl.c: Likewise.
36271 * math/fclrexcpt.c: Likewise.
36272 * math/fedisblxcpt.c: Likewise.
36273 * math/feenablxcpt.c: Likewise.
36274 * math/fegetenv.c: Likewise.
36275 * math/fegetexcept.c: Likewise.
36276 * math/fegetround.c: Likewise.
36277 * math/feholdexcpt.c: Likewise.
36278 * math/fesetenv.c: Likewise.
36279 * math/fesetround.c: Likewise.
36280 * math/feupdateenv.c: Likewise.
36281 * math/fgetexcptflg.c: Likewise.
36282 * math/fraiseexcpt.c: Likewise.
36283 * math/fsetexcptflg.c: Likewise.
36284 * math/ftestexcept.c: Likewise.
36285 * math/k_cosl.c: Likewise.
36286 * math/k_rem_pio2l.c: Likewise.
36287 * math/k_sinl.c: Likewise.
36288 * math/k_tanl.c: Likewise.
36289 * math/s_asinhl.c: Likewise.
36290 * math/s_atanl.c: Likewise.
36291 * math/s_cbrtl.c: Likewise.
36292 * math/s_erfl.c: Likewise.
36293 * math/s_expm1l.c: Likewise.
36294 * math/s_log1pl.c: Likewise.
36295 * math/s_tanhl.c: Likewise.
36296 * misc/acct.c: Likewise.
36297 * misc/brk.c: Likewise.
36298 * misc/chflags.c: Likewise.
36299 * misc/chroot.c: Likewise.
36300 * misc/fchflags.c: Likewise.
36301 * misc/fgetxattr.c: Likewise.
36302 * misc/flistxattr.c: Likewise.
36303 * misc/fremovexattr.c: Likewise.
36304 * misc/fsetxattr.c: Likewise.
36305 * misc/fsync.c: Likewise.
36306 * misc/ftruncate.c: Likewise.
36307 * misc/futimes.c: Likewise.
36308 * misc/futimesat.c: Likewise.
36309 * misc/getdomain.c: Likewise.
36310 * misc/getdtsz.c: Likewise.
36311 * misc/gethostid.c: Likewise.
36312 * misc/gethostname.c: Likewise.
36313 * misc/getloadavg.c: Likewise.
36314 * misc/getpagesize.c: Likewise.
36315 * misc/getsysstats.c: Likewise.
36316 * misc/getxattr.c: Likewise.
36317 * misc/gtty.c: Likewise.
36318 * misc/ioctl.c: Likewise.
36319 * misc/lgetxattr.c: Likewise.
36320 * misc/listxattr.c: Likewise.
36321 * misc/llistxattr.c: Likewise.
36322 * misc/lremovexattr.c: Likewise.
36323 * misc/lsetxattr.c: Likewise.
36324 * misc/lutimes.c: Likewise.
36325 * misc/madvise.c: Likewise.
36326 * misc/mincore.c: Likewise.
36327 * misc/mlock.c: Likewise.
36328 * misc/mlockall.c: Likewise.
36329 * misc/mmap.c: Likewise.
36330 * misc/mprotect.c: Likewise.
36331 * misc/msync.c: Likewise.
36332 * misc/munlock.c: Likewise.
36333 * misc/munlockall.c: Likewise.
36334 * misc/munmap.c: Likewise.
36335 * misc/preadv.c: Likewise.
36336 * misc/preadv64.c: Likewise.
36337 * misc/ptrace.c: Likewise.
36338 * misc/pwritev.c: Likewise.
36339 * misc/pwritev64.c: Likewise.
36340 * misc/readv.c: Likewise.
36341 * misc/reboot.c: Likewise.
36342 * misc/remap_file_pages.c: Likewise.
36343 * misc/removexattr.c: Likewise.
36344 * misc/revoke.c: Likewise.
36345 * misc/select.c: Likewise.
36346 * misc/setdomain.c: Likewise.
36347 * misc/setegid.c: Likewise.
36348 * misc/seteuid.c: Likewise.
36349 * misc/sethostid.c: Likewise.
36350 * misc/sethostname.c: Likewise.
36351 * misc/setregid.c: Likewise.
36352 * misc/setreuid.c: Likewise.
36353 * misc/setxattr.c: Likewise.
36354 * misc/sstk.c: Likewise.
36355 * misc/stty.c: Likewise.
36356 * misc/swapoff.c: Likewise.
36357 * misc/swapon.c: Likewise.
36358 * misc/sync.c: Likewise.
36359 * misc/syncfs.c: Likewise.
36360 * misc/syscall.c: Likewise.
36361 * misc/truncate.c: Likewise.
36362 * misc/ualarm.c: Likewise.
36363 * misc/usleep.c: Likewise.
36364 * misc/ustat.c: Likewise.
36365 * misc/utimes.c: Likewise.
36366 * misc/vhangup.c: Likewise.
36367 * misc/writev.c: Likewise.
36368 * posix/_exit.c: Likewise.
36369 * posix/alarm.c: Likewise.
36370 * posix/execve.c: Likewise.
36371 * posix/fexecve.c: Likewise.
36372 * posix/fork.c: Likewise.
36373 * posix/fpathconf.c: Likewise.
36374 * posix/getaddrinfo.c: Likewise.
36375 * posix/getegid.c: Likewise.
36376 * posix/geteuid.c: Likewise.
36377 * posix/getgid.c: Likewise.
36378 * posix/getgroups.c: Likewise.
36379 * posix/getlogin.c: Likewise.
36380 * posix/getlogin_r.c: Likewise.
36381 * posix/getpgid.c: Likewise.
36382 * posix/getpid.c: Likewise.
36383 * posix/getppid.c: Likewise.
36384 * posix/getresgid.c: Likewise.
36385 * posix/getresuid.c: Likewise.
36386 * posix/getsid.c: Likewise.
36387 * posix/getuid.c: Likewise.
36388 * posix/glob64.c: Likewise.
36389 * posix/nanosleep.c: Likewise.
36390 * posix/pathconf.c: Likewise.
36391 * posix/pause.c: Likewise.
36392 * posix/posix_madvise.c: Likewise.
36393 * posix/pread.c: Likewise.
36394 * posix/pread64.c: Likewise.
36395 * posix/pwrite.c: Likewise.
36396 * posix/pwrite64.c: Likewise.
36397 * posix/sched_getaffinity.c: Likewise.
36398 * posix/sched_getp.c: Likewise.
36399 * posix/sched_gets.c: Likewise.
36400 * posix/sched_primax.c: Likewise.
36401 * posix/sched_primin.c: Likewise.
36402 * posix/sched_rr_gi.c: Likewise.
36403 * posix/sched_setaffinity.c: Likewise.
36404 * posix/sched_setp.c: Likewise.
36405 * posix/sched_sets.c: Likewise.
36406 * posix/sched_yield.c: Likewise.
36407 * posix/setgid.c: Likewise.
36408 * posix/setlogin.c: Likewise.
36409 * posix/setpgid.c: Likewise.
36410 * posix/setresgid.c: Likewise.
36411 * posix/setresuid.c: Likewise.
36412 * posix/setsid.c: Likewise.
36413 * posix/setuid.c: Likewise.
36414 * posix/sleep.c: Likewise.
36415 * posix/spawni.c: Likewise.
36416 * posix/sysconf.c: Likewise.
36417 * posix/times.c: Likewise.
36418 * posix/wait.c: Likewise.
36419 * posix/wait3.c: Likewise.
36420 * posix/wait4.c: Likewise.
36421 * posix/waitpid.c: Likewise.
36422 * resolv/gai_sigqueue.c: Likewise.
36423 * resource/getpriority.c: Likewise.
36424 * resource/getrlimit.c: Likewise.
36425 * resource/getrusage.c: Likewise.
36426 * resource/nice.c: Likewise.
36427 * resource/setpriority.c: Likewise.
36428 * resource/setrlimit.c: Likewise.
36429 * resource/ulimit.c: Likewise.
36430 * rt/aio_cancel.c: Likewise.
36431 * rt/aio_fsync.c: Likewise.
36432 * rt/aio_read.c: Likewise.
36433 * rt/aio_sigqueue.c: Likewise.
36434 * rt/aio_suspend.c: Likewise.
36435 * rt/aio_write.c: Likewise.
36436 * rt/clock_getres.c: Likewise.
36437 * rt/clock_gettime.c: Likewise.
36438 * rt/clock_nanosleep.c: Likewise.
36439 * rt/clock_settime.c: Likewise.
36440 * rt/lio_listio.c: Likewise.
36441 * rt/mq_close.c: Likewise.
36442 * rt/mq_getattr.c: Likewise.
36443 * rt/mq_notify.c: Likewise.
36444 * rt/mq_open.c: Likewise.
36445 * rt/mq_receive.c: Likewise.
36446 * rt/mq_send.c: Likewise.
36447 * rt/mq_setattr.c: Likewise.
36448 * rt/mq_timedreceive.c: Likewise.
36449 * rt/mq_timedsend.c: Likewise.
36450 * rt/mq_unlink.c: Likewise.
36451 * rt/shm_open.c: Likewise.
36452 * rt/shm_unlink.c: Likewise.
36453 * rt/timer_create.c: Likewise.
36454 * rt/timer_delete.c: Likewise.
36455 * rt/timer_getoverr.c: Likewise.
36456 * rt/timer_gettime.c: Likewise.
36457 * rt/timer_settime.c: Likewise.
36458 * setjmp/__longjmp.c: Likewise.
36459 * setjmp/setjmp.c: Likewise.
36460 * signal/kill.c: Likewise.
36461 * signal/killpg.c: Likewise.
36462 * signal/raise.c: Likewise.
36463 * signal/sigaction.c: Likewise.
36464 * signal/sigaltstack.c: Likewise.
36465 * signal/sigblock.c: Likewise.
36466 * signal/sigignore.c: Likewise.
36467 * signal/sigintr.c: Likewise.
36468 * signal/signal.c: Likewise.
36469 * signal/sigpause.c: Likewise.
36470 * signal/sigpending.c: Likewise.
36471 * signal/sigqueue.c: Likewise.
36472 * signal/sigreturn.c: Likewise.
36473 * signal/sigset.c: Likewise.
36474 * signal/sigsetmask.c: Likewise.
36475 * signal/sigstack.c: Likewise.
36476 * signal/sigsuspend.c: Likewise.
36477 * signal/sigtimedwait.c: Likewise.
36478 * signal/sigvec.c: Likewise.
36479 * signal/sigwait.c: Likewise.
36480 * signal/sigwaitinfo.c: Likewise.
36481 * signal/sysv_signal.c: Likewise.
36482 * socket/accept.c: Likewise.
36483 * socket/accept4.c: Likewise.
36484 * socket/bind.c: Likewise.
36485 * socket/connect.c: Likewise.
36486 * socket/getpeername.c: Likewise.
36487 * socket/getsockname.c: Likewise.
36488 * socket/getsockopt.c: Likewise.
36489 * socket/isfdtype.c: Likewise.
36490 * socket/listen.c: Likewise.
36491 * socket/recv.c: Likewise.
36492 * socket/recvfrom.c: Likewise.
36493 * socket/recvmsg.c: Likewise.
36494 * socket/send.c: Likewise.
36495 * socket/sendmsg.c: Likewise.
36496 * socket/sendto.c: Likewise.
36497 * socket/setsockopt.c: Likewise.
36498 * socket/shutdown.c: Likewise.
36499 * socket/sockatmark.c: Likewise.
36500 * socket/socket.c: Likewise.
36501 * socket/socketpair.c: Likewise.
36502 * stdio-common/ctermid.c: Likewise.
36503 * stdio-common/cuserid.c: Likewise.
36504 * stdio-common/remove.c: Likewise.
36505 * stdio-common/rename.c: Likewise.
36506 * stdio-common/renameat.c: Likewise.
36507 * stdio-common/tempname.c: Likewise.
36508 * stdlib/getcontext.c: Likewise.
36509 * stdlib/makecontext.c: Likewise.
36510 * stdlib/setcontext.c: Likewise.
36511 * stdlib/swapcontext.c: Likewise.
36512 * stdlib/system.c: Likewise.
36513 * streams/fattach.c: Likewise.
36514 * streams/fdetach.c: Likewise.
36515 * streams/getmsg.c: Likewise.
36516 * streams/getpmsg.c: Likewise.
36517 * streams/putmsg.c: Likewise.
36518 * streams/putpmsg.c: Likewise.
36519 * sysdeps/unix/bsd/getpt.c: Likewise.
36520 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36521 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36522 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36525 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36526 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36527 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36528 * sysvipc/msgctl.c: Likewise.
36529 * sysvipc/msgget.c: Likewise.
36530 * sysvipc/msgrcv.c: Likewise.
36531 * sysvipc/msgsnd.c: Likewise.
36532 * sysvipc/semctl.c: Likewise.
36533 * sysvipc/semget.c: Likewise.
36534 * sysvipc/semop.c: Likewise.
36535 * sysvipc/semtimedop.c: Likewise.
36536 * sysvipc/shmat.c: Likewise.
36537 * sysvipc/shmctl.c: Likewise.
36538 * sysvipc/shmdt.c: Likewise.
36539 * sysvipc/shmget.c: Likewise.
36540 * termios/tcdrain.c: Likewise.
36541 * termios/tcflow.c: Likewise.
36542 * termios/tcflush.c: Likewise.
36543 * termios/tcgetattr.c: Likewise.
36544 * termios/tcgetpgrp.c: Likewise.
36545 * termios/tcsendbrk.c: Likewise.
36546 * termios/tcsetattr.c: Likewise.
36547 * termios/tcsetpgrp.c: Likewise.
36548 * time/adjtime.c: Likewise.
36549 * time/clock.c: Likewise.
36550 * time/getitimer.c: Likewise.
36551 * time/gettimeofday.c: Likewise.
36552 * time/setitimer.c: Likewise.
36553 * time/settimeofday.c: Likewise.
36554 * time/stime.c: Likewise.
36555 * time/time.c: Likewise.
36557 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
36559 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36562 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36564 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36566 2012-11-03 Joseph Myers <joseph@codesourcery.com>
36569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36570 FE_TONEAREST before applying Dekker multiplication and Knuth
36571 addition. Clear inexact exceptions and check for exact zero
36572 results afterwards.
36573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36574 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36576 * math/libm-test.inc (fma_test): Add more tests.
36577 (fma_test_towardzero): Likewise.
36578 (fma_test_downward): Likewise.
36579 (fma_test_upward): Likewise.
36580 * sysdeps/generic/math_private.h (default_libc_fesetround): New
36582 (libc_fesetround): New macro.
36583 (libc_fesetroundf): Likewise.
36584 (libc_fesetroundl): Likewise.
36585 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36587 (libc_fesetround_387): Likewise.
36588 (libc_fesetroundf): New macro.
36589 (libc_fesetround): Likewise.
36590 (libc_fesetroundl): Likewise.
36591 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36593 (libc_fesetroundf): New macro.
36594 (libc_fesetround): Likewise.
36595 (libc_fesetroundl): Likewise.
36596 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36597 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36598 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36600 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36601 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36603 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36604 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36606 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36610 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36611 integer constant usable in #if and use that to give value to enum
36613 (FE_DIVBYZERO): Likewise.
36614 (FE_UNDERFLOW): Likewise.
36615 (FE_OVERFLOW): Likewise.
36616 (FE_INVALID): Likewise.
36617 (FE_INVALID_SNAN): Likewise.
36618 (FE_INVALID_ISI): Likewise.
36619 (FE_INVALID_IDI): Likewise.
36620 (FE_INVALID_ZDZ): Likewise.
36621 (FE_INVALID_IMZ): Likewise.
36622 (FE_INVALID_COMPARE): Likewise.
36623 (FE_INVALID_SOFTWARE): Likewise.
36624 (FE_INVALID_SQRT): Likewise.
36625 (FE_INVALID_INTEGER_CONVERSION): Likewise.
36626 (FE_TONEAREST): Likewise.
36627 (FE_TOWARDZERO): Likewise.
36628 (FE_UPWARD): Likewise.
36629 (FE_DOWNWARD): Likewise.
36630 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36631 (FE_DIVBYZERO): Likewise.
36632 (FE_OVERFLOW): Likewise.
36633 (FE_UNDERFLOW): Likewise.
36634 (FE_INEXACT): Likewise.
36635 (FE_TONEAREST): Likewise.
36636 (FE_DOWNWARD): Likewise.
36637 (FE_UPWARD): Likewise.
36638 (FE_TOWARDZERO): Likewise.
36639 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36640 (FE_UNDERFLOW): Likewise.
36641 (FE_OVERFLOW): Likewise.
36642 (FE_DIVBYZERO): Likewise.
36643 (FE_INVALID): Likewise.
36644 (FE_TONEAREST): Likewise.
36645 (FE_TOWARDZERO): Likewise.
36646 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36647 (FE_OVERFLOW): Likewise.
36648 (FE_UNDERFLOW): Likewise.
36649 (FE_DIVBYZERO): Likewise.
36650 (FE_INEXACT): Likewise.
36651 (FE_TONEAREST): Likewise.
36652 (FE_TOWARDZERO): Likewise.
36653 (FE_UPWARD): Likewise.
36654 (FE_DOWNWARD): Likewise.
36655 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36656 (FE_DIVBYZERO): Likewise.
36657 (FE_OVERFLOW): Likewise.
36658 (FE_UNDERFLOW): Likewise.
36659 (FE_INEXACT): Likewise.
36660 (FE_TONEAREST): Likewise.
36661 (FE_DOWNWARD): Likewise.
36662 (FE_UPWARD): Likewise.
36663 (FE_TOWARDZERO): Likewise.
36665 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
36667 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36669 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
36671 * scripts/cross-test-ssh.sh (command): Use newlines to separate
36672 commands. Quote $PWD.
36673 (blacklist_exports): Don't use remove_newlines. Replace "declare
36675 (remove_newlines): Remove.
36677 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
36679 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36680 * stdlib/stdlib.h (atof): Moved to ...
36681 * include/bits/stdlib-float.h: Here. New file.
36682 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36683 * stdlib/bits/stdlib-float.h: New file.
36684 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36686 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36689 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36691 * conform/conformtest.pl (@headers): Add fenv.h.
36692 * conform/data/fenv.h-data: New file.
36693 * include/fenv.h [_ISOMAC]: Disable all contents of file except
36694 include of <math/fenv.h>.
36696 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36697 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36698 && !UNIX98]. Enables tests for XOPEN2K8.
36699 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36700 POSIX2008]: Likewise.
36702 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36703 (struct rusage): Do not expect type or its members.
36706 * math/math.h (FP_NAN): Define macro to integer constant usable in
36707 #if and use that to give value to enum constant.
36708 (FP_INFINITE): Likewise.
36709 (FP_ZERO): Likewise.
36710 (FP_SUBNORMAL): Likewise.
36711 (FP_NORMAL): Likewise.
36713 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
36715 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36716 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36719 2012-11-02 Roland McGrath <roland@hack.frob.com>
36721 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36722 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36723 autoconf-time if not.
36724 * configure.in: Remove AC_PREREQ.
36726 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36728 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36729 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36730 of the internal implementation.
36732 2012-11-02 Joseph Myers <joseph@codesourcery.com>
36734 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36735 except include of <misc/sys/syslog.h>.
36737 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36740 function returns with a NULL context exit with zero.
36742 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36744 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36746 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
36748 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36749 (run_program_cmd): This.
36750 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36751 (tst_langinfo): New variable. Use it.
36753 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
36755 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36756 floating point opcodes.
36758 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36760 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36763 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36765 * sysdeps/mach/hurd/powerpc: Remove directory.
36766 * sysdeps/mach/powerpc: Likewise.
36768 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
36770 * scripts/check-local-headers.sh: Ignore c++ headers.
36772 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36774 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36775 __libc_cleanup_region_start argument.
36777 2012-11-01 Joseph Myers <joseph@codesourcery.com>
36781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36782 x * y using scaling, not as x * y + z.
36783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36785 * math/libm-test.inc (fma_test): Add more tests.
36786 (fma_test_towardzero): Likewise.
36787 (fma_test_downward): Likewise.
36788 (fma_test_upward): Likewise.
36790 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
36792 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36794 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36796 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36799 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
36801 * rt/tst-shm.c (worker): Correct checking for mmap failure.
36803 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36810 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36813 Fix the order of the list for glibc 2.17.
36814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36817 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
36819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36821 2012-10-31 Joseph Myers <joseph@codesourcery.com>
36824 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36825 for low part of x being zero before using __atanl (y).
36826 * math/libm-test.inc (atan2_test): Add another test.
36828 * manual/install.texi (Configuring and compiling): Document
36829 general use of test-wrapper and test-wrapper-env.
36830 * INSTALL: Regenerated.
36832 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36833 (__fma): Do not extract and scale down low bits on after-rounding
36834 systems when result rounded to normal precision would have normal
36836 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36837 (__fmal): Do not extract and scale down low bits on after-rounding
36838 systems when result rounded to normal precision would have normal
36840 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36841 (__fmal): Do not extract and scale down low bits on after-rounding
36842 systems when result rounded to normal precision would have normal
36844 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36846 (fma_test): Add more tests.
36847 (fma_test_towardzero): Likewise.
36848 (fma_test_downward): Likewise.
36849 (fma_test_upward): Likewise.
36851 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
36853 * sysdeps/i386/tininess.h: Renamed to ...
36854 * sysdeps/x86/tininess.h: This.
36855 * sysdeps/x86_64/tininess.h: Removed.
36857 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36859 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36860 input. Use $(build-program-cmd).
36861 ($(objpfx)tst-array1-static.out): Likewise.
36862 ($(objpfx)tst-array2.out): Likewise.
36863 ($(objpfx)tst-array3.out): Likewise.
36864 ($(objpfx)tst-array4.out): Likewise.
36865 ($(objpfx)tst-array5.out): Likewise.
36866 ($(objpfx)tst-array5-static.out): Likewise.
36868 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
36870 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36873 * nss/nsswitch.h (nss_interface_function): Provide new
36874 macro for use with NSS functions.
36875 * grp/initgroups.c: Use new macro.
36876 * nss/getXXbyYY.c: Likewise.
36877 * nss/getXXbyYY_r.c: Likewise.
36878 * nss/getXXent.c: Likewise.
36879 * nss/getXXent_r.c: Likewise.
36880 * sysdeps/posix/getaddrinfo.c: Likewise.
36882 2012-10-30 Andreas Jaeger <aj@suse.de>
36884 * po/ru.po: Update Russion translation from translation project.
36886 2012-10-30 Joseph Myers <joseph@codesourcery.com>
36890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36891 result and shift together with sticky bit instead of replicating
36892 round-to-nearest rounding.
36893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36895 * math/libm-test.inc (fma_test): Add more tests. Do not permit
36896 missing underflow exceptions.
36897 (fma_test_towardzero): Add more tests.
36898 (fma_test_downward): Likewise.
36899 (fma_test_upward): Likewise.
36902 * sysdeps/generic/tininess.h: New file.
36903 * sysdeps/i386/tininess.h: Likewise.
36904 * sysdeps/sh/tininess.h: Likewise.
36905 * sysdeps/x86_64/tininess.h: Likewise.
36906 * stdlib/tst-strtod-underflow.c: Likewise.
36907 * stdlib/tst-tininess.c: Likewise.
36908 * stdlib/strtod_l.c: Include <tininess.h>.
36909 (round_and_return): Do not set errno for exact underflow cases.
36910 Force an underflow exception when setting errno for underflow.
36911 Determine underflow based on rounding to normal precision if
36912 TININESS_AFTER_ROUNDING.
36913 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36914 ERANGE for exact underflow cases.
36915 * stdlib/Makefile (tests): Add tst-tininess and
36916 tst-strtod-underflow.
36917 ($(objpfx)tst-tininess): Use $(link-libm).
36918 ($(objpfx)tst-strtod-underflow): Likewise.
36920 2012-10-30 Andreas Jaeger <aj@suse.de>
36923 * elf/Makefile (tests): Remove conditional for have-initfini-array
36924 since this is now always required and the variable does not exist
36926 (tests-static): Likewise.
36927 (modules-names): Likewise.
36929 * po/eo.po: Add Esperanto translation from translation project.
36931 * elf/tst-array1.c (fini_array): Make writeable so that it can be
36932 merged with constructor/destructor.
36933 (init_array): Likewise.
36934 * elf/tst-array2dep.c (fini_array): Likewise.
36935 (init_array): Likewise.
36937 2012-10-29 Mike Frysinger <vapier@gentoo.org>
36939 * manual/message.texi: Delete @cartouche tags.
36941 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
36943 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36945 * sysdeps/mach/hurd/fsync.c: Likewise.
36947 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36948 [_POSIX_REALTIME_SIGNALS]: Change condition to
36949 [_POSIX_REALTIME_SIGNALS > 0].
36951 2012-10-27 Andreas Jaeger <aj@suse.de>
36953 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36954 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36956 [__WORDSIZE != 64]: Likewise.
36958 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
36960 * iconvdata/tst-table.sh: Remove ${SHELL}.
36961 * iconvdata/tst-tables.sh: Likewise.
36963 2012-10-25 David S. Miller <davem@davemloft.net>
36965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36966 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36971 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36972 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36973 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36976 2012-10-25 Roland McGrath <roland@hack.frob.com>
36978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36979 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36982 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36983 Jim Blandy <jimb@codesourcery.com>
36985 * scripts/cross-test-ssh.sh: New file.
36986 * manual/install.texi (Configuring and compiling): Document use of
36988 * INSTALL: Regenerated.
36990 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
36992 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36995 2012-10-25 Joseph Myers <joseph@codesourcery.com>
36997 * Makeconfig (run-program-prefix): Fix comment.
36999 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37000 Jim Blandy <jimb@codesourcery.com>
37002 * Makeconfig (test-wrapper): New variable,
37003 (test-wrapper-env): Likewise.
37004 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37005 (run-built-tests): Define to yes.
37006 (run-program-prefix): Use $(test-wrapper).
37007 (built-program-cmd): Likewise.
37008 * Rules (make-test-out): Use $(test-wrapper-env) and
37009 $(host-built-program-cmd).
37010 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37011 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37013 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37014 $(test-wrapper-env) to tst-rtld-load-self.sh.
37015 ($(objpfx)order2.out): Use $(test-wrapper).
37016 ($(objpfx)tst-initorder.out): Likewise.
37017 ($(objpfx)tst-initorder2.out): Likewise.
37018 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37019 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37020 (test_wrapper_env): New variable. Use it to run ld.so.
37021 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37022 Use it to run ld.so.
37023 (test_wrapper_env): Likewise.
37024 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37025 $(test-wrapper) to run-iconv-test.sh.
37026 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37027 (ICONV): Use $test_wrapper.
37028 * posix/Makefile ($(objpfx)globtest.out): Pass
37029 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37030 globtest.sh, not $(run-program-prefix).
37031 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37032 (test_wrapper): Likewise.
37033 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37034 set together with run_via_rtld_prefix.
37035 (run_program_prefix): Define in terms of test_wrapper and
37036 run_via_rtld_prefix.
37038 2012-10-24 Roland McGrath <roland@hack.frob.com>
37040 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37041 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37045 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37046 Declare __clock_getres, __clock_gettime, __clock_settime,
37047 __clock_nanosleep, and __clock_getcpuclockid.
37048 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37049 Remove librt_hidden_def (clock_gettime).
37050 * sysdeps/unix/clock_gettime.c: Likewise.
37051 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37052 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37053 * rt/clock_getres.c: Define __clock_getres as an alias.
37054 * sysdeps/posix/clock_getres.c: Likewise.
37055 * rt/clock_settime.c: Define __clock_settime as an alias.
37056 * sysdeps/unix/clock_settime.c: Likewise.
37057 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37058 * sysdeps/unix/clock_nanosleep.c: Likewise.
37059 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37060 * rt/clock-compat.c: New file.
37061 * rt/Makefile (librt-routines): Add clock-compat and move
37062 $(clock-routines) to ...
37063 (routines): ... here, new variable.
37064 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37065 Don't add get_clockfreq here.
37066 * rt/Versions (libc: GLIBC_2.17): New version set.
37067 Add clock_* symbols here.
37068 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37069 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37070 (GLIBC_2.17): Add clock_* symbols.
37071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37082 * NEWS: Mention the move.
37084 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37085 Use __open, __read, __close rather than their public counterparts.
37086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37087 (__get_clockfreq_via_cpuinfo): Likewise.
37088 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37089 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37091 * config.h.in (HAVE_IFUNC): New #undef.
37092 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37094 * configure: Regenerated.
37096 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37098 * configure.in: Move READELF check to start of file.
37099 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37100 libc_cv_asm_gnu_indirect_function in the process.
37101 * configure: Regenerated.
37103 2012-10-24 Mike Frysinger <vapier@gentoo.org>
37105 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37106 send the output to /dev/null.
37107 (libc_cv_cc_with_libunwind): Likewise.
37108 (libc_cv_as_noexecstack): Likewise.
37109 * configure: Regenerate.
37111 2012-10-24 Joseph Myers <joseph@codesourcery.com>
37113 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37115 * posix/globtest.sh (TMPDIR): Do not set.
37116 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37117 (testout): Likewise.
37119 2012-10-24 Andreas Jaeger <aj@suse.de>
37121 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37122 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37123 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37124 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37125 posix_fadvise64, posix_fallocate64.
37127 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37128 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37129 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37131 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37133 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37136 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37137 <bits/fcntl-linux.h>.
37138 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37141 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37142 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37143 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37144 [__WORDSIZE != 64]: Likewise.
37146 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37148 * Makeconfig (run-built-tests): New variable.
37149 * Rules [$(cross-compiling) = yes]: Change condition to
37150 [$(run-built-tests) = no].
37151 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37152 to [$(run-built-tests) = yes].
37153 * elf/Makefile [$(cross-compiling) = no]: Likewise
37154 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37155 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37156 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37157 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37158 * io/Makefile [$(cross-compiling) = no]: Likewise.
37159 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37160 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37161 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37162 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37163 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37164 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37165 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37166 * string/Makefile [$(cross-compiling) = no]: Likewise.
37168 * posix/Makefile ($(objpfx)globtest.out): Pass
37169 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37170 $(rtld-installed-name).
37171 * posix/globtest.sh (elf_objpfx): Remove variable.
37172 (rtld_installed_name): Likewise.
37173 (library_path): Likewise.
37174 (run_program_prefix): New variable. Use for running globtest
37177 2012-10-23 Jim Blandy <jimb@codesourcery.com>
37178 Joseph Myers <joseph@codesourcery.com>
37180 * Makeconfig (host-built-program-cmd): New variable.
37181 * elf/Makefile (tst-stackguard1-ARGS): Use
37182 $(host-built-program-cmd).
37183 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37184 (tst-spawn-ARGS): Likewise.
37185 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37187 2012-10-23 Joseph Myers <joseph@codesourcery.com>
37188 Jim Blandy <jimb@codesourcery.com>
37190 * Makeconfig (run-via-rtld-prefix): New variable.
37191 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37192 (built-program-cmd): Likewise.
37194 2012-10-22 Andreas Jaeger <aj@suse.de>
37196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37197 __O_RSYNC if it exists, otherwise to O_SYNC.
37199 2012-10-22 Jim Blandy <jimb@codesourcery.com>
37200 Joseph Myers <joseph@codesourcery.com>
37202 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37204 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37206 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37209 2012-10-22 Andreas Jaeger <aj@suse.de>
37211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37216 bits/fcntl-linux.h.
37218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37219 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37226 2012-10-21 Jim Blandy <jimb@codesourcery.com>
37227 Joseph Myers <joseph@codesourcery.com>
37229 * config.make.in (NM): New variable.
37231 2012-10-21 Andreas Jaeger <aj@suse.de>
37233 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37234 definitions and declarations that are provided by
37235 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37237 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37240 * elf/Makefile (tests-static): Add tst-leaks1-static.
37241 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37242 ($(objpfx)tst-leaks1-static): New rule.
37243 ($(objpfx)tst-leaks1-static-mem): Likewise.
37244 (tst-leaks1-static-ENV): New macro.
37245 * elf/dl-open.c (dl_open_worker): Check the main application
37246 only if SHARED is defined.
37247 * elf/tst-leaks1-static.c: New file.
37249 2012-10-20 Andreas Jaeger <aj@suse.de>
37251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37252 generic values for Linux.
37253 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37254 and declarations that are provided by <bits/fcntl-linux.h> and
37255 include <bits/fcntl-linux.h>.
37256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37259 2012-10-20 Roland McGrath <roland@hack.frob.com>
37261 * io/fcntl.h: Move include of <bits/types.h> to the top and
37262 include it unconditionally.
37264 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37266 * wcsmbs/Makefile (tests-ifunc): New variable.
37267 (tests): Add $(tests-ifunc).
37268 * wcsmbs/test-wcschr-ifunc.c: New file.
37269 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37270 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37271 * wcsmbs/test-wcslen-ifunc.c: Likewise.
37272 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37273 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37275 * string/Makefile (tests-ifunc): New variable.
37276 (tests): Add $(tests-ifunc).
37277 * string/test-memccpy.c (TEST_NAME): New macro.
37278 * string/test-memchr.c (TEST_NAME): Likewise.
37279 * string/test-memcmp.c (TEST_NAME): Likewise.
37280 * string/test-memcpy.c (TEST_NAME): Likewise.
37281 * string/test-memmem.c (TEST_NAME): Likewise.
37282 * string/test-memmove.c (TEST_NAME): Likewise.
37283 * string/test-memset.c (TEST_NAME): Likewise.
37284 * string/test-rawmemchr.c (TEST_NAME): Likewise.
37285 * string/test-stpcpy.c (TEST_NAME): Likewise.
37286 * string/test-stpncpy.c (TEST_NAME): Likewise.
37287 * string/test-strcasecmp.c (TEST_NAME): Likewise.
37288 * string/test-strcasestr.c (TEST_NAME): Likewise.
37289 * string/test-strcat.c (TEST_NAME): Likewise.
37290 * string/test-strchr.c (TEST_NAME): Likewise.
37291 * string/test-strcmp.c(TEST_NAME): Likewise.
37292 * string/test-strcpy.c (TEST_NAME): Likewise.
37293 * string/test-strcspn.c (TEST_NAME): Likewise.
37294 * string/test-strlen.c (TEST_NAME): Likewise.
37295 * string/test-strncasecmp.c (TEST_NAME): Likewise.
37296 * string/test-strncmp.c (TEST_NAME): Likewise.
37297 * string/test-strncpy.c (TEST_NAME): Likewise.
37298 * string/test-strnlen.c (TEST_NAME): Likewise.
37299 * string/test-strpbrk.c (TEST_NAME): Likewise.
37300 * string/test-strrchr.c (TEST_NAME): Likewise.
37301 * string/test-strspn.c (TEST_NAME): Likewise.
37302 * string/test-strstr.c (TEST_NAME): Likewise.
37303 * string/test-bcopy-ifunc.c: New file.
37304 * string/test-bzero-ifunc.c: Likewise.
37305 * string/test-memccpy-ifunc.c: Likewise.
37306 * string/test-memchr-ifunc.c: Likewise.
37307 * string/test-memcmp-ifunc.c: Likewise.
37308 * string/test-memcpy-ifunc.c: Likewise.
37309 * string/test-memmem-ifunc.c: Likewise.
37310 * string/test-memmove-ifunc.c: Likewise.
37311 * string/test-mempcpy-ifunc.c: Likewise.
37312 * string/test-memset-ifunc.c: Likewise.
37313 * string/test-rawmemchr-ifunc.c: Likewise.
37314 * string/test-stpcpy-ifunc.c: Likewise.
37315 * string/test-stpncpy-ifunc.c: Likewise.
37316 * string/test-strcasecmp-ifunc.c: Likewise.
37317 * string/test-strcasestr-ifunc.c: Likewise.
37318 * string/test-strcat-ifunc.c: Likewise.
37319 * string/test-strchr-ifunc.c: Likewise.
37320 * string/test-strchrnul-ifunc.c: Likewise.
37321 * string/test-strcmp-ifunc.c: Likewise.
37322 * string/test-strcpy-ifunc.c: Likewise.
37323 * string/test-strcspn-ifunc.c: Likewise.
37324 * string/test-strlen-ifunc.c: Likewise.
37325 * string/test-strncasecmp-ifunc.c: Likewise.
37326 * string/test-strncat-ifunc.c: Likewise.
37327 * string/test-strncmp-ifunc.c: Likewise.
37328 * string/test-strncpy-ifunc.c: Likewise.
37329 * string/test-strnlen-ifunc.c: Likewise.
37330 * string/test-strpbrk-ifunc.c: Likewise.
37331 * string/test-strrchr-ifunc.c: Likewise.
37332 * string/test-strspn-ifunc.c: Likewise.
37333 * string/test-strstr-ifunc.c: Likewise.
37335 * debug/Makefile (tests-ifunc): New variable.
37336 (tests): Add $(tests-ifunc).
37337 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37338 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37339 * debug/test-stpcpy_chk-ifunc.c: New file.
37340 * debug/test-strcpy_chk-ifunc.c: Likewise.
37342 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
37345 * elf/dl-load.c (open_verify): Retry read if the entire ELF
37346 header is not read in.
37348 2012-10-19 Joseph Myers <joseph@codesourcery.com>
37350 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
37351 script to $(SHELL) as $<. Pass $(common-objpfx) to script
37352 directly. Pass built executable to script as
37353 $(built-program-cmd).
37354 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
37355 $testprogram without using LD_LIBRARY_PATH and $ldso.
37357 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37358 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37359 $(rtld-installed-name).
37360 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37361 (rtld_installed_name): Likewise.
37362 (library_path): Likewise.
37363 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
37364 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37365 $(run-program-prefix) to tst-tables.sh.
37366 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
37367 it to run tst-table-from and tst-table-to.
37368 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37369 Pass it to tst-table.sh.
37370 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37371 $(run-program-prefix) to tst-gettext.sh.
37372 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37374 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37376 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
37377 to run tst-gettext.
37378 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
37379 to run tst-gettext2.
37380 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
37381 to run tst-translit.
37382 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37383 $(run-program-prefix) to tst-mtrace.sh.
37384 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
37386 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37387 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37388 $(rtld-installed-name).
37389 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37390 (rtld_installed_name): Likewise.
37391 (run_program_prefix): New variable. Use it to run wordexp-test.
37393 * Makeconfig (ARCH): Remove all definitions.
37394 (machine): Likewise.
37395 [ARCH]: Remove conditional code.
37396 [!objdir]: Give error.
37397 [!objdir] (objpfx): Remove.
37398 [!objdir] (common-objpfx): Likewise.
37399 [!objdir] (common-objdir): Likewise.
37400 * configure.in (config_makefile): Remove. Hardcode Makefile in
37401 AC_CONFIG_FILES call.
37402 * configure: Regenerated.
37405 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37407 (testout): Likewise.
37409 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37410 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37411 $(rtld-installed-name).
37412 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37413 (rtld_installed_name): Likwise.
37414 (runit): Remove function.
37415 (run_getconf): New variable, Use it for running getconf binary.
37417 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
37420 * string/test-memmem.c (check_result): New function.
37421 (do_one_test): Use it.
37422 (check1): New function.
37423 (test_main): Use it.
37425 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
37427 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37429 2012-10-18 Joseph Myers <joseph@codesourcery.com>
37431 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37432 (_G_LSEEK64): Likewise.
37433 (_G_MMAP64): Likewise.
37434 (_G_FSTAT64): Likewise.
37435 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37436 (_G_LSEEK64): Likewise.
37437 (_G_MMAP64): Likewise.
37438 (_G_FSTAT64): Likewise.
37439 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37440 unconditional. Call __mmap64 directly.
37441 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37442 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
37443 __lseek64 directly.
37444 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37445 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
37447 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37448 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
37449 __lseek64 directly.
37450 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37451 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
37452 __lseek64 directly.
37453 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37454 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
37455 __lseek64 directly.
37456 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37457 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
37458 __fxstat64 directly.
37459 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37460 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37462 (freopen64) [!_G_OPEN64]: Remove conditional code.
37463 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37465 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37466 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37468 (ftello64) [!_G_LSEEK64]: Remove conditional code.
37469 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37471 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37472 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37474 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37475 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37477 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37478 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37480 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37481 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37483 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37485 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
37488 * manual/memory.texi (Malloc Tunable Parameters): Add note
37489 about free list pointers overwriting some perturb bytes.
37490 Wording suggested by Roland McGrath.
37492 2012-10-17 Joseph Myers <joseph@codesourcery.com>
37494 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37495 (lgamma_test): Likewise.
37496 (tgamma_test): Likewise.
37498 2012-10-16 Florian Weimer <fweimer@redhat.com>
37501 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37502 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37504 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
37506 * NEWS: Mention BZ #14716.
37507 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37508 when removing AVAILABLE1_USES_J macro.
37510 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
37512 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37513 (__bswap_64): __uint64_t for unsigned 64-bit int.
37515 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
37517 * include/string.h (memmem): Declare libc hidden alias.
37518 * string/memmem.c (memmem): Define libc hidden alias.
37519 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37520 __read, __close instead of open, read, close.
37522 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
37524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37525 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37527 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37528 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37529 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37531 (__rawmemchr_sse2): Likewise.
37532 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37533 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37534 (__strchr_sse2): Likewise.
37535 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37536 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37537 (__strcasecmp_sse2): Likewise.
37538 (__strncasecmp_sse2): Likewise.
37539 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37540 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37541 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37542 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37543 (__strrchr_sse2): Likewise.
37544 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37546 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37547 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37548 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37549 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37550 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37551 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37552 * sysdeps/x86_64/multiarch/memset.S: Likewise.
37553 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37554 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37555 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37556 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37557 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37558 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37559 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37560 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37561 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37562 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37563 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37564 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37565 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37566 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37567 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37568 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37569 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37570 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37571 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37572 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37573 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37574 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37575 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37577 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37579 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37580 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37581 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37582 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37584 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37586 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37587 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37588 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37589 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37591 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37592 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37593 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37594 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37595 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37596 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37597 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37598 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37599 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37600 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37601 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37602 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37603 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37604 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37605 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37606 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37607 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37608 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37609 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37610 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37611 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37612 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37613 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37614 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37615 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37616 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37617 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37618 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37619 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37620 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37621 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37622 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37623 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37624 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37625 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37626 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37627 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37628 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37629 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37630 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37631 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37633 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37634 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37635 * include/ifunc-impl-list.h: New file.
37636 * misc/ifunc-impl-list.c: Likewise.
37637 * misc/Makefile (routines): Add ifunc-impl-list.
37638 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37639 * string/test-string.h: Include <ifunc-impl-list.h>.
37640 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37641 TEST_NAME]: New variables.
37642 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37644 (test_init): Call __libc_ifunc_impl_list to initialize
37645 func_list if TEST_IFUNC and TEST_NAME are defined.
37647 * string/Makefile (strop-tests): Add bcopy and bzero.
37648 * string/test-bcopy.c: New file.
37649 * string/test-bzero.c: Likewise.
37650 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37652 * string/test-memset.c: Support bzero test if TEST_BZERO is
37654 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37656 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37658 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37661 2012-10-10 Joseph Myers <joseph@codesourcery.com>
37663 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37664 * configure: Regenerated.
37666 * Makeconfig (+link-static-before-libc): Don't include
37667 $(link-static-libc).
37669 * libio/libio.h (_IO_pos_t): Remove.
37671 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37673 * NEWS: Add note about FIPS mode. Wording suggested by Roland
37676 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37678 * crypt/crypt-entry.c: Include fips-private.h.
37679 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37680 * crypt/md5c-test.c (main): Tolerate disabled MD5.
37681 * sysdeps/unix/sysv/linux/fips-private.h: New file.
37682 * sysdeps/generic/fips-private.h: New file, dummy fallback.
37684 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
37686 * crypt/crypt-private.h: Include stdbool.h.
37687 (_ufc_setup_salt_r): Return bool.
37688 * crypt/crypt-entry.c: Include errno.h.
37689 (__crypt_r): Return NULL with EINVAL for bad salt.
37690 * crypt/crypt_util.c (bad_for_salt): New.
37691 (_ufc_setup_salt_r): Check that salt is long enough and within
37692 the specified alphabet.
37693 * crypt/badsalttest.c: New file.
37694 * crypt/Makefile (tests): Add it.
37695 ($(objpfx)badsalttest): New.
37697 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
37699 * NEWS: Add entry for BZ #14602.
37701 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37703 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37705 * math/libm-test.inc: Update comment listing what functions and
37707 (isgreater_test): New function.
37708 (isgreaterequal_test): Likewise.
37709 (isless_test): Likewise.
37710 (islessequal_test): Likewise.
37711 (islessgreater_test): Likewise.
37712 (isunordered_test): Likewise.
37713 (main): Call the new functions.
37715 2012-10-09 Roland McGrath <roland@hack.frob.com>
37717 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37718 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37719 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37720 * sysdeps/i386/configure: Regenerated.
37721 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37722 * sysdeps/mach/configure: Regenerated.
37723 * sysdeps/mach/hurd/configure: Regenerated.
37724 * sysdeps/powerpc/configure: Regenerated.
37725 * sysdeps/powerpc/powerpc32/configure: Regenerated.
37726 * sysdeps/powerpc/powerpc64/configure: Regenerated.
37727 * sysdeps/s390/s390-32/configure: Regenerated.
37728 * sysdeps/s390/s390-64/configure: Regenerated.
37729 * sysdeps/sh/configure: Regenerated.
37730 * sysdeps/sparc/configure: Regenerated.
37731 * sysdeps/unix/sysv/linux/configure: Regenerated.
37732 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37733 * sysdeps/x86_64/configure: Regenerated.
37735 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37736 defined. Don't check if MAP is NULL.
37738 2012-10-09 Joseph Myers <joseph@codesourcery.com>
37740 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37741 (_G_stat64): Likewise.
37742 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37743 (_G_stat64): Likewise.
37744 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37745 instead of struct _G_stat64.
37746 * libio/fileops.c (mmap_remap_check): Likewise.
37747 (decide_maybe_mmap): Likewise.
37748 (_IO_new_file_seekoff): Likewise.
37749 (_IO_file_stat): Likewise.
37750 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37752 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37753 instead of struct _G_stat64.
37754 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37756 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
37759 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37761 (CHECK_EOL): New macro.
37762 (two_way_short_needle): Check beginning of haystack for EOL. Use
37764 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37765 Replace with CHECK_EOL.
37766 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37767 Replace with CHECK_EOL.
37769 2012-10-08 Joseph Myers <joseph@codesourcery.com>
37771 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37773 * math/libm-test.inc: Update comment listing what functions and
37775 (finite_test): New function.
37776 (isinf_test): Likewise.
37777 (isnan_test): Likewise.
37778 (fpclassify_test): Test subnormal input.
37779 (isfinite_test): Likewise.
37780 (isnormal_test): Likewise.
37781 (main): Call the new functions.
37783 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
37786 * Makerules (%.dynsym): Force C locale when running
37787 $(OBJDUMP) --dynamic-syms.
37789 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
37791 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37794 2012-10-06 David S. Miller <davem@davemloft.net>
37796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37797 upper 32-bits of the length value in %o2 since we use branch-on-register
37798 tests which consider the entire 64-bit register.
37800 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
37802 * string/test-strstr.c (check2): Add a test for page boundary.
37804 2012-10-05 David S. Miller <davem@davemloft.net>
37806 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37807 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37809 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37811 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37812 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37813 and bzero when HWCAP_SPARC_CRYPTO is present.
37815 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
37818 * string/test-strstr.c (check2): New function.
37819 (test_main): Call check2.
37821 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37823 * string/bug-strcasestr1.c (do_test): Moved to ...
37824 * string/test-strcasestr.c (check1): Here. New function.
37825 (do_one_test): Break out result checking code into ...
37826 (check_result): This. New function.
37827 (do_one_test): Call check_result.
37828 (test_main): Call check1.
37829 * string/bug-strchr1.c (do_test): Moved to ...
37830 * string/test-strchr.c (check1): Here. New function.
37831 (do_one_test): Break out result checking code into ...
37832 (check_result): This. New function.
37833 (do_one_test): Call check_result.
37834 (test_main): Call check1.
37835 * string/bug-strstr1.c (main): Moved to ...
37836 * string/test-strstr.c (check1): Here. New function.
37837 (do_one_test): Break out result checking code into ...
37838 (check_result): This. New function.
37839 (do_one_test): Call check_result.
37840 (test_main): Call check1.
37841 * string/bug-strcasestr1.c: Removed.
37842 * string/bug-strchr1.c: Likewise.
37843 * string/bug-strstr1.c: Likewise.
37845 * elf/Makefile (dl-routines): Add hwcaps.
37846 * elf/dl-support.c (_dl_important_hwcaps): Removed.
37847 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37848 (_dl_important_hwcaps): Moved to ...
37849 * elf/dl-hwcaps.c: Here. New file.
37850 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37853 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37854 if IS_IN_rtld isn't defined.
37856 * elf/dl-support.c (_dl_sysinfo_map): New.
37857 Include "get-dynamic-info.h" and "setup-vdso.h".
37858 (_dl_non_dynamic_init): Call setup_vdso.
37859 * elf/dynamic-link.h: Don't include <assert.h>.
37860 (elf_get_dynamic_info): Moved to ...
37861 * elf/get-dynamic-info.h: Here. New file.
37862 * elf/dynamic-link.h: Include "get-dynamic-info.h".
37863 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37864 * elf/setup-vdso.h: Here. New file.
37865 * elf/rtld.c: Include "setup-vdso.h".
37866 (dl_main): Call setup_vdso.
37868 2012-10-05 Joseph Myers <joseph@codesourcery.com>
37870 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37871 creal in comment listing functions tested. List finite, isinf,
37872 isnan, isless, islessequal, isgreater, isgreaterequal,
37873 islessgreater, isunordered, lgamma_r and pow10 as functions and
37874 macros not tested. Mention which functions not tested are aliases
37875 for other functions. Fix typo. Note that signs of NaNs are not
37878 * scripts/config.guess: Update from config.git.
37879 * scripts/config.sub: Likewise.
37881 2012-10-04 Roland McGrath <roland@hack.frob.com>
37883 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37884 * misc/madvise.c (madvise): Renamed to __madvise.
37885 Make madvise a weak alias.
37886 * include/sys/mman.h: Declare __madvise.
37887 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37888 * sysdeps/unix/syscalls.list
37889 (madvise): Make __madvise the strong name, and madvise a weak alias.
37890 * sysdeps/unix/sysv/linux/syscalls.list
37891 (madvise, mmap): Remove redundant entries.
37892 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37893 * malloc/malloc.c (mtrim): Likewise.
37894 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37896 2012-10-03 Roland McGrath <roland@hack.frob.com>
37898 * sysdeps/mach/hurd/dl-cache.c: File removed.
37899 * config.h.in (USE_LDCONFIG): New #undef.
37900 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37901 * configure: Regenerated.
37902 * elf/Makefile (dl-routines): Add dl-cache only under
37903 [$(use-ldconfig) = yes].
37904 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37905 cache on [USE_LDCONFIG].
37906 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37908 * elf/rtld.c (dl_main): Likewise.
37910 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
37912 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37913 _SC_LEVEL4_CACHE_LINESIZE.
37915 2012-10-03 Roland McGrath <roland@hack.frob.com>
37917 * sysdeps/unix/bsd/confstr.h: File removed.
37919 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
37921 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37924 2012-10-02 Roland McGrath <roland@hack.frob.com>
37926 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37927 Make 'mapoff' field ElfW(Off) rather than off_t.
37929 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
37931 * nscd/Makefile: Remove nscd-cflags and all its users.
37932 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37933 (CFLAGS-nonlib): Add compiler flags for nscd modules.
37936 * malloc.c (malloc_printerr): Clarify error message.
37938 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
37941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37942 Set bit_FMA_Usable if FMA is supported.
37943 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37945 (bit_FMA4_Usable): Updated.
37946 (index_FMA_Usable): New macro.
37947 (CPUID_FMA): Likewise
37948 (HAS_FMA): Defined with bit_FMA_Usable.
37950 2012-10-01 Roland McGrath <roland@hack.frob.com>
37952 * bits/types.h (__swblk_t): Type removed.
37953 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37954 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37956 (__SWBLK_T_TYPE): Likewise.
37957 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37958 (__SWBLK_T_TYPE): Likewise.
37959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37960 (__SWBLK_T_TYPE): Likewise.
37961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37962 (__SWBLK_T_TYPE): Likewise.
37964 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
37965 Honza Horak <hhorak@redhat.com>
37967 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37968 (xdr_mapname): Use YPMAXMAP as maxsize.
37969 (xdr_peername): Use YPMAXPEER as maxsize.
37970 (xdr_keydat): Use YPAXRECORD as maxsize.
37971 (xdr_valdat): Use YPMAXRECORD as maxsize.
37973 2012-10-01 Roland McGrath <roland@hack.frob.com>
37975 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37977 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37978 * csu/init-first.c: ... here.
37979 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37980 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37981 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37982 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37983 * sysdeps/i386/init-first.c: File removed.
37984 * sysdeps/sh/init-first.c: File removed.
37986 2012-10-01 Joseph Myers <joseph@codesourcery.com>
37989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37990 if x * y might underflow to zero and z is zero.
37991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37993 * math/libm-test.inc (min_subnorm_value): New variable.
37994 (fma_test): Add more tests.
37995 (fma_test_towardzero): Likewise.
37996 (fma_test_downward): Likewise
37997 (fma_test_upward): Likewise.
37998 (initialize): Set min_subnorm_value.
38000 2012-09-29 Joseph Myers <joseph@codesourcery.com>
38003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38005 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38006 mode for addition resulting in exact zero.
38007 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38010 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38011 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38012 * math/libm-test.inc (fma_test): Add more tests.
38013 (fma_test_towardzero): New function.
38014 (fma_test_downward): Likewise.
38015 (fma_test_upward): Likewise.
38016 (main): Call the new functions.
38018 2012-09-28 David S. Miller <davem@davemloft.net>
38020 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38022 2012-09-28 Roland McGrath <roland@hack.frob.com>
38024 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38025 instead of SIGALRM.
38027 * sysdeps/gnu/_G_config.h: Moved to ...
38028 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38029 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38030 * sysdeps/generic/_G_config.h: ... here.
38032 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38034 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38036 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38037 Conditionalize target on [libnss_test1.so-version].
38039 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38041 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38042 (elfobjdir): Move out of conditionals.
38044 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38045 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38046 (__nss_lookup_function): Conditionalize label remove_from_tree on
38047 [!DO_STATIC_NSS || SHARED], matching its only use.
38049 2012-09-28 David S. Miller <davem@davemloft.net>
38051 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38052 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38054 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38056 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38058 when HWCAP_SPARC_CRYPTO is present.
38060 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38062 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38064 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38067 * stdio-common/vfprintf.c (process_string_arg): Revert
38070 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38072 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38074 * stdio-common/tst-sprintf.c: Include <locale.h>
38075 (main): Test sprintf's handling of incomplete multibyte
38078 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38080 * elf/dl-runtime.c (VERSYMIDX): Removed.
38081 * elf/dl-version.c (VERSYMIDX): Likewise.
38082 * elf/do-rel.h (VERSYMIDX): Likewise.
38083 (VALIDX): Likewise.
38084 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38085 * elf/rtld.c (VALIDX): Likewise.
38086 (ADDRIDX): Likewise.
38087 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38088 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38089 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38090 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38091 (VALIDX): Likewise.
38092 (ADDRIDX): Likewise.
38094 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38096 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38098 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38101 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38103 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38104 addresses are in the same scope as 192.0.2/24.
38105 * posix/gai.conf: Document new scope table defaults.
38107 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38110 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38111 for ftell. Compute offsets from write pointers instead.
38112 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38114 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38117 * libio/Makefile (tests): New test case tst-fseek.
38118 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38119 combination works in wide mode.
38120 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38121 state when the external buffer state changes.
38123 2012-09-27 David S. Miller <davem@davemloft.net>
38126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38127 pass reloc->r_addend in as the 'high' argument to
38128 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38132 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38134 * rt/tst-aio2.c: Include <pthread.h>.
38135 * rt/tst-aio3.c: Likewise.
38137 2012-09-27 Steve Ellcey <sellcey@mips.com>
38139 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38141 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38143 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38144 contents on [SHARED].
38146 2012-09-26 Marek Polacek <polacek@redhat.com>
38150 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38151 for C++ and GCC <4.3 as well as for non GCC compilers.
38153 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38157 2012-09-25 Roland McGrath <roland@hack.frob.com>
38159 * Makefile.in (all, install): Declare with .PHONY.
38160 Reported by Michael Hope <michael.hope@linaro.org>.
38162 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38164 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38165 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38167 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38169 (sydep_routines): Add the new and the internal functions.
38170 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38171 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38173 (GLIBC_2.17): Add the new function.
38174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38175 (GLIBC_2.17): Likewise.
38176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38177 (GLIBC_2.17): Likewise.
38178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38179 (GLIBC_2.17): Likewise.
38180 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38182 2012-09-25 Alan Modra <amodra@gmail.com>
38184 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38185 Add release barrier before setting once_control to say
38186 initialisation is done. Add hints on lwarx. Use macro in
38188 (clear_once_control): Add release barrier.
38190 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38193 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38195 * math/s_clog10.c (__clog10): Likewise.
38196 * math/s_clog10f.c (__clog10f): Likewise.
38197 * math/s_clog10l.c (__clog10l): Likewise.
38198 * math/s_clogf.c (__clogf): Likewise.
38199 * math/s_clogl.c (__clogl): Likewise.
38200 * math/Makefile (libm-calls): Add x2y2m1.
38201 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38202 (__x2y2m1): Likewise.
38203 (__x2y2m1l): Likewise.
38204 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38205 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38206 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38207 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38208 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38209 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38210 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38211 * sysdeps/i386/fpu/libm-test-ulps: Update.
38212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38215 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38216 int as type of variable DEPTH.
38217 (glob): Use size_t instead of int as type of variables NEWCOUNT
38220 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38222 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38223 Add s_sincosf-sse2.
38224 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38225 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38226 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38227 macros for using routine as __sincosf_ia32.
38228 Use macro for function declaration and weak_alias.
38229 * sysdeps/i386/fpu/libm-test-ulps: Update.
38231 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38234 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38235 subnormal argument.
38236 * math/s_cexpf.c (__cexpf): Likewise.
38237 * math/s_csinf.c (__csinf): Likewise.
38238 * math/s_csinhf.c (__csinhf): Likewise.
38239 * math/s_ctanf.c (__ctanf): Likewise.
38240 * math/s_ctanhf.c (__ctanhf): Likewise.
38241 * math/s_ccosh.c (__ccoshf): Likewise.
38242 * math/s_cexp.c (__cexpl): Likewise.
38243 * math/s_csin.c (__csin): Likewise.
38244 * math/s_csinh.c (__csinh): Likewise.
38245 * math/s_ctan.c (__ctan): Likewise.
38246 * math/s_ctanh.c (ctanh): Likewise.
38247 * math/s_ccoshl.c (__ccoshl): Likewise.
38248 * math/s_cexpl.c (__cexpl): Likewise.
38249 * math/s_csinl.c (__csinl): Likewise.
38250 * math/s_csinhl.c (__csinhl): Likewise.
38251 * math/s_ctanl.c (__ctanl): Likewise.
38252 * math/s_ctanhl.c (__ctanhl): Likewise.
38254 2012-09-25 Joseph Myers <joseph@codesourcery.com>
38256 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38257 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38258 (_IO_off_t): Define to __off_t, not _G_off_t.
38259 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38260 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38261 (_IO_wint_t): Define to wint_t, not _G_wint_t.
38262 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38263 type of __dummy and __dummy2 fields.
38264 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38265 (_G_ssize_t): Likewise.
38266 (_G_off_t): Likewise.
38267 (_G_pid_t): Likewise.
38268 (_G_uid_t): Likewise.
38269 (_G_wchar_t): Likewise.
38270 (_G_wint_t): Likewise.
38271 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38272 (_G_ssize_t): Likewise.
38273 (_G_off_t): Likewise.
38274 (_G_pid_t): Likewise.
38275 (_G_uid_t): Likewise.
38276 (_G_wchar_t): Likewise.
38277 (_G_wint_t): Likewise.
38278 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38279 (_G_ssize_t): Likewise.
38280 (_G_off_t): Likewise.
38281 (_G_pid_t): Likewise.
38282 (_G_uid_t): Likewise.
38283 (_G_wchar_t): Likewise.
38284 (_G_wint_t): Likewise.
38286 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38288 * malloc/arena.c: Include malloc-sysdep.h.
38289 (shrink_heap): Use check_may_shrink_heap to decide if madvise
38290 is sufficient to shrink the heap or an unmap is needed.
38291 * sysdeps/generic/malloc-sysdep.h: New file. Define
38292 new function check_may_shrink_heap.
38293 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
38294 new function check_may_shrink_heap.
38296 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38298 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38301 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
38303 * catgets/test-gencat.sh: Add "set -e".
38304 * elf/tst-pathopt.sh: Likewise.
38305 * grp/tst_fgetgrent.sh: Likewise.
38306 * iconvdata/run-iconv-test.sh: Likewise.
38307 * intl/tst-gettext.sh: Likewise.
38308 * intl/tst-gettext2.sh: Likewise.
38309 * intl/tst-gettext4.sh: Likewise.
38310 * intl/tst-gettext6.sh: Likewise.
38311 * intl/tst-translit.sh: Likewise.
38312 * io/ftwtest-sh: Likewise.
38313 * libio/test-freopen.sh: Likewise.
38314 * malloc/tst-mtrace.sh: Likewise.
38315 * posix/globtest.sh: Likewise.
38316 * posix/tst-getconf.sh: Likewise.
38317 * posix/wordexp-tst.sh: Likewise.
38318 * stdio-common/tst-printf.sh: Likewise.
38319 * stdio-common/tst-unbputc.sh: Likewise.
38320 * stdlib/tst-fmtmsg.sh: Likewise.
38321 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38322 * catgets/Makefile: Do not specify -e option when running
38323 testsuite shell scripts.
38324 * elf/Makefile: Likewise.
38325 * grp/Makefile: Likewise.
38326 * iconvdata/Makefile: Likewise.
38327 * intl/Makefile: Likewise.
38328 * io/Makefile: Likewise.
38329 * libio/Makefile: Likewise.
38330 * malloc/Makefile: Likewise.
38331 * posix/Makefile: Likewise.
38332 * stdio-common/Makefile: Likewise.
38333 * stdlib/Makefile: Likewise.
38334 * sysdeps/x86_64/Makefile: Likewise.
38336 * io/ftwtest-sh: Add copyright header.
38337 * posix/globtest.sh: Likewise.
38338 * posix/tst-getconf.sh: Likewise.
38339 * posix/wordexp-tst.sh: Likewise.
38340 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38342 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
38345 * Makeconfig (+link): Defined as $(+link-static) if
38346 $(build-shared) isn't yes.
38347 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38349 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38351 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38354 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38355 new chunk size with MALLOC_ALIGN_MASK.
38357 2012-09-24 Joseph Myers <joseph@codesourcery.com>
38360 * stdio-common/printf_fphex.c: Include <stdbool.h> and
38362 (__printf_fphex): Determine rounding using get_rounding_mode and
38364 * stdio-common/tst-printf-round.c (struct hex_test): New
38366 (hex_tests): New variable.
38367 (test_hex_in_one_mode): New function.
38368 (do_test): Also run tests for hex float output.
38370 2012-09-21 Joseph Myers <joseph@codesourcery.com>
38372 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38373 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38374 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38375 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38376 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38377 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38378 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38379 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38381 2012-09-20 Joseph Myers <joseph@codesourcery.com>
38383 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38384 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38385 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38386 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38388 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
38391 * elf/rtld.c (dl_main): Limit the check for self loading to normal
38393 * elf/tst-rtld-load-self.sh: New test.
38394 * elf/Makefile: Run it.
38396 2012-09-18 Joseph Myers <joseph@codesourcery.com>
38398 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38399 (tst-writev-ENV): Remove.
38400 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38402 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
38404 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38406 2012-09-17 Joseph Myers <joseph@codesourcery.com>
38408 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38410 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38412 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38413 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38414 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38417 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
38420 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38421 * config.make.in (have-cpp-asm-debuginfo): Removed.
38422 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38423 * configure: Regenerated.
38425 2012-09-14 Joseph Myers <joseph@codesourcery.com>
38428 * stdio-common/printf_fp.c: Include <stdbool.h> and
38430 (___printf_fp): Determine rounding using get_rounding_mode and
38432 * stdio-common/tst-printf-round.c: New file.
38433 * stdio-common/Makefile (tests): Add tst-printf-round.
38434 (link-libm): New variable.
38435 ($(objpfx)tst-printf-round): Depend in $(link-libm).
38437 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
38440 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38441 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38443 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38446 2012-09-13 Joseph Myers <joseph@codesourcery.com>
38448 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38449 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38450 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38451 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38453 2012-09-12 Joseph Myers <joseph@codesourcery.com>
38456 * include/rounding-mode.h: New file.
38457 * sysdeps/generic/get-rounding-mode.h: Likewise.
38458 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38459 * stdlib/strtod_l.c: Include <rounding-mode.h>.
38460 (MAX_VALUE): New macro.
38461 (MIN_VALUE): Likewise.
38462 (overflow_value): New function.
38463 (underflow_value): Likewise.
38464 (round_and_return): Use overflow_value and underflow_value to
38465 determine return values in overflow and underflow cases. Use
38466 round_away to determine rounding depending on rounding mode.
38467 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38468 determine return values in overflow and underflow cases.
38469 * stdlib/tst-strtod-round.c: Include <fenv.h>.
38470 (struct test_results): New structure.
38471 (struct test): Use struct test_results to store expected results
38472 for all rounding modes.
38473 (TEST): Include expected results for all rounding modes.
38474 (test_in_one_mode): New function.
38475 (do_test): Use test_in_one_mode to compute and check results.
38476 Check results for all rounding modes.
38477 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38480 2012-12-09 Allan McRae <allan@archlinux.org>
38482 * sysdeps/i386/fpu/libm-test-ulps: Update
38484 2012-09-11 Joseph Myers <joseph@codesourcery.com>
38486 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38487 (_G_int32_t): Likewise.
38488 (_G_uint16_t): Likewise.
38489 (_G_uint32_t): Likewise.
38490 (_G_HAVE_BOOL): Likewise.
38491 (_G_HAVE_ATEXIT): Likewise.
38492 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38493 (_G_HAVE_IO_FILE_OPEN): Likewise.
38494 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38495 (_G_int32_t): Likewise.
38496 (_G_uint16_t): Likewise.
38497 (_G_uint32_t): Likewise.
38498 (_G_HAVE_BOOL): Likewise.
38499 (_G_HAVE_ATEXIT): Likewise.
38500 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38501 (_G_HAVE_IO_FILE_OPEN): Likewise.
38502 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38503 (_G_int32_t): Likewise.
38504 (_G_uint16_t): Likewise.
38505 (_G_uint32_t): Likewise.
38506 (_G_HAVE_BOOL): Likewise.
38507 (_G_HAVE_ATEXIT): Likewise.
38508 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38509 (_G_HAVE_IO_FILE_OPEN): Likewise.
38511 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
38513 * csu/libc-tls.c: Update copyright years.
38515 2012-09-10 Joseph Myers <joseph@codesourcery.com>
38517 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38518 [!_G_USING_THUNKS]: Remove conditional code.
38519 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38520 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38522 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38523 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38524 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38525 (_G_VTABLE_LABEL_PREFIX): Likewise.
38526 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38527 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38528 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38529 (_G_VTABLE_LABEL_PREFIX): Likewise.
38530 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38531 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38532 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38533 (_G_VTABLE_LABEL_PREFIX): Likewise.
38534 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38536 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
38538 * libio/Makefile: Include ../Makeconfig before tests.
38539 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38540 only if $(build-shared) is yes.
38542 * iconv/gconv_db.c: Update copyright years.
38544 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38546 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38547 unwind info if defined PIC. Fix special cases description.
38548 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38550 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38552 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38554 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
38556 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38558 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38561 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38562 (LDLIBS-tst-chk4): This.
38563 (LDFLAGS-tst-chk5): Renamed to ...
38564 (LDLIBS-tst-chk5): This.
38565 (LDFLAGS-tst-chk6): Renamed to ...
38566 (LDLIBS-tst-chk6): This.
38567 (LDFLAGS-tst-lfschk4): Renamed to ...
38568 (LDLIBS-tst-lfschk4): This.
38569 (LDFLAGS-tst-lfschk5): Renamed to ...
38570 (LDLIBS-tst-lfschk5): This.
38571 (LDFLAGS-tst-lfschk6): Renamed to ...
38572 (LDLIBS-tst-lfschk6): This.
38574 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38575 on $(common-objpfx)soversions.mk.
38577 2012-09-07 Joseph Myers <joseph@codesourcery.com>
38580 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38583 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
38585 * malloc/arena.c (arena_get_retry): New function that gets
38586 another arena for the caller to try its request on.
38587 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38588 current arena cannot fulfill the request.
38589 (__libc_memalign): Likewise.
38590 (__libc_memalign): Likewise.
38591 (__libc_pvalloc): Likewise.
38592 (__libc_calloc): Likewise.
38594 2012-09-05 John Tobey <john.tobey@gmail.com>
38597 * manual/arith.texi (Operations on Complex): Fix description
38598 of carg branch cut.
38600 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38603 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38607 * manual/memory.texi (Memory): Make order of menu items match
38610 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38612 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38613 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
38614 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38616 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38618 * csu/libc-tls.c (static_dtv): Renamed to ...
38619 (_dl_static_dtv): This. Make it global.
38620 (_dl_initial_dtv): Removed.
38621 (__libc_setup_tls): Updated.
38622 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38623 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38626 2012-09-06 Petr Machata <pmachata@redhat.com>
38628 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38629 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38630 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38631 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38633 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38636 * csu/libc-tls.c (_dl_initial_dtv): New variable.
38637 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38640 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
38643 * Makeconfig (link-static-before-libc): Replace $(+prector)
38645 (link-static-after-libc): Replace $(+postctor) with
38647 (link-bounded): Replace $(+prector)/$(+postctor) with
38648 $(+prectorT)/$(+postctorT).
38649 (+prectorT): New macro.
38650 (+postctorT): Likewise.
38652 2012-09-06 Joseph Myers <joseph@codesourcery.com>
38654 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38655 (round_str): Handle values above the maximum for IBM long double
38657 * stdlib/tst-strtod-round.c (tests): Regenerated.
38659 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38661 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38663 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38664 zarch_nohighgprs around the zarch optimized routines.
38665 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38666 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38667 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38670 2012-09-05 David S. Miller <davem@davemloft.net>
38672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38674 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38675 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38676 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38677 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38680 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38682 * malloc/arena.c: Fold copyright years.
38683 * malloc/mcheck.c, malloc/memusage.c: Likewise.
38685 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38687 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38689 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38691 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
38693 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38695 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38696 change internal state upon failure.
38698 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
38700 * malloc/mcheck.c (mcheck_check_all): Fix typo.
38701 * malloc/memusage.c (mmap): Likewise.
38702 (mmap64, mremap): Likewise. Adjust name in comment.
38704 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38706 * libio/fileops.c: Fix typos in comments.
38707 * libio/oldfileops.c: Likewise.
38708 * libio/wfileops.c: Likewise.
38710 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
38713 * malloc/Makefile (tests): Add tst-malloc-usable test case.
38714 (tst-malloc-usable-ENV): Set environment for test case.
38715 * malloc/hooks.c (malloc_check_get_size): New function to get
38717 * malloc/malloc.c (musable): Use malloc_check_get_size.
38718 * malloc/tst-malloc-usable.c: New test case.
38720 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38722 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38724 2012-09-05 Allan McRae <allan@archlinux.org>
38727 * configure.in (CXX_SYSINCLUDES): Use compiler output to
38728 determine header location.
38729 * configure: Regenerated.
38731 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
38733 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38735 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38736 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38738 (test): Regenerate.
38740 2012-09-04 David S. Miller <davem@davemloft.net>
38742 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38743 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38744 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38746 2012-09-04 Florian Weimer <fweimer@redhat.com>
38748 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38751 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38753 2012-09-04 Joseph Myers <joseph@codesourcery.com>
38756 * libio/iogetdelim.c: Include <limits.h>.
38757 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38758 + len + 1 would overflow.
38760 2012-09-03 Andreas Jaeger <aj@suse.de>
38762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38763 * sysdeps/i386/fpu/libm-test-ulps: Update.
38765 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38767 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38768 Add s_sinf-sse2, s_conf-sse2.
38770 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38771 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38772 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38773 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38775 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38776 for using routine as __sinf_ia32.
38777 Use macro for function declaration and weak_alias.
38778 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38779 for using routine as __cosf_ia32.
38780 Use macro for function declaration and weak_alias.
38782 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38783 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38785 * sysdeps/x86_64/fpu/s_sinf.S: New file.
38786 * sysdeps/x86_64/fpu/s_cosf.S: New file.
38787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38789 * math/libm-test.inc (cos_test): Add more test cases.
38790 (sin_test): Likewise.
38791 (sincos_test): Likewise.
38793 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38795 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38796 (IFUNC_RESOLVE): Make pointers to the specialized implementations
38798 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38800 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
38803 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38804 first element of the GOT.
38805 (elf_machine_load_address): Return the difference between
38806 the runtime address of _DYNAMIC and elf_machine_dynamic ().
38808 2012-09-01 Allan McRae <allan@archlinux.org>
38811 * configure.in (AWK): Require gawk version 3.0 or later.
38812 * configure: Regenerated.
38814 2012-09-01 Joseph Myers <joseph@codesourcery.com>
38816 * sysdeps/unix/sysv/linux/kernel-features.h
38817 (__ASSUME_POSIX_CPU_TIMERS): Remove.
38818 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38819 [__NR_clock_getres]: Make code unconditional.
38820 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38821 (clock_getcpuclockid): Remove code left unreachable by removal of
38823 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38824 code unconditional.
38825 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38826 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38827 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38828 Make code unconditional.
38829 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38830 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38831 * sysdeps/unix/sysv/linux/clock_settime.c
38832 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38834 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38835 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38837 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
38840 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38841 scripts/test-installation.pl.
38843 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38844 and $ld_so_version if it is set.
38846 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
38849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38850 failure if reading from procfs failed.
38851 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38853 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38855 * sysdeps/unix/sysv/linux/kernel-features.h
38856 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38857 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38858 Remove conditional code.
38859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38860 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38861 Remove conditional code.
38862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38863 * sysdeps/unix/sysv/linux/i386/fxstat.c
38864 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38866 * sysdeps/unix/sysv/linux/i386/fxstatat.c
38867 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38868 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38869 * sysdeps/unix/sysv/linux/i386/lxstat.c
38870 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38871 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38872 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38873 Remove conditional code.
38874 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38875 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38876 Remove conditional code.
38877 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38878 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38879 <kernel-features.h>.
38880 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38882 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38883 Remove conditional code.
38884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38885 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38886 Remove conditional.
38888 2012-08-27 Mike Frysinger <vapier@gentoo.org>
38891 * NEWS: Add fixed bug number.
38893 2012-08-27 Joseph Myers <joseph@codesourcery.com>
38896 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38897 underflowing exponent in case of negative sign.
38898 * stdlib/tst-strtod-round-data: Add more tests.
38899 * stdlib/tst-strtod-round.c (tests): Regenerated.
38902 * stdlib/strtod_l.c (NDIG): Remove.
38903 (HEXNDIG): Likewise.
38904 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38905 smallest representable value.
38906 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38907 lie within an exact representation of 1/2 ulp of the result.
38908 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38910 (TENS_P9_IDX): Define unconditionally.
38911 (TENS_P9_SIZE): Likewise.
38912 (TENS_P10_IDX): Likewise.
38913 (TENS_P10_SIZE): Likewise.
38914 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38915 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38916 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38917 entries for 10^2^13 and 10^2^14.
38918 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38919 (TENS_P13_IDX): Define.
38920 (TENS_P13_SIZE): Likewise.
38921 (TENS_P14_IDX): Likewise.
38922 (TENS_P14_SIZE): Likewise.
38923 (_fpioconst_pow10): Change array size to
38924 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
38926 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38927 1024]: Add entries for 10^2^13 and 10^2^14.
38928 [LAST_POW10 > _LAST_POW10]: Remove #error.
38929 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38930 (_fpioconst_pow10): Change array size to
38931 FPIOCONST_POW10_ARRAY_SIZE.
38932 * stdlib/gen-fpioconst.c: New file.
38933 * stdlib/gen-tst-strtod-round.c: Likewise.
38934 * stdlib/tst-strtod-round-data: Likewise.
38935 * stdlib/tst-strtod-round.c: Likewise.
38936 * stdlib/Makefile (tests): Add tst-strtod-round.
38939 * stdlib/strtod_l.c: Include <stdint.h>.
38940 (NDEBUG): Do not define.
38941 (round_and_return): Change EXPONENT parameter to type intmax_t.
38942 Rearrange calculations to avoid internal overflow possibilities.
38943 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38944 Rearrange calculations to avoid internal overflow possibilities.
38945 Assert that number fits inside MPNSIZE limbs.
38946 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38947 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
38948 calculations and add assertions to avoid internal overflow
38949 possibilities. Add casts to avoid signed/unsigned operations.
38950 * stdlib/tst-strtod-overflow.c: New file.
38951 * stdlib/Makefile (tests): Add tst-strtod-overflow.
38953 2012-08-25 Marek Polacek <polacek@redhat.com>
38955 * time/time.h: Fix some typos in comments.
38957 2012-08-23 Roland McGrath <roland@hack.frob.com>
38959 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38960 * posix/tst-rfc3484-2.c: Likewise.
38961 * posix/tst-rfc3484-3.c: Likewise.
38963 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
38965 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38966 (EF_ARM_ABI_FLOAT_HARD): Likewise.
38968 2012-08-23 Joseph Myers <joseph@codesourcery.com>
38970 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38971 #include of fxstatat64.c.
38973 2012-08-22 Roland McGrath <roland@hack.frob.com>
38975 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38976 * shadow/getspent_r.c: Likewise.
38977 * shadow/getspnam.c: Likewise.
38978 * shadow/getspnam_r.c: Likewise.
38979 * gshadow/getsgent.c: Likewise.
38980 * gshadow/getsgent_r.c: Likewise.
38981 * gshadow/getsgnam.c: Likewise.
38982 * gshadow/getsgnam_r.c: Likewise.
38983 * inet/getnetbyad.c: Likewise.
38984 * inet/getnetbyad_r.c: Likewise.
38985 * inet/getnetbynm.c: Likewise.
38986 * inet/getnetbynm_r.c: Likewise.
38987 * inet/getnetent.c: Likewise.
38988 * inet/getnetent_r.c: Likewise.
38989 * inet/getproto.c: Likewise.
38990 * inet/getproto_r.c: Likewise.
38991 * inet/getprtent.c: Likewise.
38992 * inet/getprtent_r.c: Likewise.
38993 * inet/getprtname.c: Likewise.
38994 * inet/getprtname_r.c: Likewise.
38995 * inet/getrpcbyname.c: Likewise.
38996 * inet/getrpcbyname_r.c: Likewise.
38997 * inet/getrpcbynumber.c: Likewise.
38998 * inet/getrpcbynumber_r.c: Likewise.
38999 * inet/getrpcent.c: Likewise.
39000 * inet/getrpcent_r.c: Likewise.
39001 * inet/getaliasent.c: Likewise.
39002 * inet/getaliasent_r.c: Likewise.
39003 * inet/getaliasname.c: Likewise.
39004 * inet/getaliasname_r.c: Likewise.
39005 * nscd/getgrgid_r.c: Likewise.
39006 * nscd/getgrnam_r.c: Likewise.
39007 * nscd/gethstbyad_r.c: Likewise.
39008 * nscd/gethstbynm3_r.c: Likewise.
39009 * nscd/getpwnam_r.c: Likewise.
39010 * nscd/getpwuid_r.c: Likewise.
39011 * nscd/getsrvbynm_r.c: Likewise.
39012 * nscd/getsrvbypt_r.c: Likewise.
39013 * nscd/gai.c: Likewise.
39015 * configure.in (build_nscd): New substituted variable, set
39016 by --disable-build-nscd and defaults to $use_nscd.
39017 * configure: Regenerated.
39018 * config.make.in (build-nscd): New substituted variable.
39019 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39020 Change conditional to require [$(build-nscd) = yes] as well.
39021 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39024 * configure.in (use_nscd): New substituted variable, set by
39025 --disable-nscd. If enabled, define USE_NSCD.
39026 * configure: Regenerated.
39027 * config.h.in: Add USE_NSCD.
39028 * config.make.in (use-nscd): New substituted variable.
39029 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39030 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39031 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39032 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39033 (CFLAGS-getgrnam_r.c): Likewise.
39034 (CFLAGS-initgroups.c): Likewise.
39035 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39036 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39038 * inet/getnetgrent_r.c
39039 (nscd_setnetgrent): New function, broken out of ...
39040 (setnetgrent): ... here. Call it.
39041 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39042 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39043 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39044 * nscd/Makefile (routines, aux): Move definitions after include of
39045 Makeconfig. Conditionalize on [$(use-nscd) != no].
39046 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39047 Conditionalize on [USE_NSCD].
39048 (is_nscd, nscd_init_cb): Likewise.
39049 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39050 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39051 * nss/nss_db/db-init.c: Likewise.
39052 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39054 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39055 (make_request): Use it.
39056 (cache_valid_p): New function.
39057 (__check_pf): Use it.
39058 * NEWS: Add item for --disable-nscd.
39060 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39062 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39063 to support sed >= 4.2.1-20-ga9bf076.
39064 * configure: Regenerated.
39066 2012-08-22 Roland McGrath <roland@hack.frob.com>
39068 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39069 Conditionalize whole body on [IREL].
39071 2012-08-22 Jeff Law <law@redhat.com>
39074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39075 if the family is PF_UNSPEC.
39077 2012-08-22 Mike Frysinger <vapier@gentoo.org>
39079 * Makerules (lib-version): Rename from V.
39080 (install-lib-nosubdir): Change V to lib-version.
39082 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39085 * powerpc32/power6/wcschr.c: New file.
39086 * powerpc32/power6/wcscpy.c: New file.
39087 * powerpc32/power6/wcsrchr.c: New file.
39088 * powerpc64/power6/wcschr.c: New file.
39089 * powerpc64/power6/wcscpy.c: New file.
39090 * powerpc64/power6/wcsrchr.c: New file.
39092 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39094 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39095 (two_way_short_needle): Use it.
39096 * string/strstr.c (AVAILABLE1_USES_J): Define.
39097 * string/strcasestr.c: Likewise.
39099 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39101 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39104 * NEWS: Add an entry.
39105 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39106 define their defaults.
39107 (two_way_short_needle): Detect end-of-string on-the-fly.
39108 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39109 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39110 * string/bug-strcasestr1.c: New test.
39111 * string/Makefile: Run it.
39113 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39116 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39117 the first character.
39119 2012-08-21 Roland McGrath <roland@hack.frob.com>
39121 * csu/elf-init.c (__libc_csu_irel): Function removed.
39122 * csu/libc-start.c (apply_irel): New function.
39123 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39125 2012-08-21 Joseph Myers <joseph@codesourcery.com>
39127 * sysdeps/unix/sysv/linux/kernel-features.h
39128 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39129 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39130 <kernel-features.h>.
39131 [__NR_fadvise64_64]: Make code unconditional.
39132 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39133 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39134 !__NR_fadvise64_64)]: Likewise.
39135 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39136 !__NR_fadvise64_64))]: Likewise.
39137 [__NR_fadvise64]: Make code unconditional.
39138 [!__NR_fadvise64]: Remove conditional code.
39139 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39140 <kernel-features.h>.
39141 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39143 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39146 not include <kernel-features.h>.
39147 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39149 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39151 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39152 include <kernel-features.h>.
39153 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39155 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39158 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39160 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39161 slight instruction rearrangements per scrollpipe analysis.
39162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39164 2012-08-20 Roland McGrath <roland@hack.frob.com>
39166 * manual/syslog.texi (syslog; vsyslog, closelog):
39167 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39168 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39170 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39171 DSOCAPS to match condition on defining it.
39173 2012-08-20 Joseph Myers <joseph@codesourcery.com>
39175 * sysdeps/unix/sysv/linux/kernel-features.h
39176 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39178 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39179 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39181 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39182 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39184 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39185 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39187 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39188 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39190 * sysdeps/unix/sysv/linux/kernel-features.h
39191 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39192 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39194 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39195 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39196 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39197 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39198 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39199 Make code unconditional.
39200 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39201 (__mmap64) [!__NR_mmap2]: Likewise.
39202 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39203 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39204 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39205 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39206 [__NR_mmap2]: Make code unconditional.
39207 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39208 (__mmap64) [!__NR_mmap2]: Likewise.
39210 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39212 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39214 2012-08-18 Andreas Jaeger <aj@suse.de>
39216 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39218 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39220 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39221 * include/unistd.h (__have_sock_cloexec): Likewise.
39222 (__have_pipe2): Likewise.
39223 (__have_dup3): Likewise.
39225 2012-08-18 Mike Frysinger <vapier@gentoo.org>
39228 * include/unistd.h (__have_pipe2): Change define into an extern int.
39229 (__have_dup3): Likewise.
39230 * socket/have_sock_cloexec.c: Include fcntl.h.
39231 (__have_pipe2): New variable.
39232 (__have_dup3): Likewise.
39234 2012-08-17 Mike Frysinger <vapier@gentoo.org>
39236 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39238 2012-08-17 Marek Polacek <polacek@redhat.com>
39240 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39241 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39243 2012-08-17 Roland McGrath <roland@hack.frob.com>
39245 * configure.in: Add AC_SUBST for sysheaders.
39246 * configure: Regenerated.
39247 * config.make.in (sysheaders): New substituted variable.
39249 * sysdeps/unix/mkfifo.c: Moved ...
39250 * sysdeps/posix/mkfifo.c: ... here.
39251 * sysdeps/unix/mkfifoat.c: Moved ...
39252 * sysdeps/posix/mkfifoat.c: ... here.
39254 * sysdeps/unix/utime.c: Moved ...
39255 * sysdeps/posix/utime.c: ... here.
39257 * sysdeps/unix/time.c: Moved ...
39258 * sysdeps/posix/time.c: ... here.
39259 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39260 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39262 * sysdeps/unix/nice.c: Moved ...
39263 * sysdeps/posix/nice.c: ... here.
39265 * sysdeps/unix/alarm.c: Moved ...
39266 * sysdeps/posix/alarm.c: ... here.
39268 * intl/Makefile ($(codeset_mo)): Depend on the input file.
39270 2012-08-17 Jeff Law <law@redhat.com>
39272 * intl/Makefile (codeset_mo): New variable.
39273 ($(codeset_mo)): New target.
39274 (tst-codeset.out): Depend on that. Remove explicit rule.
39275 (tst-gettext3.out, tst-gettext5.out): Likewise.
39276 (LOCPATH-ENV, tst-codeset-ENV): New variables.
39277 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39278 * intl/tst-codeset.sh: Remove.
39279 * intl/tst-gettext3.sh: Likewise.
39280 * intl/tst-gettext5.sh: Likewise.
39282 2012-08-17 Roland McGrath <roland@hack.frob.com>
39284 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
39285 * sysdeps/unix/syscalls.list: ... here.
39287 * sysdeps/posix/getaddrinfo.c
39288 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39289 (gaiconf_init, gaiconf_reload): Use them.
39290 [!_STATBUF_ST_NSEC]
39291 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39292 Define using time_t rather than struct timespec.
39294 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39295 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39297 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39299 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39300 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39303 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39304 __libc_cleanup_push argument.
39306 * bits/param.h: New file.
39307 * misc/sys/param.h: New file.
39308 * include/sys/param.h: New file.
39309 * misc/Makefile (headers): Add bits/param.h.
39310 * sysdeps/generic/sys/param.h: File removed.
39311 * sysdeps/unix/sysv/linux/bits/param.h: New file.
39312 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39313 * sysdeps/mach/hurd/bits/param.h: New file.
39314 * sysdeps/mach/hurd/sys/param.h: File removed.
39316 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39319 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39321 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39322 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39325 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39326 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39327 rather than -D_IO_MTSAFE_IO conditionally.
39328 * stdio-common/Makefile (CPPFLAGS): Likewise.
39329 * wcsmbs/Makefile (CPPFLAGS): Likewise.
39330 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39331 Use $(libio-mtsafe).
39332 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39333 of -D_IO_MTSAFE_IO.
39334 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39335 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39336 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39337 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39338 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39339 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39340 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39341 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39342 (CFLAGS-fread_u_chk.c): Likewise.
39343 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39344 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39345 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39346 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39347 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39348 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39349 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39350 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39351 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39353 * libio/Makefile: Test [$(libc-reentrant) = yes]
39354 instead of [$(filter %REENTRANT, $(defines)) nonempty].
39357 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39358 * sysdeps/pthread/configure: File removed.
39359 * sysdeps/pthread/Makeconfig: New file.
39360 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39361 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39363 2012-08-16 Gary Benson <gbenson@redhat.com>
39365 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39366 unmapping the first object in a namespace.
39368 2012-08-16 Roland McGrath <roland@hack.frob.com>
39370 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39371 (__internal_setnetgrent): ... this. Add internal_function to
39372 definition. Add libc_hidden_def.
39373 (setnetgrent): Update caller.
39374 (internal_endnetgrent): Renamed to ...
39375 (__internal_endnetgrent): ... this. Add internal_function to
39376 definition. Add libc_hidden_def.
39377 (endnetgrent): Update caller.
39378 (internal_getnetgrent_r): Renamed to ...
39379 (__internal_getnetgrent_r): ... this. Add internal_function to
39380 definition. Add libc_hidden_def.
39381 (__getnetgrent_r): Update caller.
39382 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
39384 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39386 * stdlib/longlong.h: Update from GCC.
39388 2012-08-16 Roland McGrath <roland@hack.frob.com>
39390 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39391 on _QL, which is set by umul_ppmm but never used.
39392 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39393 variables, which are set by GMP macros but never used.
39394 * stdio-common/_itowa.c (_itowa): Likewise.
39395 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39396 * stdlib/mod_1.c (mpn_mod_1): Likewise.
39398 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
39400 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39401 struct La_sh_regs is not constant.
39402 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39403 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39404 and struct La_sparc64_regs are not constant.
39406 2012-08-16 Joseph Myers <joseph@codesourcery.com>
39408 * sysdeps/unix/sysv/linux/kernel-features.h
39409 (__ASSUME_POSIX_TIMERS): Remove.
39410 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39411 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39412 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39413 Make code unconditional.
39414 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39415 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39416 Make code unconditional.
39417 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39418 * sysdeps/unix/sysv/linux/clock_nanosleep.c
39419 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39420 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39421 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39422 Make code unconditional.
39423 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39424 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39425 (__libc_missing_posix_timers): Remove.
39427 2012-08-15 Roland McGrath <roland@hack.frob.com>
39429 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39430 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39432 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39434 * elf/dl-sym.c: Include <stdlib.h>.
39436 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39437 constants, which avoids warnings in 32-bit builds.
39439 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39440 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39442 * misc/lseek.c: File moved to ...
39443 * io/lseek.c: ... here.
39445 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39447 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39448 shifting LEN more than 31 bits at once.
39450 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39453 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39454 segmentation fault for a case of two empty input strings.
39455 * string/test-strncasecmp.c (check1): Renamed to...
39456 (bz12205): ...this.
39457 (bz14195): Add new testcase for two empty input strings and N > 0.
39458 (test_main): Call new testcase, adapt for renamed function.
39460 2012-08-15 Andreas Jaeger <aj@suse.de>
39463 * crypt/md5test2.c: New test, based on test supplied by Serge
39464 Belyshev <belyshev@depni.sinp.msu.ru>.
39465 * crypt/Makefile (xtests): Add md5test-giant..
39466 * crypt/Makefile ($(objpfx)md5test-giant): Add.
39468 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
39471 * crypt/md5.c (md5_process_block): Don't assume the buffer
39472 length is less than 2**32.
39473 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39474 length is less than 2**64.
39476 2012-08-15 Roland McGrath <roland@hack.frob.com>
39478 * string/str-two-way.h: Include <sys/param.h>.
39479 (MAX): Macro removed.
39481 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39482 Move #define and #undef of memmove to just before and after
39483 including <string.h>.
39485 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39486 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39487 and after including <string.h>. Move declarations of
39488 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39489 to before #include "string/memmove.c".
39491 * include/dirent.h: Declare __getdirentries.
39493 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39494 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39496 2012-08-14 Mike Frysinger <vapier@gentoo.org>
39498 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39499 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39500 * sysdeps/i386/configure: Regenerated.
39501 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39502 STABS_CURRENT_FILE, and STABS_FUN.
39503 (END): Remove call to STABS_FUN_END.
39504 (STABS_CURRENT_FILE1): Delete.
39505 (STABS_CURRENT_FILE): Likewise.
39506 (STABS_FUN): Likewise.
39507 (STABS_FUN_END): Likewise.
39508 (STABS_FUN2): Likewise.
39509 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39510 * sysdeps/x86_64/configure: Regenerated.
39512 2012-08-14 Roland McGrath <roland@hack.frob.com>
39514 * elf/dl-open.c: Include <atomic.h>.
39515 * elf/dl-lookup.c: Likewise.
39517 2012-08-14 Joseph Myers <joseph@codesourcery.com>
39519 * sysdeps/unix/sysv/linux/kernel-features.h
39520 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39521 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39523 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39525 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39526 condition on __ASSUME_CLONE_THREAD_FLAGS.
39528 2012-08-14 Andreas Jaeger <aj@suse.de>
39530 * sysdeps/i386/fpu/libm-test-ulps: Update.
39532 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
39534 * include/atomic.h (atomic_exchange_and_add): Split into ...
39535 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39538 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
39540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39542 2012-08-13 Jeff Law <law@redhat.com>
39544 * manual/stdio.texi (snprintf): Clarify handling of the trailing
39545 null byte in the output string.
39547 2012-08-10 Joseph Myers <joseph@codesourcery.com>
39549 * sysdeps/unix/sysv/linux/kernel-features.h
39550 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39551 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39552 (__ASSUME_ARG_MAX_STACK_BASED): Define.
39553 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39554 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39555 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
39556 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39558 2012-08-09 Jeff Law <law@redhat.com>
39561 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39562 When avoid_arena is set, don't retry in the that arena. Pick the
39563 next one, whatever it might be.
39564 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39565 (arena_lock): Pass in new parameter to arena_get2.
39566 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39568 (__libc_malloc): Unify retrying after main arena failure with
39569 __libc_memalign version.
39570 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39572 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
39575 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39576 to __redirect_strstr.
39577 (__strstr_sse42): Use typeof __redirect_strstr.
39578 (__strstr_ia32): Likewise.
39579 (__libc_strstr): New prototype.
39580 (strstr): Renamed to ...
39581 (__libc_strstr): This.
39582 (strstr): New strong alias of __libc_strstr.
39583 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39584 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39587 (__libc_time): New prototype.
39588 (time_ifunc): Replace time with __libc_time.
39589 (time): New strong alias and hidden definition of __libc_time.
39590 (__GI_time): Remove strong alias.
39591 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39592 Include <stddef.h>.
39593 (memmove): Redefined to __redirect_memmove.
39594 (__memmove_sse2): Use typeof __redirect_memmove.
39595 (__memmove_ssse3): Likewise.
39596 (__memmove_ssse3_back): Likewise.
39597 (__libc_memmove): New prototype.
39598 (memmove): Renamed to ...
39599 (__libc_memmove): This.
39600 (memmove): New strong alias of __libc_memmove.
39602 2012-08-08 Mark Salter <msalter@redhat.com>
39605 (R_MN10300_TLS_GD): Define.
39606 (R_MN10300_TLS_LD): Likewise.
39607 (R_MN10300_TLS_LDO): Likewise.
39608 (R_MN10300_TLS_GOTIE): Likewise.
39609 (R_MN10300_TLS_IE): Likewise.
39610 (R_MN10300_TLS_LE): Likewise.
39611 (R_MN10300_TLS_DTPMOD): Likewise.
39612 (R_MN10300_TLS_DTPOFF): Likewise.
39613 (R_MN10300_TLS_TPOFF): Likewise.
39614 (R_MN10300_SYM_DIFF): Likewise.
39615 (R_MN10300_ALIGN): Likewise.
39616 (R_MN10300_NUM): Update.
39618 2012-08-08 Joseph Myers <joseph@codesourcery.com>
39620 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39623 2012-08-08 Roland McGrath <roland@hack.frob.com>
39625 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39627 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39628 sysdeps/unix -> sysdeps/posix move.
39629 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39631 2012-08-07 Allan McRae <allan@archlinux.org>
39634 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39635 (SUNOS_CPP): Likewise.
39636 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39638 (open_input): Call CPP using execvp.
39640 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39642 * sysdeps/unix/sysv/linux/kernel-features.h
39643 (__ASSUME_PROT_GROWSUPDOWN): Remove.
39644 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39645 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39646 (__ASSUME_WAITID_SYSCALL): Likewise.
39647 * sysdeps/unix/sysv/linux/dl-execstack.c
39648 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39649 code unconditional.
39650 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39652 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39653 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39654 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39656 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39658 [__ASSUME_WAITID_SYSCALL]: Likewise.
39659 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39661 2012-08-07 Roland McGrath <roland@hack.frob.com>
39663 * sysdeps/unix/closedir.c: Renamed to ...
39664 * sysdeps/posix/closedir.c: ... here.
39665 * sysdeps/unix/dirfd.c: Renamed to ...
39666 * sysdeps/posix/dirfd.c: ... here.
39667 * sysdeps/unix/dirstream.h: Renamed to ...
39668 * sysdeps/posix/dirstream.h: ... here.
39669 * sysdeps/unix/fdopendir.c: Renamed to ...
39670 * sysdeps/posix/fdopendir.c: ... here.
39671 * sysdeps/unix/opendir.c: Renamed to ...
39672 * sysdeps/posix/opendir.c: ... here.
39673 * sysdeps/unix/readdir.c: Renamed to ...
39674 * sysdeps/posix/readdir.c: ... here.
39675 * sysdeps/unix/readdir_r.c: Renamed to ...
39676 * sysdeps/posix/readdir_r.c: ... here.
39677 * sysdeps/unix/rewinddir.c: Renamed to ...
39678 * sysdeps/posix/rewinddir.c: ... here.
39679 * sysdeps/unix/seekdir.c: Renamed to ...
39680 * sysdeps/posix/seekdir.c: ... here.
39681 * sysdeps/unix/telldir.c: Renamed to ...
39682 * sysdeps/posix/telldir.c: ... here.
39683 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39684 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39685 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39686 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39688 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39689 * bits/fcntl.h: ... here.
39691 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39693 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39694 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39695 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39696 (struct flock): Move l_start, l_len to the beginning.
39697 Use __pid_t for l_pid.
39698 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39699 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39700 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39701 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39702 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39703 [__USE_LARGEFILE64] (struct flock64): New type.
39704 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39706 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39707 * bits/dirent.h: ... here.
39709 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39710 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39712 2012-08-07 Joseph Myers <joseph@codesourcery.com>
39714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39715 Change from 2.6.0 to 2.6.16.
39716 * sysdeps/unix/sysv/linux/configure: Regenerated.
39717 * sysdeps/unix/sysv/linux/kernel-features.h
39718 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39719 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39721 (__ASSUME_UTIMES): Likewise.
39722 (__ASSUME_CLONE_STOPPED): Remove.
39723 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39724 architectures, not kernel version.
39725 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39726 (__ASSUME_NO_CLONE_DETACHED): Likewise.
39727 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39728 (__ASSUME_WAITID_SYSCALL): Likewise.
39729 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39730 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39731 * README: State 2.6.16 as minimum Linux kernel version. Do not
39732 refer to older versions.
39734 2012-08-06 Roland McGrath <roland@hack.frob.com>
39736 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39737 Define alphasort64 as an alias.
39738 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39739 Define versionsort64 as an alias.
39740 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39741 Define scandir64 as an alias.
39742 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39743 Define scandirat64 as an alias.
39744 * dirent/alphasort64.c (alphasort64):
39745 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39746 * dirent/versionsort64.c: Likewise.
39747 * dirent/scandir64.c: Likewise.
39748 * dirent/scandirat64.c: Likewise.
39749 * sysdeps/wordsize-64/alphasort.c: File removed.
39750 * sysdeps/wordsize-64/alphasort64.c: File removed.
39751 * sysdeps/wordsize-64/scandir.c: File removed.
39752 * sysdeps/wordsize-64/scandir64.c: File removed.
39753 * sysdeps/wordsize-64/scandirat.c: File removed.
39754 * sysdeps/wordsize-64/scandirat64.c: File removed.
39755 * sysdeps/wordsize-64/versionsort.c: File removed.
39756 * sysdeps/wordsize-64/versionsort64.c: File removed.
39757 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39758 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39759 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39760 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39761 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39762 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39763 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39764 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39766 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39768 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39770 [defined __arch64__ || defined __sparcv9]
39771 (__INO_T_MATCHES_INO64_T): New macro.
39772 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39773 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39774 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39775 * sysdeps/unix/sysv/linux/bits/dirent.h
39776 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39777 (_DIRENT_MATCHES_DIRENT64): New macro.
39779 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39780 Define lockf64 as an alias.
39781 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39782 Define fseeko64 as an alias.
39783 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39784 Define ftello64 as an alias.
39785 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39786 Define _IO_fgetpos64 and fgetpos64 as aliases.
39787 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39788 Define _IO_fsetpos64 and fsetpos64 as aliases.
39789 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39790 Conditionalize body on this.
39791 * libio/fseeko64.c: Likewise.
39792 * libio/ftello64.c: Likewise.
39793 * libio/iofgetpos64.c: Likewise.
39794 * libio/iofsetpos64.c: Likewise.
39795 * sysdeps/wordsize-64/lockf.c: File removed.
39796 * sysdeps/wordsize-64/lockf64.c: File removed.
39797 * sysdeps/wordsize-64/fseeko.c: File removed.
39798 * sysdeps/wordsize-64/fseeko64.c: File removed.
39799 * sysdeps/wordsize-64/ftello.c: File removed.
39800 * sysdeps/wordsize-64/ftello64.c: File removed.
39801 * sysdeps/wordsize-64/iofgetpos.c: File removed.
39802 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39803 * sysdeps/wordsize-64/iofsetpos.c: File removed.
39804 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39806 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39807 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39808 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39809 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39810 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39811 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39812 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39813 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39814 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39816 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39818 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39820 [defined __arch64__ || defined __sparcv9]
39821 (__OFF_T_MATCHES_OFF64_T): New macro.
39822 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39823 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39824 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39825 (__OFF_T_MATCHES_OFF64_T): New macro.
39827 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39829 * stdlib/secure-getenv.c (__secure_getenv): Replace
39830 GLIBC_2_16 with GLIBC_2_17.
39832 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
39834 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39835 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39837 2012-08-03 David S. Miller <davem@davemloft.net>
39839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39841 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39843 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39845 (__ASSUME_CORRECT_SI_PID): Likewise.
39846 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39847 (__ASSUME_TMPFS_NAME): Likewise.
39848 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39849 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39850 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39851 (HAVE_AUX_SECURE): Make definition unconditional.
39852 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39853 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39855 2012-08-03 Roland McGrath <roland@hack.frob.com>
39857 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39858 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39859 * sysdeps/mach/hurd/eloop-threshold.h: New file.
39860 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39861 __eloop_threshold instead of SYMLOOP_MAX.
39863 * sysdeps/generic/eloop-threshold.h: New file.
39864 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39866 * elf/chroot_canon.c (chroot_canon): Likewise.
39868 2012-08-03 Joseph Myers <joseph@codesourcery.com>
39871 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39872 Change to 2.6.0 everywhere.
39873 * sysdeps/unix/sysv/linux/configure: Regenerated.
39874 * sysdeps/unix/sysv/linux/kernel-features.h
39875 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39876 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39878 (__ASSUME_POSIX_TIMERS): Define unconditionally.
39879 (__ASSUME_FUTEX_REQUEUE): Remove.
39880 (__ASSUME_STATFS64): Define unconditionally.
39881 (__ASSUME_AT_SECURE): Likewise.
39882 (__ASSUME_CORRECT_SI_PID): Likewise.
39883 (__ASSUME_TGKILL): Define without depending on kernel version for
39885 (__ASSUME_UTIMES): Likewise.
39886 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39888 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39889 (__ASSUME_TMPFS_NAME): Likewise.
39890 * README: Update reference to Linux kernel versions.
39892 2012-08-02 Marek Polacek <polacek@redhat.com>
39895 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
39896 libc_cv_asm_type_prefix with %.
39897 * configure: Regenerated.
39898 * include/libc-symbols.h: Remove comment about
39899 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39900 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39901 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39902 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39903 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39904 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39905 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39906 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39907 * elf/tst-unique2mod1.c: Likewise.
39908 * elf/tst-unique1mod2.c: Likewise.
39909 * elf/tst-unique1mod1.c: Likewise.
39910 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39911 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39912 Replace ASM_TYPE_DIRECTIVE with .type.
39913 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39914 * sysdeps/i386/sysdep.h: Likewise.
39915 * sysdeps/x86_64/sysdep.h: Likewise.
39916 * sysdeps/sh/sysdep.h: Likewise.
39917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39918 Do not define ASM_TYPE_DIRECTIVE.
39919 * sysdeps/powerpc/sysdep.h: Likewise.
39920 * sysdeps/powerpc/powerpc32/sysdep.h:
39921 Replace ASM_TYPE_DIRECTIVE with .type.
39922 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39923 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39924 * sysdeps/i386/fpu/e_powf.S: Likewise.
39925 * sysdeps/i386/fpu/e_expl.S: Likewise.
39926 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39927 * sysdeps/i386/fpu/e_acosh.S: Likewise.
39928 * sysdeps/i386/fpu/e_pow.S: Likewise.
39929 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39930 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39931 * sysdeps/i386/fpu/s_expm1.S: Likewise.
39932 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39933 * sysdeps/i386/fpu/e_log2.S: Likewise.
39934 * sysdeps/i386/fpu/e_log2l.S: Likewise.
39935 * sysdeps/i386/fpu/e_scalb.S: Likewise.
39936 * sysdeps/i386/fpu/e_powl.S: Likewise.
39937 * sysdeps/i386/fpu/e_log10f.S: Likewise.
39938 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39939 * sysdeps/i386/fpu/e_logl.S: Likewise.
39940 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39941 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39942 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39943 * sysdeps/i386/fpu/e_log2f.S: Likewise.
39944 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39945 * sysdeps/i386/fpu/e_log.S: Likewise.
39946 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39947 * sysdeps/i386/fpu/e_logf.S: Likewise.
39948 * sysdeps/i386/fpu/e_log10l.S: Likewise.
39949 * sysdeps/i386/fpu/e_atanh.S: Likewise.
39950 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39951 * sysdeps/i386/fpu/e_log10.S: Likewise.
39952 * sysdeps/i386/fpu/s_frexp.S: Likewise.
39953 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39954 * sysdeps/i386/fpu/s_asinh.S: Likewise.
39955 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39956 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39957 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39958 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39959 * sysdeps/i386/i686/strtok.S: Likewise.
39960 * sysdeps/i386/i386-mcount.S: Likewise.
39961 * sysdeps/i386/strtok.S: Likewise.
39962 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39963 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39965 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39966 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39967 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39968 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39969 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39970 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39971 * sysdeps/x86_64/_mcount.S: Likewise.
39972 * sysdeps/x86_64/strtok.S: Likewise.
39973 * sysdeps/sh/_mcount.S: Likewise.
39975 2012-08-01 Roland McGrath <roland@hack.frob.com>
39977 * libio/iofopen.c: Include <fcntl.h>.
39978 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39979 (_IO_fopen64, fopen64): Define as aliases.
39980 * libio/iofopen64.c: Include <fcntl.h>.
39981 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39982 Conditionalize body on this.
39983 * sysdeps/wordsize-64/iofopen.c: File removed.
39984 * sysdeps/wordsize-64/iofopen64.c: File removed.
39986 2012-08-01 Marek Polacek <polacek@redhat.com>
39988 * libc/Makeconfig: Use elf in place of binfmt-subdir.
39989 Use dlfcn directly instead of a variable.
39990 (binfmt-subdir): Do not define.
39993 2012-08-01 Joseph Myers <joseph@codesourcery.com>
39995 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39996 Remove all definitions.
39997 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39998 <kernel-features.h>.
39999 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40000 (miss_F_GETOWN_EX): Remove all definitions.
40001 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40003 [!__ASSUME_FCNTL64]: Remove conditional code.
40004 [__ASSUME_FCNTL64]: Make code unconditional.
40005 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40006 <kernel-features.h>.
40007 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40008 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40009 (lockf64) [__NR_fcntl64]: Make code unconditional.
40010 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40012 * sysdeps/unix/sysv/linux/kernel-features.h
40013 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40014 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40015 Make code unconditional.
40016 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40017 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40019 [__NR_vfork]: Make code unconditional.
40020 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40021 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40023 [__NR_vfork]: Make code unconditional.
40024 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40025 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40027 2012-08-01 Roland McGrath <roland@hack.frob.com>
40029 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40030 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40032 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40033 Define mkstemp64 as an alias.
40034 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40035 Define mkstemps64 as an alias.
40036 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40037 Define mkostemp64 as an alias.
40038 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40039 Define mkostemps64 as an alias.
40040 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40041 Conditionalize body on this.
40042 * misc/mkostemp64.c: Likewise.
40043 * misc/mkostemps64.c: Likewise.
40044 * misc/mkstemps64.c: Likewise.
40045 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40046 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40047 * sysdeps/wordsize-64/mkostemp.c: File removed.
40048 * sysdeps/wordsize-64/mkstemp.c: File removed.
40049 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40050 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40051 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40052 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40055 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40056 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40057 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40058 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40060 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40061 compat_symbol macros from <shlib-compat.h> rather than the underlying
40062 default_symbol_version and symbol_version macros, so that DEFAULT
40063 lines in shlib-versions are respected.
40064 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40066 2012-08-01 Florian Weimer <fweimer@redhat.com>
40068 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40069 Declare with warn_unused_result.
40070 (setgid, setregid, setegid, setresgid): Likewise.
40071 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40073 * WUR-REPORT: Remove set*id functions.
40075 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40077 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40079 2012-07-31 Roland McGrath <roland@hack.frob.com>
40082 * include/sys/socket.h (__libc_accept, __libc_accept4):
40083 Add attribute_hidden.
40084 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40086 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40088 * inet/getnetgrent_r.c (setup): Likewise.
40090 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40092 2012-07-31 David S. Miller <davem@davemloft.net>
40094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40096 2012-07-31 Joseph Myers <joseph@codesourcery.com>
40099 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40100 value between 1.0 and 2.0 and smaller part has absolute value less
40102 * math/s_clog10.c (__clog10): Likewise.
40103 * math/s_clog10f.c (__clog10f): Likewise.
40104 * math/s_clog10l.c (__clog10l): Likewise.
40105 * math/s_clogf.c (__clogf): Likewise.
40106 * math/s_clogl.c (__clogl): Likewise.
40107 * math/libm-test.inc (clog_test): Add more tests.
40108 (clog10_test): Likewise.
40109 * sysdeps/i386/fpu/libm-test-ulps: Update.
40110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40112 2012-07-31 Florian Weimer <fweimer@redhat.com>
40114 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40115 Exit with zero in case no suitable GID is found, and write a
40116 message to standard error.
40118 2012-07-30 Roland McGrath <roland@hack.frob.com>
40120 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40122 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40123 (MAXPATHLEN): Removed.
40124 (NOGROUP, NODEV): New macros.
40125 (setbit, clrbit, isset, isclr): New macros.
40126 (howmany, roundup, powerof2): New macros.
40127 (DEV_BSIZE): New macro.
40129 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40130 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40132 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40133 definition on [!__NO_LONG_DOUBLE_MATH].
40135 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40136 PTR_MANGLE and PTR_DEMANGLE.
40138 * socket/accept4.c (accept4): Rename to __libc_accept4.
40139 Define accept4 as a weak alias.
40141 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40142 on [_DIRENT_HAVE_D_TYPE].
40143 * io/ftw.c (ftw_dir): Likewise.
40145 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40147 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40149 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40150 Use the BSD numbers rather than the arbitrary ones we had.
40151 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40152 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40153 (SIGXCPU, SIGXFSZ): New macros.
40156 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40157 initializer on [_LIBC_REENTRANT].
40159 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40160 definitions inside [_POSIX_MAPPED_FILES].
40162 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40164 * dirent/opendir.c: Include <fcntl.h>.
40166 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40167 (__libc_getspecific): Likewise.
40168 (__libc_key_create): Likewise.
40170 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40171 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40172 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40173 (tmpfile64): Define as alias.
40174 * sysdeps/wordsize-64/tmpfile.c: File removed.
40175 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40176 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40177 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40179 * stdio-common/vfscanf.c: Include <stdbool.h>.
40180 * nss/makedb.c: Likewise.
40181 * stdio-common/_i18n_number.h: Likewise.
40182 * argp/argp-help.c: Likewise.
40183 * posix/wordexp.c: Likewise.
40184 * sysdeps/posix/spawni.c: Likewise.
40185 * nss/nss_files/files-initgroups.c: Likewise.
40186 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40187 * nss/nss_files/files-initgroups.c: Likewise.
40188 * nss/nss_db/db-netgrp.c: Likewise.
40189 * nss/nss_db/db-initgroups.c: Likewise.
40190 * io/fchmodat.c: Include <sys/stat.h>.
40192 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40193 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40195 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40198 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40199 Add multiple inclusion protection.
40201 2012-07-27 David S. Miller <davem@davemloft.net>
40203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40205 2012-07-27 Gary Benson <gbenson@redhat.com>
40208 * elf/rtld.c: Include <stap-probe.h>.
40209 (dl_main): Added static probes "init_start" and "init_complete".
40210 * elf/dl-load.c: Include <stap-probe.h>.
40211 (lose): Take new parameter "nsid".
40212 Added static probe "map_failed".
40213 (_dl_map_object_from_fd): Pass namespace id to lose.
40214 Added static probe "map_start".
40215 (open_verify): Pass namespace id to lose.
40216 * elf/dl-open.c: Include <stap-probe.h>.
40217 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40218 and "reloc_complete".
40219 * elf/dl-close.c: Include <stap-probe.h>.
40220 (_dl_close_worker): Added static probes "unmap_start" and
40222 * elf/rtld-debugger-interface.txt: New file documenting the above.
40224 2012-07-26 Roland McGrath <roland@hack.frob.com>
40226 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40227 rather than a string variable.
40228 * sunrpc/rpc_main.c (h_output): Likewise.
40229 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40231 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40233 * inet/check_native.c: New file.
40235 2012-07-26 Joseph Myers <joseph@codesourcery.com>
40238 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40239 if larger part has absolute value 1.0.
40240 * math/s_clog10.c (__clog10): Likewise.
40241 * math/s_clog10f.c (__clog10f): Likewise.
40242 * math/s_clog10l.c (__clog10l): Likewise.
40243 * math/s_clogf.c (__clogf): Likewise.
40244 * math/s_clogl.c (__clogl): Likewise.
40245 * math/libm-test.inc (clog_test): Add more tests.
40246 (clog10_test): Likewise.
40247 * sysdeps/i386/fpu/libm-test-ulps: Update.
40248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40250 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40251 (pltexit): Likewise.
40252 (La_regs): Likewise.
40253 (La_retval): Likewise.
40254 (int_retval): Likewise.
40255 Update #error for removed macros to refer only to definitions in
40257 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40259 (pltexit): Likewise.
40260 (La_regs): Likewise.
40261 (La_retval): Likewise.
40262 (int_retval): Likewise.
40263 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40265 (pltexit): Likewise.
40266 (La_regs): Likewise.
40267 (La_retval): Likewise.
40268 (int_retval): Likewise.
40269 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40271 (pltexit): Likewise.
40272 (La_regs): Likewise.
40273 (La_retval): Likewise.
40274 (int_retval): Likewise.
40275 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40277 (pltexit): Likewise.
40278 (La_regs): Likewise.
40279 (La_retval): Likewise.
40280 (int_retval): Likewise.
40281 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40283 (pltexit): Likewise.
40284 (La_regs): Likewise.
40285 (La_retval): Likewise.
40286 (int_retval): Likewise.
40287 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40289 (pltexit): Likewise.
40290 (La_regs): Likewise.
40291 (La_retval): Likewise.
40292 (int_retval): Likewise.
40293 * sysdeps/generic/tst-audit.h: Update comment to refer only to
40294 macro definitions in tst-audit.h.
40295 * sysdeps/i386/tst-audit.h: New file.
40296 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40297 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40298 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40299 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40300 * sysdeps/sh/tst-audit.h: Likewise.
40301 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40302 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40303 * sysdeps/x86_64/tst-audit.h: Likewise.
40305 2012-07-26 Andreas Jaeger <aj@suse.de>
40307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40310 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40311 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40312 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40314 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40315 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40316 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40318 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40321 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40323 (si_call_addr, si_syscall, si_arch): Define new macro.
40324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40326 (si_call_addr, si_syscall, si_arch): Define new marcro.
40327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40329 (si_call_addr, si_syscall, si_arch): Define new macro.
40330 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40332 (si_call_addr, si_syscall, si_arch): Define new macro.
40334 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40338 Change to 2.4.21 where previously 2.4.1.
40339 * sysdeps/unix/sysv/linux/configure: Regenerated.
40340 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40341 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40342 Linux kernel version.
40343 (__ASSUME_STD_AUXV): Remove.
40344 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40346 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40347 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40348 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40349 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40350 (__ASSUME_NETLINK_SUPPORT): Likewise.
40351 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40352 (__no_netlink_support): Remove conditional definition.
40353 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40355 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40356 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40357 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40358 (if_nameindex_ioctl): Remove.
40359 (if_nameindex_netlink): Do not handle __no_netlink_support.
40360 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40362 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40363 Remove conditional code.
40364 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40366 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40368 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40369 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40370 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40372 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40373 [!__ASSUME_STD_AUXV]: Remove conditional code.
40374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40375 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40376 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40378 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40379 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40381 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40383 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40384 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40386 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40388 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40391 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40394 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40395 code unconditional.
40396 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40398 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40400 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40403 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40405 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40408 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40409 code unconditional.
40410 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40412 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40414 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40417 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40418 code unconditional.
40419 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40421 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40423 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40426 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
40428 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40429 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40430 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40431 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40432 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40433 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40434 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40435 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40436 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40437 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40438 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40439 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40440 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40441 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40442 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40443 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40444 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40446 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40448 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40449 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40450 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40452 2012-07-25 Florian Weimer <fweimer@redhat.com>
40454 * Versions.def: Add GLIBC_2.17.
40455 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40456 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40457 Introduce __libc_secure_getenv.
40458 * stdlib/Versions (2.17): Add secure_getenv
40459 (GLIBC_PRIVATE): Add __libc_secure_getenv.
40460 * stdlib/secure-getenv.c: Rename __secure_getenv to
40461 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
40462 symbol __secure_getenv for GLIBC_2.0.
40463 * stdlib/tst-secure-getenv.c: New.
40464 * stdlib/Makefile (tests): Add testcase.
40465 * manual/startup.texi (Environment Access): Document
40467 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40468 __libc_secure_getenv.
40469 * inet/ruserpass.c (ruserpass): Likewise.
40470 * malloc/mtrace.c (mtrace): Likewise.
40471 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40472 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40473 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40474 * sysdeps/posix/tempname.c: Likewise. Evaluate
40475 HAVE_SECURE_GETENV.
40476 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40477 __secure_getenv to __libc_secure_getenv.
40478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40491 2012-07-25 Joseph Myers <joseph@codesourcery.com>
40493 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40494 (struct La_i86_retval): Likewise.
40495 (struct La_x86_64_regs): Likewise.
40496 (struct La_x86_64_retval): Likewise.
40497 (struct La_x32_regs): Likewise.
40498 (struct La_x32_retval): Likewise.
40499 (struct La_ppc32_regs): Likewise.
40500 (struct La_ppc32_retval): Likewise.
40501 (struct La_ppc64_regs): Likewise.
40502 (struct La_ppc64_retval): Likewise.
40503 (struct La_sh_regs): Likewise.
40504 (struct La_sh_retval): Likewise.
40505 (struct La_s390_32_regs): Likewise.
40506 (struct La_s390_32_retval): Likewise.
40507 (struct La_s390_64_regs): Likewise.
40508 (struct La_s390_64_retval): Likewise.
40509 (struct La_sparc32_regs): Likewise.
40510 (struct La_sparc32_retval): Likewise.
40511 (struct La_sparc64_regs): Likewise.
40512 (struct La_sparc64_retval): Likewise.
40513 (struct audit_ifaces): Remove architecture-specific pltenter and
40515 * sysdeps/i386/ldsodefs.h: New file.
40516 * sysdeps/powerpc/ldsodefs.h: Likewise.
40517 * sysdeps/s390/ldsodefs.h: Likewise.
40518 * sysdeps/sh/ldsodefs.h: Likewise.
40519 * sysdeps/sparc/ldsodefs.h: Likewise.
40520 * sysdeps/x86_64/ldsodefs.h: Likewise.
40522 2012-07-25 Marek Polacek <polacek@redhat.com>
40525 * math/libm-test.inc (yn_test): Add another test.
40526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40527 to ERANGE when the result is +-Inf.
40528 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40529 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40530 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40533 2012-07-24 Joseph Myers <joseph@codesourcery.com>
40535 * conform/data/time.h-data (NULL): Use macro-constant. Require
40537 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
40539 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
40541 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
40543 * configure.in <sysdeps resolving>: Correct printing
40545 * configure: Regenerate.
40547 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
40549 * math/w_ilogb.c: Include <limits.h>.
40550 * math/w_ilogbl.c: Likewise.
40552 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40554 * manual/lang.texi (__va_copy): Document primarily as ISO C99
40555 va_copy. Document allowing for unavailable va_copy only as
40556 pre-C99 compatibility.
40557 * manual/string.texi (Copying and Concatenation): Use va_copy
40558 instead of __va_copy in concat example.
40560 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
40562 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40563 (__sendto): Use create_address_port. Initialize APORT and deallocate
40566 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40567 with O_NOLINK passed to __file_name_lookup.
40569 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40570 with O_NOLINK passed to __file_name_lookup.
40572 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40573 negative N or less than NGIDS.
40575 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40576 type to string_t. Set ERANGE as errno and return it if NAME is not big
40577 enough. Use memcpy instead of strncpy.
40579 2012-07-20 Joseph Myers <joseph@codesourcery.com>
40581 * elf/Makefile (check-data): Remove.
40582 (localplt.data): New vpath directive.
40583 ($(objpfx)check-localplt.out): Use localplt.data from vpath
40584 instead of $(check-data).
40585 * scripts/data/localplt-generic.data: Move to ...
40586 * sysdeps/generic/localplt.data: ... here.
40587 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40588 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40589 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40592 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40595 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40598 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40601 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40604 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40608 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40610 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40611 PPC32 and PPC64 files.
40612 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40613 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40615 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40617 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40618 __makecontext_ret to ...
40619 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40620 ... here and call exit if uc_link is NULL. New file.
40621 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40622 __makecontext_ret.S.
40623 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40624 __makecontext_ret to ...
40625 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40626 ... here and call exit if uc_link is NULL. New file.
40627 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40628 __makecontext_ret.S.
40630 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40632 * elf/elf.h (R_390_IRELATIVE): New definition.
40633 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40634 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
40635 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40636 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40637 (elf_machine_lazy_rel): Likewise.
40638 * sysdeps/s390/dl-irel.h: New file.
40639 * sysdeps/s390/s390-64/memcpy.S: New asm code.
40640 * sysdeps/s390/s390-64/memset.S: New asm code.
40641 * sysdeps/s390/s390-64/memcmp.S: New asm code.
40642 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40643 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40644 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40645 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40646 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40647 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40648 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40649 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40650 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40651 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40652 * sysdeps/s390/s390-32/memcpy.S: New asm code.
40653 * sysdeps/s390/s390-32/memset.S: New asm code.
40654 * sysdeps/s390/s390-32/memcmp.S: New asm code.
40656 2012-07-17 Marek Polacek <polacek@redhat.com>
40659 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40660 * sysdeps/s390/s390-64/configure.in: Likewise.
40661 * sysdeps/sparc/configure.in: Likewise.
40662 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40663 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40664 * sysdeps/i386/configure.in: Likewise.
40665 * sysdeps/x86_64/configure.in: Likewise.
40666 * sysdeps/sh/configure.in: Likewise.
40667 * sysdeps/s390/s390-32/configure: Regenerated.
40668 * sysdeps/s390/s390-64/configure: Likewise.
40669 * sysdeps/x86_64/configure: Likewise.
40670 * sysdeps/sh/configure: Likewise.
40671 * sysdeps/powerpc/powerpc64/configure: Likewise.
40672 * sysdeps/powerpc/powerpc32/configure: Likewise.
40673 * sysdeps/sparc/configure: Likwise.
40674 * sysdeps/i386/configure: Likewise.
40676 * elf/dl-open.c: Comment fixes.
40678 2012-07-17 Joseph Myers <joseph@codesourcery.com>
40680 * Makefile [CXX] (check-data): Remove.
40681 [CXX] (c++-types.data): New vpath directive.
40682 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40683 vpath. Do not allow for C++ type data being missing.
40684 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40685 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40686 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40687 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40688 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40689 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40690 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40693 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40696 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40699 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40702 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40705 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40708 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40711 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40714 * elf/tls-macros.h (TLS_LE): Move architecture-specific
40715 definitions to architecture-specific files.
40716 (TLS_IE): Likewise.
40717 (TLS_LD): Likewise.
40718 (TLS_GD): Likewise.
40719 * sysdeps/i386/tls-macros.h: New file.
40720 * sysdeps/powerpc/tls-macros.h: Likewise.
40721 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40722 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40723 * sysdeps/sh/tls-macros.h: Likewise.
40724 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40725 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40726 * sysdeps/x86_64/tls-macros.h: Likewise.
40728 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40730 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40731 zero value for regular exit case.
40733 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40734 (__start_context): Preserve zero value for regular exit case.
40736 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
40737 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40739 * manual/setjmp.texi (setcontext): Clarify normal process
40740 termination when uc_link is the null pointer.
40741 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40744 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
40746 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40747 preprocessor. Test for each exception mask separately.
40749 2012-07-16 Andreas Jaeger <aj@suse.de>
40751 * po/ru.po: Update from translation team.
40753 2012-07-15 Joseph Myers <joseph@codesourcery.com>
40755 * conform/data/string.h-data (NULL): Use macro-constant. Require
40757 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40758 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40759 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40760 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
40763 2012-07-13 Andreas Jaeger <aj@suse.de>
40765 * po/fr.po: Update from translation team.
40767 2012-07-12 Marek Polacek <polacek@redhat.com>
40770 * math/libm-test.inc (yn_test): Add test for BZ #14173.
40771 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40774 2012-07-12 Joseph Myers <joseph@codesourcery.com>
40777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40778 Change to 2.4.1 where previously 2.4.0.
40779 * sysdeps/unix/sysv/linux/configure: Regenerated.
40780 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40781 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40783 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40784 (__ASSUME_AT_CLKTCK): Remove.
40785 (__ASSUME_AT_PAGESIZE): Likewise.
40786 (__ASSUME_AT_XID): Likewise.
40787 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40788 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40789 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40791 (HAVE_AUX_PAGESIZE): Likewise.
40792 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40793 [__ASSUME_AT_CLKTCK]: Make code unconditional.
40794 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40796 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
40799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40800 the temporary buffer used to invoke __gethostbyname2_r,
40801 __gethostbyaddr_r and gethostbyname4_r to make room for struct
40802 host_data / struct gaih_addrtuple.
40803 * resolv/nss_dns/dns-host.c (global scope): Move definition of
40804 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40805 header file nss/nsswitch.h.
40806 * nss/nsswitch.h (global scope): Add definition of implementation
40807 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40808 resolv/nss_dns/dns-host.c).
40810 2012-07-11 Andreas Jaeger <aj@suse.de>
40812 * po/fr.po: Update from translation team.
40814 * po/sv.po: Update from translation team
40815 * po/fr.po: Another update from translation team.
40817 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40820 for subnormals or multiply small sinh result by itself.
40821 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40824 2012-07-11 David S. Miller <davem@davemloft.net>
40826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40828 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
40831 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40832 (INTERNAL_MARK): Shift it here.
40834 2012-07-10 Marek Polacek <polacek@redhat.com>
40837 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
40838 libc_cv_asm_global_directive with .globl.
40839 * configure: Regenerated.
40840 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40842 * sysdeps/i386/configure: Regenerated.
40843 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40845 * sysdeps/x86_64/configure: Regenerated.
40846 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40847 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40848 * elf/tst-unique2mod2.c: Likewise.
40849 * elf/tst-unique2mod1.c: Likewise.
40850 * elf/tst-unique1mod2.c: Likewise.
40851 * elf/tst-unique1mod1.c: Likewise.
40852 * sysdeps/s390/s390-32/sysdep.h: Likewise.
40853 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40855 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40856 * sysdeps/mach/sysdep.h: Likewise.
40857 * sysdeps/i386/sysdep.h: Likewise.
40858 * sysdeps/i386/i386-mcount.S: Likewise.
40859 * sysdeps/x86_64/_mcount.S: Likewise.
40860 * sysdeps/x86_64/sysdep.h: Likewise.
40861 * sysdeps/sh/_mcount.S: Likewise.
40862 * sysdeps/sh/sysdep.h: Likewise.
40863 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40864 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40865 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40866 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40867 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40868 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40869 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40870 * locale/localeinfo.h: Likewise.
40871 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40872 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40874 2012-07-09 Roland McGrath <roland@hack.frob.com>
40877 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40879 * manual/message.texi (The Uniforum approach): Likewise.
40880 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40881 (glibc iconv Implementation): Likewise.
40883 2012-07-09 Joseph Myers <joseph@codesourcery.com>
40886 * math/s_clog.c (__clog): Avoid scaling a value down where that
40887 could result in underflow.
40888 * math/s_clog10.c (__clog10): Likewise.
40889 * math/s_clog10f.c (__clog10f): Likewise.
40890 * math/s_clog10l.c (__clog10l): Likewise.
40891 * math/s_clogf.c (__clogf): Likewise.
40892 * math/s_clogl.c (__clogl): Likewise.
40893 * math/libm-test.inc (clog_test): Add more tests.
40894 (clog10_test): Likewise.
40895 * sysdeps/i386/fpu/libm-test-ulps: Update.
40896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40898 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
40901 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40902 by 7 not 8 to examine high bit of fractional part.
40905 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40906 for call to __mcount_internal.
40907 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40908 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40909 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40911 2012-07-06 Joseph Myers <joseph@codesourcery.com>
40914 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40915 approximation for values within 0x1p-13f of an odd multiple of
40917 * math/libm-test.inc (tan_test): Do not allow spurious underflow
40918 exception. Add more tests.
40919 * sysdeps/i386/fpu/libm-test-ulps: Update.
40922 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40923 inputs and return -1 for them. Do not check for +Inf in case not
40924 reachable for +Inf.
40925 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40926 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40927 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40928 and return -1 for them. Do not check for +Inf in case not
40929 reachable for +Inf.
40930 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40932 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40933 and return -1 for them. Do not check for +Inf in case not
40934 reachable for +Inf.
40935 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
40936 spurious underflow.
40937 * sysdeps/i386/fpu/libm-test-ulps: Update.
40938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40940 2012-07-06 Mike Frysinger <vapier@gentoo.org>
40942 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40944 2012-07-05 Joseph Myers <joseph@codesourcery.com>
40948 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40949 could result in spurious underflow. Scale down values above
40950 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40951 * math/s_csqrtf.c (__csqrtf): Likewise.
40952 * math/s_csqrtl.c (__csqrtl): Likewise.
40953 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
40954 spurious underflow.
40955 * sysdeps/i386/fpu/libm-test-ulps: Update.
40956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40958 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
40960 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40962 * catgets/xopen-msg.awk: New file.
40963 * catgets/xopen-msg.sed: Removed.
40965 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40967 * intl/po2test.awk: New file.
40968 * intl/po2test.sed: Removed.
40970 2012-07-04 Joseph Myers <joseph@codesourcery.com>
40973 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40974 or multiply small sinh result by itself.
40975 * math/s_ctanf.c (__ctanf): Likewise.
40976 * math/s_ctanh.c (__ctanh): Likewise.
40977 * math/s_ctanhf.c (__ctanhf): Likewise.
40978 * math/s_ctanhl.c (__ctanhl): Likewise.
40979 * math/s_ctanl.c (__ctanl): Likewise.
40980 * math/libm-test.inc (ctan_test_tonearest): New function.
40981 (ctan_test_towardzero): Likewise.
40982 (ctan_test_downward): Likewise.
40983 (ctan_test_upward): Likewise.
40984 (ctanh_test_tonearest): Likewise.
40985 (ctanh_test_towardzero): Likewise.
40986 (ctanh_test_downward): Likewise.
40987 (ctanh_test_upward): Likewise.
40988 (main): Call these new functions.
40989 * sysdeps/i386/fpu/libm-test-ulps: Update.
40990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40992 2012-07-03 Mike Frysinger <vapier@gentoo.org>
40994 * .gitignore: Delete /ports entry.
40996 2012-07-03 Andreas Jaeger <aj@suse.de>
40998 * po/bg.po: Update from translation team.
40999 * po/cs.po: Likewise.
41000 * po/de.po: Likewise.
41001 * po/hr.po: Likewise.
41002 * po/nl.pl: Likewise.
41003 * po/pl.po: Likewise.
41004 * po/vi.po: Likewise.
41006 2012-07-03 Joseph Myers <joseph@codesourcery.com>
41008 * Makeconfig [!+link] (+link-before-libc): New variable.
41009 [!+link] (+link-after-libc): Likewise.
41010 [!+link] (+link-tests): Likewise.
41011 [!+link] (+link): Define in terms of $(+link-before-libc) and
41012 $(+link-after-libc).
41013 [!+link-static] (+link-static-before-libc): New variable.
41014 [!+link-static] (+link-static-after-libc): Likewise.
41015 [!+link-static] (+link-static-tests): Likewise.
41016 [!+link-static] (+link-static): Define in terms of
41017 $(+link-static-before-libc) and $(+link-static-after-libc).
41018 [build-shared] (link-libc-before-gnulib): New variable.
41019 [build-shared] (link-libc-tests): Likewise.
41020 [build-shared] (link-libc): Define in terms of
41021 $(link-libc-before-gnulib).
41022 [!build-shared] (link-libc-tests): New variable.
41023 (link-libc-static-tests): New variable.
41024 [!gnulib] (gnulib-arch): New variable.
41025 [!gnulib] (gnulib-tests): Likewise.
41026 [!gnulib] (static-gnulib-arch): Likewise.
41027 [!gnulib] (static-gnulib-tests): Likewise.
41028 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41029 Define with "=" instead of ":=".
41030 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41031 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41032 * Rules (binaries-all-notests): New variable.
41033 (binaries-all-tests): Likewise.
41034 (binaries-static-notests): Likewise.
41035 (binaries-static-tests): Likewise.
41036 (binaries-all): Define using $(binaries-all-notests) and
41037 $(binaries-all-tests).
41038 (binaries-static): Define using $(binaries-static-notests) and
41039 $(binaries-static-tests).
41040 (binaries-shared-tests): New variable.
41041 (binaries-shared-notests): Likewise.
41042 (binaries-shared): Remove variable.
41043 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41044 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41045 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41046 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41047 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41048 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41049 * elf/Makefile (sln-modules): New variable.
41050 (extra-objs): Add $(sln-modules:=.o).
41051 (ldconfig-modules): Add static-stubs.
41052 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41053 * elf/static-stubs.c: New file.
41056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41057 by 7 not 8 to examine high bit of fractional part. Use volatile
41058 variables when splitting into final array of floats if
41059 __FLT_EVAL_METHOD__ != 0.
41060 * math/libm-test.inc (cos_test): Add another test.
41061 (sin_test): Likewise.
41062 * sysdeps/i386/fpu/libm-test-ulps: Update.
41065 * math/libm-test.inc (cosh_test): Add more tests.
41067 * version.h (RELEASE): Set to "development".
41068 (VERSION): Set to "2.16.90".
41070 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41072 * NEWS: Update copyright. Remove last-updated date.
41073 Mention math library bug fixes and timezone data changes.
41074 * README: Mention GNU/Hurd, x32, and HPPA support status.
41076 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41078 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41080 2012-06-27 Andreas Jaeger <aj@suse.de>
41082 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41084 2012-06-25 Andreas Jaeger <aj@suse.de>
41086 * sysdeps/s390/fpu/libm-test-ulps: Update.
41088 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41089 Thomas Schwinge <thomas@codesourcery.com>
41091 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41092 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41096 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41098 * sysdeps/mach/start.c: Remove file.
41099 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41100 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41101 * sysdeps/sh/init-first.c: Likewise.
41103 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41104 registers for frame unwinding purposes, add CFI directives.
41105 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41106 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41107 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41110 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41111 __fortify_fail returning.
41112 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41114 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41115 sysdeps/sh/____longjmp_chk.S.
41116 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41117 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41118 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41119 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41121 * sysdeps/sh/abort-instr.h: New file.
41122 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41123 process in case exit returns.
41125 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41126 initialize the GOT register before use.
41128 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41129 calculation of ARGC > 4.
41131 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41132 meaningful names to some local labels.
41134 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41135 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41137 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41138 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41139 (__arch_compare_and_exchange_val_16_acq): Likewise.
41140 (__arch_compare_and_exchange_val_32_acq): Likewise.
41141 (atomic_exchange_and_add): Fix gUSA sequence.
41142 (atomic_add): Likewise.
41143 (atomic_add_negative): Likewise.
41144 (atomic_add_zero): Likewise.
41145 (atomic_bit_test_set): Likewise.
41147 2012-06-22 Andreas Schwab <schwab@redhat.com>
41150 * include/link.h (struct link_map): Add l_free_initfini.
41151 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41153 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41154 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41155 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41158 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41160 * configure.in: Use AC_LANG_SOURCE.
41161 * configure: Regenerate.
41163 2012-06-22 Roland McGrath <roland@hack.frob.com>
41165 * configure.in (libc_cv_localstatedir): New substituted variable.
41166 * configure: Regenerated.
41167 * config.make.in (localstatedir): New variable, substituted from
41168 libc_cv_localstatedir.
41169 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41170 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41171 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41172 * sysdeps/gnu/configure: Regenerated.
41174 2012-06-21 Jeff Law <law@redhat.com>
41177 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41178 free. Simplify list management for _LIBC case.
41180 2012-06-21 Joseph Myers <joseph@codesourcery.com>
41183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41184 Clear sign bit of 64-bit integer value before comparing against
41187 * sysdeps/mach/configure: Regenerated.
41189 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41192 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41194 2012-06-21 Jeff Law <law@redhat.com>
41197 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41198 uint16_t for elements in the "seen" array to avoid char overflows.
41199 * elf/dl-fini.c (_dl_sort_fini): Likewise.
41200 * elf/dl-open.c (dl_open_worker): Likewise.
41202 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41204 * scripts/list-sources.sh: Scan PORTS for translations.
41205 * po/libc.pot: Regenerated.
41207 2012-06-21 Andreas Jaeger <aj@suse.de>
41210 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41212 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41213 * bits/byteswap-16.h (__bswap_16): Likewise.
41214 * bits/byteswap.h (__bswap_constant_16): Likewise.
41216 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41219 * sysdeps/i386/fpu_control.h: Removed.
41220 * sysdeps/x86_64/fpu_control.h: Moved to ...
41221 * sysdeps/x86/fpu_control.h: Here.
41223 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41224 (_FPU_SETCW): Likewise.
41226 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41229 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41230 * sysdeps/x86/fpu/bits/mathinline.h: This.
41231 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41235 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41236 functions if __x86_64__ is defined.
41238 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41240 * string/endian.h: Add !__ASSEMBLER__ condition for including
41241 conversion interfaces.
41243 2012-06-15 Joseph Myers <joseph@codesourcery.com>
41246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41247 of ABS(x) in calculating zero to negative powers other than odd
41249 * math/libm-test.inc (pow_test): Add more tests.
41251 2012-06-15 Andreas Jaeger <aj@suse.de>
41253 * manual/contrib.texi (Contributors): Update entry of Liubov
41254 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41257 2012-06-15 Cyril Hrubis <metan@ucw.cz>
41259 * string/string.h: Add __wur to GNU version of strerror_r.
41261 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
41264 * string/Makefile (tests): Add tst-strtok_r.
41265 * string/tst-strtok_r.c: New file.
41266 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41267 RAX_LP/RDX_LP on SAVE_PTR.
41269 2012-06-14 Roland McGrath <roland@hack.frob.com>
41271 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41273 2012-06-14 Joseph Myers <joseph@codesourcery.com>
41275 * libm_test.inc (csqrt_test): Allow more spurious underflow
41277 (j0_test): Likewise.
41278 (j1_test): Likewise.
41279 (y0_test): Likewise.
41280 (y1_test): Likewise.
41282 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
41284 * po/Makefile (libc.pot): Use UTF-8 charset.
41286 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
41289 Suppress sign-conversion warning from FD_SET.
41290 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41291 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41292 not unsigned long int.
41293 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41295 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
41299 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41300 __extern_always_inline instead of __extern_inline.
41301 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41302 (__signbit): Likewise.
41303 (__signbitl): Support C++ namespace.
41304 (lrintf): New inline function.
41306 (llrintf): Likewise.
41307 (llrint): Likewise.
41317 (floorf): Likewise.
41318 (nearbyint): Likewise.
41319 (nearbyintf): Likewise.
41321 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
41323 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41324 non-default versions.
41326 2012-06-11 Roland McGrath <roland@hack.frob.com>
41329 * manual/argp.texi (Argp): Reword argp_parse description slightly.
41331 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
41333 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41334 (FE_UPWARD, FE_DOWNWARD): Don't define.
41335 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41336 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41338 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41340 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41341 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41343 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41345 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41347 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41348 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41350 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
41353 * sysdeps/i386/fpu/bits/fenv.h: Removed.
41354 * sysdeps/i386/fpu/Implies: New file.
41355 * sysdeps/x86_64/fpu/Implies: Likewise.
41356 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41357 * sysdeps/x86/fpu/bits/fenv.h: This.
41359 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41362 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
41365 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41366 character 0xffff that matches the last element of the
41369 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41374 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41376 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41377 values higher than 25.6283.
41379 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41381 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41382 subnormal exponent extraction and add some __builtin_expect.
41383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41384 Fix for subnormal mantissa calculation.
41386 2012-06-04 Mike Frysinger <vapier@gentoo.org>
41388 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41389 cpu2 is -1 and errno is not ENOSYS.
41391 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
41394 * sysdeps/i386/i486/bits/string.h: Renamed to ...
41395 * sysdeps/x86/bits/string.h: This.
41396 * sysdeps/x86_64/bits/string.h: Removed.
41398 * sysdeps/i386/i486/bits/string.h: Define inline functions only
41399 if not compiling for x86-64, but compiling for >= i486.
41401 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41402 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41404 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41405 New macro from Linux kernel 3.4.0.
41406 (FP_XSTATE_MAGIC2): Likewise.
41407 (FP_XSTATE_MAGIC2_SIZE): Likewise.
41408 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41409 (struct _fpx_sw_bytes): New struct.
41410 (struct _xsave_hdr): Likewise.
41411 (struct _ymmh_state): Likewise.
41412 (struct _xstate): Likewise.
41414 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41415 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41416 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41417 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41418 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41419 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41421 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41422 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41423 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41424 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41425 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41426 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41428 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41431 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41432 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41433 (sysdep_headers): Include sys/platform/ppc.h.
41434 * sysdeps/powerpc/test-gettimebase.c: Test for
41435 __ppc_get_timebase() to catch future ISA opcode/insn changes.
41436 * manual/Makefile (appendices): Include platform.texi.
41437 * manual/contrib.texi (Contributors): Update @node pointers.
41438 * manual/maint.texi (Maintenance): Likewise.
41439 (Platform): New node.
41440 * manual/platform.texi: New file. Document the new features.
41442 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
41443 Jakub Jelinek <jakub@redhat.com>
41446 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41447 where __builtin_expect is unavailable.
41449 2012-06-03 David S. Miller <davem@davemloft.net>
41451 * stdlib/longlong.h: Updated from GCC.
41453 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
41456 * sysdeps/powerpc/powerpc32/mcount.c: New file.
41457 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41460 (GLIBC_2.16): Likewise.
41462 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41464 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41466 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41469 (default-abi): New variable.
41470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41471 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41473 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41475 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41477 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41480 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41481 definition. Document in comment.
41483 2012-06-01 David S. Miller <davem@davemloft.net>
41485 * stdlib/longlong.h: Updated from GCC.
41487 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41490 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41491 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41492 sys/debugreg.h sys/io.h here.
41493 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41494 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41496 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41497 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41498 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41499 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41500 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41501 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41504 Define only if __x86_64__ is defined.
41506 2012-06-01 Joseph Myers <joseph@codesourcery.com>
41509 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41510 Use int64_t for variable i.
41511 * math/libm-test.inc (fmod_test): Add more tests.
41513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41514 z computation is not scheduled after fetestexcept.
41515 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41516 Use math_force_eval instead of asm to ensure calculation scheduled
41517 before exception test.
41518 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41519 Ensure a1 + u.d computation is not scheduled after fetestexcept.
41521 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
41523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41524 computation is not scheduled after fetestexcept.
41526 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
41529 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41530 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41532 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41534 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41535 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41537 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41540 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41542 (__WCHAR_MIN): Support __WORDSIZE == 64.
41543 (__WCHAR_MAX): Likewise.
41545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41546 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41549 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41550 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41553 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41554 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41556 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41557 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41559 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41560 Defined to 1 if __x86_64__ isn't defined.
41561 (_STAT_VER_LINUX_OLD): New.
41562 (st_atime): Remove duplicate.
41563 (st_mtime): Likewise.
41564 (st_ctime): Likewise.
41566 2012-05-31 David S. Miller <davem@davemloft.net>
41568 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41571 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
41573 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41577 * elf/dl-reloc.c: Include <_itoa.h>.
41578 (_dl_reloc_bad_type): Remove use of INTUSE.
41579 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41580 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41581 * stdio-common/psiginfo.c (psiginfo): Likewise.
41582 * stdio-common/psignal.c (psignal): Likewise.
41583 * string/strsignal.c (strsignal): Likewise.
41584 * include/signal.h (_sys_siglist): Declare hidden proto.
41585 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
41586 INTVARDEF with libc_hidden_data_def.
41587 * stdio-common/itoa-udigits.c: Likewise.
41588 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41589 (_itoa_lower_digits_internal): Remove declaration.
41590 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41591 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41592 (_sys_sigabbrev_internal): Remove aliases.
41593 (_sys_siglist): Define hidden alias.
41595 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
41597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41600 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
41603 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41604 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41606 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41607 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41608 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41609 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41611 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41613 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41614 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41615 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41617 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41625 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41626 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41627 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41629 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41630 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41632 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41633 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41634 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41636 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41637 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41639 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41640 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41642 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41644 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41646 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41647 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41649 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41651 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41652 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41653 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41655 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41657 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41659 2012-05-31 Joseph Myers <joseph@codesourcery.com>
41661 * math/math.h (M_El): Use two more decimal places.
41662 (M_LOG2El): Likewise.
41663 (M_LOG10El): Likewise.
41664 (M_LN2l): Likewise.
41665 (M_LN10l): Likewise.
41667 (M_PI_2l): Likewise.
41668 (M_PI_4l): Likewise.
41669 (M_1_PIl): Likewise.
41670 (M_2_PIl): Likewise.
41671 (M_2_SQRTPIl): Likewise.
41672 (M_SQRT2l): Likewise.
41673 (M_SQRT1_2l): Likewise.
41675 2012-05-31 David S. Miller <davem@davemloft.net>
41677 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41678 values between float registers.
41679 * sysdeps/sparc/sparc64/memset.S: Likewise.
41680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41682 2012-05-31 Mike Frysinger <vapier@gentoo.org>
41684 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41685 -D_FORTIFY_SOURCE=1.
41686 (CPPFLAGS-tst-longjmp_chk.c): Define.
41687 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41688 (CPPFLAGS-tst-longjmp_chk2.c): Define.
41689 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41690 CFLAGS-tst-wchar-h.c.
41692 2012-05-31 Marek Polacek <polacek@redhat.com>
41695 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41696 __endmntent_internal): Remove declaration.
41697 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41698 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41699 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41701 2012-05-30 David S. Miller <davem@davemloft.net>
41703 * sysdeps/sparc/sparc32/soft-fp/q_util.c
41704 (___Q_simulate_exceptions): Use real FP ops rather than writing
41706 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41709 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41712 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41713 * sysdeps/x86/bits/xtitypes.h: This.
41715 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41716 * sysdeps/x86/bits/wordsize.h: This.
41718 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41719 * sysdeps/x86/bits/huge_vall.h: This.
41721 * sysdeps/i386/bits/select.h: Removed.
41722 * sysdeps/x86_64/bits/select.h: Renamed to ...
41723 * sysdeps/x86/bits/select.h: This.
41725 * sysdeps/i386/bits/setjmp.h: Removed.
41726 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41727 * sysdeps/x86/bits/setjmp.h: This.
41729 * sysdeps/i386/bits/mathdef.h: Removed.
41730 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41731 * sysdeps/x86/bits/mathdef.h: This.
41733 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
41736 * include/sys/socket.h (__connect_internal)
41737 (__libc_sa_len_internal): Remove declaration.
41738 (__connect, __libc_sa_len): Declare hidden_proto.
41739 (SA_LEN): Remove use of INTUSE.
41740 * socket/connect.c: Add libc_hidden_def.
41741 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41742 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41743 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41745 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41746 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41747 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41748 of adding _internal alias.
41750 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41753 * sysdeps/i386/bits/link.h: Removed.
41754 * sysdeps/i386/bits/linkmap.h: Likewise.
41755 * sysdeps/x86_64/bits/link.h: Renamed to ...
41756 * sysdeps/x86/bits/link.h: This.
41757 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41758 * sysdeps/x86/bits/linkmap.h: This.
41760 * sysdeps/i386/bits/endian.h: Removed.
41761 * sysdeps/x86_64/bits/endian.h: Renamed to ...
41762 * sysdeps/x86/bits/endian.h: This.
41764 * sysdeps/i386/bits/byteswap.h: Removed.
41765 * sysdeps/i386/bits/byteswap-16.h: Likewise.
41766 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41767 * sysdeps/x86/bits/byteswap.h: This.
41768 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41769 * sysdeps/x86/bits/byteswap-16.h: This.
41770 * sysdeps/i386/Implies: Add x86.
41771 * sysdeps/x86_64/Implies: Likewise.
41773 2012-05-30 David S. Miller <davem@davemloft.net>
41775 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41776 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41777 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41778 (FP_TRAPPING_EXCEPTIONS): Define.
41779 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41780 (FP_TRAPPING_EXCEPTIONS): Define.
41781 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41782 subnormals only when inexact has been signalled or underflow
41783 exceptions are enabled.
41784 (_FP_PACK_CANONICAL): Likewise.
41786 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41789 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41790 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41792 2012-05-30 Richard Henderson <rth@twiddle.net>
41794 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41795 with #ifndef NOT_IN_libc.
41797 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
41798 marked to avoid plt entry.
41800 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
41803 * Makeconfig (default-abi): New macro.
41804 (abi-includes): Likewise.
41805 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
41806 $(abi-$(default-abi)-lib-soname) for soname if defined.
41807 ($(common-objpfx)gnu/lib-names.stmp): Generate from
41809 * Makefile (installed-stubs): Likewise.
41810 * include/stubs-biarch.h: Removed.
41811 * scripts/lib-names.awk: Only handle one library at a time.
41812 * scripts/soversions.awk: Remove WORDSIZE support.
41813 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41815 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41817 (syscall-list-default-condition): Likewise.
41818 (syscall-list-default-condition): Likewise.
41819 (syscall-list-includes): Likewise.
41820 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41821 syscall-list-* with abi-*. Handle undefined abi-variants.
41822 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41823 * sysdeps/unix/sysv/linux/i386/Implies: New file.
41824 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41825 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41826 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41827 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41829 (syscall-list-32-options): Likewise.
41830 (syscall-list-32-condition): Likewise.
41831 (syscall-list-64-options): Likewise.
41832 (syscall-list-64-condition): Likewise.
41833 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41835 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41838 (abi-64-ld-soname): New macro.
41839 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41840 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41843 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41844 * sysdeps/x86_64/x32/shlib-versions: Likewise.
41846 2012-05-30 Joseph Myers <joseph@codesourcery.com>
41848 * sysdeps/unix/sysv/linux/kernel-features.h
41849 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41850 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41851 include <kernel-features.h>.
41852 [!__NR_ftruncate64]: Remove conditional code.
41853 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41854 [__NR_ftruncate64]: Make code unconditional.
41855 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41856 * sysdeps/unix/sysv/linux/truncate64.c: Do not
41857 include <kernel-features.h>.
41858 [!__NR_ftruncate64]: Remove conditional code.
41859 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41860 [__NR_ftruncate64]: Make code unconditional.
41861 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41863 include <kernel-features.h>.
41864 [!__NR_ftruncate64]: Remove conditional code.
41865 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41866 [__NR_ftruncate64]: Make code unconditional.
41867 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41869 include <kernel-features.h>.
41870 [!__NR_ftruncate64]: Remove conditional code.
41871 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41872 [__NR_ftruncate64]: Make code unconditional.
41873 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41875 * configure.in (libc_cv_fpie): Weaken to a compile test using
41876 LIBC_TRY_CC_OPTION.
41877 * configure: Regenerated.
41879 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41894 2012-05-27 David S. Miller <davem@davemloft.net>
41896 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41898 (__Q_simulate_exceptions): Return void. Change to simulate
41899 exceptions by writing into the %fsr.
41900 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41901 (__Qp_handle_exceptions): Likewise.
41903 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41904 __Qp_handle_exceptions.
41905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41906 __Qp_handle_exceptions.
41907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41908 as unused and give dummy FP_RND_NEAREST initializer.
41909 (FP_INHIBIT_RESULTS): Define.
41910 (___Q_simulate_exceptions): Update declaration.
41911 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41913 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41914 as unused and give dummy FP_RND_NEAREST initializer.
41915 (__Qp_handle_exceptions): Update declaration.
41916 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41919 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
41921 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41922 the temporary FPU control word.
41923 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41924 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41925 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41926 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41927 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41928 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41929 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41930 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41931 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41932 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41933 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41935 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41937 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41940 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
41942 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41943 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41944 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41945 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41947 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41948 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41951 2012-05-27 Ulrich Drepper <drepper@gmail.com>
41953 * po/h.po: Update from translation team.
41955 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
41957 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41959 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41960 handling of denormals.
41961 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41962 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41963 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41964 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41970 2012-05-26 Marek Polacek <polacek@redhat.com>
41973 * math/libm-test.inc (fma_test): Don't always expect underflow
41976 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41979 * elf/tst-execstack.c: Include stackinfo.h.
41980 (do_test): Adjust test case to ensure that pthread_getattr_np
41981 behaviour remains the same after marking stack executable.
41983 2012-05-25 Joseph Myers <joseph@codesourcery.com>
41985 * sysdeps/unix/sysv/linux/kernel-features.h
41986 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41987 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41989 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41990 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41991 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41993 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41994 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41996 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
41998 * configure.in: Define the default includes to being none.
41999 * configure: Regenerated.
42001 2012-05-25 Roland McGrath <roland@hack.frob.com>
42003 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42004 * sysdeps/x86_64/setjmp.S: Likewise.
42005 * sysdeps/i386/bsd-setjmp.S: Likewise.
42006 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42007 * sysdeps/i386/setjmp.S: Likewise.
42008 * sysdeps/i386/__longjmp.S: Likewise.
42009 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42010 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42012 * include/stap-probe.h: New file.
42013 * configure.in: Handle --enable-systemtap.
42014 * configure: Regenerated.
42015 * config.h.in (USE_STAP_PROBE): New #undef.
42016 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42017 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42018 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42020 2012-05-25 Joseph Myers <joseph@codesourcery.com>
42023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42024 to 2.4.0 where earlier.
42025 * sysdeps/unix/sysv/linux/configure: Regenerated.
42026 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
42035 [__ASSUME_32BITUIDS]: Make code unconditional.
42036 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42037 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42038 <kernel-features.h>.
42039 [__ASSUME_32BITUIDS]: Make code unconditional.
42040 [!__ASSUME_32BITUIDS]: Remove conditional code.
42041 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42042 <kernel-features.h>.
42043 [__ASSUME_32BITUIDS]: Make code unconditional.
42044 [!__ASSUME_32BITUIDS]: Remove conditional code.
42045 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42046 <kernel-features.h>.
42047 [__ASSUME_32BITUIDS]: Make code unconditional.
42048 [!__ASSUME_32BITUIDS]: Remove conditional code.
42049 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42050 <kernel-features.h>.
42051 [__ASSUME_32BITUIDS]: Make code unconditional.
42052 [!__ASSUME_32BITUIDS]: Remove conditional code.
42053 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42054 <kernel-features.h>.
42055 [__ASSUME_32BITUIDS]: Make code unconditional.
42056 [!__ASSUME_32BITUIDS]: Remove conditional code.
42057 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42058 <kernel-features.h>.
42059 [__ASSUME_32BITUIDS]: Make code unconditional.
42060 [!__ASSUME_32BITUIDS]: Remove conditional code.
42061 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42062 <kernel-features.h>.
42063 [__ASSUME_32BITUIDS]: Make code unconditional.
42064 [!__ASSUME_32BITUIDS]: Remove conditional code.
42065 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42066 <kernel-features.h>.
42067 [__ASSUME_32BITUIDS]: Make code unconditional.
42068 [!__ASSUME_32BITUIDS]: Remove conditional code.
42069 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42070 <kernel-features.h>.
42071 [__ASSUME_32BITUIDS]: Make code unconditional.
42072 [!__ASSUME_32BITUIDS]: Remove conditional code.
42073 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42074 <kernel-features.h>.
42075 [__ASSUME_32BITUIDS]: Make code unconditional.
42076 [!__ASSUME_32BITUIDS]: Remove conditional code.
42077 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42078 <kernel-features.h>.
42079 [__NR_setresgid] (__setresgid): Do not declare.
42080 [__ASSUME_32BITUIDS]: Make code unconditional.
42081 [!__ASSUME_32BITUIDS]: Remove conditional code.
42082 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42083 <kernel-features.h>.
42084 [__NR_setresuid] (__setresuid): Do not declare.
42085 [__ASSUME_32BITUIDS]: Make code unconditional.
42086 [!__ASSUME_32BITUIDS]: Remove conditional code.
42087 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42088 <kernel-features.h>.
42089 [__ASSUME_32BITUIDS]: Make code unconditional.
42090 [!__ASSUME_32BITUIDS]: Remove conditional code.
42091 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42092 <kernel-features.h>.
42093 [__ASSUME_32BITUIDS]: Make code unconditional.
42094 [!__ASSUME_32BITUIDS]: Remove conditional code.
42095 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42096 <kernel-features.h>.
42097 [__ASSUME_32BITUIDS]: Make code unconditional.
42098 [!__ASSUME_32BITUIDS]: Remove conditional code.
42099 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42100 <kernel-features.h>.
42101 [__ASSUME_32BITUIDS]: Make code unconditional.
42102 [!__ASSUME_32BITUIDS]: Remove conditional code.
42103 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42104 <kernel-features.h>.
42105 [__ASSUME_32BITUIDS]: Make code unconditional.
42106 [!__ASSUME_32BITUIDS]: Remove conditional code.
42107 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42108 <kernel-features.h>.
42109 [__ASSUME_32BITUIDS]: Make code unconditional.
42110 [!__ASSUME_32BITUIDS]: Remove conditional code.
42111 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42112 <kernel-features.h>.
42113 [__ASSUME_32BITUIDS]: Make code unconditional.
42114 [!__ASSUME_32BITUIDS]: Remove conditional code.
42115 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42116 <kernel-features.h>.
42117 [__ASSUME_32BITUIDS]: Make code unconditional.
42118 [!__ASSUME_32BITUIDS]: Remove conditional code.
42119 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42120 <kernel-features.h>.
42121 [__ASSUME_32BITUIDS]: Make code unconditional.
42122 [!__ASSUME_32BITUIDS]: Remove conditional code.
42123 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42124 <kernel-features.h>.
42125 [__ASSUME_32BITUIDS]: Make code unconditional.
42126 [!__ASSUME_32BITUIDS]: Remove conditional code.
42127 * sysdeps/unix/sysv/linux/kernel-features.h
42128 (__ASSUME_SETRESUID_SYSCALL): Remove.
42129 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42130 (__ASSUME_32BITUIDS): Likewise.
42131 (__ASSUME_LDT_WORKS): Likewise.
42132 (__ASSUME_O_DIRECTORY): Likewise.
42133 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42134 architecture but not kernel version.
42135 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42136 (__ASSUME_MMAP2_SYSCALL): Likewise.
42137 (__ASSUME_STAT64_SYSCALL): Likewise.
42138 (__ASSUME_IPC64): Likewise.
42139 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42140 <kernel-features.h>.
42141 [__ASSUME_32BITUIDS]: Make code unconditional.
42142 [!__ASSUME_32BITUIDS]: Remove conditional code.
42143 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42144 <kernel-features.h>.
42145 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42146 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42147 132096]: Remove conditional code.
42148 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42149 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42150 <kernel-features.h>.
42151 [__ASSUME_32BITUIDS]: Make code unconditional.
42152 [!__ASSUME_32BITUIDS]: Remove conditional code.
42153 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42154 <kernel-features.h>.
42155 [__ASSUME_32BITUIDS]: Make code unconditional.
42156 [!__ASSUME_32BITUIDS]: Remove conditional code.
42157 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42158 <kernel-features.h>.
42159 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42161 (__setresgid): Do not declare.
42162 [__ASSUME_32BITUIDS]: Make code unconditional.
42163 [!__ASSUME_32BITUIDS]: Remove conditional code.
42164 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42165 <kernel-features.h>.
42166 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42168 (__setresuid): Do not declare.
42169 [__ASSUME_32BITUIDS]: Make code unconditional.
42170 [!__ASSUME_32BITUIDS]: Remove conditional code.
42171 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42172 <kernel-features.h>.
42173 [__ASSUME_32BITUIDS]: Make code unconditional.
42174 [!__ASSUME_32BITUIDS]: Remove conditional code.
42175 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42176 <kernel-features.h>.
42177 [__ASSUME_32BITUIDS]: Make code unconditional.
42178 [!__ASSUME_32BITUIDS]: Remove conditional code.
42180 2012-05-25 Richard Henderson <rth@twiddle.net>
42182 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42183 dl_hwcap to ifunc resolver.
42184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42186 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42187 dl_hwcap to ifunc resolver.
42188 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42190 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42193 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42194 for |x| <= 2**-26, not 2**-57.
42195 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42198 2012-05-24 Jeff Law <law@redhat.com>
42200 * stdio-common/Makefile (tests): Add bug25.
42201 * stdio-common/bug25.c: New test.
42203 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42206 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42207 multiple of MALLOC_ALIGNMENT in size.
42208 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42210 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42212 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42214 (FILENAME_MAX): Use macro-int-constant.
42215 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42216 (_IOFBF): Use macro-int-constant.
42217 (_IOLBF): Likewise.
42218 (_IONBF): Likewise.
42219 (SEEK_CUR): Likewise.
42220 (SEEK_END): Likewise.
42221 (SEEK_SET): Likewise.
42222 (TMP_MAX): Likewise.
42223 (EOF): Use macro-int-constant. Require < 0.
42224 (NULL): Use macro-constant. Require == 0.
42225 (stdin): Require type to be FILE *.
42226 (stdout): Likewise.
42227 (stderr): Likewise.
42228 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42229 macro-int-constant.
42230 (EXIT_SUCCESS): Likewise.
42231 (NULL): Use macro-constant. Require == 0.
42232 (RAND_MAX): Use macro-int-constant.
42233 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42234 [C99-based standards] (strtof): Require function.
42235 [C99-based standards] (strtold): Likewise.
42236 [C99-based standards] (strtoll): Likewise.
42237 [C99-based standards] (strtoull): Likewise.
42238 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42239 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42240 [ISO || ISO99 || ISO11] (math.h): Likewise.
42241 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42242 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42245 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42248 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42249 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42250 * intl/dgettext.c (DCGETTEXT): Likewise.
42251 * intl/gettext.c (DCGETTEXT): Likewise.
42252 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42253 * posix/regex_internal.h (gettext): Likewise.
42254 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42255 Remove declaration.
42256 * include/argz.h (__argz_count_internal)
42257 (__argz_stringify_internal): Remove declaration.
42258 (__argz_count, __argz_stringify): Declare hidden proto.
42259 * intl/dcgettext.c: Remove use of INTDEF.
42260 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42261 * string/argz-stringify.c: Likewise.
42262 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42263 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42264 Declare hidden proto.
42265 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42266 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42267 Declare hidden proto.
42268 * include/stdio.h (__asprintf_internal): Don't declare.
42269 (__asprintf): Don't define as macro. Declare hidden proto.
42270 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42271 (__fsetlocking): Declare hidden proto.
42272 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42273 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42275 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42276 (_IO_setlinebuf): Remove use of INTUSE.
42277 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42278 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42279 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42280 Remove declaration.
42281 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42282 (_IO_do_flush): Remove use of INTUSE.
42283 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42284 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42285 (_IO_adjust_column, _IO_least_wmarker)
42286 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42287 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42288 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42289 (_IO_default_doallocate, _IO_wdefault_doallocate)
42290 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42291 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42292 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42293 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42294 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42295 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42296 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42297 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42298 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42299 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42300 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42301 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42302 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42304 (_IO_flush_all_internal, _IO_adjust_column_internal)
42305 (_IO_default_uflow_internal, _IO_default_finish_internal)
42306 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42307 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42308 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42309 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42310 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42311 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42312 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42313 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42314 (_IO_file_close_internal, _IO_file_close_it_internal)
42315 (_IO_file_underflow_internal, _IO_file_overflow_internal)
42316 (_IO_file_init_internal, _IO_file_attach_internal)
42317 (_IO_file_fopen_internal, _IO_file_read_internal)
42318 (_IO_file_sync_internal, _IO_file_seek_internal)
42319 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42320 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42321 (_IO_str_underflow_internal, _IO_str_overflow_internal)
42322 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42323 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42324 (_IO_list_all_internal, _IO_link_in_internal)
42325 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42326 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42327 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42328 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42329 (_IO_do_write_internal, _IO_padn_internal)
42330 (_IO_getline_info_internal, _IO_getline_internal)
42331 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42332 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42333 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42334 (_IO_vfscanf_internal, _IO_vfprintf_internal)
42335 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42336 (_IO_init_internal, _IO_un_link_internal): Don't declare.
42337 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42338 with libc_hidden_ver, remove use of INTUSE.
42339 * libio/genops.c: Likewise.
42340 * libio/freopen.c: Likewise.
42341 * libio/freopen64.c: Likewise.
42342 * libio/iofclose.c: Likewise.
42343 * libio/iofdopen.c: Likewise.
42344 * libio/iofflush.c: Likewise.
42345 * libio/iofflush_u.c: Likewise.
42346 * libio/iofgets.c: Likewise.
42347 * libio/iofgets_u.c: Likewise.
42348 * libio/iofopen.c: Likewise.
42349 * libio/iofopncook.c: Likewise.
42350 * libio/iofread.c: Likewise.
42351 * libio/iofread_u.c: Likewise.
42352 * libio/ioftell.c: Likewise.
42353 * libio/iofwrite.c: Likewise.
42354 * libio/iogetline.c: Likewise.
42355 * libio/iogets.c: Likewise.
42356 * libio/iogetwline.c: Likewise.
42357 * libio/iopadn.c: Likewise.
42358 * libio/iopopen.c: Likewise.
42359 * libio/ioseekoff.c: Likewise.
42360 * libio/ioseekpos.c: Likewise.
42361 * libio/iosetbuffer.c: Likewise.
42362 * libio/iosetvbuf.c: Likewise.
42363 * libio/ioungetc.c: Likewise.
42364 * libio/ioungetwc.c: Likewise.
42365 * libio/iovdprintf.c: Likewise.
42366 * libio/iovsprintf.c: Likewise.
42367 * libio/iovsscanf.c: Likewise.
42368 * libio/memstream.c: Likewise.
42369 * libio/obprintf.c: Likewise.
42370 * libio/oldfileops.c: Likewise.
42371 * libio/oldiofclose.c: Likewise.
42372 * libio/oldiofdopen.c: Likewise.
42373 * libio/oldiofopen.c: Likewise.
42374 * libio/oldiopopen.c: Likewise.
42375 * libio/oldstdfiles.c: Likewise.
42376 * libio/putc.c: Likewise.
42377 * libio/setbuf.c: Likewise.
42378 * libio/setlinebuf.c: Likewise.
42379 * libio/stdfiles.c: Likewise.
42380 * libio/strops.c: Likewise.
42381 * libio/vasprintf.c: Likewise.
42382 * libio/vscanf.c: Likewise.
42383 * libio/vsnprintf.c: Likewise.
42384 * libio/vswprintf.c: Likewise.
42385 * libio/wfiledoalloc.c: Likewise.
42386 * libio/wfileops.c: Likewise.
42387 * libio/wgenops.c: Likewise.
42388 * libio/wmemstream.c: Likewise.
42389 * libio/wstrops.c: Likewise.
42390 * libio/__fpurge.c: Likewise.
42391 * libio/__fsetlocking.c: Likewise.
42392 * assert/assert.c: Likewise.
42393 * debug/fgets_chk.c: Likewise.
42394 * debug/fgets_u_chk.c: Likewise.
42395 * debug/fread_chk.c: Likewise.
42396 * debug/fread_u_chk.c: Likewise.
42397 * debug/gets_chk.c: Likewise.
42398 * debug/obprintf_chk.c: Likewise.
42399 * debug/vasprintf_chk.c: Likewise.
42400 * debug/vdprintf_chk.c: Likewise.
42401 * debug/vsnprintf_chk.c: Likewise.
42402 * debug/vsprintf_chk.c: Likewise.
42403 * malloc/mtrace.c: Likewise.
42404 * misc/error.c: Likewise.
42405 * misc/syslog.c: Likewise.
42406 * stdio-common/asprintf.c: Likewise.
42407 * stdio-common/fxprintf.c: Likewise.
42408 * stdio-common/getw.c: Likewise.
42409 * stdio-common/isoc99_fscanf.c: Likewise.
42410 * stdio-common/isoc99_scanf.c: Likewise.
42411 * stdio-common/isoc99_vfscanf.c: Likewise.
42412 * stdio-common/isoc99_vscanf.c: Likewise.
42413 * stdio-common/isoc99_vsscanf.c: Likewise.
42414 * stdio-common/printf-prs.c: Likewise.
42415 * stdio-common/printf_fp.c: Likewise.
42416 * stdio-common/printf_fphex.c: Likewise.
42417 * stdio-common/printf_size.c: Likewise.
42418 * stdio-common/putw.c: Likewise.
42419 * stdio-common/scanf.c: Likewise.
42420 * stdio-common/sprintf.c: Likewise.
42421 * stdio-common/tmpfile.c: Likewise.
42422 * stdio-common/vfprintf.c: Likewise.
42423 * stdio-common/vfscanf.c: Likewise.
42424 * stdlib/strfmon_l.c: Likewise.
42425 * sunrpc/openchild.c: Likewise.
42426 * sunrpc/xdr_stdio.c: Likewise.
42427 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42428 * sysdeps/mach/hurd/tmpfile.c: Likewise.
42430 2012-05-24 Roland McGrath <roland@hack.frob.com>
42432 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42434 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42435 in the third column, to generate for the shared library an IFUNC
42436 that uses _dl_vdso_vsym.
42437 * Makerules (COMPILE.c, compile-stdin.c): New variables.
42438 * Makeconfig (object-suffixes-noshared): New variable.
42440 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42441 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42442 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42443 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42446 * include/sys/time.h (__gettimeofday): Remove macro.
42447 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42448 * time/gettimeofday.c (__gettimeofday): Remove #undef.
42450 (__gettimeofday): Add libc_hidden_def.
42451 (gettimeofday): Add libc_hidden_weak.
42452 * sysdeps/mach/gettimeofday.c: Likewise.
42453 * sysdeps/posix/gettimeofday.c: Likewise.
42454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42455 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42457 (__gettimeofday_internal): Remove strong_alias.
42458 (__gettimeofday): Add libc_hidden_def.
42459 (gettimeofday): Add libc_hidden_weak.
42460 * sysdeps/unix/syscalls.list (gettimeofday):
42461 Remove __gettimeofday_internal alias.
42463 2012-05-24 Daniel Jacobowitz <drow@false.org>
42464 H.J. Lu <hongjiu.lu@intel.com>
42467 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42468 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42469 (largebin_index_32_big): New.
42470 (largebin_index): Use it for 16-byte alignment.
42471 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
42472 correction with front_misalign.
42474 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42502 * scripts/data/c++-types-x32-linux-gnu.data: New file.
42503 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42505 2012-05-24 Joseph Myers <joseph@codesourcery.com>
42509 * math/libm-test.inc (exp_test): Add test from bug 14036.
42510 (pow_test): Add test from bug 10846.
42512 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42514 (special_function): Do not include flags in test name.
42515 (parse_args): Likewise.
42516 * sysdeps/i386/fpu/libm-test-ulps: Update.
42517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42522 * math/gen-libm-test.pl (%beautify): Add entries for underflow
42524 * math/libm-test.inc ("Philosophy"): Update comment about
42526 (UNDERFLOW_EXCEPTION): New macro.
42527 (UNDERFLOW_EXCEPTION_OK): Likewise.
42528 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42529 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42530 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42531 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42532 (INVALID_EXCEPTION_OK): Update value.
42533 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42534 (OVERFLOW_EXCEPTION_OK): Likewise.
42535 (IGNORE_ZERO_INF_SIGN): Likewise.
42536 (test_exceptions): Handle underflow exceptions.
42537 (acos_test): Update for underflow exception expectations.
42538 (cexp_test): Likewise.
42539 (clog_test): Likewise.
42540 (clog10_test): Likewise.
42541 (csqrt_test): Likewise.
42542 (ctan_test): Likewise.
42543 (ctanh_test): Likewise.
42544 (exp_test): Likewise.
42545 (exp10_test): Likewise.
42546 (exp2_test): Likewise.
42547 (expm1_test): Likewise.
42548 (fma_test): Likewise.
42549 (j0_test): Likewise.
42550 (jn_test): Likewise.
42551 (nexttoward_test): Likewise.
42552 (pow_test): Likewise.
42553 (scalbn_test): Likewise.
42554 (scalbln_test): Likewise.
42555 (tan_test): Likewise.
42556 (y1_test): Likewise.
42557 * sysdeps/i386/fpu/libm-test-ulps: Update.
42558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42560 2012-05-23 David S. Miller <davem@davemloft.net>
42562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42563 (__libc_sigaction): Remove unused local variables.
42565 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42567 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42569 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
42571 mktime: avoid signed integer overflow
42572 * time/mktime.c (__mktime_internal): Do not mishandle the case
42573 where diff == INT_MIN.
42575 mktime: simplify computation of average
42576 * time/mktime.c (ranged_convert): Use new time_t_avg function
42577 instead of rolling our own (probably-slower) code.
42579 mktime: do not assume signed right shift propagates sign bit
42580 * time/mktime.c (isdst_differ): New static function.
42581 (__mktime_internal): No need to normalize tm_isdst now.
42582 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42585 mktime: merge another wrapv change from gnulib
42586 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42587 from some compilers.
42589 mktime: remove incorrect attempt at unusual arithmetics
42590 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42591 The code didn't really work on such machines anyway.
42592 (TYPE_MINIMUM): Assume two's complement.
42593 (twos_complement_arithmetic): Verify that long_int and time_t
42594 are two's complement (or unsigned, in the latter case).
42596 mktime: check signed shifts on long_int and time_t, too
42597 * time/mktime.c (SHR): Check that shifts work as desired
42598 on the types long_int and time_t too, as SHR is used on
42601 mktime: do not assume 'long' is wide enough
42602 * time/mktime.c (verify): Move decl up.
42603 (long_int): New type.
42604 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42605 to remove assumption in the code that 'long' is wide enough to
42606 store year values. This assumption is not true on x32 and on
42607 some non-glibc platforms.
42609 mktime: merge wrapv change from gnulib
42610 * time/mktime.c (WRAPV): New macro.
42611 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42612 (guess_time_tm, __mktime_internal): Do not assume that signed
42613 integer overflow wraps around; modern compilers generate code
42614 where this assumption is no longer valid.
42616 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42618 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42619 Replace "jmp L(pseudo_end)" with "ret".
42620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42623 2012-05-23 Andreas Jaeger <aj@suse.de>
42625 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42626 * sysdeps/unix/sysv/linux/poll.c: Remove file.
42628 2012-05-23 Andreas Jaeger <aj@suse.de>
42629 Maximilian Attems <max@stro.at>
42631 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42634 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
42636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42637 code so that pseudo_end is just ret and the stack pointer is
42638 correct also for static library in error case.
42640 2012-05-23 Joseph Myers <joseph@codesourcery.com>
42642 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42643 move to syscalls.list.
42644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42649 * manual/install.texi (Running make install): Do not mention Linux
42650 kernel version for which pt_chown is not needed.
42651 (Linux): Do not mention problems with nscd with 2.0 kernels.
42652 * INSTALL: Regenerated.
42654 2012-05-23 Andreas Jaeger <aj@suse.de>
42656 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42657 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42659 * sysdeps/unix/sysv/linux/s390/bits/mman.h
42660 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42661 * sysdeps/unix/sysv/linux/sh/bits/mman.h
42662 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42663 * sysdeps/unix/sysv/linux/i386/bits/mman.h
42664 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42666 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42668 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42669 * sysdeps/unix/sysv/linux/bits/in.h
42670 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42672 2012-05-22 Roland McGrath <roland@hack.frob.com>
42674 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42675 (PREPARE_VERSION): Just use assert instead, it will be elided
42676 under [NDEBUG] anyway.
42678 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42680 * sysdeps/unix/sysv/linux/Makefile: Include
42681 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42682 (sysdep_routines): Remove sysctl.
42683 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42684 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42685 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42686 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42687 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42689 2012-05-22 Andreas Jaeger <aj@suse.de>
42691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42692 that pseudo_end is just ret and the stack pointer is correct also
42693 for static library in error case.
42695 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
42698 * nss/nsswitch.c (defconfig_entries): New variable.
42699 (__nss_database_lookup): Don't leak defconfig entries.
42700 (nss_parse_service_list): Don't leak on error paths.
42701 (free_database_entries): New function.
42702 (free_defconfig): New function.
42703 (free_mem): Move common code to free_database_entries.
42705 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42707 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42709 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42711 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42712 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42715 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42716 (INTERNAL_SYSCALL_TYPES): Likewise.
42717 (LOAD_ARGS_TYPES_[1-6]): Likewise.
42718 (LOAD_REGS_TYPES_[1-6]): Likewise.
42719 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42720 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42722 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42725 copysignl for GLIBC_2_0.
42726 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42727 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42729 logbl for GLIBC_2_0.
42730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42731 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42733 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42736 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42738 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42741 * time/mktime.c: Update copyright years.
42743 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
42745 mktime: merge comment-quoting-style change from gnulib
42746 * time/mktime.c: Quote 'like this' in comments.
42747 The GNU coding standards suggest that we no longer quote `like this',
42748 as "`" and "'" are typically rendered asymmetrically nowadays.
42749 The typical gnulib style is to quote 'like this' when quoting
42750 code, and "like this" when quoting English.
42752 * time/mktime.c (compile-command): Add "-I.".
42754 mktime: merge mktime-internal.h change from gnulib
42755 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42757 mktime: merge time_r change from gnulib
42758 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42760 mktime: merge DEBUG change from gnulib
42761 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42762 case system <time.h> has a #define.
42764 mktime: merge <sys/types.h> change from gnulib
42765 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42766 since <time.t> is now guaranteed to define time_t.
42768 mktime: merge HAVE_CONFIG_H change from gnulib
42769 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42771 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
42773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42776 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42778 (struct rusage): Use anonymous union to pad each field to
42781 2012-05-21 David S. Miller <davem@davemloft.net>
42783 * Makefules (o-iterator): Remove .s cases.
42784 (compile-command.s): Delete.
42785 (COMPILE.s): Delete.
42786 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42788 2012-05-21 Joseph Myers <joseph@codesourcery.com>
42790 * configure.in (libc_cv_predef_stack_protector): Only consider
42791 "foobar" and "__stack_chk_fail" lines in libc_undefs.
42792 * configure: Regenerated.
42794 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42797 New macro. Use R*LP on int and pointer.
42798 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42799 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42800 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42801 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42803 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42804 [__WORDSIZE_TIME64_COMPAT32] instead of
42805 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42806 (struct utmp): Likewise.
42807 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42808 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42810 (__WORDSIZE_TIME64_COMPAT32): This.
42811 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42812 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42813 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42814 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42815 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42816 (__WORDSIZE_TIME64_COMPAT32): New macro.
42818 2012-05-21 Andreas Jaeger <aj@suse.de>
42820 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42821 only if [SHARED]. Add prototype for __wcschr_ia32.
42823 2012-05-21 Roland McGrath <roland@hack.frob.com>
42825 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42826 of %rbp unmolested in the jmp_buf while mangling the low bits.
42827 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42828 unmolested high bits of %rbp while demangling the low bits.
42829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42831 2012-05-21 Andreas Jaeger <aj@suse.de>
42833 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42834 * sunrpc/svc_simple.c: Use it for registerrpc.
42835 * sunrpc/xcrypt.c: Use it for passwd2des.
42837 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42839 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42841 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42842 Don't define if [__SYSCALL_WORDSIZE != 32].
42843 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42846 2012-05-21 Bruno Haible <bruno@clisp.org>
42847 Andreas Jaeger <aj@suse.de>
42849 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42850 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42851 inptr and inend for must_buffer_ch.
42852 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42853 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42854 * stdio-common/Makefile (tests): Remove bug15.
42855 (bug15-ENV): Remove macro.
42856 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42859 2012-05-19 Andreas Jaeger <aj@suse.de>
42860 Roland McGrath <roland@hack.frob.com>
42862 * manual/contrib.texi: Completely rewritten. It contains now an
42863 alphabetical list of contributors and their contributions.
42865 2012-05-21 Richard Henderson <rth@twiddle.net>
42867 * misc/getauxval.c (__getauxval): Use unsigned long int.
42868 * misc/sys/auxv.h: Include <sys/cdefs.h>.
42869 (getauxval): Use unsigned long int.
42871 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
42873 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42875 2012-05-21 Roland McGrath <roland@hack.frob.com>
42877 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42878 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42879 __alignof__ (long double).
42881 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42885 2012-05-20 Richard Henderson <rth@twiddle.net>
42887 * misc/getauxval.c: New file.
42888 * misc/sys/auxv.h: New file.
42889 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42890 (routines): Add getauxval.
42891 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42892 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42893 * elf/dl-sysdep.c (_dl_auxv): Remove.
42894 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42895 * elf/dl-support.c (_dl_auxv): New variable.
42896 (_dl_aux_init): Initialize it.
42897 * manual/startup.texi (Auxiliary Vector): New node.
42898 * sysdeps/generic/bits/hwcap.h: New file.
42899 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42900 * sysdeps/powerpc/sysdep.h: ... here. Include it.
42901 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42902 * sysdeps/sparc/sysdep.h: ... here. Include it.
42903 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42916 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42920 2012-05-19 David S. Miller <davem@davemloft.net>
42922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42924 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42927 * math/s_ccosh.c: Include <float.h>
42928 (__ccosh): Avoid internal overflow calculating sinh and cosh
42929 values before multiplying by sin and cos values.
42930 * math/s_ccoshf.c: Likewise.
42931 * math/s_ccoshl.c: Likewise.
42932 * math/s_csin.c: Likewise.
42933 * math/s_csinf.c: Likewise.
42934 * math/s_csinl.c: Likewise.
42935 * math/s_csinh.c: Likewise.
42936 * math/s_csinhf.c: Likewise.
42937 * math/s_csinhl.c: Likewise.
42938 * math/libm-test.inc (ccos_test): Add more tests.
42939 (ccosh_test): Likewise.
42940 (csin_test): Likewise.
42941 (csinh_test): Likewise.
42942 * sysdeps/i386/fpu/libm-test-ulps: Update.
42943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42945 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
42947 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42948 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42950 * sysdeps/x86_64/x32/_itoa.h: Add comment.
42952 2012-05-19 Joseph Myers <joseph@codesourcery.com>
42954 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42955 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42956 * sysdeps/powerpc/soft-fp/Versions: Likewise.
42957 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42958 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42959 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42960 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42961 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42962 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42963 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42964 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42965 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42966 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42967 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42968 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42969 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42970 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42971 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42972 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42973 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42974 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42975 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42976 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42977 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42978 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42979 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42980 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42981 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42982 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42983 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42984 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42986 2012-05-18 Andreas Jaeger <aj@suse.de>
42988 * csu/.gitignore: Delete.
42990 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
42992 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42993 (timex): Use __syscall_slong_t.
42995 2012-05-18 Andreas Jaeger <aj@suse.de>
42996 Carlos O'Donell <carlos_odonell@mentor.com>
42998 * manual/install.texi (Configuring and compiling): Update
42999 description about files modified in the source directory.
43000 * INSTALL: Regenerated.
43002 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43004 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43005 value. Use "or" to set return value to -1.
43006 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43007 negate return value.
43009 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43011 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43012 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43013 failure if the compiler has Graphite support disabled.
43014 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43016 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43017 (CFLAGS-memmove.c): Likewise.
43018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43021 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43023 * sysdeps/x86_64/x32/_itoa.h: New file.
43025 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43026 getdents system call only if kernel and user dirents have the
43027 same d_ino and d_off.
43029 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43030 LLONG_MAX != LONG_MAX.
43031 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43032 (_fitoa_word): Likewise.
43034 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43036 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43037 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43038 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43040 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43041 include <bits/wordsize.h>. Check __x86_64__ instead of
43043 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43044 if __x86_64__ is defined. Use anonymous union on fpstate.
43046 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43049 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43051 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43052 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43053 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43054 Refer to _rtld_local_ro instead of _rtld_global_ro.
43055 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43057 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43059 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43061 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43062 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43063 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43065 * sysdeps/powerpc/powerpc32/dl-machine.c
43066 (__elf_machine_runtime_setup) [PROF]: Don't reference
43069 2012-05-18 Andreas Jaeger <aj@suse.de>
43071 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43072 function only available for GCCs before 3.4 since GCC 3.4
43073 introduced a builtin.
43075 (llrintf): Likewise.
43076 (llrint): Likewise.
43083 (nearbyint): Likewise.
43084 (nearbyintf): Likewise.
43088 (floorf): Likewise.
43090 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43092 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43093 on both fields and cast pointer to __syscall_ulong_t.
43095 * bits/types.h (__fsword_t): New type.
43096 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43097 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43099 (__FSWORD_T_TYPE): Likewise.
43100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43101 (__FSWORD_T_TYPE): Likewise.
43102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43103 (__FSWORD_T_TYPE): Likewise.
43104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43105 (__FSWORD_T_TYPE): Likewise.
43106 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43107 __SWORD_TYPE with __fsword_t.
43108 (statfs64): Likewise.
43110 2012-05-17 David S. Miller <davem@davemloft.net>
43112 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43114 2012-05-17 Andreas Jaeger <aj@suse.de>
43116 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43119 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43121 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43123 2012-05-17 Andreas Jaeger <aj@suse.de>
43125 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43128 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43130 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43132 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43134 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43135 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43137 2012-05-17 Andreas Jaeger <aj@suse.de>
43138 Carlos O'Donell <carlos_odonell@mentor.com>
43141 * sysdeps/x86_64/multiarch/init-arch.h
43142 (bit_YMM_Usable): Rename to...
43143 (bit_AVX_Usable): ... this.
43144 (bit_FMA4_Usable): New macro.
43145 (bit_XMM_state): New macro.
43146 (bit_YMM_state): New macro.
43147 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43148 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43149 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43150 (CPUID_OSXSAVE): New macro.
43151 (CPUID_AVX): New macro.
43152 (CPUID_FMA4): New macro.
43153 (index_YMM_Usable): Rename to...
43154 (index_AVX_Usable): ... this.
43155 (HAS_AVX): Use HAS_ARCH_FEATURE.
43156 (HAS_FMA4): Likewise.
43157 (HAS_YMM_USABLE): Remove.
43158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43159 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43161 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43162 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43163 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43164 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43165 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43167 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43169 * math/libm-test.c: Support platforms without multiple rounding modes.
43170 * math/bug-nextafter.c: Support platforms without FP exceptions.
43171 * math/bug-nexttoward.c: Likewise.
43172 * math/test-fenv.c: Likewise.
43173 * math/test-misc.c: Likewise.
43174 * stdlib/bug-getcontext.c: Likewise.
43176 2012-05-17 Andreas Jaeger <aj@suse.de>
43178 * manual/examples/search.c (critter_cmp): Change signature to
43180 * manual/string.texi (Collation Functions): Likewise.
43182 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43184 * bits/types.h: Fold copyright years.
43185 * bits/typesizes.h: Likewise.
43186 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43190 * time/time.h: Likewise.
43192 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43195 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43196 in instead of returning them. Return void.
43197 (__libc_mallinfo): Accumulate over all arenas.
43198 (__malloc_stats): Adjust for change in int_mallinfo interface.
43200 2012-05-16 Roland McGrath <roland@hack.frob.com>
43203 * configure.in (NM): Add AC_CHECK_TOOL for it.
43204 (libc_extra_cflags): New substituted variable.
43205 Check for -fstack-protector being used implicitly.
43206 * configure: Regenerated.
43207 * config.make.in (config-extra-cflags): New variable,
43208 gets @libc_extra_cflags@.
43209 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43212 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43213 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43214 * configure: Regenerated.
43215 * config.make.in (CPPUNDEFS): New substituted variable.
43216 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43217 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43218 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43220 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43222 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43223 (mq_attr): Use __syscall_slong_t.
43225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43227 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43228 Check __x86_64__ instead of __WORDSIZE.
43229 (_STAT_VER_LINUX): Likewise.
43230 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43231 __syscall_ulong_t and __syscall_slong_t.
43232 (stat64): Likewise.
43234 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43240 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43242 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43244 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43247 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43248 include <bits/wordsize.h>. Check __x86_64__ instead of
43250 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43252 (mcontext_t): Replace "unsigned long" with "unsigned long long".
43254 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43255 include <bits/wordsize.h>. Check __x86_64__ instead of
43257 (user_regs_struct): Use "__extension__ unsigned long long"
43258 instead of "unsigned long" if __x86_64__ is defined.
43259 (user): Likewise. Pad after pointer field if __ILP32__ is
43262 2012-05-16 Joseph Myers <joseph@codesourcery.com>
43264 * configure.in (makeinfo): Require version 4.5 or later. Allow
43266 * configure: Regenerated.
43267 * manual/install.texi (texinfo): Increase version requirement to
43269 * INSTALL: Regenerated.
43271 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43273 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43275 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43277 * sysdeps/x86_64/x32/ffs.c: New file.
43279 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43281 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43282 defined. Use __syscall_ulong_t.
43283 (shminfo): Use __syscall_ulong_t.
43284 (shm_info): Likewise.
43286 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43289 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43291 (msgqnum_t): Use __syscall_ulong_t.
43292 (msglen_t): Likewise.
43293 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
43296 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43297 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43299 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43301 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43302 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43304 * sysvipc/sys/msg.h (msgbuf): Replace long int with
43307 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43308 include <bits/wordsize.h>. Check __x86_64__ instead of
43311 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43312 "unsigned long long int" if __x86_64__ is defined.
43313 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43316 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43317 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43319 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43321 (GET_PC): Cast to uintptr_t first.
43322 (GET_FRAME): Likewise.
43323 (GET_STACK): Likewise.
43325 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43326 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43328 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43330 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43331 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43332 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43333 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43335 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43336 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43337 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43338 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43339 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43340 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43341 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43342 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43343 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43344 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43346 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43347 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43348 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43349 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43351 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43352 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43353 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43355 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
43357 * Makerules (+depfiles): Also collect depfiles from .oS in
43359 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43360 .oS, $(libnldbl-routines)).
43362 * Makerules (native-compile-mkdep-flags): Define.
43363 * sunrpc/Makefile (extra-objs): Add $(addprefix
43364 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43365 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43366 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
43367 calling $(make-target-directory).
43369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43371 * bits/types.h (__snseconds_t): Removed.
43372 * time/time.h (struct timespec): Replace __snseconds_t with
43374 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43375 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43378 (__SNSECONDS_T_TYPE): Likewise.
43379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43380 (__SNSECONDS_T_TYPE): Likewise.
43381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43382 (__SNSECONDS_T_TYPE): Likewise.
43384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43386 * sysdeps/mach/hurd/bits/typesizes.h
43387 (__SYSCALL_SLONG_TYPE): New macro.
43388 (__SYSCALL_ULONG_TYPE): Likewise.
43390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43392 * bits/types.h (__syscall_slong_t): New type.
43393 (__syscall_ulong_t): Likewise.
43395 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43396 (__SYSCALL_ULONG_TYPE): Likewise.
43397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43398 (__SYSCALL_SLONG_TYPE): Likewise.
43399 (__SYSCALL_ULONG_TYPE): Likewise.
43400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43401 (__SYSCALL_SLONG_TYPE): Likewise.
43402 (__SYSCALL_ULONG_TYPE): Likewise.
43403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43404 (__SYSCALL_SLONG_TYPE): Likewise.
43405 (__SYSCALL_ULONG_TYPE): Likewise.
43407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43409 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43410 Add sigaltstack-offsets.sym.
43411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43412 <sigaltstack-offsets.h>.
43413 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
43414 longjmp_msg pointer.
43415 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
43416 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43418 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43420 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43422 * elf/stackguard-macros.h: Remove file.
43423 * sysdeps/generic/stackguard-macros.h: New file.
43424 * sysdeps/i386/stackguard-macros.h: Likewise.
43425 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43426 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43427 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43428 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43429 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43430 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43431 * sysdeps/x86_64/stackguard-macros.h: Likewise.
43432 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43433 <elf/stackguard-macros.h>.
43436 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43437 __aligned__ in attribute.
43438 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43439 (gregset_t): Likewise.
43441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43443 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43444 * sysdeps/x86_64/64/Implies-after: Here. New file.
43445 * sysdeps/x86_64/x32/Implies-after: New file.
43447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43449 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43450 and access return value for _dl_profile_fixup. Use R10_LP to
43453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43455 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43459 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43460 * sysdeps/x86_64/x32/sysdep.h: New file.
43462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43464 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43465 * sysdeps/x86_64/setjmp.S: Likewise.
43467 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43471 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43473 remove unused global constant.
43475 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
43477 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43478 include of <not-cancel.h>.
43480 2012-05-15 Roland McGrath <roland@hack.frob.com>
43482 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43484 2012-05-15 Jeff Law <law@redhat.com>
43485 Andreas Jaeger <aj@suse.de>
43488 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43490 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43491 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43492 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43493 code changing __hst_map_handle.map.
43495 2012-05-15 Roland McGrath <roland@hack.frob.com>
43497 * configure.in (sysnames): Look for Implies-before and Implies-after
43499 * configure: Regenerated.
43501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43503 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43504 8-byte data alignment with LP_SIZE alignment.
43506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43508 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43513 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43517 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43518 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43525 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43526 (stackinfo_sub_sp): Likewise.
43528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43545 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43549 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43550 into R11_LP and load __x86_64_shared_cache_size_half into
43553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43558 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43567 powerpc32/power7/fpu/s_logb.c via #include.
43568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43569 powerpc32/power7/fpu/s_logbf.c via #include.
43570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43571 powerpc32/power7/fpu/s_logbl.c via #include.
43573 2012-05-15 Joseph Myers <joseph@codesourcery.com>
43575 * README.libm: Remove file.
43577 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43579 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43580 count for x32. Use R*_LP and omit operand-size suffix.
43582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43584 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43585 * sysdeps/x86_64/64/shlib-versions: Here. New file.
43586 * sysdeps/x86_64/x32/shlib-versions: New file.
43588 2012-05-14 Roland McGrath <roland@hack.frob.com>
43590 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43591 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43592 Use _dl_fatal_printf instead.
43594 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43596 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43597 set if not set by the user. Do not allow for being unset.
43598 * sysdeps/unix/sysv/linux/configure: Regenerated.
43600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43602 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43603 the `q' suffix from lea and replace .quad with ASM_ADDR.
43605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43608 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
43610 (PTR_DEMANGLE): Likewise.
43612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43614 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43616 (ASM_ADDR): Likewise.
43617 (RAX_LP): Likewise.
43618 (RBP_LP): Likewise.
43619 (RBX_LP): Likewise.
43620 (RCX_LP): Likewise.
43621 (RDI_LP): Likewise.
43622 (RSI_LP): Likewise.
43623 (RSP_LP): Likewise.
43626 (R10_LP): Likewise.
43627 (R10_LP): Likewise.
43628 (R11_LP): Likewise.
43629 (R12_LP): Likewise.
43630 (R13_LP): Likewise.
43631 (R14_LP): Likewise.
43632 (R15_LP): Likewise.
43634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43636 * sysdeps/x86_64/x32/dl-machine.h: New file.
43638 2012-05-14 Andreas Jaeger <aj@suse.de>
43640 * manual/Makefile (subdir): Remove export of subdir.
43641 (all): Remove target.
43642 (.PHONY): Remove all from list.
43643 (mkinstalldirs): Remove.
43644 (.PHONY): Remove installdirs from list.
43645 ($(inst_infodir)/libc.info): Use make-target-directory.
43646 (installdirs): Remove.
43647 (subdir_%): Remove.
43648 (glibc-targets): Remove.
43651 ($(objpfx)stubs ../po/manual.pot): Remove.
43652 ($(objpfx)stamp%): Remove.
43653 (make-target-directory): Remove.
43654 (subdir_install): Remove.
43655 (routines): Remove.
43662 * manual/.gitignore: Remove, it's not needed anymore.
43663 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43665 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43667 (texis): Renamed to $(objpfx)texis.
43668 (texis-path): New, contains path to generated files.
43669 (chapters.%): Use texis-path for complete path, add extra argument
43671 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43672 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43673 (summary,texi, stamp-summary): Use complete path of
43674 files. Generate files in build dir.
43675 (dir-add.texi): Build in build dir.
43676 (libm-err.texi,stamp-libm-err): Likewise.
43677 (version.texi, stamp-version): Likewise.
43678 (.%c.texi): Likewise.
43679 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43680 (mostlyclean): Remove target.
43681 (realclean): Remove target.
43682 (generated): Add new variable with contents from mostlyclean and
43683 realclean, remove entries duplicated in common-mostlyclean, add
43684 stamp-libm-err and stamp-version.
43685 (generated-dirs): Add libc directory.
43686 ($(inst_infodir)/libc.info): Install files from build dir.
43688 * manual/install.texi (Configuring and compiling): Adjust since
43689 the info files are not part of the tar ball anymore.
43691 2012-05-14 Andreas Jaeger <aj@suse.de>
43693 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43696 2012-05-14 Joseph Myers <joseph@codesourcery.com>
43699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43700 to 2.2.0 where earlier.
43701 * sysdeps/unix/sysv/linux/configure: Regenerated.
43702 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43703 Remove conditional code.
43704 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43705 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43706 Remove conditional code.
43707 [!__NR_lchown]: Likewise.
43708 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43709 [__NR_lchown]: Likewise.
43710 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43711 comment referencing __ASSUME_LCHOWN_SYSCALL.
43712 * sysdeps/unix/sysv/linux/i386/sigaction.c
43713 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43714 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43715 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43716 Remove conditional code.
43717 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43718 (__protocol_available): Remove #if 0 code.
43719 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43721 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43722 * sysdeps/unix/sysv/linux/kernel-features.h
43723 (__ASSUME_GETCWD_SYSCALL): Don't define.
43724 (__ASSUME_REALTIME_SIGNALS): Likewise.
43725 (__ASSUME_PREAD_SYSCALL): Likewise.
43726 (__ASSUME_PWRITE_SYSCALL): Likewise.
43727 (__ASSUME_POLL_SYSCALL): Likewise.
43728 (__ASSUME_LCHOWN_SYSCALL): Likewise.
43729 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43731 (__ASSUME_SIOCGIFNAME): Don't define.
43732 (__ASSUME_MSG_NOSIGNAL): Likewise.
43733 (__ASSUME_SENDFILE): Define unconditionally.
43734 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43735 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43737 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43738 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43739 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43740 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43741 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43742 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43743 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43748 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43757 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43760 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43763 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43766 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43768 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43769 Remove conditional code.
43770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43771 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43772 Remove conditional code.
43773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43774 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43775 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43776 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43777 Remove conditional code.
43778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43779 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43780 Remove conditional code.
43781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43782 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43783 Remove conditional code.
43784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43785 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43786 Remove conditional code.
43787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43788 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43789 Remove conditional code.
43790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43791 * sysdeps/unix/sysv/linux/sh/pwrite64.c
43792 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43794 * sysdeps/unix/sysv/linux/sigaction.c
43795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43797 * sysdeps/unix/sysv/linux/sigpending.c
43798 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43799 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43800 * sysdeps/unix/sysv/linux/sigprocmask.c
43801 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43802 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43803 * sysdeps/unix/sysv/linux/sigsuspend.c
43804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43807 (__libc_missing_rt_sigs): Remove.
43808 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43809 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43810 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43811 Remove conditional code.
43812 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43813 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43816 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43818 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43820 2012-05-14 Andreas Jaeger <aj@suse.de>
43822 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43823 it's not used in glibc.
43824 (__coshm1): Likewise.
43825 (__acosh1p): Likewise.
43828 * manual/string.texi (Copying and Concatenation): Add missing
43829 variable in concat example.
43830 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43832 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43836 __builtin_clzl with __builtin_clzll.
43838 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
43841 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43844 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43846 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43847 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43848 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43849 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43851 2012-05-14 Mike Frysinger <vapier@gentoo.org>
43853 * NEWS: Update ia64 info.
43855 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
43857 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43860 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
43862 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43863 * sysdeps/unix/syscalls.list (dup3): Likewise.
43864 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43865 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43867 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43869 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43870 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43872 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
43874 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43876 (TLS_IE): Use mov/add instead of movq/addq to load thread
43878 (TLS_GD_PREFIX): New.
43881 2012-05-11 David S. Miller <davem@davemloft.net>
43883 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43884 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43885 (_FPU_SETCW): Likewise.
43887 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43889 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43890 is 32-byte aligned.
43892 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
43895 * iconvdata/gb18030.c: Update tables.
43896 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
43897 characters specially.
43898 (BODY for TO_LOOP): Add encoding of missing ranges.
43900 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
43903 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43904 * sysdeps/mach/hurd/dup3.c: Likewise.
43905 * sysdeps/mach/hurd/readlinkat.c: Likewise.
43906 * sysdeps/powerpc/memmove.c:: Likewise.
43908 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43911 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43913 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43915 * elf/elf.h (R_X86_64_RELATIVE64): New.
43916 (R_X86_64_NUM): Updated.
43917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43918 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
43919 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43920 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43921 tst-quad1pie tst-quad2pie
43922 (modules-names): Add tst-quadmod1 tst-quadmod2.
43923 ($(objpfx)tst-quad1): New dependency.
43924 ($(objpfx)tst-quad2): Likewise.
43925 ($(objpfx)tst-quad1pie): Likewise.
43926 ($(objpfx)tst-quad2pie): Likewise.
43927 * sysdeps/x86_64/tst-quad1.c: New file.
43928 * sysdeps/x86_64/tst-quad1pie.c: New file.
43929 * sysdeps/x86_64/tst-quad2.c: Likewise.
43930 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43931 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43932 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43933 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43934 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43938 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43939 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43940 * streams/stropts.h (t_scalar_t): Define type.
43942 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43943 (_PATH_PRESERVE): Set to "/var/lib".
43944 (_PATH_RWHODIR): Set to "/var/spool/rwho".
43946 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43949 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43950 if __dir_mkfile succeeded.
43952 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43953 checking for _hurd_dtablesize. Unlock it right after having
43954 finished _hurd_dtable allocation.
43956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
43958 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43959 * sysdeps/mach/hurd/configure: Regenerated.
43960 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43961 special-casing to...
43962 * sysdeps/gnu/configure.in: ... this new file.
43963 * sysdeps/unix/sysv/linux/configure: Regenerated.
43964 * sysdeps/gnu/configure: New generated file.
43966 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43967 for Linux: use nsec instead of usec, as well as:
43968 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43969 members of type struct timespec.
43970 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43972 (struct stat64): Likewise.
43973 (_STATBUF_ST_NSEC): New macro.
43974 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43976 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43977 __strtoul_internal rather than strtoul.
43979 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43981 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43986 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43987 which preserves existing values.
43988 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43990 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
43992 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43993 TIMEOUT values. Return EINVAL for NFDS values either negative or
43994 greater than FD_SETSIZE.
43996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43998 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43999 allocated, call __vm_protect to finish enabling the existing space, and
44000 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44001 allocate the remainder.
44003 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44005 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44006 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44010 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44011 sysdeps/mach/hurd/readlink.c.
44013 * posix/tst-sysconf.c (posix_options): Only use
44014 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44015 _POSIX_SYNCHRONIZED_IO when they are defined
44016 * sysdeps/mach/hurd/bits/posix_opt.h:
44017 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44018 (_XOPEN_REALTIME): Undefine macro.
44019 (_XOPEN_REALTIME_THREADS): Undefine macro.
44020 (_XOPEN_SHM): Undefine macro.
44021 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44023 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44025 (_POSIX_ASYNC_IO): Undefine macro.
44026 (_POSIX_PRIORITIZED_IO): Undefine macro.
44027 (_POSIX_SPIN_LOCKS): Define macro to -1.
44029 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44030 SA_NODEFER, SA_RESETHAND.
44031 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44032 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44035 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44037 * elf/Makefile (pldd-modules): Define unconditionally.
44039 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44041 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44043 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44045 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44046 Return ENOENT when name is empty.
44047 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44049 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44051 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44053 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44055 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44057 Fix mlock in all cases except non-readable pages.
44058 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44059 instead of VM_PROT_ALL as parameter to __vm_wire function.
44061 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44062 (__mkdir): When path is `/', just fail with EEXIST.
44063 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44065 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44067 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44068 <sys/uio.h> (for writev).
44069 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44070 and <sys/param.h> (for MIN).
44072 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44074 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44075 REQUESTED_TIME. Properly set the remaining time and return EINTR
44078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44080 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44081 Depend on against $(link-rpcuserlibs).
44083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44085 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44086 (__libc_stack_end): Do not use attribute_relro.
44087 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44088 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44089 to libthread-provided value.
44090 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44093 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44096 * bits/libc-lock.h (__libc_once_get): New macro.
44097 * sysdeps/mach/bits/libc-lock.h: Likewise.
44098 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44100 instead of using implementation details.
44102 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44103 * libio/freopen.c: Likewise.
44104 * libio/freopen64.c: Likewise.
44105 * misc/syslog.c: Likewise.
44106 * nscd/connections.c: Likewise.
44107 * nscd/netgroupcache.c: Likewise.
44108 * sysdeps/posix/getcwd.c: Likewise.
44110 2012-05-10 Roland McGrath <roland@hack.frob.com>
44112 * math/w_ilogbf.c: Add #include <limits.h>.
44114 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44116 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44117 path instead of returning without unlocking.
44119 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44120 immediate-write ioctls.
44121 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44123 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44125 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44126 __builtin_frame_address instead of making assumptions about the
44127 location of the return address relative to DATA. Force early load of
44128 the return address.
44129 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44130 __builtin_frame_address.
44133 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44134 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44135 implement dup3 and do some further code clean-ups.
44136 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44137 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44139 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44141 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44143 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44144 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44145 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44146 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44147 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44150 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44151 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44152 when handler == SIG_ERR, not when handler != SIG_ERR.
44154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44156 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44157 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44160 accept4 for GNU Hurd.
44161 * include/sys/socket.h (__libc_accept4): New prototype.
44162 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44163 to implement __libc_accept4.
44164 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44166 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44168 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44169 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44170 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44171 signal-defines.sym.
44173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44175 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
44179 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44180 assertion on O_CLOEXEC flag.
44181 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44182 * hurd/intern-fd.c: Likewise.
44183 * hurd/port2fd.c: Likewise.
44185 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44188 * bits/in.h (IPV6_PKTINFO): Define new macro.
44189 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44191 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44196 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44198 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44199 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44201 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44202 * math/libm-test.inc (logb_test) : Additional logb tests.
44204 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44205 Andreas Jaeger <aj@suse.de>
44207 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44208 * configure: Regenerated.
44209 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44210 * config.make.in (link-obsolete-rpc): New substituted variable.
44211 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44212 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44213 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44214 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44215 so that libc.a contains the symbols.
44216 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44217 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44218 * sunrpc/auth_none.c: Likewise.
44219 * sunrpc/auth_unix.c: Likewise.
44220 * sunrpc/authdes_prot.c: Likewise.
44221 * sunrpc/authuxprot.c: Likewise.
44222 * sunrpc/clnt_gen.c: Likewise.
44223 * sunrpc/clnt_perr.c: Likewise.
44224 * sunrpc/clnt_raw.c: Likewise.
44225 * sunrpc/clnt_simp.c: Likewise.
44226 * sunrpc/clnt_tcp.c: Likewise.
44227 * sunrpc/clnt_udp.c: Likewise.
44228 * sunrpc/clnt_unix.c: Likewise.
44229 * sunrpc/des_crypt.c: Likewise.
44230 * sunrpc/des_soft.c: Likewise.
44231 * sunrpc/get_myaddr.c: Likewise.
44232 * sunrpc/key_call.c: Likewise.
44233 * sunrpc/key_prot.c: Likewise.
44234 * sunrpc/netname.c: Likewise.
44235 * sunrpc/pm_getmaps.c: Likewise.
44236 * sunrpc/pm_getport.c: Likewise.
44237 * sunrpc/pmap_clnt.c: Likewise.
44238 * sunrpc/pmap_prot.c: Likewise.
44239 * sunrpc/pmap_prot2.c: Likewise.
44240 * sunrpc/pmap_rmt.c: Likewise.
44241 * sunrpc/publickey.c: Likewise.
44242 * sunrpc/rpc_cmsg.c: Likewise.
44243 * sunrpc/rpc_common.c: Likewise.
44244 * sunrpc/rpc_dtable.c: Likewise.
44245 * sunrpc/rpc_prot.c: Likewise.
44246 * sunrpc/rpc_thread.c: Likewise.
44247 * sunrpc/rtime.c: Likewise.
44248 * sunrpc/svc.c: Likewise.
44249 * sunrpc/svc_auth.c: Likewise.
44250 * sunrpc/svc_raw.c: Likewise.
44251 * sunrpc/svc_run.c: Likewise.
44252 * sunrpc/svc_tcp.c: Likewise.
44253 * sunrpc/svc_udp.c: Likewise.
44254 * sunrpc/svc_unix.c: Likewise.
44255 * sunrpc/svcauth_des.c: Likewise.
44256 * sunrpc/xcrypt.c: Likewise.
44257 * sunrpc/xdr.c: Likewise.
44258 * sunrpc/xdr_array.c: Likewise.
44259 * sunrpc/xdr_float.c: Likewise.
44260 * sunrpc/xdr_intXX_t.c: Likewise.
44261 * sunrpc/xdr_mem.c: Likewise.
44262 * sunrpc/xdr_rec.c: Likewise.
44263 * sunrpc/xdr_ref.c: Likewise.
44264 * sunrpc/xdr_sizeof.c: Likewise.
44265 * sunrpc/xdr_stdio.c: Likewise.
44267 2012-05-10 Roland McGrath <roland@hack.frob.com>
44269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44270 change. Update copyright years.
44272 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44274 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44276 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
44277 Joseph Myers <joseph@codesourcery.com>
44278 Paul Pluzhnikov <ppluzhnikov@google.com>
44281 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44283 [cross-compiling] (extra-libs): Likewise.
44284 [cross-compiling] (extra-libs-others): Likewise.
44285 [cross-compiling] (librpcsvc-routines): Likewise.
44286 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44287 [cross-compiling] (omit-deps): Likewise.
44288 (sunrpc-CPPFLAGS): New variable.
44289 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44290 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44291 (cross-rpcgen-objs): New variable.
44292 (extra-objs): Append $(cross-rpcgen-objs).
44293 ($(cross-rpcgen-objs)): New rule.
44294 ($(objpfx)cross-rpcgen): Likewise.
44295 (rpcgen-cmd): Define to use $(built-program-file). Expand
44297 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44298 ($(objpfx)x%.stmp): Likewise.
44299 * sunrpc/proto.h [IS_IN_build] (_): Define.
44300 [IS_IN_build] (_libc_intl_domainname): Likewise.
44302 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44305 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44306 and R_X86_64_TPOFF64.
44308 2012-05-10 Joseph Myers <joseph@codesourcery.com>
44310 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44311 sysdeps/unix/sysv/syscalls.list.
44314 * sysdeps/unix/sysv/syscalls.list: Remove file.
44316 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
44319 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44320 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44321 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44322 (__LC_IDENTIFICATION): Make these macros useful in #if
44323 expressions, as required by C99.
44325 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
44327 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44328 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
44331 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
44333 * stdlib/longlong.h: Updated from GCC.
44335 2012-05-09 Andreas Jaeger <aj@suse.de>
44337 * nscd/nscd.c (run_modes): Make named enum, reorder so that
44338 default is first entry.
44339 (run_mode): Set type.
44340 (main): Remove informal message about syslog.
44341 (options): Fix typo.
44344 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44347 (llrintf): Likewise.
44348 (llrint): Likewise.
44351 (nearbyint): Likewise.
44352 (nearbyintf): Likewise.
44354 2012-05-09 Andreas Jaeger <aj@suse.de>
44355 Pedro Alves <palves@redhat.com>
44357 * nscd/nscd.c (run_mode): Use enum.
44358 (main): Cleanup coding style issue.
44360 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
44361 Andreas Jaeger <aj@suse.de>
44363 * nscd/nscd.c (go_background): Replaced with...
44364 (run_mode): ... this.
44365 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44366 (options): Add -F --foreground.
44367 (main): Implement it.
44368 (parse_opt): Parse it.
44370 2012-05-09 Andreas Jaeger <aj@suse.de>
44373 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44374 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44375 -Wconversion warning.
44376 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44379 2012-05-09 Joseph Myers <joseph@codesourcery.com>
44381 * conform/data/locale.h-data (NULL): Use macro-constant. Require
44383 (LC_ALL): Use macro-int-constant.
44384 (LC_COLLATE): Likewise.
44385 (LC_CTYPE): Likewise.
44386 (LC_MESSAGES): Likewise.
44387 (LC_MONETARY): Likewise.
44388 (LC_NUMERIC): Likewise.
44389 (LC_TIME): Likewise.
44390 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44391 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44393 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44395 [C99-based standards] (float_t): Expect type.
44396 [C99-based standards] (double_t): Expect type.
44397 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
44399 [C99-based standards] (HUGE_VALL): Likewise.
44400 [C99-based standards] (INFINITY): Likewise.
44401 [C99-based standards] (NAN): Likewise.
44402 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44403 [C99-based standards] (FP_NAN): Likewise.
44404 [C99-based standards] (FP_NORMAL): Likewise.
44405 [C99-based standards] (FP_SUBNORMAL): Likewise.
44406 [C99-based standards] (FP_ZERO): Likewise.
44407 [C99-based standards] (FP_FAST_FMA): Use
44408 optional-macro-int-constant. Specify type. Require == 1.
44409 [C99-based standards] (FP_FAST_FMAF): Likewise.
44410 [C99-based standards] (FP_FAST_FMAL): Likewise.
44411 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44412 [C99-based standards] (FP_ILOGBNAN): Likewise.
44413 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44415 [C99-based standards] (MATH_ERREXCEPT): Likewise.
44416 [C99-based standards] (math_errhandling): Specify type.
44417 [ISO99 || ISO11] (signgam): Do not allow.
44418 [non-C99-based standards] (copysignf): Do not allow.
44419 [non-C99-based standards] (exp2f): Likewise.
44420 [non-C99-based standards] (log2f): Likewise.
44421 [non-C99-based standards] (modff): Allow.
44422 [non-C99-based standards] (erff): Do not allow.
44423 [non-C99-based standards] (erfcf): Likewise.
44424 [non-C99-based standards] (gammaf): Likewise.
44425 [non-C99-based standards] (hypotf): Likewise.
44426 [non-C99-based standards] (j0f): Likewise.
44427 [non-C99-based standards] (j1f): Likewise.
44428 [non-C99-based standards] (jnf): Likewise.
44429 [non-C99-based standards] (lgammaf): Likewise.
44430 [non-C99-based standards] (tgammaf): Likewise.
44431 [non-C99-based standards] (y0f): Likewise.
44432 [non-C99-based standards] (y1f): Likewise.
44433 [non-C99-based standards] (ynf): Likewise.
44434 [non-C99-based standards] (isnanf): Likewise.
44435 [non-C99-based standards] (acoshf): Likewise.
44436 [non-C99-based standards] (asinhf): Likewise.
44437 [non-C99-based standards] (atanhf): Likewise.
44438 [non-C99-based standards] (cbrtf): Likewise.
44439 [non-C99-based standards] (expm1f): Likewise.
44440 [non-C99-based standards] (ilogbf): Likewise.
44441 [non-C99-based standards] (log1pf): Likewise.
44442 [non-C99-based standards] (logbf): Likewise.
44443 [non-C99-based standards] (nextafterf): Likewise.
44444 [non-C99-based standards] (remainderf): Likewise.
44445 [non-C99-based standards] (rintf): Likewise.
44446 [non-C99-based standards] (scalbf): Likewise.
44447 [non-C99-based standards] (copysignl): Likewise.
44448 [non-C99-based standards] (exp2l): Likewise.
44449 [non-C99-based standards] (log2l): Likewise.
44450 [non-C99-based standards] (modfl): Allow.
44451 [non-C99-based standards] (erfl): Do not allow.
44452 [non-C99-based standards] (erfcl): Likewise.
44453 [non-C99-based standards] (gammal): Likewise.
44454 [non-C99-based standards] (hypotl): Likewise.
44455 [non-C99-based standards] (j0l): Likewise.
44456 [non-C99-based standards] (j1l): Likewise.
44457 [non-C99-based standards] (jnl): Likewise.
44458 [non-C99-based standards] (lgammal): Likewise.
44459 [non-C99-based standards] (tgammal): Likewise.
44460 [non-C99-based standards] (y0l): Likewise.
44461 [non-C99-based standards] (y1l): Likewise.
44462 [non-C99-based standards] (ynl): Likewise.
44463 [non-C99-based standards] (isnanl): Likewise.
44464 [non-C99-based standards] (acoshl): Likewise.
44465 [non-C99-based standards] (asinhl): Likewise.
44466 [non-C99-based standards] (atanhl): Likewise.
44467 [non-C99-based standards] (cbrtl): Likewise.
44468 [non-C99-based standards] (expm1l): Likewise.
44469 [non-C99-based standards] (ilogbl): Likewise.
44470 [non-C99-based standards] (log1pl): Likewise.
44471 [non-C99-based standards] (logbl): Likewise.
44472 [non-C99-based standards] (nextafterl): Likewise.
44473 [non-C99-based standards] (remainderl): Likewise.
44474 [non-C99-based standards] (rintl): Likewise.
44475 [non-C99-based standards] (scalbl): Likewise.
44476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44477 [non-C99-based standards] (FP_*): Do not allow.
44478 [C99-based standards] (FP_*): Change to
44479 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44480 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44482 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44483 (SIG_ERR): Likewise.
44484 [X/Open-based standards] (SIG_HOLD): Likewise.
44485 (SIG_IGN): Likewise.
44486 (SIGABRT): Use macro-int-constant. Specify type. Require
44488 (SIGFPE): Likewise.
44489 (SIGILL): Likewise.
44490 (SIGINT): Likewise.
44491 (SIGSEGV): Likewise.
44492 (SIGTER): Likewise.
44493 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44494 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44495 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44496 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44497 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44498 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44499 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44500 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44501 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44502 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44503 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44504 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44505 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44506 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44507 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44508 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44509 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44510 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44511 [X/Open-based standards] (SIGTRAP): Likewise.
44512 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44513 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44514 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44515 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44516 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44519 2012-05-08 Ian Wienand <ianw@vmware.com>
44522 * time/tzset.c (__tzset_parse_tz): Update default rules for
44523 daylight time changes in the Energy Policy Act of 2005.
44525 2012-05-09 Andreas Jaeger <aj@suse.de>
44528 * elf/ldconfig.c (parse_conf): Change string to make clear that
44529 ldconfig only issued a warning if ld.so.conf does not exist.
44531 2012-05-08 David S. Miller <davem@davemloft.net>
44533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44534 movxtod instead of popping the value on the stack.
44536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44538 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
44540 * config.h.in: Add HAVE_ARM_PCS_VFP.
44542 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
44545 * include/features.h: Warn if user requests __FORTIFY_SOURCE
44546 checking but the checks are disabled for any reason.
44548 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
44550 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44551 and ELF64_R_TYPE with ELFW(R_TYPE).
44553 2012-05-08 Joseph Myers <joseph@codesourcery.com>
44555 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44556 (ulimit): Likewise.
44558 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44559 (settimeofday): Likewise.
44561 2012-05-08 Mike Frysinger <vapier@gentoo.org>
44563 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
44564 a struct th_u2 inside the union, and move tu_block/tu_code into
44565 a new th_u3 union of tu_block/tu_code inside of that. Move
44566 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
44567 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
44568 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44569 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44570 (th_stuff): Change to th_u1.tu_stuff.
44572 (th_msg): Change to th_u1.th_u2.tu_data.
44574 2012-05-07 David S. Miller <davem@davemloft.net>
44576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44579 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44580 (SETUP_PIC_REG): Use it.
44581 (SETUP_PIC_REG_LEAF): Use it.
44583 2012-05-07 Joseph Myers <joseph@codesourcery.com>
44587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44589 (EXPL_FINITE): Likewise.
44590 (FLDLOG): Likewise.
44591 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44592 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44596 (EXPL_FINITE): Likewise.
44597 (FLDLOG): Likewise.
44598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44599 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44601 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
44602 test of -max_value argument for long double.
44603 * sysdeps/i386/fpu/libm-test-ulps: Update.
44604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44606 2012-05-06 David S. Miller <davem@davemloft.net>
44608 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44609 quad soft-float symbols whose references which are compiler
44611 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44613 2012-05-06 Joseph Myers <joseph@codesourcery.com>
44617 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44619 (EXPL_FINITE): Likewise.
44620 (FLDLOG): Likewise.
44623 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44624 Adjust comments for base varying.
44625 (__expl_finite): Change alias to EXPL_FINITE.
44626 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44628 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44629 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44630 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44631 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44632 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44634 (EXPL_FINITE): Likewise.
44635 (FLDLOG): Likewise.
44638 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
44639 Adjust comments for base varying.
44640 (__expl_finite): Change alias to EXPL_FINITE.
44641 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
44643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44646 * math/libm-test.inc (check_float_internal): Correct ulp
44647 calculation for subnormal expected results.
44649 2012-05-06 Andreas Jaeger <aj@suse.de>
44651 * Makeconfig (+math-flags): New, set to -frounding-math.
44652 (+cflags): Add +math-flags so that all of glibc gets compiled with
44655 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44657 2012-05-05 Joseph Myers <joseph@codesourcery.com>
44659 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44665 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44666 (__ieee754_expl): Allow for and saturate large arguments.
44667 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44668 (u_threshold): Likewise.
44669 (__exp): Call __ieee754_exp before checking for overflow and
44671 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44672 (u_threshold): Likewise.
44673 (__expf): Call __ieee754_expf before checking for overflow and
44675 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44676 (u_threshold): Likewise.
44677 (__expl): Call __ieee754_expl before checking for overflow and
44679 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44680 (__ieee754_expl): Allow for and saturate large arguments.
44681 * math/libm-test.inc (exp_test): Add another test. Do not allow
44682 missing overflow exception on overflow.
44683 (expm1_test): Do not allow missing overflow exception on overflow.
44685 * sysdeps/i386/fpu/e_expl.c: Move to ...
44686 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
44687 rather than using inline asm.
44688 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44689 * sysdeps/x86_64/fpu/e_expl.S: Copy from
44690 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44692 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44695 (signal): Likewise.
44699 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44701 * sysdeps/unix/syscalls.list (adjtime): Add entry from
44702 sysdeps/unix/common/syscalls.list.
44703 (fchmod): Likewise.
44704 (fchown): Likewise.
44705 (ftruncate): Likewise.
44706 (getrusage): Likewise.
44707 (gettimeofday): Likewise.
44708 (setpgid): Likewise.
44709 (setregid): Likewise.
44710 (setreuid): Likewise.
44711 (sigaction): Likewise.
44712 (truncate): Likewise.
44713 (vhangup): Likewise.
44714 * sysdeps/unix/common/syscalls.list: Remove file.
44715 * sysdeps/unix/bsd/Implies: Don't include unix/common.
44716 * sysdeps/unix/sysv/linux/Implies: Likewise.
44718 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
44720 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44722 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44726 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44729 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44732 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44735 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44738 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44741 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44744 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44748 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44752 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44755 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44759 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44763 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44765 * sysdeps/unix/common/bits/dirent.h: Remove file.
44766 * sysdeps/unix/common/bits/fcntl.h: Likewise.
44768 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44769 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44770 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44771 * sysdeps/unix/bsd/isatty.c: Likewise.
44772 * sysdeps/unix/bsd/tcdrain.c: Likewise.
44773 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44774 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44776 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44780 long double comparison inaccuracies.
44781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44784 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
44786 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44789 2012-05-04 Joseph Myers <joseph@codesourcery.com>
44792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44793 nonzero digits before rounding a hex value.
44794 * stdlib/tst-strtod.c (tests): Add another test.
44796 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44798 * sysdeps/s390/fpu/libm-test-ulps: Update.
44800 2012-05-03 Andreas Jaeger <aj@suse.de>
44802 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44803 does not get optimized out.
44804 (malloc_opt_barrier): New.
44806 2012-05-03 Andreas Jaeger <aj@suse.de>
44807 Roland McGrath <roland@hack.frob.com>
44809 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44810 intermediate file deletion.
44811 (generated): Add .symlist files.
44813 2012-05-03 Joseph Myers <joseph@codesourcery.com>
44816 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44817 Redirect under this condition.
44818 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44819 [__USE_GNU] (__dprintf_chk): Not under this condition.
44820 [__USE_GNU] (__vdprintf_chk): Likewise.
44821 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44822 under this condition.
44823 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44824 [__USE_XOPEN2K8] (dprintf): Define under this condition.
44825 [__USE_XOPEN2K8] (vdprintf): Likewise.
44826 [__USE_GNU] (__dprintf_chk): Not under this condition.
44827 [__USE_GNU] (__vdprintf_chk): Likewise.
44828 [__USE_GNU] (dprintf): Likewise.
44829 [__USE_GNU] (vdprintf): Likewise.
44831 2012-05-03 Roland McGrath <roland@hack.frob.com>
44833 * elf/Makefile (common-generated): Set this instead of generated for
44834 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
44835 $(all-built-dso)-derived lists.
44837 2012-05-03 Andreas Jaeger <aj@suse.de>
44839 * sysdeps/i386/fpu/libm-test-ulps: Update.
44842 * FAQ.in: Likewise.
44843 * scripts/gen-FAQ.pl: Likewise.
44844 * manual/install.texi (Installation): Point to online location of
44846 * Makefile (files-for-dist): Remove FAQ.
44849 2012-05-02 Allan McRae <allan@archlinux.org>
44851 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44852 (LDFLAGS-reldepmod5.so): Likewise.
44853 (LDFLAGS-reldep6mod1.so): Likewise.
44854 (LDFLAGS-reldep6mod4.so): Likewise.
44855 (LDFLAGS-reldep8mod3.so): Likewise.
44856 (LDFLAGS-unload4mod1.so): Likewise.
44857 (LDFLAGS-unload4mod2.so): Likewise.
44858 (LDFLAGS-tst-initorder): Likewise.
44859 (LDFLAGS-tst-initordera2.so): Likewise.
44860 (LDFLAGS-tst-initordera3.so): Likewise.
44861 (LDFLAGS-tst-initordera4.so): Likewise.
44862 (LDFLAGS-tst-initorderb2.so): Likewise.
44863 (LDFLAGS-noload): Likewise.
44864 (LDFLAGS-next): Likewise.
44865 (LDFLAGS-order2mod1.so): Likewise.
44866 (LDFLAGS-order2mod2.so): Likewise.
44867 (LDFLAGS-tst-initorder2): Likewise.
44868 (LDFLAGS-tst-initorder2a.so): Likewise.
44869 (LDFLAGS-tst-initorder2b.so): Likewise.
44870 (LDFLAGS-tst-initorder2c.so): Likewise.
44871 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44873 2012-05-02 David S. Miller <davem@davemloft.net>
44875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44877 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
44880 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44882 2012-05-02 Andreas Jaeger <aj@suse.de>
44884 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44885 since we manipulate rounding mode.
44886 (CPPFLAGS-test-idouble.c): Likewise.
44887 (CPPFLAGS-test-ifloat.c): Likewise.
44888 (CFLAGS-test-ldouble.c): Likewise.
44889 (CFLAGS-test-double.c): Likewise.
44890 (CFLAGS-test-float.c): Likewise.
44891 (CFLAGS-test-misc.c): Likewise.
44892 (CFLAGS-test-test-fenv.c): Likewise.
44894 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44899 comparisons to determine direction to adjust input.
44901 2012-05-01 Roland McGrath <roland@hack.frob.com>
44903 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44904 output to the target.
44906 * scripts/localplt.awk: New file.
44907 * elf/Makefile ($(objpfx)check-localplt): Target removed.
44908 (check-localplt-CFLAGS): Variable removed.
44909 ($(all-built-dso:=.jmprel)): New static pattern rule.
44910 (generated): Add those targets.
44911 (localplt-built-dso): New variable.
44912 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44914 * elf/check-localplt.c: File removed.
44916 * scripts/check-execstack.awk: New file.
44917 * elf/Makefile ($(objpfx)check-execstack): Target removed.
44918 (check-execstack-CFLAGS): Variable removed.
44919 ($(objpfx)check-execstack.h): Target removed.
44920 ($(objpfx)execstack-default): New target.
44921 (generated): Add that instead of check-execstack.h.
44922 ($(all-built-dso:=.phdr)): New static pattern rule.
44923 (generated): Add those targets.
44924 * elf/check-execstack.c: File removed.
44926 * scripts/check-textrel.awk: New file.
44927 * elf/Makefile ($(objpfx)check-textrel): Target removed.
44928 (check-textrel-CFLAGS): Variable removed.
44929 (all-built-dso): Use := to define.o
44930 ($(all-built-dso:=.dyn)): New static pattern rule.
44931 (generated): Add those targets.
44932 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44933 * config.make.in (READELF): New substituted variable.
44934 * elf/check-textrel.c: File removed.
44936 2012-05-01 Joseph Myers <joseph@codesourcery.com>
44938 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44940 * conform/data/ctype.h-data [C99-based standards] (isblank):
44942 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44943 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44945 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44946 Specify type. Require positive value.
44947 (EILSEQ): Likewise.
44948 (ERANGE): Likewise.
44949 [ISO || POSIX] (EILSEQ): Do not expect.
44950 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44951 Specify type. Require positive value.
44952 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44953 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44954 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44955 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44956 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44957 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44958 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44959 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44960 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44961 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44962 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44963 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44964 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44965 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44966 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44967 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44968 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44969 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44970 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44971 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44972 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44973 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44974 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44975 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44976 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44977 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44978 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44979 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44980 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44981 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44982 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44983 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44984 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44985 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44986 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44987 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44988 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44989 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44990 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44991 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44992 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44993 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44994 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44995 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44996 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44997 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44998 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44999 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45000 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45001 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45002 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45003 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45004 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45005 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45006 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45007 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45008 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45009 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45010 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45011 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45012 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45013 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45014 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45015 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45016 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45017 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45018 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45019 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45020 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45021 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45022 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45023 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45024 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45025 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45026 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45027 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45028 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45030 (FLT_ROUNDS): Expect as macro, not constant.
45031 (FLT_MANT_DIG): Use macro-int-constant.
45032 (DBL_MANT_DIG): Likewise.
45033 (LDBL_MANT_DIG): Likewise.
45034 (FLT_DIG): Likewise.
45035 (DBL_DIG): Likewise.
45036 (LDBL_DIG): Likewise.
45037 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45038 (DBL_MIN_EXP): Likewise.
45039 (LDBL_MIN_EXP): Likewise.
45040 (FLT_MAX_EXP): Use macro-int-constant.
45041 (DBL_MAX_EXP): Likewise.
45042 (LDBL_MAX_EXP): Likewise.
45043 (FLT_MAX_10_EXP): Likewise.
45044 (DBL_MAX_10_EXP): Likewise.
45045 (LDBL_MAX_10_EXP): Likewise.
45046 (FLT_MAX): Use macro-constant.
45047 (DBL_MAX): Likewise.
45048 (LDBL_MAX): Likewise.
45049 (FLT_EPSILON): Use macro-constant. Give upper bound.
45050 (DBL_EPSILON): Likewise.
45051 (LDBL_EPSILON): Likewise.
45052 (FLT_MIN): Likewise.
45053 (DBL_MIN): Likewise.
45054 (LDBL_MIN): Likewise.
45055 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45056 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45057 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45058 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45059 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45060 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45061 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45062 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45063 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45064 [ISO11] (FLT_TRUE_MIN): Likewise.
45065 [ISO11] (LDBL_TRUE_MIN): Likewise.
45066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45067 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45068 (SCHAR_MIN): Use macro-int-constant. Specify type.
45069 (SCHAR_MAX): Likewise.
45070 (UCHAR_MAX): Likewise.
45071 (CHAR_MIN): Likewise.
45072 (CHAR_MAX): Likewise.
45073 (MB_LEN_MAX): Use macro-int-constant.
45074 (SHRT_MIN): Use macro-int-constant. Specify type.
45075 (SHRT_MAX): Likewise.
45076 (USHRT_MAX): Likewise.
45077 (INT_MAX): Likewise.
45078 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45080 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45082 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45084 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45085 bound negative. Suffix upper bound with "L".
45086 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45088 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45090 [C99-based standards] (LLONG_MAX): Likewise.
45091 [C99-based standards] (ULLONG_MAX): Likewise.
45092 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45094 [ISO11] (max_align_t): Require type.
45095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45097 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45098 from $CFLAGS, without defining away __attribute__ calls.
45099 (checknamespace): Use $CFLAGS_namespace.
45101 * conform/conformtest.pl (@keywords): Only include C99 keywords
45102 for standards based on C99 or C11.
45104 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45106 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45109 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45110 usability of symbols in #if.
45112 * conform/conformtest.pl: If macro or constant types start
45113 "promoted:", expect the symbol to be of the following type
45114 promoted by the integer promotions.
45116 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45117 in one place. Also handle "macro-constant".
45119 * conform/conformtest.pl: Only accept expected macro values with
45120 "==". Parse all "macro" lines in one place.
45121 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45123 * conform/conformtest.pl: Handle braced types on "constant" lines
45124 instead of handling "typed-constant".
45125 * conform/data/signal.h-data: Use "constant" instead of
45128 * conform/conformtest.pl: Handle "optional-" at start of lines in
45129 one place rather than duplicating several cases. Handle each
45130 format of "macro" line with initial "optional-".
45132 * conform/conformtest.pl: Only accept expected constant or
45133 optional-constant values with "==". Parse all "constant" lines in
45134 one place. Parse all "optional-constant" lines in one place.
45135 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45136 * conform/data/fmtmsg.h-data: Likewise.
45137 * conform/data/netinet/in.h-data: Likewise.
45138 * conform/data/tar.h-data: Likewise.
45139 * conform/data/limits.h-data: Use "==" form on "constant" and
45140 "optional-constant" lines.
45142 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45143 Use -std=c99 for XOPEN2K.
45144 (@knownproblems): Remove.
45145 (newtoken): Don't check %isknown.
45147 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45148 Do not expect macro.
45149 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45150 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45151 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45152 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45153 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45154 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45155 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45156 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45157 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45158 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45159 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45160 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45161 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45162 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45163 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45164 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45165 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45166 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45167 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45168 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45169 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45170 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45171 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45172 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45173 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45174 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45175 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45176 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45177 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45178 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45179 [XPG3] (acosh): Likewise.
45180 [XPG3] (asinh): Likewise.
45181 [XPG3] (atanh): Likewise.
45182 [XPG3] (cbrt): Likewise.
45183 [XPG3] (expm1): Likewise.
45184 [XPG3] (ilogb): Likewise.
45185 [XPG3] (log1p): Likewise.
45186 [XPG3] (logb): Likewise.
45187 [XPG3] (nextafter): Likewise.
45188 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45189 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45190 [XPG3] (remainder): Likewise.
45191 [XPG3] (rint): Likewise.
45192 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45193 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45194 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45195 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45196 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45197 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45198 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45199 [UNIX98 || XOPEN2K] (scalb): Expect.
45200 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45201 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45202 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45203 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45204 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45205 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45206 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45207 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45208 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45209 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45210 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45211 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45212 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45213 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45214 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45215 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45216 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45217 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45218 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45219 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45220 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45221 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45222 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45223 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45224 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45225 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45226 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45227 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45228 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45229 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45230 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45231 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45232 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45233 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45234 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45235 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45236 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45237 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45238 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45239 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45240 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45241 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45242 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45243 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45244 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45245 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45246 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45247 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45248 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45249 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45250 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45251 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45252 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45253 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45254 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45255 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45256 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45257 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45258 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45259 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45260 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45261 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45262 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45263 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45264 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45265 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45266 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45267 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45268 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45269 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45270 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45271 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45272 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45273 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45274 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45275 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45276 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45277 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45278 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45279 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45280 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45281 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45282 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45283 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45284 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45285 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45286 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45287 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45288 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45289 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45290 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45291 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45292 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45293 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45294 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45295 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45296 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45297 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45298 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45299 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45300 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45301 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45302 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45303 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45304 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45305 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45306 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45307 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45308 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45309 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45310 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45311 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45312 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45313 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45314 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45315 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45316 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45317 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45318 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45319 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45320 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45321 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45322 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45323 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45324 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45325 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45326 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45327 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45328 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45329 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45330 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45331 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45332 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45333 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45334 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45335 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45336 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45338 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45339 _XOPEN_SOURCE_EXTENDED for XPG4.
45341 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45343 * Makeconfig (localtime): Remove variable.
45344 (inst_localtime-file): Likewise.
45346 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45367 2012-05-01 Joseph Myers <joseph@codesourcery.com>
45371 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45372 comparisons to determine direction to adjust input.
45373 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45374 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45384 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45386 * math/libm-test.inc (nexttoward_test): Add more tests.
45388 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
45391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45392 in version GLIBC_2.1, not GLIBC_2.0.
45393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45396 2012-04-30 Joseph Myers <joseph@codesourcery.com>
45399 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45401 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45402 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45403 * math/libm-test.inc (acos_test): Add more tests.
45404 (asin_test): Likewise.
45405 * sysdeps/i386/fpu/libm-test-ulps: Update.
45406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45409 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45411 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45412 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45413 * math/libm-test.inc (acos_test_tonearest): New function.
45414 (acos_test_towardzero): Likewise.
45415 (acos_test_downward): Likewise.
45416 (acos_test_upward): Likewise.
45417 (asin_test_tonearest): Likewise.
45418 (asin_test_towardzero): Likewise.
45419 (asin_test_downward): Likewise.
45420 (asin_test_upward): Likewise.
45421 (main): Call the new functions.
45422 * sysdeps/i386/fpu/libm-test-ulps: Update.
45423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45427 * math/e_exp10.c: Include <float.h>.
45428 (__ieee754_exp10): Handle underflow here rather than multiplying
45429 large negative argument by M_LN10.
45430 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45432 * math/e_exp10l.c: Include <float.h>.
45433 (__ieee754_exp10l): Handle underflow here rather than multiplying
45434 large negative argument by M_LN10l.
45435 * math/libm-test.inc (exp10_test): Add another test. Do not allow
45436 spurious overflow exception on underflow.
45438 2012-04-29 Marek Polacek <polacek@redhat.com>
45440 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45441 (__fortify_function): New macro.
45442 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45443 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45444 __extern_always_inline.
45445 * libio/bits/stdio2.h: Likewise.
45446 * libio/bits/stdio.h: Likewise.
45447 * string/string.h: Likewise.
45448 * string/bits/string3.h: Likewise.
45449 * include/stdio.h: Likewise.
45450 * stdlib/bits/stdlib.h: Likewise.
45451 * stdlib/stdlib.h: Likewise.
45452 * rt/bits/mqueue2.h: Likewise.
45453 * rt/mqueue.h: Likewise.
45454 * posix/bits/unistd.h: Likewise.
45455 * posix/unistd.h: Likewise.
45456 * io/bits/poll2.h: Likewise.
45457 * io/bits/fcntl2.h: Likewise.
45458 * io/fcntl.h: Likewise.
45459 * io/sys/poll.h: Likewise.
45460 * misc/bits/syslog.h: Likewise.
45461 * misc/bits/syslog-ldbl.h: Likewise.
45462 * misc/sys/syslog.h: Likewise.
45463 * socket/bits/socket2.h: Likewise.
45464 * socket/sys/socket.h: Likewise.
45465 * debug/tst-chk1.c: Likewise.
45466 * wcsmbs/bits/wchar2.h: Likewise.
45467 * wcsmbs/bits/wchar-ldbl.h: Likewise.
45468 * wcsmbs/wchar.h: Likewise.
45470 2012-04-29 Andreas Jaeger <aj@suse.de>
45472 * Makerules (tests): Remove enable-check-abi protection.
45473 (check-abi-warn): Remove.
45474 (check-abi-%): Remove check-abi-warn usage.
45476 * configure.in: Remove check-abi configure option.
45477 * configure: Regenerated.
45478 * config.make.in (enable-check-abi): Remove.
45480 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
45483 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45484 double functions to double *_finite functions.
45487 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45488 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45490 * stdio-common/Makefile (tests): Add tst-sprintf3.
45491 * stdio-common/tst-sprintf3.c: New file.
45493 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45494 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45496 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45498 * conform/conformtest.pl: Remove duplicate typed-constant
45501 2012-04-28 David S. Miller <davem@davemloft.net>
45503 * Makerules (%.abilist): Add vpath on sysdep_dirs.
45504 (check-abi-%): Remove AWK script prerequisite and explicit
45506 (check-abi): Rewrite to just diff the symlist with the abilist.
45507 (config-tls, config-abi-config): Delete, no longer used.
45508 (update-abi-%): Remove AWK script and explicit abilist directory.
45509 (update-abi): Rewrite to simply compare and conditionally copy the
45510 symlist and the sysdep abilist file. Remove update-abi-config
45512 * abilist/ld.abilist: Remove.
45513 * abilist/libBrokenLocale.abilist: Remove.
45514 * abilist/libanl.abilist: Remove.
45515 * abilist/libcrypt.abilist: Remove.
45516 * abilist/libdl.abilist: Remove.
45517 * abilist/librt.abilist: Remove.
45518 * abilist/libthread_db.abilist: Remove.
45519 * abilist/libutil.abilist: Remove.
45520 * scripts/extract-abilist.awk: Remove.
45521 * scripts/merge-abilist.awk: Remove.
45522 * sysdeps/generic/libcidn.abilist: New file.
45523 * sysdeps/generic/libnss_compat.abilist: New file.
45524 * sysdeps/generic/libnss_db.abilist: New file.
45525 * sysdeps/generic/libnss_dns.abilist: New file.
45526 * sysdeps/generic/libnss_files.abilist: New file.
45527 * sysdeps/generic/libnss_hesiod.abilist: New file.
45528 * sysdeps/generic/libnss_nis.abilist: New file.
45529 * sysdeps/generic/libnss_nisplus.abilist: New file.
45530 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45531 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45532 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45535 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45536 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45537 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45538 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45539 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45540 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45541 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45542 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45544 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45545 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45546 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45547 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45549 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45550 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45551 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45552 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45553 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45554 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45556 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45557 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45558 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45560 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45663 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45664 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45665 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45668 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45669 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45671 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45672 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45673 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45674 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45675 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45676 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45728 2012-04-28 Joseph Myers <joseph@codesourcery.com>
45730 * conform/conformtest.pl: Fix typo in handling typed-constant from
45733 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45735 * README: Cut down references to pre-2.6 Linux kernels and
45736 Linuxthreads. Update lists of configurations in libc and ports
45737 and sort alphabetically. Say "or newer" with Linux kernel version
45740 * config.h.in [IS_IN_build]: Allow compiling without optimization.
45742 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
45745 * math/libm-test.inc (logb_test_downward): New test to expose
45746 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45749 2012-04-27 Joseph Myers <joseph@codesourcery.com>
45752 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45754 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45755 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45757 2012-04-26 Joseph Myers <joseph@codesourcery.com>
45759 * sysdeps/unix/i386/brk.S: Remove file.
45760 * sysdeps/unix/i386/dl-brk.S: Likewise.
45761 * sysdeps/unix/i386/pipe.S: Likewise.
45762 * sysdeps/unix/i386/sigreturn.S: Likewise.
45763 * sysdeps/unix/i386/syscall.S: Likewise.
45764 * sysdeps/unix/i386/vfork.S: Likewise.
45765 * sysdeps/unix/i386/wait.S: Likewise.
45767 * sysdeps/unix/common/tcsendbrk.c: Move to ...
45768 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45770 * configure.in (arm*-none*): Do not allow without
45771 --enable-hacker-mode.
45772 (netbsd*): Remove case setting base_os.
45773 (386bsd*): Likewise.
45774 (freebsd*): Likewise.
45777 (sunos*): Likewise.
45778 (ultrix*): Likewise.
45779 (newsos*): Likewise.
45780 (dynix*): Likewise.
45786 (minix*): Likewise.
45787 (irix4*): Likewise.
45788 (irix6*): Likewise.
45789 (solaris[2-9]*): Likewise.
45791 * configure: Regenerated.
45793 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45797 overflow or cancellation in calculating denominator.
45798 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45800 down expression to avoid unexpected rounding in newer GCCs.
45801 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45803 2012-04-26 David S. Miller <davem@davemloft.net>
45805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45806 long-double compat symbols.
45807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45821 2012-04-25 David S. Miller <davem@davemloft.net>
45823 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45824 HWCAP_* values only after the memory barriers have been defined.
45825 (atomic_full_barrier): Define.
45826 (atomic_read_barrier): Define.
45827 (atomic_write_barrier): Define.
45829 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
45831 * shlib-versions: Add libgcc_s version information.
45832 * sysdeps/generic/libgcc_s.h: Remove.
45833 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45835 * sysdeps/gnu/unwind-resume.c: Likewise.
45836 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45838 2012-04-25 David S. Miller <davem@davemloft.net>
45840 * sysdeps/unix/sparc/brk.S: Delete.
45841 * sysdeps/unix/sparc/dl-brk.S: Delete.
45842 * sysdeps/unix/sparc/pipe.S: Delete.
45843 * sysdeps/unix/sparc/sysdep.S: Delete.
45844 * sysdeps/unix/sparc/sysdep.h: Delete.
45845 * sysdeps/unix/sparc/vfork.S: Delete.
45846 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45847 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45848 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45849 (ret_ERRVAL, r0, r1, MOVE): Define.
45850 (JUMPTARGET): Remove.
45851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45852 sysdeps/unix/sparc/sysdep.h
45853 (ENTRY, END): Remove.
45854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45856 2012-04-25 Joseph Myers <joseph@codesourcery.com>
45858 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45859 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45862 * timezone/README: Update upstream location and email address for
45864 * timezone/zdump.c: Update from tzcode 2012b.
45865 * timezone/zic.c: Likewise.
45867 * configure.in (libc_cv_as_needed): Remove test.
45868 * configure: Regenerated.
45869 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45870 conditional definition.
45871 [$(have-as-needed) != yes] (no-as-needed): Likewise.
45872 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45873 * config.make.in (have-as-needed): Remove variable.
45875 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45876 Paul Pluzhnikov <ppluzhnikov@google.com>
45878 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45881 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
45883 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45884 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45885 * sysdeps/sh/strlen.S: Likewise.
45887 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45889 * sysdeps/unix/fork.S: Remove file.
45890 * sysdeps/unix/i386/fork.S: Likewise.
45891 * sysdeps/unix/sparc/fork.S: Likewise.
45893 * sysdeps/unix/system.c: Remove file.
45894 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45896 * sysdeps/unix/getegid.S: Remove file.
45897 * sysdeps/unix/geteuid.S: Likewise.
45899 2012-04-24 Roland McGrath <roland@hack.frob.com>
45901 * scripts/check-localplt.awk: New file.
45902 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45904 * scripts/data/localplt-generic.data: Add a comment.
45906 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45907 NODE when __dir_mkfile failed.
45908 * sysdeps/mach/hurd/symlinkat.c: Likewise.
45909 Reported by Ludovic Courtès <ludo@gnu.org>.
45911 2012-04-24 Andreas Jaeger <aj@suse.de>
45913 * Makerules (common-clean): Also remove gen-as-const-headers
45916 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45918 * Makerules (native-compile): Do not change working directory for
45919 build. Use $(OUTPUT_OPTION) in command.
45920 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45922 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45925 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45926 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45927 * math/libm-test.inc (floor_test): Add more tests.
45928 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45930 2012-04-24 Joseph Myers <joseph@codesourcery.com>
45932 * sysdeps/unix/getdents.c: Remove file.
45933 * sysdeps/unix/sysv/getdents.c: Likewise.
45934 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45936 * sysdeps/unix/syscalls.list (madvise): Add syscall from
45937 sysdeps/unix/mman/syscalls.list.
45939 (mprotect): Likewise.
45941 (munmap): Likewise.
45942 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45943 * sysdeps/unix/mman/syscalls.list: Remove.
45944 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45946 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45947 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45948 * configure: Regenerated.
45949 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45950 $(libgcc_s_suffix).
45951 * config.make.in (libgcc_s_suffix): Remove variable.
45953 2012-04-23 Joseph Myers <joseph@codesourcery.com>
45955 * sysdeps/unix/sysv/gethostname.c: Move to ...
45956 * sysdeps/posix/gethostname.c: ... here.
45958 * sysdeps/unix/execve.S: Remove file.
45960 * sysdeps/unix/_exit.S: Remove file.
45962 2012-04-23 Andreas Jaeger <aj@suse.de>
45965 * manual/Makefile: Remove make dist support, there's no
45966 need for a stand-alone documentation tar ball.
45967 (TEXI2DVI): Define always, it's not in Makeconfig.
45970 (edition): Removed.
45971 (glibc-doc-$(edition).tar): Removed
45975 (ETAGS): Remove, it's in Makeconfig.
45976 (move-if-change): Remove, it's in Makeconfig.
45978 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
45981 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45982 (strtod, strtof, strtold, strtol, strtoul, strtoq)
45983 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45984 (strtod_l, strtof_l, strtold_l): Remove __wur.
45985 It is not necessarily an error to ignore strtol's return value.
45986 One can reliably look at the stored endptr to decide whether
45987 the number had valid syntax.
45989 2012-04-21 Andreas Jaeger <aj@suse.de>
45992 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45994 2012-04-21 Joseph Myers <joseph@codesourcery.com>
45996 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45997 * sysdeps/unix/sysv/Versions: Remove file.
45999 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46004 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
46007 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46008 version from __vm86.
46010 2012-04-20 Joseph Myers <joseph@codesourcery.com>
46012 * sysdeps/unix/common/lxstat.c: Remove file.
46013 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46015 * sysdeps/unix/sysv/Makefile: Remove file.
46017 * sysdeps/unix/sysv/direct.h: Remove file.
46019 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46020 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46021 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46022 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46023 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46024 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46025 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46027 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46029 * sysdeps/unix/xmknod.c: Remove file.
46030 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46032 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46034 * sysdeps/unix/sysv/i386/time.S: Remove file.
46036 * sysdeps/unix/fxstat.c: Remove file.
46037 * sysdeps/unix/xstat.c: Likewise.
46038 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46040 * sysdeps/unix/sysv/sigaction.c: Remove file.
46042 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46043 (sysdep_headers): Remove variable.
46044 [termio.h not in sysdep_headers] (generated): Likewise.
46045 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46046 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46047 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46048 * sysdeps/unix/sysv/tcflow.c: Likewise.
46049 * sysdeps/unix/sysv/tcflush.c: Likewise.
46050 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46051 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46052 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46053 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46054 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46056 * sysdeps/unix/siglist.c: Remove file.
46058 * sysdeps/unix/getppid.S: Remove file.
46060 * sysdeps/unix/mkdir.c: Remove file.
46061 * sysdeps/unix/rmdir.c: Likewise.
46063 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46065 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46067 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46068 errlist-compat value.
46070 2012-04-18 David S. Miller <davem@davemloft.net>
46072 * sysdeps/generic/memcopy.h (reg_char): Delete.
46073 * debug/strcat_chk.c: Use char, not reg_char.
46074 * debug/strcpy_chk.c: Likewise.
46075 * debug/strncat_chk.c: Likewise.
46076 * debug/strncpy_chk.c: Likewise.
46077 * string/memchr.c: Likewise.
46078 * string/memrchr.c: Likewise.
46079 * string/rawmemchr.c: Likewise.
46080 * string/strcat.c: Likewise.
46081 * string/strchr.c: Likewise.
46082 * string/strchrnul.c: Likewise.
46083 * string/strcmp.c: Likewise.
46084 * string/strcpy.c: Likewise.
46085 * string/strncat.c: Likewise.
46086 * string/strncmp.c: Likewise.
46087 * string/strncpy.c: Likewise.
46089 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46091 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46092 __builtin_memcopy is called when src and dest ranges are known to not
46095 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46098 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46099 fwd_align_merge macro call.
46100 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46101 bwd_align_merge macro call.
46102 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46104 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46106 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46107 bwd_align_merge macros.
46108 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46109 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46110 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46112 2012-04-18 David S. Miller <davem@davemloft.net>
46114 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46116 2012-04-18 Andreas Jaeger <aj@suse.de>
46119 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46120 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46121 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46124 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46125 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46127 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46128 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46129 Adjust for changed ldbl-128 files.
46131 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46132 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46133 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46135 2012-04-17 David S. Miller <davem@davemloft.net>
46137 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46139 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46141 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46142 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46143 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46144 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46145 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46146 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46148 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46151 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46152 * math/libm-test.inc: Add ilogb errno and exception tests.
46153 * math/w_ilogb.c: New file: ilogb wrapper.
46154 * math/w_ilogbf.c: New file: ilogbf wrapper.
46155 * math/w_ilogbl.c: New file: ilogbl wrapper.
46156 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46157 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46158 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46159 exception being thrown with 0.0 as argument.
46160 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46161 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46162 exception being thrown with 0.0 as argument.
46163 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46164 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46165 exception being thrown with 0.0 as argument.
46166 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46167 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46168 exception being thrown with 0.0 as argument.
46169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46170 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46172 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46173 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46174 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46175 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46176 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46177 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46179 2012-04-17 Petr Baudis <pasky@ucw.cz>
46181 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46184 2012-04-16 Marek Polacek <polacek@redhat.com>
46186 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46188 2012-04-16 Marek Polacek <polacek@redhat.com>
46190 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46191 operands of fdivp instruction.
46193 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46195 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46196 * elf/tst-auditmod3b.c: Likewise.
46197 * elf/tst-auditmod4b.c: Likewise.
46198 * elf/tst-auditmod5b.c: Likewise.
46199 * elf/tst-auditmod6b.c: Likewise.
46200 * elf/tst-auditmod6c.c: Likewise.
46201 * elf/tst-auditmod7b.c: Likewise.
46202 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46203 * sysdeps/x86_64/preconfigure.in: Likewise.
46204 * sysdeps/x86_64/preconfigure: Regenerated.
46206 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46208 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46211 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
46213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46214 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46216 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46219 * locale/iso-639.def: Fix gl language name. Spotted by
46222 2012-04-12 Roland McGrath <roland@hack.frob.com>
46225 * libio/libio.h (__io_write_fn): Update comment.
46227 2012-04-12 Petr Baudis <pasky@ucw.cz>
46230 * stdio.texi (Hook Functions): The user provided writer function
46231 is not allowed to return -1.
46233 2012-04-11 David S. Miller <davem@davemloft.net>
46235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46237 2012-04-11 Mike Frysinger <vapier@gentoo.org>
46239 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46240 Add a leading slash to rtkaio.
46242 2012-04-11 Jim Meyering <meyering@redhat.com>
46245 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46246 It is not necessarily an error to ignore fwrite's return
46247 value. One can reliably use ferror to test for errors after
46250 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46252 * bits/types.h (__snseconds_t): New type.
46253 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46255 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46257 (__SNSECONDS_T_TYPE): Likewise.
46258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46259 (__SNSECONDS_T_TYPE): Likewise.
46260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46261 (__SNSECONDS_T_TYPE): Likewise.
46263 2012-04-10 Andreas Jaeger <aj@suse.de>
46266 * manual/time.texi (Processor Time): Return type of times is
46267 elapsed real time since an arbitrary point in the past.
46268 (CPU Time): Move CLK_TCK from here...
46269 (Processor Time): ...to here. Correct description.
46270 * manual/conf.texi (Constants for Sysconf): Correct description of
46273 2012-04-10 David S. Miller <davem@davemloft.net>
46276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46277 where the is a gap between DT_REL(A) and DT_JMPREL.
46279 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46281 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46282 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46283 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46285 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
46287 * elf/dl-support.c (_dl_inhibit_cache): New variable.
46288 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46289 (dl_main): Handle --inhibit-cache.
46290 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46292 * elf/dl-load.c (_dl_map_object): Use it.
46293 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46295 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46298 * sysdeps/i386/fpu/e_powl.S (p78): New object.
46299 (__ieee754_powl): Saturate large exponents rather than testing for
46300 overflow of y*log2(x).
46301 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46302 * math/libm-test.inc (pow_test): Do not permit spurious overflow
46306 * math/s_ctan.c: Include <float.h>.
46307 (__ctan): Avoid internal overflow or cancellation in calculating
46309 * math/s_ctanf.c: Likewise.
46310 * math/s_ctanl.c: Likewise.
46311 * math/s_ctanh.c: Likewise.
46312 * math/s_ctanhf.c: Likewise.
46313 * math/s_ctanhl.c: Likewise.
46314 * math/libm-test.inc (ctan_test): Add more tests.
46315 (ctanh_test): Likewise.
46316 * sysdeps/i386/fpu/libm-test-ulps: Update.
46317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46319 2012-04-09 Andreas Jaeger <aj@suse.de>
46322 * manual/filesys.texi (Directory Entries): Mention that d_namlen
46323 is an optional BSD extension.
46326 * manual/stdio.texi (Opening Streams): Document additional fopen
46329 2012-04-09 Roland McGrath <roland@hack.frob.com>
46331 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46332 %eax without telling the compiler.
46334 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
46337 * manual/install.texi: Use sourceware.org.
46339 2012-04-09 Joseph Myers <joseph@codesourcery.com>
46342 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46343 (__ieee754_pow): Generate overflow and underflow using huge*huge
46344 and tiny*tiny rather than just returning constant infinity or zero
46345 for large exponents.
46346 * math/libm-test.inc (pow_test): Require overflow exceptions for
46347 applicable cases of large exponents.
46350 * sysdeps/i386/fpu/e_pow.S (p10): New object.
46351 (__ieee754_pow): Use iterative multiplication algorithm only for
46352 integer exponents with absolute value below 1024. Check for odd
46353 integer exponents when using algorithm for real exponents.
46354 * math/libm-test.inc (pow_test): Add more tests.
46355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46357 2012-04-08 Joseph Myers <joseph@codesourcery.com>
46360 * math/libm-test.inc (exp_test): Do not allow overflow exception
46363 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
46366 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46367 instead of __kernel_standard_f.
46369 2012-04-08 Mike Frysinger <vapier@gentoo.org>
46371 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46372 * sysdeps/x86_64/memset_chk.S: Likewise.
46374 2012-04-08 Andreas Jaeger <aj@suse.de>
46377 * manual/startup.texi (Environment Access): Describe return value
46378 for putenv and setenv.
46381 * manual/filesys.texi (Directory Entries): Add description for
46385 * manual/filesys.texi (Directory Entries): Clarify that it's file
46386 system not operating system in the description of DT_UNKNOWN.
46389 * manual/syslog.texi (closelog): Fix reference, it's openlog.
46391 2012-04-08 Stephen Compall <s11@member.fsf.org>
46394 * manual/llio.texi (Opening and Closing Files): Add cross
46395 reference to explain mode argument.
46397 2012-04-07 Mike Frysinger <vapier@gentoo.org>
46399 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46400 * sysdeps/x86_64/memset_chk.S: Likewise.
46402 2012-04-07 David S. Miller <davem@davemloft.net>
46404 * elf/elf.h (R_SPARC_WDISP10): Define.
46405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46408 R_SPARC_SIZE64 and R_SPARC_H34.
46410 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
46412 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46413 conditions and remove no longer applicable assertion.
46415 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46417 * bits/byteswap.h: Include <features.h>.
46418 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46419 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46421 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
46423 * bits/byteswap.h (__bswap_16): Removed.
46424 Include <bits/byteswap-16.h> to get __bswap_16.
46425 * sysdeps/i386/bits/byteswap.h: Likewise.
46426 * sysdeps/s390/bits/byteswap.h: Likewise.
46427 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46428 * bits/byteswap-16.h: New file.
46429 * sysdeps/i386/bits/byteswap-16.h: Likewise.
46430 * sysdeps/s390/bits/byteswap-16.h: Likewise.
46431 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46432 * string/Makefile (headers): Add bits/byteswap-16.h.
46434 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
46437 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46439 * nss/Makefile (tests-static, tests): Add tst-nss-static.
46440 * nss/tst-nss-static.c: New.
46442 2012-04-06 Robert Millan <rmh@gnu.org>
46445 * manual/llio.texi (File Position Primitive): lseek
46446 refers to WHENCE when it really means OFFSET.
46448 2012-04-06 Andreas Jaeger <aj@suse.de>
46450 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46451 strncmp declarations.
46453 * abilist/libc.abilist: Add __poll and __ppoll.
46455 2012-04-05 David S. Miller <davem@davemloft.net>
46457 * scripts/check-local-headers.sh: Accept a host triplet in the
46458 path matched by the exclude regexp.
46460 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46462 * sysdeps/powerpc/powerpc32/dl-machine.h
46463 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46464 * sysdeps/s390/s390-32/dl-machine.h
46465 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46466 * sysdeps/sparc/sparc32/dl-machine.h
46467 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46468 * sysdeps/sparc/sparc64/dl-machine.h
46469 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46471 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46473 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46474 undefined symbol errors.
46476 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46479 2012-04-05 Michael Matz <matz@suse.de>
46482 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46484 2012-04-05 Andreas Jaeger <aj@suse.de>
46487 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46490 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46492 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46493 which ROUND is no valid rounding mode.
46495 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46497 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46499 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46501 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46503 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46504 an exception using FPU order intentionally.
46506 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
46508 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46509 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46510 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46511 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46513 2012-04-05 Simon Josefsson <simon@josefsson.org>
46516 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46517 EINVAL when BUFLEN is too smal.
46519 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
46522 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46523 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46525 2012-04-03 Andreas Jaeger <aj@suse.de>
46528 * manual/setjmp.texi (System V contexts): Fix sentence.
46531 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46532 New macro for this case.
46533 [!__GNUC__] (__bswap_64): New inline function for this case.
46534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
46535 * bits/byteswap.h: Likewise.
46536 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46537 ull, guard with __GLIBC_HAVE_LONG_LONG.
46539 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46540 __GLIBC_HAVE_LONG_LONG.
46542 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46543 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46545 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46548 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46549 inptr and inend, rather than using last_ch.
46551 2012-04-02 David S. Miller <davem@davemloft.net>
46553 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46554 * stdio-common/printf-parse.h (read_int): Change return type to
46555 'int', return -1 on INT_MAX overflow.
46556 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46557 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
46558 overflows INT_MAX. Check for overflow of in-format-string precision
46559 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
46560 SIZE_MAX not INT_MAX for integer overflow test.
46561 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46562 skip the construct in the format string but do not record anything.
46563 * stdio-common/bug22.c: Adjust to test both width/prevision
46564 INT_MAX overflow as well as total length INT_MAX overflow. Check
46565 explicitly for proper errno values.
46567 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
46569 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46571 * string/test-strcmp.c [! WIDE]: Likewise.
46572 * time/tst-mktime2.c: Likewise for INT_MAX.
46573 * string/test-string.h: #include <sys/param.h> for MIN.
46575 * csu/init-first.c (__libc_init_first): Call __ctype_init.
46576 * sysdeps/i386/init-first.c (init): Likewise.
46577 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46578 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46579 * sysdeps/sh/init-first.c (init): Likewise.
46581 2012-04-01 Ulrich Drepper <drepper@gmail.com>
46583 * po/ru.po: Update from translation team.
46584 * po/vi.po: Likewise.
46586 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
46588 * resolv/nss_dns/dns-host.c: Merge copyright years.
46590 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46593 Optimize memcpy with prefetch if
46594 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
46595 src, dst pointers have unequal 16 byte alignments.
46597 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
46600 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46601 from a CNAME entry and return the minimum ttl for the query.
46602 (gaih_getanswer_slice): Likewise.
46604 2012-03-30 Jeff Law <law@redhat.com>
46606 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46608 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46609 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46611 * resolv/nss_dns/dns-host.c: Update copyright year.
46613 2012-03-30 Ulrich Drepper <drepper@gmail.com>
46615 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46616 requests to save a system call. Fix check that all bytes are sent.
46618 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46619 comments for sendmmsg.
46621 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46624 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46625 with only 1 character between 0x0041 and 0x01b0.
46626 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46627 * wcsmbs/tst-mbsnrtowcs.c: New file.
46629 2012-03-29 David S. Miller <davem@davemloft.net>
46631 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46632 small copies by hand.
46634 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
46637 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46638 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46641 2012-03-28 David S. Miller <davem@davemloft.net>
46643 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46644 that branches into memcpy.
46645 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46648 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46649 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46651 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46652 implementation too.
46653 * sysdeps/sparc/mempcpy.S: New file.
46655 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46656 the IFUNC routine in the libc case.
46657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46659 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46660 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46661 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46662 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46663 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46664 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46665 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46666 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46668 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46669 loop to 256 bytes instead of 64 bytes and fix test signedness.
46671 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46672 * sysdeps/sparc/sparc32/Makefile: rather than here...
46673 * sysdeps/sparc/sparc64/Makefile: and here.
46675 2012-03-28 Ulrich Drepper <drepper@gmail.com>
46677 * malloc/mallocbug.c: Avoid warnings about unused variables.
46679 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
46682 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46683 in the right place. Discard and retry query if response is
46684 larger than input buffer size.
46686 2012-03-28 Joseph Myers <joseph@codesourcery.com>
46691 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46692 x for large integer exponent.
46693 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46694 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
46695 sign of result as needed afterwards.
46696 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46697 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46698 result for underflowing pow the same as for overflow.
46699 (__kernel_standard_l): Handle powl overflow and underflow here
46700 rather than calling __kernel_standard.
46701 * math/libm-test.inc (pow_test): Add more tests.
46716 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46717 * sysdeps/ieee754/k_standard.c: Include <float.h>.
46718 (__kernel_standard_l): New function.
46719 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46721 * math/w_acosl.c (__acosl): Likewise.
46722 * math/w_asinl.c (__asinl): Likewise.
46723 * math/w_atan2l.c (__atan2l): Likewise.
46724 * math/w_atanhl.c (__atanhl): Likewise.
46725 * math/w_coshl.c (__coshl): Likewise.
46726 * math/w_exp10l.c (__exp10l): Likewise.
46727 * math/w_exp2l.c (__exp2l): Likewise.
46728 * math/w_fmodl.c (__fmodl): Likewise.
46729 * math/w_hypotl.c (__hypotl): Likewise.
46730 * math/w_j0l.c (__j0l, __y0l): Likewise.
46731 * math/w_j1l.c (__j1l, __y1l): Likewise.
46732 * math/w_jnl.c (__jnl, __ynl): Likewise.
46733 * math/w_lgammal.c (__lgammal): Likewise.
46734 * math/w_log10l.c (__log10l): Likewise.
46735 * math/w_log2l.c (__log2l): Likewise.
46736 * math/w_logl.c (__logl): Likewise.
46737 * math/w_powl.c (__powl): Likewise.
46738 * math/w_remainderl.c (__remainderl): Likewise.
46739 * math/w_scalbl.c (sysv_scalbl): Likewise.
46740 * math/w_sinhl.c (__sinhl): Likewise.
46741 * math/w_sqrtl.c (__sqrtl): Likewise.
46742 * math/w_tgammal.c (__tgammal): Likewise.
46743 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46744 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46745 * math/libm-test.inc (acos_test): Add more tests.
46746 (acosh_test): Likewise.
46747 (asin_test): Likewise.
46748 (atanh_test): Likewise.
46749 (exp_test): Likewise.
46750 (exp10_test): Likewise.
46751 (exp2_test): Likewise.
46752 (expm1_test): Likewise.
46753 (lgamma_test): Likewise.
46754 (log_test): Likewise.
46755 (log10_test): Likewise.
46756 (log1p_test): Likewise.
46757 (log2_test): Likewise.
46758 (pow_test): Do not allow some spurious overflow exceptions.
46759 (sqrt_test): Add more tests.
46760 (tgamma_test): Likewise.
46761 (y0_test): Likewise.
46762 (y1_test): Likewise.
46763 (yn_test): Likewise.
46765 2012-03-27 Anton Blanchard <anton@samba.org>
46767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46773 2012-03-27 David S. Miller <davem@davemloft.net>
46775 * conform/Makefile: Run run-conformtest.sh using $(BASH).
46777 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46778 have-as-vis3 check.
46780 2012-03-27 Andreas Jaeger <aj@suse.de>
46782 * sysdeps/x86_64/elf/configure.in: Moved to ...
46783 * sysdeps/x86_64/configure.in: ... here.
46784 * sysdeps/x86_64/elf/start.S: Moved to ...
46785 * sysdeps/x86_64/start.S: ... here.
46786 * sysdeps/x86_64/elf/configure: Delete.
46788 * sysdeps/x86_64/configure.in: Merge contents from
46789 sysdeps/i386/configure.in (without i686 check).
46791 * sysdeps/i386/elf/Versions: Merge into ...
46792 * sysdeps/i386/Versions: ... this.
46793 * sysdeps/i386/elf/Versions: Delete file.
46794 * sysdeps/i386/elf/start.S: Moved to ...
46795 * sysdeps/i386/start.S: ...here.
46796 * sysdeps/i386/elf/configure.in: Merge into...
46797 * sysdeps/i386/configure.in: ...here.
46798 * sysdeps/i386/elf/configure.in: Delete file.
46799 * sysdeps/i386/elf/configure: Delete file.
46801 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46802 * debug/backtracesyms.c: ... here.
46803 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46804 * debug/backtracesymsfd.c: ... here.
46805 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46806 * sysdeps/generic/ifunc-sel.h: ... here.
46808 * sysdeps/unix/i386/start.c: Delete file.
46809 * sysdeps/unix/sparc/start.c: Delete file.
46810 * sysdeps/unix/start.c: Delete file.
46812 * sysdeps/sh/elf/configure.in: Moved to ...
46813 * sysdeps/sh/configure.in: ... here.
46814 * sysdeps/sh/elf/start.S: Moved to ...
46815 * sysdeps/sh/start.S: ... here.
46816 * sysdeps/sh/elf/configure: Delete file.
46818 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46819 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46820 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46821 * sysdeps/powerpc/powerpc64/entry.h: ... here.
46822 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46823 * sysdeps/powerpc/powerpc64/start.S: here.
46824 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46825 * sysdeps/powerpc/powerpc64/Makefile: ... this.
46826 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46827 * sysdeps/powerpc/powerpc64/configure.in: ... this.
46828 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46830 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46831 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46832 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46833 * sysdeps/powerpc/powerpc32/start.S: ... here.
46834 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46835 * sysdeps/powerpc/powerpc32/configure.in: ... this.
46836 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46838 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46839 * sysdeps/powerpc/ifunc-sel.h: ... here.
46840 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46841 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46843 * sysdeps/sparc/elf/configure.in: Moved to ...
46844 * sysdeps/sparc/configure.in: ... here.
46845 * sysdeps/sparc/elf/configure: Delete file.
46846 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46847 * sysdeps/sparc/sparc32/start.S: ... here.
46848 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46849 * sysdeps/sparc/sparc64/start.S: ... here.
46850 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46851 * sysdeps/sparc/sparc32/Makefile: ... this.
46852 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46853 * sysdeps/sparc/sparc64/Makefile: ... this.
46855 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46856 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46857 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46858 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46859 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46860 * sysdeps/s390/s390-32/setjmp.S: ... here.
46861 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46862 * sysdeps/s390/s390-32/configure.in: ... here.
46863 * sysdeps/s390/s390-32/elf/configure: Delete file.
46864 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46865 * sysdeps/s390/s390-32/start.S: ... here.
46867 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46868 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46869 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46870 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46871 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46872 * sysdeps/s390/s390-64/setjmp.S: ... here.
46873 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46874 * sysdeps/s390/s390-64/configure.in: ... here
46875 * sysdeps/s390/s390-64/elf/configure: Delete file.
46876 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46877 * sysdeps/s390/s390-64/start.S: ... here.
46878 * sysdeps/s390/s390-64/elf/configure: Delete.
46880 * configure.in: Remove support for elf directories in sysdeps.
46882 * configure: Regenerated.
46883 * sysdeps/i386/configure: Regenerated.
46884 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46885 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46886 * sysdeps/s390/s390-32/configure: Regenerated.
46887 * sysdeps/s390/s390-64/configure: Regenerated.
46888 * sysdeps/sh/configure: Regenerated.
46889 * sysdeps/sparc/configure: Regenerated.
46890 * sysdeps/x86_64/configure: Regenerated.
46892 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
46894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46897 denormal result into account.
46899 2012-03-25 Roland McGrath <roland@hack.frob.com>
46901 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46902 Reported by Allan McRae <allan@archlinux.org>.
46904 2012-03-23 Jeff Law <law@redhat.com>
46906 * nss/getnssent.c (__nss_getent): Fix typo.
46908 2012-03-23 David S. Miller <davem@davemloft.net>
46910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46912 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
46914 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46915 to pad to uint64_t for each field.
46916 (dl_tls_index): Replace unsigned long with uint64_t.
46918 2012-03-23 Daniel Jacobowitz <dmj@google.com>
46919 Paul Pluzhnikov <ppluzhnikov@google.com>
46922 * grp/Makefile (otherlibs): Don't set it.
46923 * inet/Makefile (otherlibs): Likewise.
46924 * login/Makefile (otherlibs): Likewise.
46925 * nscd/Makefile (otherlibs): Likewise.
46926 * posix/Makefile (otherlibs): Likewise.
46927 * pwd/Makefile (otherlibs): Likewise.
46928 * rt/Makefile (otherlibs): Likewise.
46929 * sunrpc/Makefile (otherlibs): Likewise.
46930 * nss/Makefile (otherlibs): Likewise.
46931 Add libnss_files to routines and static-only-routines.
46932 ($(objpfx)getent): Remove rule.
46933 * resolv/Makefile: Add libnss_dns and libresolv to routines and
46934 static-only-routines.
46936 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46939 * math/s_cexp.c: Include <float.h>.
46940 (__cexp): Handle exp result overflowing not necessarily
46941 overflowing both real and imaginary parts of result.
46942 * math/s_cexpf.c: Likewise.
46943 * math/s_cexpl.c: Likewise.
46944 * math/libm-test.inc (cexp_test): Add more tests.
46945 * sysdeps/i386/fpu/libm-test-ulps: Update.
46946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46948 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46950 * include/link.h (ELFW): New macro.
46951 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46952 Replace ELF64_R_TYPE with ELFW(R_TYPE).
46954 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46956 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46959 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46961 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46963 (struct La_x32_retval): Likewise.
46965 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
46967 * sysdeps/x86_64/preconfigure.in: New file.
46968 * sysdeps/x86_64/preconfigure: New generated file.
46970 2012-03-22 Joseph Myers <joseph@codesourcery.com>
46973 * math/e_exp2l.c: Include <float.h>.
46974 (__ieee754_exp2l): Handle overflow and underflow cases
46975 separately. Only pass fractional part of argument to
46977 * math/libm-test.inc (exp2_test): Add more tests.
46979 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46980 negating x to take absolute value.
46981 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46983 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46984 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46986 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46987 computing low part if x was negated.
46988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46990 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
46992 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46993 la_x32_gnu_pltexit.
46994 (pltexit): Cast int_retval to ptrdiff_t.
46995 * elf/tst-auditmod3b.c: Likewise.
46996 * elf/tst-auditmod4b.c: Likewise.
46997 * elf/tst-auditmod5b.c: Likewise.
46998 * elf/tst-auditmod6b.c: Likewise.
46999 * elf/tst-auditmod6c.c: Likewise.
47000 * elf/tst-auditmod7b.c: Likewise.
47002 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47003 and x32_gnu_pltexit.
47005 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47006 __ELF_NATIVE_CLASS.
47007 (La_x32_regs): New macro.
47008 (La_x32_retval): Likewise.
47009 (la_x32_gnu_pltenter): New function prototype.
47010 (la_x32_gnu_pltexit): Likewise.
47012 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47019 * configure.in (libc_cv_cc_nofma): Check for option to disable
47020 generation of FMA instructions.
47021 * configure: Regenerate.
47022 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47023 * sysdeps/ieee754/dbl-64/Makefile: New file.
47024 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47025 Remove brandred-fma4.
47026 (CFLAGS-brandred-fma4.c): Remove.
47027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47028 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47030 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47033 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47035 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47036 LLONG_MAX != LONG_MAX.
47037 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47038 (_fitoa_word): Likewise.
47039 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47040 LLONG_MAX != LONG_MAX.
47041 * stdio-common/_itowa.h: Include <_itoa.h>.
47042 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47043 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47044 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47045 only if not defined.
47046 (_ITOA_WORD_TYPE): Likewise.
47047 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47048 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47050 2012-03-21 David S. Miller <davem@davemloft.net>
47052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47054 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47056 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47057 of x86_64 when setting libc_cv_slibdir, libdir and
47059 * sysdeps/unix/sysv/linux/configure: Regenerated.
47061 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47063 * manual/lang.texi (Old Varargs): Remove section.
47064 (How Variadic): Update menu.
47065 (va_start): Do not mention varargs.h.
47067 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47068 Joseph Myers <joseph@codesourcery.com>
47070 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47072 * configure: Regenerated.
47074 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47076 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47077 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47080 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47083 * Makefile (files-for-dist): Remove NOTES.
47084 (NOTES): Remove rule.
47085 * README: Don't refer to NOTES.
47086 * manual/creature.texi: Don't include macros.texi.
47087 * manual/intro.texi (creature.texi): Remove comment referring to
47090 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47091 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47092 * configure: Regenerated.
47093 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47094 LIBC_TRY_CC_OPTION.
47095 (libc_cv_as_i686): Likewise.
47096 (libc_cv_cc_avx): Likewise.
47097 (libc_cv_cc_sse2avx): Likewise.
47098 (libc_cv_cc_fma4): Likewise.
47099 (libc_cv_cc_novzeroupper): Likewise.
47100 * sysdeps/i386/configure: Regenerated.
47103 * sysdeps/i386/fpu/s_cexp.S: Remove.
47104 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47105 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47106 * math/libm-test.inc (cexp_test): Add more tests.
47107 * sysdeps/i386/fpu/libm-test-ulps: Update.
47108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47110 2012-03-21 Allan McRae <allan@archlinux.org>
47112 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47114 2012-03-21 Joseph Myers <joseph@codesourcery.com>
47117 * math/w_exp2.c: Do not include <float.h>.
47118 (o_threshold, u_threshold): Remove.
47119 (__exp2): Calculate result before checking finiteness and calling
47121 * math/w_exp2f.c: Likewise.
47122 * math/w_exp2l.c: Likewise.
47123 * math/libm-test.inc (exp2_test): Require overflow exception for
47127 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47128 range of signed 64-bit integers before using fistpll. Remove
47129 checks for whether integers fit in mantissa bits.
47130 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47131 the range of signed 32-bit integers before using fistpl. Remove
47132 checks for whether integers fit in mantissa bits.
47133 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47134 (__ieee754_powl): Test for y outside the range of signed 64-bit
47135 integers before using fistpll. Reduce 64-bit values to 63-bit
47137 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47138 divide-by-zero is raised for zero to large negative powers.
47139 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47140 (__ieee754_powl): Test for y outside the range of signed 64-bit
47141 integers before using fistpll. Reduce 64-bit values to 63-bit
47143 * math/libm-test.inc (pow_test): Add more tests.
47145 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47147 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47148 <stdio-common/_itoa.h>.
47149 * debug/segfault.c: Likewise.
47150 * elf/dl-cache.c: Likewise.
47151 * elf/dl-minimal.c: Likewise.
47152 * elf/dl-misc.c: Likewise.
47153 * elf/dl-sysdep.c: Likewise.
47154 * elf/dl-version.c: Likewise.
47155 * elf/rtld.c: Likewise.
47156 * hurd/hurdsock.c: Likewise.
47157 * hurd/lookup-retry.c: Likewise.
47158 * malloc/malloc.c: Likewise.
47159 * malloc/mtrace.c: Likewise.
47160 * nscd/nscd_getgr_r.c: Likewise.
47161 * nscd/nscd_getpw_r.c: Likewise.
47162 * nscd/nscd_getserv_r.c: Likewise.
47163 * posix/getopt_init.c: Likewise.
47164 * posix/wordexp.c: Likewise.
47165 * stdio-common/_itoa.c: Likewise.
47166 * stdio-common/printf_fphex.c: Likewise.
47167 * stdio-common/vfprintf.c: Likewise.
47168 * string/_strerror.c: Likewise.
47169 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47170 * sysdeps/i386/i686/hp-timing.h: Likewise.
47171 * sysdeps/mach/_strerror.c: Likewise.
47172 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47173 * sysdeps/mach/hurd/sethostid.c: Likewise.
47174 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47175 * sysdeps/mach/xpg-strerror.c: Likewise.
47176 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47177 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47178 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47179 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47180 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47181 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47182 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47183 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47184 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47185 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47186 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47187 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47188 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47189 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47190 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47191 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47192 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47193 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47194 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47195 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47196 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47198 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47200 * stdio-common/_itoa.h: Moved to ...
47201 * sysdeps/generic/_itoa.h: Here.
47203 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47205 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47206 instead of "_itoa.h" and "_itowa.h".
47207 * stdio-common/vfprintf.: Likewise.
47209 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47211 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47213 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47214 (__signbit): Likwise.
47215 (llrintf): Likwise.
47218 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47220 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47223 2012-03-20 Joseph Myers <joseph@codesourcery.com>
47225 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47226 OVERFLOW_EXCEPTION_OK.
47227 * math/libm-test.inc ("Philosophy"): Update comment about
47229 (OVERFLOW_EXCEPTION): Define.
47230 (OVERFLOW_EXCEPTION_OK): Likewise.
47231 (INVALID_EXCEPTION_OK): Renumber.
47232 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47233 (IGNORE_ZERO_INF_SIGN): Likewise.
47234 (test_exceptions): Handle FE_OVERFLOW.
47235 (exp10_test): Expect overflow exceptions.
47236 (exp2_test): Likewise.
47237 (expm1_test): Likewise.
47238 (nextafter_test): Likewise.
47239 (pow_test): Likewise.
47240 (scalbn_test): Likewise.
47241 (scalbln_test): Likewise.
47243 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47245 * sysdeps/x86_64/bits/atomic.h
47246 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47248 (atomic_exchange_acq): Likewise.
47249 (__arch_exchange_and_add_body): Likewise.
47250 (__arch_add_body): Likewise.
47251 (atomic_add_negative): Likewise.
47252 (atomic_add_zero): Likewise.
47254 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47256 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47257 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47259 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47261 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47262 Check __x86_64__ instead of __WORDSIZE.
47264 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47266 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47268 2012-03-19 David S. Miller <davem@davemloft.net>
47270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47272 * sysdeps/sparc/fpu/fenv_private.h: New file.
47273 * sysdeps/sparc/fpu/math_private.h: Use it.
47274 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47276 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47277 (libc_feholdexcept_setroundl): Remove.
47278 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47280 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47281 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47283 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47285 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47286 int64_t instead of long int.
47287 (INSERT_WORDS64): Likwise.
47289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47291 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47292 _Unwind_GetCFA return to _Unwind_Ptr first.
47294 2012-03-19 Joseph Myers <joseph@codesourcery.com>
47297 * math/s_clog.c: Include <float.h>.
47298 (__clog): Scale large or subnormal inputs.
47299 * math/s_clogf.c: Likewise.
47300 * math/s_clogl.c: Likewise.
47301 * math/s_clog10.c: Include <float.h>.
47302 (M_LOG10_2): Define.
47303 (__clog10): Scale large or subnormal inputs.
47304 * math/s_clog10f.c: Likewise.
47305 * math/s_clog10l.c: Likewise.
47306 * math/libm-test.inc (clog_test): Add more tests.
47307 (clog10_test): Likewise.
47308 * sysdeps/i386/fpu/libm-test-ulps: Update.
47309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47312 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47314 * math/libm-test.inc (atan2_test): Add another test.
47316 * Makerules (common-objdir-compile): Remove.
47317 * sysdeps/unix/Makefile (config-generated): Do not add
47318 $(unix-generated) to variable.
47319 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47320 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47322 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47324 [generic bits/local_lim.h] (before-compile): Do not append to
47326 [generic bits/local_lim.h] (common-generated): Likewise.
47327 [generic sys/param.h] (before-compile): Do not append to variable.
47328 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47329 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47330 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47331 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47333 [generic sys/param.h] (sys/param.h-includes): Remove variable.
47334 [generic sys/param.h] (sys/param.h-includes): Remove rule.
47335 [generic sys/param.h] ($(addprefix
47336 $(common-objpfx),$(sys/param.h-includes))): Likewise.
47337 [generic sys/param.h] (common-generated): Do not append to
47339 [generic sys/param.h] (sysdep_headers): Likewise.
47340 [generic bits/errno.h] (before-compile): Do not append to
47342 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47344 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47345 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47346 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47347 [generic bits/errno.h] (common-generated): Do not append to
47349 [generic bits/ioctls.h] (before-compile): Do not append to
47351 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47353 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47354 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47355 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47357 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47358 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47359 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47360 [generic bits/ioctls.h] (common-generated): Do not append to
47362 [generic sys/syscall.h] (syscall.h): Remove variable.
47363 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47365 [generic sys/syscall.h] (before-compile): Do not append to
47367 [generic sys/syscall.h] (common-generated): Likewise.
47368 * sysdeps/unix/errnos-tmpl.c: Remove file.
47369 * sysdeps/unix/errnos.awk: Likewise.
47370 * sysdeps/unix/ioctls-tmpl.c: Likewise.
47371 * sysdeps/unix/ioctls.awk: Likewise.
47372 * sysdeps/unix/mk-local_lim.c: Likewise.
47373 * sysdeps/unix/snarf-ioctls: Likewise.
47375 2012-03-19 Richard Henderson <rth@twiddle.net>
47377 * sysdeps/i386/fpu/fenv_private.h: New file.
47378 * sysdeps/i386/fpu/math_private.h: Use it.
47379 (math_opt_barrier, math_force_eval): Remove.
47380 (libc_feholdexcept_setround_53bit): Remove.
47381 (libc_feupdateenv_53bit): Remove.
47382 * sysdeps/x86_64/fpu/math_private.h: Likewise.
47383 (math_opt_barrier, math_force_eval): Remove.
47384 (libc_feholdexcept): Remove.
47385 (libc_feholdexcept_setround): Remove.
47386 (libc_fetestexcept, libc_fesetenv): Remove.
47387 (libc_feupdateenv_test): Remove.
47388 (libc_feupdateenv, libc_feholdsetround): Remove.
47389 (libc_feresetround): Remove.
47391 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47392 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47394 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47395 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47396 (libc_feupdateenv_testl): New.
47397 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47398 (libc_feupdateenv_testf): New.
47399 (libc_feupdateenv): Use libc_feupdateenv_test.
47400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47403 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47404 (libc_feholdsetroundf, libc_feholdsetroundl): New.
47405 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47406 (libc_feresetround_noex): New.
47407 (libc_feresetround_noexf): New.
47408 (libc_feresetround_noexl): New.
47409 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47410 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47411 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47412 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47417 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47418 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47419 SET_RESTORE_ROUND_NOEX.
47420 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47421 SET_RESTORE_ROUND_NOEXF.
47422 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47423 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47424 (libc_feholdsetroundf): New.
47425 (libc_feresetround, libc_feresetroundf): New.
47427 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47428 (libc_feholdexcept_setround_53bit): Convert from macro to function.
47429 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
47431 * sysdeps/generic/math_private.h: Include <fenv.h>.
47432 (default_libc_feholdexcept): New.
47433 (default_libc_feholdexcept_setround): New.
47434 (default_libc_fesetenv, default_libc_feupdateenv): New.
47435 (libc_feholdexcept): Only define if undefined.
47436 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47437 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47438 (libc_feholdexcept_setroundl): Likewise.
47439 (libc_feholdexcept_setround_53bit): Likewise.
47440 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47441 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47442 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47443 (libc_feupdateenv_53bit): Likewise.
47444 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47445 (libc_feholdexcept): Convert from macro to inline function.
47446 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47447 (libc_fesetenv, libc_feupdateenv): Likewise.
47449 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47450 not previously defined.
47451 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47452 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47453 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47454 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47455 * sysdeps/ieee754/flt-32/math_private.h: New file.
47456 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47457 math_private.h below SET_FLOAT_WORD.
47458 (__isnan, __isinf_ns, __finite): Remove.
47459 (__isnanf, __isinf_nsf, __finitef): Remove.
47461 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
47463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47465 2012-03-17 David S. Miller <davem@davemloft.net>
47468 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47471 2012-03-16 David S. Miller <davem@davemloft.net>
47473 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47477 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47479 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47480 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47481 sysdep_routines when subdir is sysvipc.
47482 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47483 __getshmlba helper.
47485 * sysdeps/sparc/fpu/libm-test/ulps: Update.
47487 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47489 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47492 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47494 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47495 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47496 (__lround): Renamed to ...
47497 (__llround): This. Replace long int with long long int.
47498 Define lround functions as aliases of llround functions.
47499 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47501 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47503 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47504 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
47505 adresses to uintptr_t. Replace "long int" and "unsigned long
47506 int" with "greg_t" on va_arg.
47508 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47510 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47511 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47513 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47514 Move e_machine check before EI_CLASS check. Handle x32
47515 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47516 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47517 SKIP_EM_IA_64 and include
47518 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47520 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47521 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47522 (add_system_dir): New macro.
47524 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47525 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47527 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47538 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47540 * math/w_j0f.c (j0f): Likewise.
47542 * math/w_j0l.c (__j0l): Likewise.
47544 * math/w_j1.c (j1): Likewise.
47546 * math/w_j1f.c (j1f): Likewise.
47548 * math/w_j1l.c (__j1l): Likewise.
47550 * math/w_jn.c (jn): Likewise.
47552 * math/w_jnf.c (jnf): Likewise.
47554 * math/w_jnl.c (__jnl): Likewise.
47556 * math/libm-test.inc (j0_test): Add more tests.
47557 (j1_test): Likewise.
47558 (jn_test): Likewise. Add trailing semicolon to existing test.
47559 (y0_test): Likewise.
47560 (y1_test): Likewise.
47561 * sysdeps/i386/fpu/libm-test-ulps: Update.
47562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47566 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47567 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47568 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47569 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47570 (__tanl): Set errno for infinite argument.
47571 * sysdeps/i386/fpu/mptan.c: Remove.
47572 * sysdeps/i386/fpu/s_tan.S: Likewise.
47573 * sysdeps/i386/fpu/s_tanl.S: Likewise.
47574 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47575 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47576 * math/libm-test.inc (tan_test): Add more tests and enable more
47577 tests for double and long double.
47578 * sysdeps/i386/fpu/libm-test-ulps: Update.
47579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47581 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
47583 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47584 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47586 2012-03-16 Roland McGrath <roland@hack.frob.com>
47588 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47589 * configure.in: Use it for both main tree and add-ons.
47590 * configure: Regenerated.
47592 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
47594 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47596 2012-03-16 Joseph Myers <joseph@codesourcery.com>
47598 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47602 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47603 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47604 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47605 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47606 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47608 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47610 != 0 for prec == 2.
47611 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47612 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47613 * sysdeps/i386/fpu/s_cosl.S: Likewise.
47614 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47615 * sysdeps/i386/fpu/s_sinl.S: Likewise.
47616 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47617 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47618 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47619 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47620 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47621 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47622 * math/libm-test.inc (cos_test): Add more tests and enable more
47623 tests for long double.
47624 (sin_test): Likewise.
47625 (sincos_test): Likewise.
47626 * sysdeps/i386/fpu/libm-test-ulps: Update.
47627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47629 2012-03-16 David S. Miller <davem@davemloft.net>
47631 * sysdeps/sparc/fpu/math_private.h: New file.
47633 2012-03-15 David S. Miller <davem@davemloft.net>
47635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47649 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47650 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47652 * sysdeps/sparc/sparc-ifunc.h: New file.
47653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47698 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47700 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47704 2012-03-15 Andreas Jaeger <aj@suse.de>
47707 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47708 ieee754/flt-32 implementation for sin, cos and sincos.
47709 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47710 * sysdeps/i386/fpu/s_cosf.S: Likewise.
47711 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47712 * sysdeps/i386/fpu/s_sinf.S: Likewise.
47713 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47714 ieee754/flt-32 implementation for tan.
47716 * math/libm-test.inc (cos_test): Enable some large input tests for
47718 (sin_test): Likewise.
47719 (sincos_test): Likewise.
47720 (tan_test): Add tests for large input.
47722 * sysdeps/i386/fpu/libm-test-ulps: Update.
47724 2012-03-15 Andreas Jaeger <aj@suse.de>
47727 * math/libm-test.inc (cos_test): Add more test cases.
47728 (sin_test): Likewise.
47729 (sincos_test): Likewise.
47731 2012-03-15 Andreas Jaeger <aj@suse.de>
47734 * math/libm-test.inc (cos_test): Add a test case for large input
47736 (sin_test): Likewise.
47737 (sincos_test): Likewise.
47739 2012-03-15 Andreas Jaeger <aj@suse.de>
47740 Joseph Myers <joseph@codesourcery.com>
47743 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47744 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47745 * sysdeps/i386/fpu/branred.c: Likewise.
47746 * sysdeps/i386/fpu/dosincos.c: Likewise.
47747 * sysdeps/i386/fpu/mpa.c: Likewise.
47748 * sysdeps/i386/fpu/s_cos.S: Likewise.
47749 * sysdeps/i386/fpu/s_sin.S: Likewise.
47750 * sysdeps/i386/fpu/s_sincos.S: Likewise.
47751 * sysdeps/i386/fpu/sincos32.c: Likewise.
47753 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47755 (libc_feupdateenv_53bit): Define.
47756 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47758 (libc_feupdateenv_53bit): Define.
47760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47761 53 bit (without extend i386 double precision).
47763 * math/libm-test.inc (sincos_test): Add tests for large input.
47767 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47769 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
47771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47773 2012-03-15 David S. Miller <davem@davemloft.net>
47775 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47776 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47777 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47778 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47803 fmin/fmax sysdep routines.
47804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47806 2012-03-14 David S. Miller <davem@davemloft.net>
47808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47833 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47880 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47885 * sysdeps/sparc/configure.in: New file.
47886 * sysdeps/sparc/configure: Generate.
47887 * configure.in (libc_cv_sparc_as_vis3): Substitute.
47888 * configure: Regenerate.
47889 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47890 * config.make.in (have-as-vis3): New.
47891 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47892 available use -Av9d instead of -Av9a.
47893 * sysdeps/sparc/sparc64/Makefile: Likewise.
47894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47909 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47910 fzeros/fnegs to load 0x80000000 into a float register instead of
47912 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47914 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47918 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47919 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47920 ($(inst_includedir)/bits/syscall.h): Remove rule.
47921 ($(objpfx)bits/syscall.d): Include instead of
47922 $(objpfx)syscall-list.d.
47923 (generated): Change syscall-list.h and syscall-list.d to
47924 bits/syscall.h and bits/syscall.d.
47926 2012-03-14 Roland McGrath <roland@hack.frob.com>
47929 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47931 2012-03-14 Joseph Myers <joseph@codesourcery.com>
47934 * math/s_csqrt.c: Include <float.h>.
47935 (__csqrt): Scale large or subnormal inputs.
47936 * math/s_csqrtf.c: Likewise.
47937 * math/s_csqrtl.c: Likewise.
47938 * math/libm-test.inc (csqrt_test): Add more tests.
47939 * sysdeps/i386/fpu/libm-test-ulps: Update.
47940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47943 * math/libm-test.inc (hypot_test): Add more tests.
47945 2012-03-13 David S. Miller <davem@davemloft.net>
47948 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47949 double-precision for the calculation instead of scaling.
47951 2012-03-13 Joseph Myers <joseph@codesourcery.com>
47953 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47954 manipulate bits before adding and subtracting TWO52[sx].
47955 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47960 2012-03-13 David S. Miller <davem@davemloft.net>
47962 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47963 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47965 rtld-global-offsets.h
47966 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47968 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47971 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47973 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47974 'err' in the ifdef scope in which it is actually used.
47976 * nss/nss_db/db-init.c: Include string.h
47978 2012-03-12 David S. Miller <davem@davemloft.net>
47980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47981 masking out of the most significant byte of random value used.
47982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47983 Fix coding style in previous change.
47985 * sysdeps/unix/sysv/linux/kernel-features.h
47986 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47987 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47989 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47992 2012-03-11 David S. Miller <davem@davemloft.net>
47994 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47995 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47996 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47997 for 'resultvar' otherwise things get truncated on 64-bit.
47999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48000 Fix masking out of the most significant byte of random value used.
48002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48004 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48008 2012-03-09 David S. Miller <davem@davemloft.net>
48010 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48011 variables with appropriate CPP guards.
48012 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48013 from the frame pointer, not the stack pointer. Correct layout
48014 comments. Fix test on resulting framesize and the management of
48015 the outregs buffer for pltexit. Preserve floating point return
48016 values across _dl_call_pltexit call.
48017 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48018 framesize and the management of the outregs buffer for pltexit.
48019 Preserve floating point return values across _dl_call_pltexit
48021 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48022 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48023 (la_sparc64_gnu_pltexit): New functions.
48024 (print_exit): Fix format string for return register value.
48026 2012-03-10 Joseph Myers <joseph@codesourcery.com>
48028 * sunrpc/Makefile (others): Add rpcgen.
48029 ($(objpfx)rpcgen): Remove special build rule and dependency on
48031 * sunrpc/rpcgen.c: New file.
48033 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48036 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48037 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48038 * sysdeps/i386/crti.S: Likewise.
48039 * sysdeps/i386/crtn.S: Likewise.
48040 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48041 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48042 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48043 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48044 * sysdeps/sh/crti.S: Likewise.
48045 * sysdeps/sh/crtn.S: Likewise.
48046 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48049 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48051 * locale/programs/locfile-kw.gperf: Likewise.
48052 * locale/programs/charmap-kw.h: Regenerated.
48053 * locale/programs/locfile-kw.h: Likewise.
48056 * intl/plural.y: Replace FSF snail mail address with URL.
48057 * intl/plural.c: Regenerated.
48059 2012-03-09 Richard Henderson <rth@twiddle.net>
48061 * include/math_private.h: Remove file.
48062 * math/math_private.h: Move file ...
48063 * sysdeps/generic/math_private.h: ... here.
48065 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48066 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48067 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48069 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48070 and <math_private.h>.
48071 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48072 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48073 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48074 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48075 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48076 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48077 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48079 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48080 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48083 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48084 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48085 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48086 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48087 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48088 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48089 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48090 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48092 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48093 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48095 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48096 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48097 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48098 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48099 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48100 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48101 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48103 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48104 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48105 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48106 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48107 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48108 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48109 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48111 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48112 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48113 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48114 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48115 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48116 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48117 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48118 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48119 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48120 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48121 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48122 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48123 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48124 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48125 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48126 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48127 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48128 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48129 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48130 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48131 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48132 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48133 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48134 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48135 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48136 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48137 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48138 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48139 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48140 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48141 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48143 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48145 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48148 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48149 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48150 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48151 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48152 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48153 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48154 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48155 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48157 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48158 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48159 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48162 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48164 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48165 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48166 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48167 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48168 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48170 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48171 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48172 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48173 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48174 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48175 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48176 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48177 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48178 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48179 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48180 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48181 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48182 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48183 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48184 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48185 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48186 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48187 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48188 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48189 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48190 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48191 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48192 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48193 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48194 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48195 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48196 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48197 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48198 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48199 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48200 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48201 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48202 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48203 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48204 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48205 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48206 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48207 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48208 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48209 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48210 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48211 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48212 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48213 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48214 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48215 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48216 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48217 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48218 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48219 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48220 * sysdeps/ieee754/k_standard.c: Likewise.
48221 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48222 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48223 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48224 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48225 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48226 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48227 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48228 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48229 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48230 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48231 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48232 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48233 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48234 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48235 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48236 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48237 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48238 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48239 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48240 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48241 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48242 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48243 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48244 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48245 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48246 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48247 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48248 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48249 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48250 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48251 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48252 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48253 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48254 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48255 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48256 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48257 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48258 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48259 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48260 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48261 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48262 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48263 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48264 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48265 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48266 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48267 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48269 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48270 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48272 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48273 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48274 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48275 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48276 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48277 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48278 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48279 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48280 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48281 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48282 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48283 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48285 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48286 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48287 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48288 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48289 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48290 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48291 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48293 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48294 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48295 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48296 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48297 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48298 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48300 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48301 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48302 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48303 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48304 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48305 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48306 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48307 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48308 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48309 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48311 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48312 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48313 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48314 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48316 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48317 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48318 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48319 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48320 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48322 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48324 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48325 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48326 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48327 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48328 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48329 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48330 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48331 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48332 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48333 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48334 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48335 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48336 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48337 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48338 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48339 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48340 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48342 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48343 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48344 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48345 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48346 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48347 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48348 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48349 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48350 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48351 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48352 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48353 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48354 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48355 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48356 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48357 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48358 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48359 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48360 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48361 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48362 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48363 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48364 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48365 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48366 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48367 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48368 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48369 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48370 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48371 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48372 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48373 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48374 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48375 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48376 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48377 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48378 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48380 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48381 * sysdeps/ieee754/s_lib_version.c: Likewise.
48382 * sysdeps/ieee754/s_matherr.c: Likewise.
48383 * sysdeps/ieee754/s_signgam.c: Likewise.
48384 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48385 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48386 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48387 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48388 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48389 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48390 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48391 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48392 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48393 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48394 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48395 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48396 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48397 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48398 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48399 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48400 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48401 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48402 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48406 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48408 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48409 * sunrpc/rpc_main.c: Likewise.
48410 * sunrpc/rpc_svcout.c: Likewise.
48412 2012-03-09 David S. Miller <davem@davemloft.net>
48414 * include/math_private.h: New file.
48416 2012-03-09 Joseph Myers <joseph@codesourcery.com>
48418 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48419 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48420 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48421 from <bits/socket_type.h>.
48422 (enum __socket_type): Don't define here.
48423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48425 bits/socket_type.h.
48428 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48429 checking __USE_GNU.
48431 * Makerules ($(inst_includedir)/%.h): New rule.
48432 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48433 (install-others): Remove variable setting.
48434 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48436 2012-03-08 Richard Henderson <rth@twiddle.net>
48438 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48439 from macro to inline function; merge with the
48440 !__LIBC_INTERNAL_MATH_INLINES version.
48441 (__ieee754_sqrtf): Likewise.
48443 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48444 to inline function.
48445 (__rintf, __floor, __floorf): Likewise.
48447 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48448 macro to inline function.
48449 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48451 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48452 not <math/math_private.h>.
48454 2012-03-08 David S. Miller <davem@davemloft.net>
48456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48458 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48460 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
48462 * resolv/gai_misc.c (handle_requests): Fix struct timespec
48464 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48465 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48467 2012-03-08 Ulrich Drepper <drepper@gmail.com>
48469 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
48470 be defined individually, they must be defined as a block. Define
48471 S for printing a string instead of hidint the different by using a
48472 macro for adding the 'l'.
48473 * stdio-common/tst-fphex-wide.c: Adjust.
48475 2012-03-07 Marek Polacek <polacek@redhat.com>
48477 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48479 2012-03-08 Marek Polacek <polacek@redhat.com>
48482 * stdio-common/Makefile (tests): Add tst-fphex-wide.
48483 * stdio-common/tst-fphex.c: Define a few macros to make the
48484 test reusable. Use them.
48485 * stdio-common/tst-fphex-wide.c: New file.
48487 2012-03-08 Joseph Myers <joseph@codesourcery.com>
48490 * manual/macros.texi (gnusystems): New macro.
48491 (nongnusystems): Likewise.
48492 (gnulinuxhurdsystems): Likewise.
48493 (gnuhurdsystems): Likewise..
48494 (gnulinuxsystems): Likewise.
48495 * manual/charset.texi: Use new macros or @theglibc{} to refer to
48496 variants of the GNU system, not "GNU system".
48497 * manual/conf.texi: Likewise.
48498 * manual/errno.texi: Likewise. Update example of errno macro
48500 * manual/filesys.texi: Likewise.
48501 (getumask): Document as specific to GNU/Hurd.
48502 * manual/install.texi: Likewise. Reword some references to
48504 * manual/intro.texi: Likewise.
48505 * manual/io.texi: Likewise.
48506 (File Name Portability): Detail which constraints are inapplicable
48507 to all GNU systems and which are only inapplicable to GNU/Hurd.
48508 * manual/job.texi: Likewise.
48509 * manual/llio.texi: Likewise.
48510 (O_NOCTTY): Document as present on GNU/Linux.
48511 * manual/maint.texi: Likewise.
48512 * manual/memory.texi: Likewise.
48513 * manual/pattern.texi: Likewise.
48514 * manual/pipe.texi: Likewise.
48515 * manual/process.texi: Likewise.
48516 * manual/resource.texi: Likewise.
48517 (RUSAGE_CHILDREN): Remove statement about specifying a particular
48519 * manual/setjmp.texi: Likewise.
48520 * manual/signal.texi: Likewise.
48521 * manual/startup.texi: Likewise.
48522 * manual/stdio.texi: Likewise.
48523 * manual/terminal.texi: Likewise.
48524 (ONLCR): Document as POSIX.
48525 (OXTABS): Document availability on GNU/Linux as XTABS.
48526 (ONOEOT): Document availability separately from other bits.
48527 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48528 * manual/time.texi: Likewise.
48529 * manual/users.texi: Likewise.
48530 * INSTALL: Regenerated.
48531 * sysdeps/gnu/errlist.c: Regenerated.
48533 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48534 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48535 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
48537 * configure: Regenerated.
48539 2012-03-07 Joseph Myers <joseph@codesourcery.com>
48541 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48542 default includes instead of AC_HEADER_CHECK.
48543 * sysdeps/i386/configure: Regenerated.
48546 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48547 * math/s_cacoshf.c (__cacoshf): Likewise.
48548 * math/s_cacoshl.c (__cacoshl): Likewise.
48549 * math/s_casinh.c (__casinh): Set signs of result from argument.
48550 * math/s_casinhf.c (__casinhf): Likewise.
48551 * math/s_casinhl.c (__casinhl): Likewise.
48552 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48553 (casinh_test): Add more tests.
48554 * sysdeps/i386/fpu/libm-test-ulps: Update.
48555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48557 2012-03-07 Ulrich Drepper <drepper@gmail.com>
48559 * po/zh_TW.po: Update from translation team.
48561 * login/Makefile (distribute): Remove variable.
48562 * catgets/Makefile: Likewise.
48563 * mach/Makefile: Likewise.
48564 * malloc/Makefile: Likewise.
48565 * misc/Makefile: Likewise.
48566 * iconv/Makefile: Likewise.
48567 * nscd/Makefile: Likewise.
48568 * hurd/Makefile: Likewise.
48569 * manual/Makefile: Likewise.
48570 * locale/Makefile: Likewise.
48571 * intl/Makefile: Likewise.
48572 * conform/Makefile: Likewise.
48573 * nss/Makefile: Likewise.
48574 * time/Makefile: Likewise.
48575 * soft-fp/Makefile: Likewise.
48576 * dirent/Makefile: Likewise.
48577 * gmon/Makefile: Likewise.
48578 * po/Makefile: Likewise.
48579 * rt/Makefile: Likewise.
48580 * socket/Makefile: Likewise.
48581 * math/Makefile: Likewise.
48582 * signal/Makefile: Likewise.
48583 * debug/Makefile: Likewise.
48584 * elf/Makefile: Likewise.
48585 * timezone/Makefile: Likewise.
48586 * stdlib/Makefile: Likewise.
48587 * iconvdata/Makefile: Likewise.
48588 * sunrpc/Makefile: Likewise.
48589 * io/Makefile: Likewise.
48590 * argp/Makefile: Likewise.
48591 * inet/Makefile: Likewise.
48592 * hesiod/Makefile: Likewise.
48593 * grp/Makefile: Likewise.
48594 * csu/Makefile: Likewise.
48595 * wctype/Makefile: Likewise.
48596 * crypt/Makefile: Likewise.
48597 * libio/Makefile: Likewise.
48598 * string/Makefile: Likewise.
48599 * nis/Makefile: Likewise.
48600 * resolv/Makefile: Likewise.
48601 * stdio-common/Makefile: Likewise.
48602 * wcsmbs/Makefile: Likewise.
48603 * dlfcn/Makefile: Likewise.
48604 * posix/Makefile: Likewise.
48607 * timezone/Makefile: Don't install timezone files, just the programs
48610 2012-03-06 Ulrich Drepper <drepper@gmail.com>
48612 * nss/databases.def: Add missing gshadow entry.
48614 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
48616 2012-03-06 Marek Polacek <polacek@redhat.com>
48619 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48620 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48621 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48622 * stdio-common/tst-long-dbl-fphex.c: New file.
48624 2012-03-06 David S. Miller <davem@davemloft.net>
48626 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48627 (set_obp_int): New function.
48628 (get_obp_int): New function.
48629 (__get_clockfreq_via_dev_openprom): Likewise.
48630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48631 Avoid unused variable warnings on 'val' and use builtin_expect.
48632 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48634 (INLINE_CLONE_SYSCALL): Likewise.
48636 2012-03-05 David S. Miller <davem@davemloft.net>
48638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48640 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
48642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48644 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48645 only for |x| >= 40.
48646 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48648 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
48650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48651 Replace gettimeofday with __vdso_gettimeofday.
48653 * sysdeps/unix/sysv/linux/x86_64/init-first.c
48654 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48655 __vdso_clock_gettime and __vdso_getcpu.
48657 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48658 time with __vdso_time.
48660 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48662 * manual/lang.texi (size_t): Note types to which size_t may be
48663 equivalent with the GNU C Library, but do not describe when
48664 differences between them are significant.
48666 2012-03-05 Andreas Jaeger <aj@suse.de>
48668 * sysdeps/i386/fpu/libm-test-ulps: Update.
48670 2012-03-05 Joseph Myers <joseph@codesourcery.com>
48673 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48674 (__ieee754_pow): Save and restore rounding mode and use
48675 round-to-nearest for main computations.
48676 * math/libm-test.inc (pow_test_tonearest): New function.
48677 (pow_test_towardzero): Likewise.
48678 (pow_test_downward): Likewise.
48679 (pow_test_upward): Likewise.
48680 (main): Call the new functions.
48681 * sysdeps/i386/fpu/libm-test-ulps: Update.
48682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48685 * math/libm-test.inc (cosh_test_tonearest): New function.
48686 (cosh_test_towardzero): Likewise.
48687 (cosh_test_downward): Likewise.
48688 (cosh_test_upward): Likewise.
48689 (sinh_test_tonearest): Likewise.
48690 (sinh_test_towardzero): Likewise.
48691 (sinh_test_downward): Likewise.
48692 (sinh_test_upward): Likewise.
48693 (main): Call the new functions.
48694 * sysdeps/i386/fpu/libm-test-ulps: Update.
48695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48697 2012-03-05 Tom de Vries <tom@codesourcery.com>
48699 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48700 default stack guard is set in last bytes.
48701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48703 2012-03-05 Kees Cook <keescook@chromium.org>
48705 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48708 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48709 possibly allocate from heap instead of stack.
48710 * stdio-common/bug-vfprintf-nargs.c: New file.
48711 * stdio-common/Makefile (tests): Add nargs overflow test.
48713 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
48715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48717 2012-03-03 Marek Polacek <polacek@redhat.com>
48719 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48720 * math/math_private.h: Likewise.
48721 * stdlib/tst-strtod.c: Likewise.
48722 * sysdeps/i386/i486/bits/atomic.h: Likewise.
48723 * sysdeps/x86_64/bits/atomic.h: Likewise.
48725 2012-03-02 David S. Miller <davem@davemloft.net>
48727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48731 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48732 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48733 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48734 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48736 2012-03-02 Roland McGrath <roland@hack.frob.com>
48739 * manual/examples/README: New file, says the example source files
48740 can be used under GPL>=2.
48741 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48742 line containing just "*/".
48743 * manual/examples/add.c: Add copyright header (GPL>=2).
48744 * manual/examples/argp-ex1.c: Likewise.
48745 * manual/examples/argp-ex2.c: Likewise.
48746 * manual/examples/argp-ex3.c: Likewise.
48747 * manual/examples/argp-ex4.c: Likewise.
48748 * manual/examples/atexit.c: Likewise.
48749 * manual/examples/db.c: Likewise.
48750 * manual/examples/dir.c: Likewise.
48751 * manual/examples/dir2.c: Likewise.
48752 * manual/examples/execinfo.c: Likewise.
48753 * manual/examples/filecli.c: Likewise.
48754 * manual/examples/filesrv.c: Likewise.
48755 * manual/examples/fmtmsgexpl.c: Likewise.
48756 * manual/examples/genpass.c: Likewise.
48757 * manual/examples/inetcli.c: Likewise.
48758 * manual/examples/inetsrv.c: Likewise.
48759 * manual/examples/isockad.c: Likewise.
48760 * manual/examples/longopt.c: Likewise.
48761 * manual/examples/memopen.c: Likewise.
48762 * manual/examples/memstrm.c: Likewise.
48763 * manual/examples/mkfsock.c: Likewise.
48764 * manual/examples/mkisock.c: Likewise.
48765 * manual/examples/mygetpass.c: Likewise.
48766 * manual/examples/pipe.c: Likewise.
48767 * manual/examples/popen.c: Likewise.
48768 * manual/examples/rprintf.c: Likewise.
48769 * manual/examples/search.c: Likewise.
48770 * manual/examples/select.c: Likewise.
48771 * manual/examples/setjmp.c: Likewise.
48772 * manual/examples/sigh1.c: Likewise.
48773 * manual/examples/sigusr.c: Likewise.
48774 * manual/examples/stpcpy.c: Likewise.
48775 * manual/examples/strdupa.c: Likewise.
48776 * manual/examples/strftim.c: Likewise.
48777 * manual/examples/strncat.c: Likewise.
48778 * manual/examples/subopt.c: Likewise.
48779 * manual/examples/swapcontext.c: Likewise.
48780 * manual/examples/termios.c: Likewise.
48781 * manual/examples/testopt.c: Likewise.
48782 * manual/examples/testpass.c: Likewise.
48783 * manual/examples/timeval_subtract.c: Likewise.
48786 * manual/time.texi (Elapsed Time): Move timeval_subtract example
48788 * manual/timeval_subtract.c.texi: ... here, new file.
48790 2012-03-02 David S. Miller <davem@davemloft.net>
48792 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48794 2012-03-02 Joseph Myers <joseph@codesourcery.com>
48797 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48798 (__sin): Save and restore rounding mode and use round-to-nearest
48799 for all computations.
48800 (__cos): Save and restore rounding mode and use round-to-nearest
48801 for all computations.
48802 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48804 (tan): Save and restore rounding mode and use round-to-nearest for
48806 * math/libm-test.inc (cos_test_tonearest): New function.
48807 (cos_test_towardzero): Likewise.
48808 (cos_test_downward): Likewise.
48809 (cos_test_upward): Likewise.
48810 (sin_test_tonearest): Likewise.
48811 (sin_test_towardzero): Likewise.
48812 (sin_test_downward): Likewise.
48813 (sin_test_upward): Likewise.
48814 (tan_test_tonearest): Likewise.
48815 (tan_test_towardzero): Likewise.
48816 (tan_test_downward): Likewise.
48817 (tan_test_upward): Likewise.
48818 (main): Call the new functions.
48819 * sysdeps/i386/fpu/libm-test-ulps: Update.
48820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48823 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48824 small n, then large n, before computing and testing k+n.
48825 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48830 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48831 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48832 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48833 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48834 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48835 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48836 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48837 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48838 * math/libm-test.inc (scalbn_test): Add more tests.
48839 (scalbln_test): Likewise.
48841 * manual/filesys.texi (mode_t): Describe constraints on size and
48842 signedness, not exact equivalence to a particular type.
48844 (ino64_t): Likewise.
48846 (nlink_t): Likewise.
48847 (blkcnt_t): Likewise.
48848 (blkcnt64_t): Likewise.
48849 * manual/llio.texi (off_t): Likewise.
48852 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48853 (__ieee754_exp): Save and restore rounding mode and use
48854 round-to-nearest for all computations.
48855 * math/libm-test.inc (exp_test_tonearest): New function.
48856 (exp_test_towardzero): Likewise.
48857 (exp_test_downward): Likewise.
48858 (exp_test_upward): Likewise.
48859 (main): Call the new functions.
48860 * sysdeps/i386/fpu/libm-test-ulps: Update.
48861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48863 2012-03-01 Chris Demetriou <cgd@google.com>
48865 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48866 have predictable order.
48868 2012-03-01 David S. Miller <davem@davemloft.net>
48870 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48872 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48873 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48874 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48875 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48877 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48878 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48879 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48881 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48882 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48883 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48884 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48885 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48890 * sysdeps/sparc/fpu/libm-test-ulps: to here.
48891 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48893 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48894 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48895 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48896 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48897 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48898 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48899 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48900 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48901 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48902 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48903 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48904 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48906 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48907 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48909 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48910 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48911 * sysdeps/sparc/elf/configure: Regenerated.
48913 2012-03-01 Joseph Myers <joseph@codesourcery.com>
48915 * configure.in (AS, LD): Require binutils 2.20 or later.
48916 * configure: Regenerated.
48917 * manual/install.texi (Tools for Compilation): Give binutils 2.20
48918 as required minimum version.
48919 * INSTALL: Regenerated.
48923 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48924 before squaring exponent.
48925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48926 bottom long double and 27 bits of top long double before squaring
48928 * math/libm-test.inc (erfc_test): Add more tests.
48929 * sysdeps/i386/fpu/libm-test-ulps: Update.
48930 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48933 2012-03-01 Kai Tietz <ktietz@redhat.com>
48935 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48936 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48937 containing bit-fields.
48938 * soft-fp/extended.h (_FP_UNION_E): Likewise.
48939 * soft-fp/single.h (_FP_UNION_S): Likewise.
48940 * soft-fp/double.h (_FP_UNION_D): Likewise.
48942 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48945 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48946 not include ../strcmp.S.
48947 [USE_AS_STRNCASECMP_L]: Likewise.
48948 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48949 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48950 * sysdeps/i386/i686/multiarch/strncase_l-c.c
48951 (__strncasecmp_l_ia32): Define as alias to
48952 __strncasecmp_l_nonascii.
48955 * math/libm-test.inc (expm1_test): Add test for bug 5794.
48956 * sysdeps/i386/fpu/libm-test-ulps: Update.
48957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48959 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48962 2012-02-29 Jeff Law <law@redhat.com>
48964 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48965 out of bounds read.
48967 2012-02-29 Marek Polacek <polacek@redhat.com>
48970 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48971 * elf/Makefile: Add rules to run tst-unused-dep.out.
48973 2012-02-28 David S. Miller <davem@davemloft.net>
48975 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48976 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48977 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48979 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48980 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48982 2012-02-29 Joseph Myers <joseph@codesourcery.com>
48984 * math/libm-test.inc (llround_test): Move one test from
48985 lround_test. Use TEST_f_L in moved test.
48986 (lround_test): Move misplaced test to llround_test. Add testcase
48989 2012-02-28 Ulrich Drepper <drepper@gmail.com>
48991 * sysdeps/x86_64/fpu/e_expf.S: New file.
48992 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48994 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
48997 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48998 of remain_len that may cause incomplete multi-byte character and
49000 * posix/bug-regex33.c: New file.
49001 * posix/Makefile (tests): Add bug-regex33.
49003 2012-02-28 Joseph Myers <joseph@codesourcery.com>
49005 * manual/macros.texi: New file.
49006 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49007 * manual/libc.texinfo: Include macros.texi.
49008 * manual/creatute.texi: Likewise.
49009 * manual/install.texi: Likewise.
49010 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49011 @glibcadj{} in references to the GNU C Library.
49012 * manual/charset.texi: Likewise.
49013 * manual/conf.texi: Likewise.
49014 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49015 when not using those macros.
49016 * manual/creature.texi: Likewise.
49017 * manual/crypt.texi: Likewise.
49018 * manual/errno.texi: Likewise.
49019 * manual/filesys.texi: Likewise.
49020 * manual/header.texi: Likewise.
49021 * manual/install.texi: Likewise.
49022 * manual/intro.texi: Likewise.
49023 * manual/io.texi: Likewise.
49024 * manual/job.texi: Likewise.
49025 * manual/lang.texi: Likewise.
49026 * manual/libc.texiinfo: Likewise.
49027 * manual/llio.texi: Likewise.
49028 * manual/locale.texi: Likewise.
49029 * manual/maint.texi: Likewise.
49030 * manual/math.texi: Likewise.
49031 * manual/memory.texi: Likewise.
49032 * manual/message.texi: Likewise.
49033 * manual/nss.texi: Likewise.
49034 * manual/pattern.texi: Likewise.
49035 * manual/process.texi: Likewise.
49036 * manual/resource.texi: Likewise.
49037 * manual/search.texi: Likewise.
49038 * manual/setjmp.texi: Likewise.
49039 * manual/signal.texi: Likewise.
49040 * manual/socket.texi: Likewise.
49041 * manual/startup.texi: Likewise.
49042 * manual/stdio.texi: Likewise.
49043 * manual/string.texi: Likewise.
49044 * manual/sysinfo.texi: Likewise.
49045 * manual/syslog.texi: Likewise.
49046 * manual/terminal.texi: Likewise.
49047 * manual/time.texi: Likewise.
49048 * manual/users.texi: Likewise.
49049 * INSTALL: Regenerated.
49050 * NOTES: Regenerated.
49051 * sysdeps/gnu/errlist.c: Regenerated.
49053 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49055 * include/dirent.h: Include <dirstream.h> before
49058 2012-02-28 David S. Miller <davem@davemloft.net>
49060 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49061 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49062 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49063 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49065 2012-02-27 David S. Miller <davem@davemloft.net>
49067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49069 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49070 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49073 frame pointer instead of stack pointer relative arg slot.
49074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49075 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49076 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49078 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49081 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49083 2012-02-27 David S. Miller <davem@davemloft.net>
49085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49089 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49090 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49091 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49092 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49094 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49096 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49097 later. Allow versions 5-9.
49098 * configure: Regenerated.
49099 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49100 required minimum version and 4.6 as recommended version. Do not
49101 mention bugs in GCC 2.7 and 2.8.
49102 * INSTALL: Regenerated.
49104 2012-02-27 David S. Miller <davem@davemloft.net>
49106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49110 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49111 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49112 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49113 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49115 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49116 manipulate bits before adding and subtracting TWO112[sx].
49117 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49119 2012-02-27 Roland McGrath <roland@hack.frob.com>
49122 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49123 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49124 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49125 being in POSIX, because they are in 1003.1-2008.
49127 * rt/tst-aio.c: Include <fcntl.h>.
49128 * rt/tst-aio7.c: Likewise.
49129 * rt/tst-aio64.c: Likewise.
49131 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49133 2012-02-27 Joseph Myers <joseph@codesourcery.com>
49135 * manual/install.texi (--with-headers): Describe headers as
49136 interface headers, not private headers.
49137 (Specific advice for GNU/Linux systems): Describe use of headers
49138 from "make headers_install", not private headers from older
49140 * INSTALL: Regenerated.
49141 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49143 * sysdeps/unix/sysv/linux/configure: Regenerated.
49145 * manual/llio.texi (fclean): Remove documentation.
49147 * manual/Makefile (libc-texi-generated): New variable. Include
49149 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49150 $(libc-texi-generated), not duplicated list of files.
49151 (version.texi, stamp-version): New rules.
49152 (realclean): Remove $(libc-texi-generated), not individual files
49153 from that list. Do not remove dir-add.texinfo.
49154 * manual/libc.texinfo: Comment out uses of edition numbers and
49155 references to printed manual. Remove last-updated dates.
49156 (EDITION): Comment out.
49158 (VERSION, UPDATED): Remove.
49159 (version.texi): Include.
49161 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49163 * sysdeps/posix/spawni.c: Include <signal.h>.
49164 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49165 * sysdeps/pthread/aio_fsync.c: Likewise.
49167 2012-02-26 Ulrich Drepper <drepper@gmail.com>
49169 * conform/Makefile (tests): Run only when not cross-compiling and
49170 when fast-check is not defined.
49172 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49173 * conform/data/limits.h-data: Fixes for POSIX2008.
49174 * conform/run-conformtest.sh: Run all tests.
49175 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49177 * include/bits/dlfcn.h: Likewise.
49178 * include/langinfo.h: Likewise.
49179 * include/monetary.h: Likewise.
49180 * include/sys/poll.h: Likewise.
49182 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49184 * posix/spawn.h: Define __need_sigset_t.
49185 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49186 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49187 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49188 to get sigevent_t only.
49189 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49190 only for __USE_GNU.
49191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49192 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49193 process_vm_writev only for __USE_GNU.
49194 * termios/termios.h: Declare tcgetsid also for POSIX2008.
49196 * conform/Makefile: For now ignore errors from run-conformtest.
49197 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49198 POSIX to avoid namespace pollution. Don't prepend headers.
49199 * conform/data/aio.h-data: Fixes for POSIX testing.
49200 * conform/data/fcntl.h-data: Likewise.
49201 * conform/data/glob.h-data: Likewise.
49202 * conform/data/grp.h-data: Likewise.
49203 * conform/data/pthread.h-data: Likewise.
49204 * conform/data/pwd.h-data: Likewise.
49205 * conform/data/signal.h-data: Likewise.
49206 * conform/data/spawn.h-data: Likewise.
49207 * conform/data/stdio.h-data: Likewise.
49208 * conform/data/stdlib.h-data: Likewise.
49209 * conform/data/stropts.h-data: Likewise.
49210 * conform/data/sys/mman.h-data: Likewise.
49211 * conform/data/sys/stat.h-data: Likewise.
49212 * conform/data/sys/types.h-data: Likewise.
49213 * conform/data/sys/wait.h-data: Likewise.
49214 * conform/data/time.h-data: Likewise.
49215 * conform/data/unistd.h-data: Likewise.
49216 * conform/data/utime.h-data: Likewise.
49218 * io/sys/stat.h: fchmod was always in POSIX.
49219 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49220 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49221 * rt/aio.h: Define __need_timespec before including <time.h>.
49222 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49223 struct. Add forward declaration of pthread_attr_t and use it in
49225 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49226 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49227 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49228 always remove CLK_TCK definition.
49230 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49232 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49234 2012-02-25 Ulrich Drepper <drepper@gmail.com>
49236 * conform/run-conformtest.sh: New file.
49237 * conform/Makefile: Run run-conformtest for tests.
49238 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49241 * conform/data/uchar.h-data: New file.
49242 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49243 * conform/data/arpa/inet.h-data: Likewise.
49244 * conform/data/assert.h-data: Likewise.
49245 * conform/data/complex.h-data: Likewise.
49246 * conform/data/cpio.h-data: Likewise.
49247 * conform/data/ctype.h-data: Likewise.
49248 * conform/data/dirent.h-data: Likewise.
49249 * conform/data/dlfcn.h-data: Likewise.
49250 * conform/data/errno.h-data: Likewise.
49251 * conform/data/fcntl.h-data: Likewise.
49252 * conform/data/float.h-data: Likewise.
49253 * conform/data/fmtmsg.h-data: Likewise.
49254 * conform/data/fnmatch.h-data: Likewise.
49255 * conform/data/ftw.h-data: Likewise.
49256 * conform/data/glob.h-data: Likewise.
49257 * conform/data/grp.h-data: Likewise.
49258 * conform/data/iconv.h-data: Likewise.
49259 * conform/data/inttypes.h-data: Likewise.
49260 * conform/data/langinfo.h-data: Likewise.
49261 * conform/data/libgen.h-data: Likewise.
49262 * conform/data/limits.h-data: Likewise.
49263 * conform/data/locale.h-data: Likewise.
49264 * conform/data/math.h-data: Likewise.
49265 * conform/data/monetary.h-data: Likewise.
49266 * conform/data/mqueue.h-data: Likewise.
49267 * conform/data/ndbm.h-data: Likewise.
49268 * conform/data/net/if.h-data: Likewise.
49269 * conform/data/netdb.h-data: Likewise.
49270 * conform/data/netinet/in.h-data: Likewise.
49271 * conform/data/nl_types.h-data: Likewise.
49272 * conform/data/poll.h-data: Likewise.
49273 * conform/data/pthread.h-data: Likewise.
49274 * conform/data/pwd.h-data: Likewise.
49275 * conform/data/regex.h-data: Likewise.
49276 * conform/data/sched.h-data: Likewise.
49277 * conform/data/search.h-data: Likewise.
49278 * conform/data/semaphore.h-data: Likewise.
49279 * conform/data/setjmp.h-data: Likewise.
49280 * conform/data/signal.h-data: Likewise.
49281 * conform/data/spawn.h-data: Likewise.
49282 * conform/data/stdarg.h-data: Likewise.
49283 * conform/data/stdio.h-data: Likewise.
49284 * conform/data/stdlib.h-data: Likewise.
49285 * conform/data/string.h-data: Likewise.
49286 * conform/data/strings.h-data: Likewise.
49287 * conform/data/stropts.h-data: Likewise.
49288 * conform/data/sys/ipc.h-data: Likewise.
49289 * conform/data/sys/mman.h-data: Likewise.
49290 * conform/data/sys/msg.h-data: Likewise.
49291 * conform/data/sys/resource.h-data: Likewise.
49292 * conform/data/sys/select.h-data: Likewise.
49293 * conform/data/sys/sem.h-data: Likewise.
49294 * conform/data/sys/shm.h-data: Likewise.
49295 * conform/data/sys/socket.h-data: Likewise.
49296 * conform/data/sys/stat.h-data: Likewise.
49297 * conform/data/sys/statvfs.h-data: Likewise.
49298 * conform/data/sys/time.h-data: Likewise.
49299 * conform/data/sys/timeb.h-data: Likewise.
49300 * conform/data/sys/times.h-data: Likewise.
49301 * conform/data/sys/types.h-data: Likewise.
49302 * conform/data/sys/uio.h-data: Likewise.
49303 * conform/data/sys/un.h-data: Likewise.
49304 * conform/data/sys/utsname.h-data: Likewise.
49305 * conform/data/sys/wait.h-data: Likewise.
49306 * conform/data/syslog.h-data: Likewise.
49307 * conform/data/tar.h-data: Likewise.
49308 * conform/data/termios.h-data: Likewise.
49309 * conform/data/utime.h-data: Likewise.
49310 * conform/data/utmpx.h-data: Likewise.
49311 * conform/data/varargs.h-data: Likewise.
49312 * conform/data/wchar.h-data: Likewise.
49313 * conform/data/wctype.h-data: Likewise.
49314 * conform/data/wordexp.h-data: Likewise.
49316 * include/stropts.h: New file.
49317 * include/uchar.h: New file.
49318 * include/aio.h: Changes to allow conformtest.pl to use the headers.
49319 * include/assert.h: Likewise.
49320 * include/ctype.h: Likewise.
49321 * include/dirent.h: Likewise.
49322 * include/dlfcn.h: Likewise.
49323 * include/fcntl.h: Likewise.
49324 * include/fnmatch.h: Likewise.
49325 * include/glob.h: Likewise.
49326 * include/grp.h: Likewise.
49327 * include/libio.h: Likewise.
49328 * include/locale.h: Likewise.
49329 * include/math.h: Likewise.
49330 * include/net/if.h: Likewise.
49331 * include/netdb.h: Likewise.
49332 * include/netinet/in.h: Likewise.
49333 * include/pthread.h: Likewise.
49334 * include/pwd.h: Likewise.
49335 * include/regex.h: Likewise.
49336 * include/sched.h: Likewise.
49337 * include/search.h: Likewise.
49338 * include/setjmp.h: Likewise.
49339 * include/signal.h: Likewise.
49340 * include/stdio.h: Likewise.
49341 * include/stdlib.h: Likewise.
49342 * include/string.h: Likewise.
49343 * include/sys/cdefs.h: Likewise.
49344 * include/sys/mman.h: Likewise.
49345 * include/sys/msg.h: Likewise.
49346 * include/sys/resource.h: Likewise.
49347 * include/sys/select.h: Likewise.
49348 * include/sys/socket.h: Likewise.
49349 * include/sys/stat.h: Likewise.
49350 * include/sys/statvfs.h: Likewise.
49351 * include/sys/time.h: Likewise.
49352 * include/sys/times.h: Likewise.
49353 * include/sys/uio.h: Likewise.
49354 * include/sys/utsname.h: Likewise.
49355 * include/sys/wait.h: Likewise.
49356 * include/termios.h: Likewise.
49357 * include/time.h: Likewise.
49358 * include/ulimit.h: Likewise.
49359 * include/unistd.h: Likewise.
49360 * include/utime.h: Likewise.
49361 * include/wchar.h: Likewise.
49362 * include/wctype.h: Likewise.
49363 * include/wordexp.h: Likewise.
49365 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49367 * time/time.h: TIME_UTC must be a macro.
49368 Make timespec_get available for ISO C11 only as well.
49370 2012-02-24 Ulrich Drepper <drepper@gmail.com>
49372 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49373 Reported by Peng Haitao <penght@cn.fujitsu.com>.
49375 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49377 * configure.in: Use -o not -a in test for unsupported multi-arch.
49379 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49381 * manual/texinfo.tex: Update to version 2012-01-19.16.
49383 2012-02-24 Joseph Myers <joseph@codesourcery.com>
49385 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49387 2012-02-24 Roland McGrath <roland@hack.frob.com>
49390 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49391 * manual/fdl-1.3.texi: New file.
49392 * manual/fdl-1.1.texi: File removed.
49395 * manual/libc.texinfo (FDL_VERSION): New @set.
49396 Use it for mention of FDL in cover text.
49397 (Documentation License): Use it in @include file name.
49399 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49400 Roland McGrath <roland@hack.frob.com>
49403 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49404 (not LONG_LONG_MAX and LONG_LONG_MIN.
49405 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49406 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
49408 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49410 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49414 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49415 manipulate bits before adding and subtracting TWO23[sx].
49416 * math/libm-test.inc (nearbyint_test): Add more tests.
49418 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49421 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49422 bits before adding and subtracting TWO23[sx].
49423 * math/libm-test.inc (rint_test): Add more tests.
49424 (rint_test_tonearest): Likewise.
49425 (rint_test_towardzero): Likewise.
49426 (rint_test_downward): Likewise.
49427 (rint_test_upward: Likewise.
49429 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49432 * include/stdc-predef.h: New file. Extracted from features.h.
49433 * include/features.h: Include stdc-predef.h.
49434 * Makefile (headers): Add stdc-predef.h.
49435 * CONFORMANCE (Compiler limitations): Update.
49437 2012-02-22 Joseph Myers <joseph@codesourcery.com>
49439 * manual/libc.texinfo (VERSION, UPDATED): Revert.
49441 2012-02-21 David S. Miller <davem@davemloft.net>
49443 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49444 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49446 2012-02-20 David S. Miller <davem@davemloft.net>
49448 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49449 using a normal save/restore sequence, rather than allocating a
49450 dummy stack frame just to store a frame pointer and restore.
49451 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49453 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49455 * manual/install.texi: Fix stray word in line-wrapped comment.
49457 2012-02-20 David S. Miller <davem@davemloft.net>
49459 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49460 both binutils and gcc support GOTDATA.
49462 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49463 "rd %pc" in the PIC register setup sequences.
49465 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49466 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49467 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49468 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49469 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49471 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49472 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49474 (SYSCALL_ERROR_HANDLER): Likewise.
49475 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49476 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49478 (SYSCALL_ERROR_HANDLER): Likewise.
49480 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49481 (HAVE_GCC_GOTDATA): New.
49482 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49483 relocation support in both binutils and gcc.
49484 * sysdeps/sparc/elf/configure: Regenerate.
49486 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49487 * sysdeps/sparc/sparc32/elf/configure: Delete.
49488 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49489 * sysdeps/sparc/sparc64/elf/configure: Delete.
49490 * sysdeps/sparc/elf/configure.in: New file.
49491 * sysdeps/sparc/elf/configure: Generate.
49493 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49494 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49495 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49496 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49497 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49499 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49501 * manual/install.texi: Do not mention specific glibc version
49503 * manual/libc.texinfo (VERSION, UPDATED): Update.
49504 (@copying): Use @copyright{} and range of years.
49506 2012-02-21 Joseph Myers <joseph@codesourcery.com>
49509 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49510 [crti.S not in sysdirs] (generated): Do not append.
49511 [crti.S not in sysdirs] (omit-deps): Likewise.
49512 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49513 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49514 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49515 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49516 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49518 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49519 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49520 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49521 * csu/defs.awk: Remove file.
49522 * sysdeps/generic/initfini.c: Likewise.
49523 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49525 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49528 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49530 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49531 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49532 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49533 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49534 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49535 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49537 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49538 (__EPOLL_PACKED): Define to empty if not defined by
49540 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49544 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49546 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49547 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49548 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49549 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49551 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49555 2012-02-20 Joseph Myers <joseph@codesourcery.com>
49557 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49559 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49560 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49561 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49564 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
49566 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49567 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49569 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
49571 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49572 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49574 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49576 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49579 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
49581 * math/w_acos.c: Use non-signaling floating-point comparisons.
49582 * math/w_acosf.c: Likewise.
49583 * math/w_acosh.c: Likewise.
49584 * math/w_acoshf.c: Likewise.
49585 * math/w_acoshl.c: Likewise.
49586 * math/w_acosl.c: Likewise.
49587 * math/w_asin.c: Likewise.
49588 * math/w_asinf.c: Likewise.
49589 * math/w_asinl.c: Likewise.
49590 * math/w_atanh.c: Likewise.
49591 * math/w_atanhf.c: Likewise.
49592 * math/w_atanhl.c: Likewise.
49593 * math/w_exp2.c: Likewise.
49594 * math/w_exp2f.c: Likewise.
49595 * math/w_exp2l.c: Likewise.
49596 * math/w_j0.c: Likewise.
49597 * math/w_j0f.c: Likewise.
49598 * math/w_j0l.c: Likewise.
49599 * math/w_j1.c: Likewise.
49600 * math/w_j1f.c: Likewise.
49601 * math/w_j1l.c: Likewise.
49602 * math/w_jn.c: Likewise.
49603 * math/w_jnf.c: Likewise.
49604 * math/w_log.c: Likewise.
49605 * math/w_log10.c: Likewise.
49606 * math/w_log10f.c: Likewise.
49607 * math/w_log10l.c: Likewise.
49608 * math/w_log2.c: Likewise.
49609 * math/w_log2f.c: Likewise.
49610 * math/w_log2l.c: Likewise.
49611 * math/w_logf.c: Likewise.
49612 * math/w_logl.c: Likewise.
49613 * math/w_sqrt.c: Likewise.
49614 * math/w_sqrtf.c: Likewise.
49615 * math/w_sqrtl.c: Likewise.
49616 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49617 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49618 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49619 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49620 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49622 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49625 * manual/string.texi (strnlen): Use correct parameter name in
49626 equivalent expression.
49628 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49631 * manual/users.texi (seteuid): Consistently use neweuid for
49634 2012-02-19 Joseph Myers <joseph@codesourcery.com>
49637 * manual/nss.texi (Services in the NSS configuration): Correct
49638 list of services in example configuration file.
49640 2012-02-19 Nick Bowler <nbowler@draconx.ca>
49643 * manual/arith.texi: Remove statements about negative zero
49644 behaving identically to zero.
49646 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49649 * manual/install.texi: Do not document upgrading from libc5.
49651 2012-02-18 Joseph Myers <joseph@codesourcery.com>
49654 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49656 2012-02-18 David S. Miller <davem@davemloft.net>
49658 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49659 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49660 %o7 across the call.
49661 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49664 SETUP_PIC_REG_LEAF.
49665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49666 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49667 * sysdeps/sparc/crtn.S: Likewise.
49669 2012-02-17 Ulrich Drepper <drepper@gmail.com>
49671 * aout/Makefile: Remove.
49673 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
49676 * manual/examples/argp-ex1.c (main): Format definition in GNU
49678 * manual/examples/argp-ex2.c (main): Likewise.
49679 * manual/examples/argp-ex3.c (main): Likewise.
49680 * manual/examples/argp-ex4.c (main): Likewise.
49681 * manual/examples/longopt.c (main): Use new-style prototype
49683 * manual/examples/strncat.c (main): Specify return type and use
49684 (void) for arguments.
49685 * manual/examples/subopt.c (main): Use char **argv argument.
49687 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49690 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49693 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
49696 * manual/string.texi (strchr): Change when strchrnul is
49699 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
49702 * manual/locale.texi (setlocale): Document LOCPATH.
49704 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49707 * manual/process.texi (execle): Move @dots{} before last argument.
49709 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
49712 * manual/charset.texi (Generic Charset Conversion): Fix typo
49713 (LC_TYPE -> LC_CTYPE).
49715 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
49718 * manual/arith.texi (scalbn): Use @var{} on parameter names.
49719 (scalbnf): Likewise.
49720 (scalbnl): Likewise.
49721 (scalbln): Likewise.
49722 (scalblnf): Likewise.
49723 (scalblnl): Likewise.
49724 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49725 (vwarnx): Likewise.
49728 * manual/filesys.texi (telldir): Use braces around return type.
49729 * manual/llio.texi (mmap): Add space after comma.
49730 (mmap64): Likewise.
49731 * manual/math.texi (jn): Use @var{} on parameter names.
49737 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49739 * manual/resource.texi (ulimit): Use @dots{} instead of literal
49741 (sched_get_priority_min): Remove semicolon on @deftypefun line.
49742 (sched_get_priority_max): Likewise.
49743 * manual/signal.texi (sigvec): Add space after comma.
49744 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49746 (if_indextoname): Likewise.
49747 (if_freenameindex): Likewise.
49748 (sendto): Use ',' instead of '.' in prototype.
49749 * manual/startup.texi (syscall): Use @dots{} instead of literal
49751 * manual/stdio.texi (__fpending): Separate initial words of
49752 paragraph from @deftypefun line.
49753 * manual/syslog.texi (syslog): Use @dots{} instead of literal
49755 (vsyslog): Use @var{} on parameter names.
49756 * manual/terminal.texi (stty): Use @var{} on parameter names.
49757 * manual/users.texi (getutmp): Use @var{} on parameter names.
49758 (getutmpx): Likewise.
49760 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49763 * manual/stdio.texi (fopen): Fix typos in description of
49766 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
49769 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49770 get clock_id definition.
49772 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
49775 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49776 (madvise): Cast every argument to void on its own.
49778 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49781 * manual/startup.texi (Exit Status): Fix typo.
49783 2012-02-17 Joseph Myers <joseph@codesourcery.com>
49786 * manual/examples/argp-ex1.c: Include <stdlib.h>.
49787 * manual/examples/argp-ex2.c: Likewise.
49788 * manual/examples/argp-ex3.c: Likewise.
49790 2012-02-16 Richard Henderson <rth@redhat.com>
49792 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49793 * sysdeps/s390/s390-32/initfini.c: Remove.
49794 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49795 * sysdeps/s390/s390-64/initfini.c: Remove.
49797 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49799 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49800 compiler output for sysdeps/generic/initfini.c.
49801 * sysdeps/sh/elf/initfini.c: Remove file.
49803 2012-02-16 David S. Miller <davem@davemloft.net>
49806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49808 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49809 * sysdeps/sparc/crti.S: New file.
49810 * sysdeps/sparc/crtn.S: New file.
49811 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49812 * sysdeps/sparc/sparc64/Makefile: Likewise.
49814 2012-02-15 Mike Frysinger <vapier@gentoo.org>
49817 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49819 2012-02-15 Roland McGrath <roland@hack.frob.com>
49822 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49824 * mach/devstream.c (cookie_io_functions_t): Macro removed.
49825 (write, read, close): Likewise.
49826 Patch by Aurelien Jarno <aurelien@aurel32.net>.
49828 2012-02-15 Joseph Myers <joseph@codesourcery.com>
49830 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49831 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49832 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49833 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49835 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49839 2012-02-14 Marek Polacek <polacek@redhat.com>
49841 * sysdeps/x86_64/crti.S: New file.
49842 * sysdeps/x86_64/crtn.S: New file.
49843 * sysdeps/x86_64/elf/initfini.c: Remove file.
49845 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49847 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49848 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49849 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49850 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49852 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49856 2012-02-13 Joseph Myers <joseph@codesourcery.com>
49858 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49859 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49860 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49861 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49863 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49867 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
49869 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49870 __feraiseexcept instead of feraiseexcept.
49872 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49873 nanosleep invocations.
49874 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49875 strings, and add error checking for a nanosleep invocations.
49877 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
49879 Replace FSF snail mail address with URLs, as per GNU coding standards.
49880 Most of the snail mail addresses were wrong anyway, and omitting
49881 them makes the source code easier to maintain. Almost all of the
49882 changes are to license notices and to locale LC_IDENTIFICATION
49883 addresses, except for this one:
49884 * manual/libc.texinfo: In "Published by", give the FSF's URL,
49885 not its snail mail address.
49887 2012-02-09 Richard Henderson <rth@twiddle.net>
49889 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49890 of kernel-features.h.
49892 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49894 2012-02-08 Marek Polacek <polacek@redhat.com>
49896 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49897 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49898 * sysdeps/gnu/_G_config.h: Likewise.
49899 * sysdeps/generic/_G_config.h: Likewise.
49901 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
49903 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49907 * sysdeps/powerpc/powerpc32/crti.S: New file.
49908 * sysdeps/powerpc/powerpc32/crtn.S: New file.
49909 * sysdeps/powerpc/powerpc64/crti.S: New file.
49910 * sysdeps/powerpc/powerpc64/crtn.S: New file.
49912 * Makeconfig (have-initfini): Don't set.
49913 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49914 * configure.in (nopic_initfini): Don't substitute.
49915 * config.h.in (HAVE_INITFINI): Don't #undef.
49916 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49917 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49919 2012-02-08 Joseph Myers <joseph@codesourcery.com>
49921 Support crti.S and crtn.S provided directly by architectures.
49922 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49923 [crti.S in sysdirs] (omit-deps): Likewise.
49924 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49925 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49926 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49927 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49928 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49929 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49930 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49931 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49932 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49933 compiler output for sysdeps/generic/initfini.c.
49934 * sysdeps/i386/elf/Makefile: Remove file.
49935 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49937 2012-02-07 Marek Polacek <polacek@redhat.com>
49939 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49940 * sysdeps/gnu/_G_config.h: Likewise.
49941 * sysdeps/mach/hurd/_G_config.h: Likewise.
49943 2012-02-07 Marek Polacek <polacek@redhat.com>
49945 * math/Makefile (tests): Add tst-CMPLX2.
49946 * math/tst-CMPLX2.c: New file.
49948 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
49950 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49952 * math/libm-test.inc (jn_test): Add missing L suffix.
49954 2012-02-06 Marek Polacek <polacek@redhat.com>
49956 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49957 * sysdeps/i386/fpu/e_powf.S: Likewise.
49958 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49959 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49960 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49961 * sysdeps/i386/fpu/e_pow.S: Likewise.
49962 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49963 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49964 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49965 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49966 * sysdeps/i386/fpu/e_log2.S: Likewise.
49967 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49968 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49969 * sysdeps/i386/fpu/e_powl.S: Likewise.
49970 * sysdeps/i386/fpu/s_log1p.S: Likewise.
49971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49972 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49973 * sysdeps/i386/fpu/e_logl.S: Likewise.
49974 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49975 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49976 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49977 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49978 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49979 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49980 * sysdeps/i386/fpu/e_log.S: Likewise.
49981 * sysdeps/i386/fpu/s_cexp.S: Likewise.
49982 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49983 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49984 * sysdeps/i386/fpu/e_logf.S: Likewise.
49985 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49986 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49987 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49988 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49989 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49990 * sysdeps/i386/fpu/e_log10.S: Likewise.
49991 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49992 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49993 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49994 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49995 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49996 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49997 * sysdeps/i386/asm-syntax.h: Likewise.
49998 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49999 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50000 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50001 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50002 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50003 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50004 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50005 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50006 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50007 * sysdeps/powerpc/sysdep.h: Likewise.
50008 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50009 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50011 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50014 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50016 2012-02-06 Joseph Myers <joseph@codesourcery.com>
50018 * sysdeps/i386/sysdep.h: Include <features.h>.
50019 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50022 2012-02-05 Joseph Myers <joseph@codesourcery.com>
50024 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50026 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50029 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50031 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50032 (SETUP_PIC_REG): Use GET_PC_THUNK.
50033 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50036 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50038 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50039 for non-PIC compilation.
50040 (SETUP_PIC_REG): Add .p2align directive.
50041 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50042 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50043 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50044 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50045 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50046 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50047 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50048 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50049 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50050 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50051 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50052 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50053 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50054 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50055 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50056 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50057 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50058 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50059 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50060 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50061 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50062 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50063 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50064 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50065 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50067 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50068 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50069 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50070 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50071 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50072 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50073 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50074 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50075 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50076 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50077 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50078 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50079 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50080 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50081 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50083 2012-02-03 Joseph Myers <joseph@codesourcery.com>
50085 * math/tst-CMPLX.c: Include <stdio.h>.
50087 2012-01-31 Joseph Myers <joseph@codesourcery.com>
50089 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50091 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50092 * sysdeps/sparc/bits/mathdef.h: Likewise.
50094 2012-01-31 Marek Polacek <polacek@redhat.com>
50096 * libio/libio.h: Don't define _PARAMS.
50097 * locale/programs/config.h: Don't define PARAMS.
50098 * stdlib/strtol_l.c: Likewise.
50099 (__strtol_l): Remove PARAMS from the prototype.
50101 2012-01-31 Ulrich Drepper <drepper@gmail.com>
50103 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50104 names. Just use the correct names. Remove unnecessary wrapper
50106 * malloc/arena.c: Likewise.
50107 * malloc/hooks.c: Likewise.
50109 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50110 ARENA_TEST says not to. Simplify test for creation of a new arena.
50111 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50113 2012-01-30 Ulrich Drepper <drepper@gmail.com>
50115 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50117 (update_get_addr): New function.
50118 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50119 GET_ADDR_MODULE parameter.
50121 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50123 * crypt/cert.c: Remove __STDC__ conditionals.
50124 * crypt/crypt-entry.c: Likewise.
50125 * crypt/crypt_util.c: Likewise.
50126 * libio/filedoalloc.c: Likewise.
50127 * libio/fileops.c: Likewise.
50128 * libio/genops.c: Likewise.
50129 * libio/iofclose.c: Likewise.
50130 * libio/iofdopen.c: Likewise.
50131 * libio/iofopen.c: Likewise.
50132 * libio/iofopen64.c: Likewise.
50133 * libio/iogetdelim.c: Likewise.
50134 * libio/iopopen.c: Likewise.
50135 * libio/obprintf.c: Likewise.
50136 * libio/oldfileops.c: Likewise.
50137 * libio/oldiofclose.c: Likewise.
50138 * libio/oldiofdopen.c: Likewise.
50139 * libio/oldiofopen.c: Likewise.
50140 * libio/oldiopopen.c: Likewise.
50141 * libio/wfiledoalloc.c: Likewise.
50142 * libio/wgenops.c: Likewise.
50143 * locale/programs/xmalloc.c: Likewise.
50144 * misc/syslog.c: Likewise.
50145 * stdio-common/xbug.c: Likewise.
50146 * string/memchr.c: Likewise.
50147 * string/memcmp.c: Likewise.
50148 * string/memrchr.c: Likewise.
50149 * string/rawmemchr.c: Likewise.
50150 * sysdeps/posix/getcwd.c: Likewise.
50151 * time/strftime_l.c: Likewise.
50153 2012-01-30 Joseph Myers <joseph@codesourcery.com>
50155 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50156 * config.make.in (config-cflags-sse2avx): Define.
50157 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50160 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50162 * scripts/config.guess: Update from upstream config git repository.
50163 * scripts/config.sub: Likewise.
50165 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50167 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50169 (R_TILEPRO_*, R_TILEGX_*): New macros.
50171 * scripts/firstversions.awk: Fix bug in version range handling.
50173 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50175 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50177 * include/sys/epoll.h: New file.
50178 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50181 2012-01-28 Ulrich Drepper <drepper@gmail.com>
50183 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50184 Avoid unnecessary __WORDSIZE == 64 test.
50185 (fmaxf): Use VEX format if possible.
50190 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50191 * math/math_private.h: Remove libc_fegetround* and
50193 * sysdeps/i386/configure.in: Check for -msse2avx.
50194 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50195 also if SSE2AVX is defined.
50196 Remove libc_fegetround* and libc_fesetround*.
50197 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50198 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50199 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50201 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50202 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50203 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50204 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50205 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50207 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50209 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50211 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50213 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50215 2012-01-27 Ulrich Drepper <drepper@gmail.com>
50218 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50220 * Makeconfig (libm): Define.
50221 * elf/Makefile: Add rules to build and run tst-relsort1.
50222 * elf/tst-relsort1.c: New file.
50223 * elf/tst-relsort1mod1.c: New file.
50224 * elf/tst-relsort1mod2.c: New file.
50226 2012-01-27 Joseph Myers <joseph@codesourcery.com>
50228 * math/s_ldexp.c: Remove __STDC__ conditionals.
50229 * math/s_ldexpf.c: Likewise.
50230 * math/s_ldexpl.c: Likewise.
50231 * math/s_nextafter.c: Likewise.
50232 * math/s_nexttowardf.c: Likewise.
50233 * math/s_significand.c: Likewise.
50234 * math/s_significandf.c: Likewise.
50235 * math/s_significandl.c: Likewise.
50236 * math/w_jnl.c: Likewise.
50237 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50238 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50239 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50240 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50241 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50242 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50243 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50244 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50245 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50246 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50247 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50248 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50249 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50250 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50251 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50252 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50253 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50254 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50255 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50256 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50257 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50258 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50259 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50260 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50261 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50262 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50263 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50264 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50265 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50266 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50267 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50268 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50269 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50270 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50271 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50272 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50273 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50274 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50275 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50276 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50277 * sysdeps/ieee754/k_standard.c: Likewise.
50278 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50279 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50280 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50281 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50282 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50283 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50284 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50285 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50286 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50287 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50288 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50289 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50290 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50291 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50292 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50297 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50300 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50301 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50302 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50303 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50305 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50307 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50308 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50309 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50310 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50311 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50313 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50314 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50316 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50317 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50318 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50319 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50320 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50321 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50322 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50323 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50324 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50325 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50326 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50327 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50328 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50329 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50330 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50331 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50332 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50333 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50334 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50335 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50336 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50337 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50338 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50339 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50340 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50341 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50342 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50343 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50344 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50345 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50346 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50347 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50348 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50349 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50350 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50351 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50352 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50353 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50354 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50355 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50356 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50357 * sysdeps/ieee754/s_matherr.c: Likewise.
50358 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50359 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50361 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50363 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50365 * crypt/md5.h: Remove __STDC__ conditionals.
50366 * libio/libioP.h: Likewise.
50367 * locale/programs/config.h: Likewise.
50368 * sysdeps/generic/sysdep.h: Likewise.
50369 * sysdeps/i386/asm-syntax.h: Likewise.
50370 * sysdeps/s390/asm-syntax.h: Likewise.
50371 * sysdeps/unix/sysdep.h: Likewise.
50372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50375 2012-01-26 Joseph Myers <joseph@codesourcery.com>
50377 * libio/libio.h: Remove __STDC__ conditionals.
50378 * malloc/obstack.h: Likewise.
50379 * math/complex.h: Likewise.
50380 * math/math.h: Likewise.
50381 * sysdeps/generic/_G_config.h: Likewise.
50382 * sysdeps/gnu/_G_config.h: Likewise.
50383 * sysdeps/mach/hurd/_G_config.h: Likewise.
50384 * sysdeps/powerpc/bits/mathdef.h: Likewise.
50385 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50386 * sysdeps/sparc/bits/mathdef.h: Likewise.
50388 2012-01-26 Ulrich Drepper <drepper@gmail.com>
50391 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50392 Clean up HAS_* macros.
50393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50394 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50396 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50398 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50399 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50400 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50401 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50402 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50404 2012-01-25 Joseph Myers <joseph@codesourcery.com>
50406 * elf/tst-unique3.cc (gets): Remove declaration.
50407 * elf/tst-unique3lib.cc (gets): Likewise.
50408 * elf/tst-unique3lib2.cc (gets): Likewise.
50409 * elf/tst-unique4.cc (gets): Likewise.
50411 2012-01-24 Ulrich Drepper <drepper@gmail.com>
50413 * include/stdio.h: Add C++ protection. Add gets declarations and
50415 * debug/tst-chk1.c: Don't declare gets here.
50416 * stdio-common/tst-gets.c: Likewise.
50418 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50420 * posix/glob: Remove directory.
50422 2012-01-24 Joseph Myers <joseph@codesourcery.com>
50424 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50426 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
50428 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50429 of the non-standard EPFNOSUPPORT.
50431 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
50433 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50434 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50435 ANYWHERE set to 1 only on KERN_NO_SPACE error.
50437 2012-01-21 Ulrich Drepper <drepper@gmail.com>
50439 * wcsmbs/uchar.h: Test __STDC_VERSION__.
50441 2012-01-20 Ulrich Drepper <drepper@gmail.com>
50443 * nscd/aicache.c (addhstaiX): Do not cache negative results of
50445 * nscd/grpcache.c (cache_addgr): Likewise.
50446 * nscd/hstcache.c (cache_addhst): Likewise.
50447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
50448 * nscd/pwdcache.c (cache_addpw): Likewise.
50449 * nscd/servicescache.c (cache_addserv): Likewise.
50451 2012-01-16 Ulrich Drepper <drepper@gmail.com>
50453 * malloc/malloc.c: Various cleanups.
50454 * malloc/hooks.c: Likewise.
50456 * stdlib/Makefile (tests): Add bug-fmtmsg1.
50457 * stdlib/bug-fmtmsg1.c: New file.
50459 * stdlib/fmtmsg.c (init): Add missing unlock.
50460 Patch by Peng Haitao <penght@cn.fujitsu.com>.
50462 2012-01-12 Marek Polacek <polacek@redhat.com>
50464 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50467 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50469 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50470 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50471 macro to ensure uniqueness of label name.
50472 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50473 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50475 2012-01-11 Ulrich Drepper <drepper@gmail.com>
50477 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50479 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50480 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50481 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50482 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50484 2012-01-10 Ulrich Drepper <drepper@gmail.com>
50486 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50488 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50489 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50490 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50492 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50494 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50495 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50496 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50497 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50499 * math/bits/math-finite.h: Add ldexp support.
50501 2012-01-10 Marek Polacek <polacek@redhat.com>
50503 * locale/programs/localedef.h (show_archive_content): Add noreturn
50506 2012-01-09 Ulrich Drepper <drepper@gmail.com>
50508 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50510 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50512 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50514 * io/Makefile (headers): Add bits/poll2.h.
50516 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
50518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50519 typo #include statement.
50521 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50523 * include/sys/cdefs.h: Define __attribute_alloc_size.
50524 * catgets/gencat.c: Add alloc_size attribute and apply consistently
50525 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50526 * elf/pldd.c: Likewise.
50527 * iconv/iconv_charmap.c: Likewise.
50528 * iconv/iconvconfig.c: Likewise.
50529 * iconv/strtab.c: Likewise.
50530 * locale/programs/locale.c: Likewise.
50531 * locale/programs/localedef.h: Likewise.
50532 * locale/programs/simple-hash.c: Likewise.
50533 * nscd/nscd.h: Likewise.
50534 * nss/makedb.c: Likewise.
50535 * sysdeps/generic/ldconfig.h: Likewise.
50536 * locale/programs/localedef.c: Remove xmalloc prototype.
50537 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50539 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
50541 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50544 2012-01-08 Ulrich Drepper <drepper@gmail.com>
50546 * math/Makefile (tests): Add tst-CMPLX.
50547 * math/tst-CMPLX.c: New file.
50549 * math/complex.h (CMPLXL): Fix typo.
50551 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50552 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50554 * debug/tst-chk1.c: Add poll and ppoll tests.
50555 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50556 * include/sys/poll.h: Add hidden proto for ppoll.
50557 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50558 * sysdeps/mach/hurd/ppoll.c: Likewise.
50559 * io/ppoll.c: Likewise.
50560 * debug/poll_chk.c: New file.
50561 * debug/ppoll_chk.c: New file.
50562 * include/bits/poll2.h: New file.
50563 * io/bits/poll2.h: New file.
50566 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50568 * configure.in: static is always set to yes. Remove.
50569 * config.make.in: Don't set build-static.
50570 * Makeconfig: Remove use of build-static.
50571 * dlfcn/Makefile: Likewise.
50572 * elf/Makefile: Likewise.
50573 * math/Makefile: Likewise.
50574 * misc/Makefile: Likewise.
50575 * nptl/Makefile: Likewise.
50576 * sysdeps/mach/hurd/Makefile: Likewise.
50578 * configure.in: PWD_P is not used anymore.
50579 * config.make.in: Remove PWD_P entry.
50581 * configure.in: Remove last remnants of RANLIB.
50582 No need to check for signed size_t anymore.
50583 Don't set libc_commonpagesize and libc_relro_required here for Alpha
50585 Remove __builtin_expect test because we require at least gcc 3.4.
50586 * aclocal.m4: Likewise.
50588 * wcsmbs/mbrtoc16.c: Implement using towc function.
50589 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50590 * wcsmbs/wcsmbsload.c: Likewise.
50591 * iconv/gconv_simple.c: Likewise.
50592 * iconv/gconv_int.h: Likewise.
50593 * iconv/gconv_builtin.h: Likewise.
50594 * iconv/iconv_prog.c: Remove CHAR16 handling.
50596 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50598 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50600 * configure.in: Remove --with-elf and --enable-bounded options.
50601 Dont set base_machine for ia64. More non-ELF conditions removed.
50602 Remove testing and setting of leading underscore information.
50603 * config.make.in (build-bounded): Set to no.
50604 * config.h.in: Remove NO_UNDERSCORES entry.
50605 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
50607 * csu/start.c: Remove !NO_UNDERSCORE code.
50608 * locale/localeinfo.h: Likewise.
50609 * sysdeps/generic/machine-gmon.h: Likewise.
50610 * sysdeps/generic/sysdep.h: Likewise.
50611 * sysdeps/i386/sysdep.h: Likewise.
50612 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50613 * sysdeps/mach/sysdep.h: Likewise.
50614 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50615 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50616 * sysdeps/sh/sysdep.h: Likewise.
50617 * sysdeps/sparc/sparc32/alloca.S: Likewise.
50618 * sysdeps/unix/i386/sysdep.S: Likewise.
50619 * sysdeps/unix/sparc/start.c: Likewise.
50620 * sysdeps/unix/sparc/sysdep.S: Likewise.
50621 * sysdeps/unix/sparc/sysdep.h: Likewise.
50622 * sysdeps/unix/start.c: Likewise.
50623 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50624 * sysdeps/x86_64/sysdep.h: Likewise.
50626 2012-01-07 Ulrich Drepper <drepper@gmail.com>
50629 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50631 * argp/argp-fmtstream.h: Use const instead __const.
50632 * argp/argp.h: Likewise.
50633 * assert/assert.h: Likewise.
50634 * bits/fenv.h: Likewise.
50635 * bits/sched.h: Likewise.
50636 * bits/sigset.h: Likewise.
50637 * bits/sigthread.h: Likewise.
50638 * catgets/nl_types.h: Likewise.
50639 * conform/data/pthread.h-data: Likewise.
50640 * crypt/crypt-private.h: Likewise.
50641 * crypt/crypt.h: Likewise.
50642 * crypt/crypt_util.c: Likewise.
50643 * ctype/ctype.h: Likewise.
50644 * debug/execinfo.h: Likewise.
50645 * debug/mbsnrtowcs_chk.c: Likewise.
50646 * debug/mbsrtowcs_chk.c: Likewise.
50647 * debug/wcsnrtombs_chk.c: Likewise.
50648 * debug/wcsrtombs_chk.c: Likewise.
50649 * debug/wcstombs_chk.c: Likewise.
50650 * dirent/dirent.h: Likewise.
50651 * dlfcn/dlfcn.h: Likewise.
50652 * elf/neededtest4.c: Likewise.
50653 * grp/grp.h: Likewise.
50654 * gshadow/gshadow.h: Likewise.
50655 * iconv/gconv.h: Likewise.
50656 * iconv/gconv_int.h: Likewise.
50657 * iconv/gconv_simple.c: Likewise.
50658 * iconv/iconv.h: Likewise.
50659 * iconv/loop.c: Likewise.
50660 * iconv/skeleton.c: Likewise.
50661 * include/aio.h: Likewise.
50662 * include/aliases.h: Likewise.
50663 * include/argz.h: Likewise.
50664 * include/arpa/inet.h: Likewise.
50665 * include/assert.h: Likewise.
50666 * include/dirent.h: Likewise.
50667 * include/dlfcn.h: Likewise.
50668 * include/execinfo.h: Likewise.
50669 * include/fcntl.h: Likewise.
50670 * include/fenv.h: Likewise.
50671 * include/glob.h: Likewise.
50672 * include/grp.h: Likewise.
50673 * include/libintl.h: Likewise.
50674 * include/mntent.h: Likewise.
50675 * include/netdb.h: Likewise.
50676 * include/pwd.h: Likewise.
50677 * include/rpc/netdb.h: Likewise.
50678 * include/sched.h: Likewise.
50679 * include/search.h: Likewise.
50680 * include/shadow.h: Likewise.
50681 * include/signal.h: Likewise.
50682 * include/stdio.h: Likewise.
50683 * include/stdlib.h: Likewise.
50684 * include/string.h: Likewise.
50685 * include/sys/socket.h: Likewise.
50686 * include/sys/stat.h: Likewise.
50687 * include/sys/statfs.h: Likewise.
50688 * include/sys/statvfs.h: Likewise.
50689 * include/sys/syslog.h: Likewise.
50690 * include/sys/time.h: Likewise.
50691 * include/sys/uio.h: Likewise.
50692 * include/time.h: Likewise.
50693 * include/unistd.h: Likewise.
50694 * include/utmp.h: Likewise.
50695 * include/wchar.h: Likewise.
50696 * include/wctype.h: Likewise.
50697 * inet/aliases.h: Likewise.
50698 * inet/arpa/inet.h: Likewise.
50699 * inet/netinet/ether.h: Likewise.
50700 * inet/netinet/in.h: Likewise.
50701 * intl/libintl.h: Likewise.
50702 * io/bits/fcntl2.h: Likewise.
50703 * io/fcntl.h: Likewise.
50704 * io/ftw.h: Likewise.
50705 * io/sys/poll.h: Likewise.
50706 * io/sys/stat.h: Likewise.
50707 * io/sys/statfs.h: Likewise.
50708 * io/sys/statvfs.h: Likewise.
50709 * io/utime.h: Likewise.
50710 * libio/bits/stdio.h: Likewise.
50711 * libio/bits/stdio2.h: Likewise.
50712 * libio/libio.h: Likewise.
50713 * libio/libioP.h: Likewise.
50714 * libio/stdio.h: Likewise.
50715 * locale/lc-ctype.c: Likewise.
50716 * locale/locale.h: Likewise.
50717 * login/utmp.h: Likewise.
50718 * malloc/arena.c: Likewise.
50719 * malloc/malloc.c: Likewise.
50720 * malloc/malloc.h: Likewise.
50721 * malloc/mcheck.c: Likewise.
50722 * malloc/mtrace.c: Likewise.
50723 * math/bits/mathcalls.h: Likewise.
50724 * math/fenv.h: Likewise.
50725 * math/math_private.h: Likewise.
50726 * misc/bits/error.h: Likewise.
50727 * misc/bits/syslog.h: Likewise.
50728 * misc/err.h: Likewise.
50729 * misc/error.h: Likewise.
50730 * misc/fstab.h: Likewise.
50731 * misc/mntent.h: Likewise.
50732 * misc/regexp.h: Likewise.
50733 * misc/search.h: Likewise.
50734 * misc/sgtty.h: Likewise.
50735 * misc/sys/mman.h: Likewise.
50736 * misc/sys/syslog.h: Likewise.
50737 * misc/sys/uio.h: Likewise.
50738 * misc/sys/xattr.h: Likewise.
50739 * misc/ttyent.h: Likewise.
50740 * nis/rpcsvc/ypclnt.h: Likewise.
50741 * nss/nss.h: Likewise.
50742 * posix/bits/unistd.h: Likewise.
50743 * posix/fnmatch.h: Likewise.
50744 * posix/glob.h: Likewise.
50745 * posix/sched.h: Likewise.
50746 * posix/spawn.h: Likewise.
50747 * posix/sys/wait.h: Likewise.
50748 * posix/unistd.h: Likewise.
50749 * posix/wordexp.h: Likewise.
50750 * pwd/pwd.h: Likewise.
50751 * resolv/netdb.h: Likewise.
50752 * resource/sys/resource.h: Likewise.
50753 * rt/aio.h: Likewise.
50754 * rt/bits/mqueue2.h: Likewise.
50755 * rt/mqueue.h: Likewise.
50756 * shadow/shadow.h: Likewise.
50757 * signal/signal.h: Likewise.
50758 * socket/send.c: Likewise.
50759 * socket/sendto.c: Likewise.
50760 * socket/sys/socket.h: Likewise.
50761 * stdio-common/printf.h: Likewise.
50762 * stdlib/bits/stdlib.h: Likewise.
50763 * stdlib/fmtmsg.h: Likewise.
50764 * stdlib/monetary.h: Likewise.
50765 * stdlib/stdlib.h: Likewise.
50766 * stdlib/ucontext.h: Likewise.
50767 * streams/stropts.h: Likewise.
50768 * string/argz.h: Likewise.
50769 * string/bits/string2.h: Likewise.
50770 * string/string.h: Likewise.
50771 * string/strings.h: Likewise.
50772 * sunrpc/rpc/auth.h: Likewise.
50773 * sunrpc/rpc/auth_des.h: Likewise.
50774 * sunrpc/rpc/clnt.h: Likewise.
50775 * sunrpc/rpc/netdb.h: Likewise.
50776 * sunrpc/rpc/pmap_clnt.h: Likewise.
50777 * sunrpc/rpc/xdr.h: Likewise.
50778 * sysdeps/generic/inttypes.h: Likewise.
50779 * sysdeps/generic/net/if.h: Likewise.
50780 * sysdeps/generic/sys/swap.h: Likewise.
50781 * sysdeps/gnu/net/if.h: Likewise.
50782 * sysdeps/gnu/utmpx.h: Likewise.
50783 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50784 * sysdeps/i386/i486/bits/string.h: Likewise.
50785 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50786 * sysdeps/s390/bits/string.h: Likewise.
50787 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50788 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50789 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50790 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50791 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50792 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50793 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50794 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50795 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50796 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50797 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50798 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50799 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50800 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50801 * sysdeps/unix/sysv/linux/readv.c: Likewise.
50802 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50803 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50805 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50806 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50807 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50808 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50809 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50810 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50811 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50812 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50813 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50814 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50815 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50816 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50817 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50818 * sysvipc/sys/ipc.h: Likewise.
50819 * sysvipc/sys/msg.h: Likewise.
50820 * sysvipc/sys/sem.h: Likewise.
50821 * sysvipc/sys/shm.h: Likewise.
50822 * termios/termios.h: Likewise.
50823 * time/sys/time.h: Likewise.
50824 * time/time.h: Likewise.
50825 * wcsmbs/bits/wchar2.h: Likewise.
50826 * wcsmbs/uchar.h: Likewise.
50827 * wcsmbs/wchar.h: Likewise.
50828 * wctype/wctype.h: Likewise.
50831 * Makeconfig: Remove all but ELF support including AIX support.
50832 * Makerules: Likewise.
50833 * config.h.in: Likewise.
50834 * config.make.in: Likewise.
50835 * configure: Likewise.
50836 * configure.in: Likewise.
50837 * csu/Makefile: Likewise.
50838 * csu/version.c: Likewise.
50839 * debug/Makefile: Likewise.
50840 * dlfcn/Makefile: Likewise.
50841 * elf/Makefile: Likewise.
50842 * extra-lib.mk: Likewise.
50843 * iconv/Makefile: Likewise.
50844 * include/libc-symbols.h: Likewise.
50845 * include/shlib-compat.h: Likewise.
50846 * resolv/Makefile: Likewise.
50847 * resolv/res_libc.c: Likewise.
50848 * rt/Makefile: Likewise.
50849 * sysdeps/i386/asm-syntax.h: Likewise.
50850 * sysdeps/i386/sysdep.h: Likewise.
50851 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50852 * sysdeps/mach/sysdep.h: Likewise.
50853 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50854 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50855 * sysdeps/s390/asm-syntax.h: Likewise.
50856 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50857 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50858 * sysdeps/sh/sysdep.h: Likewise.
50859 * sysdeps/unix/sparc/sysdep.h: Likewise.
50860 * sysdeps/wordsize-32/divdi3.c: Likewise.
50861 * sysdeps/x86_64/sysdep.h: Likewise.
50863 * argp/Versions: Remove _argp_unlock_xxx.
50866 * abilist/ld.abilist: Update. Adjust for removal of tls option.
50867 * abilist/libBrokenLocale.abilist: Likewise.
50868 * abilist/libanl.abilist: Likewise.
50869 * abilist/libc.abilist: Likewise.
50870 * abilist/libcrypt.abilist: Likewise.
50871 * abilist/libdl.abilist: Likewise.
50872 * abilist/libm.abilist: Likewise.
50873 * abilist/libnsl.abilist: Likewise.
50874 * abilist/libpthread.abilist: Likewise.
50875 * abilist/libresolv.abilist: Likewise.
50876 * abilist/librt.abilist: Likewise.
50877 * abilist/libthread_db.abilist: Likewise.
50878 * abilist/libutil.abilist: Likewise.
50879 * abilist/libnss_db.abilist: New file.
50881 * scripts/abilist.awk: Add support for indirect functions.
50883 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50885 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50887 * shlib-versions: Remove entries for ports architectures.
50889 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
50891 * elf/stackguard-macros.h: Remove support for IA-64.
50892 * elf/tst-auditmod1.c: Likewise.
50893 * sysdeps/generic/ldsodefs.h: Likewise.
50895 * sysdeps/unix/sysv/linux/configure.in: Ports should define
50896 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50900 * configure.in: Remove --enable-omitfp support.
50902 * config.make.in: Likewise.
50903 * Makeconfig: Likewise.
50904 * manual/install.texi: Likewise.
50906 In case anyone cares, the IA-64 architecture could move to ports.
50907 * sysdeps/ia64/*: Removed.
50908 * sysdeps/unix/sysv/linux/ia64/*: Removed.
50909 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50912 * configure.in: Remove entries for unsupported architectures.
50915 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50916 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
50918 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50919 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50920 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
50921 fall back to using wcrtomb.
50922 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50923 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
50925 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50926 * wcsmbs/tst-c16c32-1.c: New file.
50928 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50931 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50933 * elf/tst-unique3.cc: Add explicit declaration of gets.
50934 * elf/tst-unique3lib.cc: Likewise.
50935 * elf/tst-unique3lib2.cc: Likewise.
50936 * elf/tst-unique4.cc: Likewise.
50938 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50940 2012-01-06 Joseph Myers <joseph@codesourcery.com>
50943 * assert/assert.h (static_assert): Don't define for C++.
50944 * libio/stdio.h (gets): Do declare for C++ <= C++11.
50945 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50947 2012-01-03 Ulrich Drepper <drepper@gmail.com>
50949 * iconv/loop.c (single loop): Fix assertion in storing of
50952 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50954 2012-01-01 Ulrich Drepper <drepper@gmail.com>
50956 * posix/getconf.c: Update copyright year.
50957 * nss/getent.c: Likewise.
50958 * nss/makedb.c: Likewise.
50959 * iconv/iconvconfig.c: Likewise.
50960 * iconv/iconv_prog.c: Likewise.
50961 * elf/ldconfig.c: Likewise.
50962 * elf/pldd.c: Likewise.
50963 * elf/sotruss.ksh: Likewise.
50964 * catgets/gencat.c: Likewise.
50965 * csu/version.c: Likewise.
50966 * elf/ldd.bash.in: Likewise.
50967 * elf/sprof.c (print_version): Likewise.
50968 * locale/programs/locale.c: Likewise.
50969 * locale/programs/localedef.c: Likewise.
50970 * login/programs/pt_chown.c: Likewise.
50971 * nscd/nscd.c (print_version): Likewise.
50972 * debug/xtrace.sh: Likewise.
50973 * malloc/memusage.sh: Likewise.
50974 * malloc/mtrace.pl: Likewise.
50975 * debug/catchsegv.sh: Likewise.
50977 2011-12-30 Jakub Jelinek <jakub@redhat.com>
50979 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50982 2011-12-24 Ulrich Drepper <drepper@gmail.com>
50985 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50986 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50988 * iconv/gconv_int.h: Likewise.
50989 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50990 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50991 from libc for GLIBC_2.16.
50992 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50993 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50994 * wcsmbs/uchar.h: Really define mbstate_t.
50995 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50996 * wcsmbs/c16rtomb.c: New file.
50997 * wcsmbs/mbrtoc16.c: New file.
50998 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50999 for C/POSIX locale.
51000 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51001 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51003 * wcsmbs/wchar.h: Add missing __restrict.
51005 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51008 * time/Makefile (routines): Add timespec_get.
51009 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51010 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51011 timespec for ISO C11.
51012 * time/timespec_get.c: New file.
51013 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51014 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51017 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51018 * stdlib/stdlib.h: Declare aligned_alloc.
51019 * Versions.def: Add GLIBC_2.16 for libc.
51020 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51023 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51026 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51030 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51033 * assert/assert.h (static_assert): Define.
51035 * version.h: Update for 2.16 development version.
51038 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51041 * version.h (RELEASE): Bump for 2.15 release.
51042 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51044 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51045 Patch by Marek Polacek <mpolacek@redhat.com>.
51047 * bits/byteswap.h: Protect long long constants with __extension__.
51048 * sysdeps/i386/bits/byteswap.h: Likewise.
51049 * sysdeps/ia64/bits/byteswap.h: Likewise.
51050 * sysdeps/s390/bits/byteswap.h: Likewise.
51051 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51053 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51056 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51057 destination buffer.
51058 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51060 2011-12-23 Marek Polacek <polacek@redhat.com>
51062 * elf/dl-addr.c (determine_info): Add inline keyword.
51063 * elf/tst-auditmod4b.c (check_avx): Likewise.
51064 * elf/tst-auditmod6b.c (check_avx): Likewise.
51065 * elf/tst-auditmod6c.c (check_avx): Likewise.
51066 * elf/tst-auditmod7b.c (check_avx): Likewise.
51068 2011-12-23 Ulrich Drepper <drepper@gmail.com>
51070 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51073 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51076 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51077 processing for last bytes.
51079 2011-08-06 Bruno Haible <bruno@clisp.org>
51082 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51083 U+0385, not to U+1FEE.
51086 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51087 entry for U+00A5 U+0301.
51089 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51092 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51093 buffer for the output is too small.
51095 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51099 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51100 SSE flags if possible.
51102 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51106 processing for last bytes.
51108 2011-12-22 Joseph Myers <joseph@codesourcery.com>
51110 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51111 (syscall-list-default-options, syscall-list-default-condition)
51112 (syscall-list-includes): Define.
51113 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51114 list of ABIs and options and #if conditions for each ABI. Do not
51115 handle common syscalls between ABIs specially.
51116 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51118 (syscall-list-variants, syscall-list-32bit-options)
51119 (syscall-list-32bit-condition, syscall-list-64bit-options)
51120 (syscall-list-64bit-condition): Define.
51121 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51122 (syscall-list-variants, syscall-list-32bit-options)
51123 (syscall-list-32bit-condition, syscall-list-64bit-options)
51124 (syscall-list-64bit-condition): Define.
51125 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51127 (syscall-list-variants, syscall-list-32bit-options)
51128 (syscall-list-32bit-condition, syscall-list-64bit-options)
51129 (syscall-list-64bit-condition): Define.
51130 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51132 (syscall-list-variants, syscall-list-32bit-options)
51133 (syscall-list-32bit-condition, syscall-list-64bit-options)
51134 (syscall-list-64bit-condition): Define.
51136 2011-12-22 Ulrich Drepper <drepper@gmail.com>
51138 * locale/iso-639.def: Add brx entry.
51141 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51142 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51144 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51145 __feraiseexcept_renamed.
51147 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51150 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51151 EPOLLET with unsigned values.
51152 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51153 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51155 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51156 to large cancellation.
51157 * math/s_cacoshf.c: Likewise.
51158 * math/s_cacoshl.c: Likewise.
51160 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51164 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51165 * math/s_cacoshf.c: Likewise.
51166 * math/s_cacoshl.c: Likewise.
51168 2011-12-21 Ulrich Drepper <drepper@gmail.com>
51171 * iconv/gconv.h: Define __GCONV_SWAP.
51172 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51173 * iconvdata/utf-16.c: Likewise.
51174 * iconvdata/utf-32.c: Likewise.
51176 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51180 numerator after shifting it by one limb.
51182 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51184 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51185 under [__USE_EXTERN_INLINES].
51187 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51190 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51192 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51194 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51195 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51197 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51198 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51199 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51200 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51201 for strncasecmp/strncasecmp_l compilation.
51202 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51203 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51205 2011-12-08 Marek Polacek <mpolacek@redhat.com>
51208 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51211 2011-12-17 Ulrich Drepper <drepper@gmail.com>
51214 * time/tzfile.c (__tzfile_read): Check values from file header.
51216 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51218 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51219 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51220 * powerpc/powerpc32/dl-start.S: Likewise.
51221 * powerpc/powerpc32/elf/start.S: Likewise.
51222 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51223 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51224 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51225 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51226 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51227 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51228 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51229 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51230 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51231 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51232 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51233 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51234 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51235 * powerpc/powerpc32/memset.S: Likewise.
51236 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51237 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51238 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51239 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51240 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51241 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51242 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51243 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51244 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51245 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51246 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51247 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51248 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51250 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51252 * math/libm-test.inc: Added more nearbyint tests.
51253 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51254 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51255 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51256 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51258 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
51260 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51263 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51265 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51266 Add wcscpy-ssse3 wcscpy-c.
51267 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51268 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51269 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51270 * sysdeps/x86_64/wcschr.S: New file.
51271 * sysdeps/x86_64/wcsrchr.S: New file.
51272 * string/test-strcmp.c: Remove checking of wcscmp function for
51274 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51275 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51276 wcsrchr-sse2 wcsrchr-c.
51277 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51278 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51279 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51280 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51281 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51282 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51283 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51284 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51285 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51286 * wcsmbc/wcschr.c (WCSCHR): New macro.
51288 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51290 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51291 * wcsmbs/test-wcsrchr.c: New file.
51292 * string/test-strrchr.c: Add wcsrchr support.
51294 * wcsmbs/test-wcscpy.c: New file.
51295 * string/test-strcpy.c: Add wcscpy support.
51298 2011-12-10 Ulrich Drepper <drepper@gmail.com>
51300 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51303 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
51306 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51308 2011-12-04 Ulrich Drepper <drepper@gmail.com>
51310 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51311 Minor optimizations.
51313 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51314 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51315 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51317 2011-12-03 Ulrich Drepper <drepper@gmail.com>
51319 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51320 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51321 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51322 for gcc to avoid warnings.
51323 * inet/Makefile (tests): Add tst-checks.
51324 * inet/tst-checks.c: New file.
51326 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51329 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51332 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51333 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51335 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51337 2011-12-02 Ulrich Drepper <drepper@gmail.com>
51339 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51342 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51344 2011-11-29 Joseph Myers <joseph@codesourcery.com>
51346 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51347 conditional on GCC version.
51348 (__arch_compare_and_exchange_val_8_acq)
51349 (__arch_compare_and_exchange_val_16_acq)
51350 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51351 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51352 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51354 2011-12-02 Joseph Myers <joseph@codesourcery.com>
51356 * sysdeps/sh/backtrace.c: New file.
51358 2011-12-02 Andreas Schwab <schwab@redhat.com>
51360 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
51363 2011-12-01 Andreas Schwab <schwab@redhat.com>
51365 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51366 falling back to utime.
51368 2011-11-30 Andreas Schwab <schwab@redhat.com>
51370 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51371 expectations for float.
51373 2011-11-29 Andreas Schwab <schwab@redhat.com>
51375 * locale/weight.h (findidx): Add parameter len.
51376 * locale/weightwc.h (findidx): Likewise.
51377 * posix/fnmatch_loop.c (FCT): Adjust caller.
51378 * posix/regcomp.c (build_equiv_class): Likewise.
51379 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51380 * posix/regexec.c (check_node_accept_bytes): Likewise.
51381 * string/strcoll_l.c (STRCOLL): Likewise.
51382 * string/strxfrm_l.c (STRXFRM): Likewise.
51384 2011-11-17 Ulrich Drepper <drepper@gmail.com>
51386 * Makefile.in: Remove CVSOPT handling.
51387 * configure.in: Remove use of AC_REVISION.
51388 * iconvdata/Makefile (distribute): No need to filter out CVS.
51389 * scripts/list-sources.sh: Remove CVS, subversion and monotone
51392 2011-11-16 Andreas Schwab <schwab@redhat.com>
51394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51395 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51396 [USE_AS_STRNCASECMP_L]: Likewise.
51397 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51398 NO_TLS_DIRECT_SEG_REFS.
51399 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51400 Fix argument offsets for non-PIC.
51401 [USE_AS_STRNCASECMP_L]: Likewise.
51402 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51403 NO_TLS_DIRECT_SEG_REFS.
51405 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51407 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51409 * locale/loadlocale.c (_nl_load_locale): Likewise.
51411 2011-11-15 Andreas Schwab <schwab@redhat.com>
51413 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51414 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51415 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51416 (SYSCALL_GETTIME): Set errno on error.
51418 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51419 count references to noai6ai_cached.
51421 2011-11-15 Ulrich Drepper <drepper@gmail.com>
51423 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51425 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51426 FD_CLOEXEC for /proc/self/maps.
51428 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51429 FD_CLOEXEC for /proc/meminfo.
51431 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51434 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
51435 FD_CLOEXEC for given file.
51437 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51439 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51440 FD_CLOEXEC for /etc/hosts.
51441 (_gethtent): Likewise.
51443 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51445 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51446 cancellation and set FD_CLOEXEC for /etc/netgroup.
51448 * nss/nss_files/files-key.c (search): Don't allow cancellation when
51449 reading /etc/publickey.
51451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51452 allow cancellation when reading /etc/group.
51454 * nss/nss_files/files-alias.c (internal_setent): Don't allow
51456 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
51458 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51459 when using data file.
51461 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51463 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51464 (write_nis_obj): Use "c" and "e" in fopen.
51466 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51468 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51470 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51472 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51474 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51477 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51479 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51481 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51483 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51484 file parsing and set FD_CLOEXEC.
51486 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51488 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51490 2011-11-14 Andreas Schwab <schwab@redhat.com>
51492 * malloc/arena.c (arena_get2): Don't call reused_arena when
51493 _int_new_arena failed.
51495 2011-11-14 Ulrich Drepper <drepper@gmail.com>
51497 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51498 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51499 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51500 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51503 to compile strcasecmp and strncasecmp.
51504 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51505 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51509 2011-11-13 Ulrich Drepper <drepper@gmail.com>
51511 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51512 locale-defines.sym to gen-as-const-headers.
51513 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51514 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51516 to compile strcasecmp and strncasecmp.
51517 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51518 strcasecmp_l and strncasecmp_l.
51519 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51520 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51521 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51522 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51523 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51524 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51525 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51526 * sysdeps/i386/i686/multiarch/strncase.S: New file.
51527 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51528 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51529 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51531 2011-11-12 Ulrich Drepper <drepper@gmail.com>
51533 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51534 result of SYSDEP_GETTIME_CPU to retval.
51535 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51536 parameter list to macro. Remove trailing semicolon. Adjust users.
51538 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51541 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51543 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51545 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51546 from unused variable.
51548 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51550 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51553 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51556 * sunrpc/rpc_prot.c (rejected): Fix case value.
51558 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51559 unsigned long long int to avoid warnings in shift.
51561 * posix/regex_internal.c (re_string_reconstruct): Actually use result
51563 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51566 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51567 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51568 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51570 * nis/nis_table.c (nis_list): Use variable of correct type for
51571 result of __follow_path call.
51573 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51575 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51576 of math functions ceil, trunc, floor, round, and sqrt, when
51577 avaliable on the platform.
51578 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51580 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51581 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51582 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51584 2011-10-30 Marek Polacek <mpolacek@redhat.com>
51586 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51587 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51589 2011-11-11 Roland McGrath <roland@hack.frob.com>
51591 * include/unistd.h: Fix __readlink return type.
51592 Reported by Chris Metcalf <cmetcalf@tilera.com>.
51594 2011-11-11 Ulrich Drepper <drepper@gmail.com>
51596 * stdlib/ucontext.h: Undo last change for makecontext.
51598 2011-11-11 Andreas Schwab <schwab@redhat.com>
51600 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51602 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51603 * setjmp/setjmp.h: Mark functions as non-leaf.
51604 * setjmp/bits/setjmp2.h: Likewise.
51605 * stdlib/ucontext.h: Likewise.
51607 2011-11-10 Andreas Schwab <schwab@redhat.com>
51609 * malloc/arena.c (_int_new_arena): Don't increment narenas.
51610 (reused_arena): Don't check arena limit.
51611 (arena_get2): Atomically check arena limit.
51613 2011-11-08 Ulrich Drepper <drepper@gmail.com>
51615 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51616 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51621 2011-11-07 Andreas Schwab <schwab@redhat.com>
51623 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51624 handler when locking.
51626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51627 Fix size of allocated buffer.
51629 2011-11-04 Andreas Schwab <schwab@redhat.com>
51632 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51633 declarations for long double functions.
51634 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51636 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51638 2011-11-03 Andreas Schwab <schwab@redhat.com>
51640 * nscd/nscd.c (main): Don't start AVC thread until credentials are
51643 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51646 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
51648 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51650 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
51652 * include/alloca.h (stackinfo_alloca_round): Define.
51653 (extend_alloca): Use it.
51654 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51655 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51658 * scripts/check-local-headers.sh: Ignore libaudit.h.
51660 * nscd/Makefile (extra-objs): Make recursively expanded.
51662 2011-11-01 Ulrich Drepper <drepper@gmail.com>
51664 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51665 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51667 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51668 * posix/tst-rfc3484-2.c: Likewise.
51669 * posix/tst-rfc3484-3.c: Likewise.
51671 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51673 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51675 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51676 process_vm_writev from libc using GLIBC_2.15 version.
51678 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51680 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
51682 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51685 2011-10-31 Ulrich Drepper <drepper@gmail.com>
51688 * nss/getent.c (initgroups_keys): Show error message in case no group
51691 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51692 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51693 __bump_nl_timestamp.
51694 * nscd/connections (nscd_init): When host database is served open
51695 netlink socket and request notification about configuration changes.
51696 (main_loop_poll): Track netlink file descriptor and bump timestamp
51697 in case data becomes available.
51698 (main_loop_epoll): Likewise.
51699 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51700 (database_pers_head): Add extra_data fileds.
51701 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51702 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51703 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51705 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51706 in6ai data, call __free_in6ai.
51707 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51708 Add -DHAVE_NETLINK.
51709 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
51710 interface information. Reuse previous data if netlink timestamp
51712 (__bump_nl_timestamp): New function.
51713 (__free_in6ai): New function.
51715 2011-10-30 Ulrich Drepper <drepper@gmail.com>
51717 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51718 close_not_cancel_no_status here.
51719 (__check_pf): Reorganize code a bit to not call close twice if OOM.
51721 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51724 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51727 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51728 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51729 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51731 2011-07-03 Andreas Jaeger <aj@suse.de>
51734 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51735 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51736 * math/libm-test.inc (sin_test): Add test case.
51738 2011-10-29 Ulrich Drepper <drepper@gmail.com>
51741 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51742 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51744 * elf/chroot_canon.c (chroot_canon): Cleanups.
51746 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51749 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51750 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51752 * string/test-strchr.c: Make usable for strchrnul testing.
51753 * string/test-strchrnul.c: New file.
51754 * string/Makefile (strop-tests): Add strchrnul.
51756 * po/it.po: Update from translation team.
51757 * po/es.po: Likewise.
51759 2011-10-28 Ulrich Drepper <drepper@gmail.com>
51761 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51762 the three constants needed as parameters. Drop the others.
51763 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51764 __m128i_strloadu_tolower.
51765 Create and initialize variable zero and use it in all the places
51766 where _mm_setzero_si128 was used.
51768 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51769 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51770 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51771 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51773 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51774 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51775 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51776 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51777 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51778 __mpranred, __mptan.
51779 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51780 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51781 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51782 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51783 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51784 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51785 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51786 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51787 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51789 2011-10-28 Andreas Schwab <schwab@redhat.com>
51791 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51792 redefine if SHARED.
51793 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51796 wide char related routines to wcsmbs subdir.
51798 2011-10-27 Andreas Schwab <schwab@redhat.com>
51801 * misc/sys/cdefs.h (__THROWNL): Define.
51802 * posix/unistd.h: Use __THREADNL instead of __THREAD
51803 for memory synchronization functions.
51805 2011-10-26 Roland McGrath <roland@hack.frob.com>
51808 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51810 * manual/stdio.texi (Obstack Streams): Node removed.
51812 2011-10-26 Andreas Schwab <schwab@redhat.com>
51814 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51815 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51816 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51818 * math/math_private.h (math_force_eval): Allow non-addressable
51820 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51822 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51824 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51825 file is not needed.
51827 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51828 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51829 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51830 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51831 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51832 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51833 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51834 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51836 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51837 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51838 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51839 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51840 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51841 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51842 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51843 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51844 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51845 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51846 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51847 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51848 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51849 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51850 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51851 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51852 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51853 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51854 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51856 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51857 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
51859 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51860 place. Use VEX encoding when compiling for AVX.
51862 2011-10-25 Andreas Schwab <schwab@redhat.com>
51864 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51865 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51867 * string/test-strchr.c (do_test): Don't generate NUL bytes.
51869 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51871 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51872 useless if() expression.
51873 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51874 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51875 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51877 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51878 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51879 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51880 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51881 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51882 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51883 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51884 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51885 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51886 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51887 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51888 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51889 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51890 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51891 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51893 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51895 2011-10-25 Andreas Schwab <schwab@redhat.com>
51897 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51899 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51901 2011-10-25 Ulrich Drepper <drepper@gmail.com>
51903 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51904 .text section. Avoid duplicate constants.
51905 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51906 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51907 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51912 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51913 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51914 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51915 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51916 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51917 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51918 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51919 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51920 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51921 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51922 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51923 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51924 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51925 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51926 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51927 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51929 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51930 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51931 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51932 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51933 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51934 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51935 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51936 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51937 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51938 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51939 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51940 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51941 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51942 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51943 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51944 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51945 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51946 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51947 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51948 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51949 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51951 2011-10-24 Ulrich Drepper <drepper@gmail.com>
51953 * sysdeps/x86_64/dla.h: Move to ...
51954 * sysdeps/x86_64/fpu/dla.h: ...here.
51955 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51956 situations. Use __builtin_fma only for gcc 4.6 and up.
51958 * config.make.in: Add have-mfma4 entry.
51959 * configure.in: Substitute libc_cv_cc_fma4.
51960 * math/Makefile (dbl-only-routines): Add sincostab.
51961 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51962 Use __sincostab not sincos.
51963 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
51970 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
51971 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
51972 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51973 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51975 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51976 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51978 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
51979 define aliases when function name is a macro.
51980 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51981 sysdeps/ieee754/dbl-64/sincos.tbl.
51982 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51983 fma4-enabled routines.
51984 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51985 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51986 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51987 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51988 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51989 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51990 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51991 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51992 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51993 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51994 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51995 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51996 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51997 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51998 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51999 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52000 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52001 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52002 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52003 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52004 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52005 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52006 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52007 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52008 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52009 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52011 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52012 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52013 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52015 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52018 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52019 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52023 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52024 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52026 2011-10-24 Andreas Schwab <schwab@redhat.com>
52028 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52030 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52032 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52034 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52038 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52039 Remove unused variable magic_bits.
52040 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52042 * string/strnlen.c: Define and use STRNLEN macro.
52043 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52044 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52045 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52046 * wcsmbs/wcslen.c: Define and use WCSLEN.
52047 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52048 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52049 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52050 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52051 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52052 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52053 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52055 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52058 strnlen-sse2-no-bsf.
52059 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52060 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52061 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52062 Add strnlen support.
52063 (USE_AS_STRNLEN): New macro.
52064 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52065 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52066 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52067 * sysdeps/x86_64/wcslen.S: New file.
52069 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52072 XMM-moves are used for copying on small sizes.
52074 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52076 * wcsmbs/Makefile (strop-tests): Add wcschr.
52077 * wcsmbs/test-wcschr.c: New file.
52078 * string/test-strchr.c: Update.
52079 Add wcschr support.
52082 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52084 * wcsmbs/Makefile (strop-tests): Add wcslen.
52085 * wcsmbs/test-wcslen.c: New file.
52086 * string/test-strlen.c: Update.
52087 Add wcslen support.
52090 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52092 * po/it.po: Update from translation team.
52094 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52096 * sysdeps/x86_64/wcscmp.S: Update.
52097 Fix wrong comparison semantics.
52098 wcscmp shall use signed comparison not unsigned.
52099 Don't use substraction to avoid overflow bug.
52100 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52101 * wcsmbc/wcscmp.c: Likewise.
52102 * string/test-strcmp.c: Likewise.
52103 Add new tests to check cases with negative values.
52105 2011-10-23 Ulrich Drepper <drepper@gmail.com>
52107 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52108 * sysdeps/x86_64/dla.h: ...here. New file.
52109 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52112 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52114 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52116 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52117 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52119 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52122 __ynl_finite aliases.
52124 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52128 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52130 [DLA_FMA] (EMULV): Use DLA_FMA.
52131 [DLA_FMA] (MUL12): Use EMULV.
52132 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52133 that are not needed.
52134 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52140 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52142 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52144 * math/s_nan.c: Undef __nan.
52145 * math/s_nanf.c: Undef __nanf.
52146 * math/s_nanl.c: Undef __nanl.
52147 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52150 2011-10-22 Ulrich Drepper <drepper@gmail.com>
52152 * math/s_catan.c: Add branch predictions.
52153 * math/s_catanf.c: Likewise.
52154 * math/s_catanh.c: Likewise.
52155 * math/s_catanhf.c: Likewise.
52156 * math/s_catanhl.c: Likewise.
52157 * math/s_catanl.c: Likewise.
52158 * math/s_cexp.c: Likewise.
52159 * math/s_cexpf.c: Likewise.
52160 * math/s_cexpl.c: Likewise.
52161 * math/s_clog.c: Likewise.
52162 * math/s_clog10.c: Likewise.
52163 * math/s_clog10f.c: Likewise.
52164 * math/s_clog10l.c: Likewise.
52165 * math/s_clogf.c: Likewise.
52166 * math/s_clogl.c: Likewise.
52167 * math/s_csqrt.c: Likewise.
52168 * math/s_csqrtf.c: Likewise.
52169 * math/s_csqrtl.c: Likewise.
52170 * math/s_ctanf.c: Likewise.
52171 * math/s_ctanh.c: Likewise.
52172 * math/s_ctanhf.c: Likewise.
52173 * math/s_ctanhl.c: Likewise.
52174 * math/s_ctanl.c: Likewise.
52176 * math/math_private.h: Define __nan, __nanf, __nanl.
52177 * math/s_cacosh.c: Include <math_private.h>.
52178 * math/s_cacoshl.c: Likewise.
52179 * math/s_casinh.c: Likewise.
52180 * math/s_casinhf.c: Likewise.
52181 * math/s_casinhl.c: Likewise.
52182 * math/s_ccos.c: Rely entire on ccosh.
52183 * math/s_ccosf.c: Rely entire on ccoshf.
52184 * math/s_ccosl.c: Rely entirely on ccoshl.
52185 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52186 Remove tests for FE_INVALID.
52187 * math/s_ccoshf.c: Likewise.
52188 * math/s_ccoshl.c: Likewise.
52189 * math/s_csin.c: Likewise.
52190 * math/s_csinf.c: Likewise.
52191 * math/s_csinh.c Likewise.
52192 * math/s_csinhf.c: Likewise.
52193 * math/s_csinhl.c: Likewise.
52194 * math/s_csinl.c: Likewise.
52195 * math/s_ctan.c: Likewise.
52196 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52197 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52198 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52200 2011-10-21 Ulrich Drepper <drepper@gmail.com>
52202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52203 compilation problems.
52205 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52208 2011-10-20 Ulrich Drepper <drepper@gmail.com>
52210 * sysdeps/i386/configure.in: Test for -mfma4 option.
52211 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52212 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52213 COMMON_CPUID_INDEX_80000001.
52214 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52215 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52216 use it if FMA3 is not supported.
52217 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52219 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52220 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52222 2011-10-20 Andreas Schwab <schwab@redhat.com>
52225 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52226 it would create a cycle with a link time dependency.
52228 2011-10-19 Ulrich Drepper <drepper@gmail.com>
52230 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52232 * string/Makefile (strop-tests): Add rawmemchr.
52233 * string/test-rawmemchr.c: New file.
52235 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52236 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52237 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52238 when compiling str{,n}casecmp and when AVX is available. Hook up
52239 new optimized code in initializers.
52241 2011-10-19 Andreas Schwab <schwab@redhat.com>
52243 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52244 __feraiseexcept instead of feraiseexcept.
52246 2011-10-18 Ulrich Drepper <drepper@gmail.com>
52248 * math/math_private.h: Define defaults for libc_fetestexcept and
52250 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52251 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52252 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52253 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52254 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52255 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52256 libc_fetestexcept and libc_feupdateenv.
52258 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52259 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52260 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52261 * sysdeps/x86_64/fpu/math_private.h: Define special version of
52262 libc_feholdexcept_setround.
52264 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52265 Add s_nearbyint-c and s_nearbyintf-c.
52266 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52267 nearbyintf inlines.
52268 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52269 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52270 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52271 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52273 * math/math_private.h: Define defaults for libc_fegetround,
52274 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52275 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52276 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52277 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52278 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52279 standard functions.
52280 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52281 Remove comments and hacks for old compiler versions.
52282 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52283 libc_fegetround, libc_fesetround, libc_feholdexcept, and
52284 libc_feholdexceptl.
52286 2011-10-18 Andreas Schwab <schwab@redhat.com>
52288 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52289 (__feraiseexcept_renamed): Add __NTH.
52290 (feraiseexcept): Add __NTH. Rename local variables to fix
52291 namespace violations.
52293 2011-10-17 Ulrich Drepper <drepper@gmail.com>
52295 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52297 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52299 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52300 recently added interfaces.
52301 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52303 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52304 about macro parameter expansion.
52306 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52307 __NO_MATH_INLINES is defined. Cleanups.
52309 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52310 and __floorf is target has SSE4.1.
52311 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52312 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52313 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52314 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52316 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52318 (floorf): Likewise.
52320 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52322 2011-10-17 Andreas Schwab <schwab@redhat.com>
52324 * misc/sys/cdefs.h: Fix last change.
52326 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52329 2011-10-16 Ulrich Drepper <drepper@gmail.com>
52331 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52333 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52335 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52336 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52337 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52338 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52339 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52340 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52341 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52342 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52343 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52344 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52345 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52346 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52347 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52348 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52349 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52350 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52351 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52352 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52353 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52354 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52356 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52357 ceil, ceilf, floor, floorf.
52359 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52360 Perform IRELATIVE relocations last.
52362 * elf/do-rel.h: Add another parameter nrelative, replacing the
52363 local variable with the same name. Change name of the function
52364 to end in Rel or Rela (uppercase).
52365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52366 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
52367 elf_dynamic_do_##reloc function.
52369 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52371 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52372 is sufficient, at least on modern CPUs.
52374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52376 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52377 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52379 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52381 * math/bits/math-finite.h: Add entries for exp.
52382 * math/e_expl.c: Add __*_finite alias.
52383 * sysdeps/i386/fpu/e_exp.S: Likewise.
52384 * sysdeps/i386/fpu/e_expf.S: Likewise.
52385 * sysdeps/i386/fpu/e_expl.c: Likewise.
52386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52387 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52388 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52389 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52390 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52391 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52392 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52394 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52395 is sufficient, at least on modern CPUs.
52397 * ctype/ctype-info.c (__ctype_init): Define.
52398 * include/ctype.h (__ctype_init): Declare.
52399 (__ctype_b_loc): The variable is always initialized.
52400 (__ctype_toupper_loc): Likewise.
52401 (__ctype_tolower_loc): Likewise.
52402 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52403 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52405 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
52407 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52409 * configure.in: Also look in $cxxmachine/include for C++ system
52412 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52414 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52415 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52416 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52417 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
52418 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52419 (USE_AS_WMEMCMP): New macro.
52421 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52422 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52423 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52424 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52426 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52427 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52428 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52429 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52430 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52431 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52432 (USE_AS_WMEMCMP): New macro.
52433 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52434 * sysdeps/string/test-memcmp.c: Update.
52435 Fix simple_wmemcmp.
52437 * wcsmbs/wmemcmp.c: Update.
52438 (WMEMCMP): New macro.
52441 2011-10-12 Andreas Jaeger <aj@suse.de>
52444 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52446 2011-10-15 Ulrich Drepper <drepper@gmail.com>
52448 * libio/iofwide.c (do_length): Avoid warning.
52450 * ctype/ctype.h (__isctype_f): Add missing __THROW.
52452 2011-10-14 Ulrich Drepper <drepper@gmail.com>
52454 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52456 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52457 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52458 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52459 * sysdeps/i386/i686/fpu/e_log.S: New file.
52460 * sysdeps/i386/i686/fpu/e_logf.S: New file.
52461 * sysdeps/i386/i686/fpu/e_logl.S: New file.
52463 * ctype/ctype.h: Add support for inlined isXXX functions when
52464 compiling C++ code.
52466 2011-10-14 Andreas Schwab <schwab@redhat.com>
52468 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52472 2011-10-13 Roland McGrath <roland@hack.frob.com>
52475 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52477 2011-10-13 Andreas Schwab <schwab@redhat.com>
52479 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52480 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52483 * sysdeps/x86_64/memrchr.S: Check for zero size.
52485 * string/stratcliff.c: Add memrchr tests.
52487 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52490 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52491 rawmemchr-sse2 rawmemchr-sse2-bsf.
52492 * sysdeps/i386/i686/multiarch/memchr.S: New file.
52493 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52494 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52495 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52496 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52497 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52498 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52499 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52500 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52501 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52502 * string/memrchr.c (MEMRCHR): New macro.
52504 2011-10-12 Ulrich Drepper <drepper@gmail.com>
52506 Add integration with gcc's -ffinite-math-only and optimize wrapper
52508 * Versions.def: Define GLIBC_2.15 version for libm.
52509 * math/Makefile (headers): Add bits/math-finite.h.
52510 * math/bits/math-finite.h: New file.
52511 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52512 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52513 * math/e_acoshl.c: Add __*_finite alias.
52514 * math/e_acosl.c: Likewise.
52515 * math/e_asinl.c: Likewise.
52516 * math/e_atan2l.c: Likewise.
52517 * math/e_atanhl.c: Likewise.
52518 * math/e_coshl.c: Likewise.
52519 * math/e_exp10.c: Likewise.
52520 * math/e_exp10f.c: Likewise.
52521 * math/e_exp10l.c: Likewise.
52522 * math/e_exp2l.c: Likewise.
52523 * math/e_fmodl.c: Likewise.
52524 * math/e_gammal_r.c: Likewise.
52525 * math/e_hypotl.c: Likewise.
52526 * math/e_j0l.c: Likewise.
52527 * math/e_j1l.c: Likewise.
52528 * math/e_jnl.c: Likewise.
52529 * math/e_lgammal_r.c: Likewise.
52530 * math/e_log10l.c: Likewise.
52531 * math/e_log2l.c: Likewise.
52532 * math/e_logl.c: Likewise.
52533 * math/e_powl.c: Likewise.
52534 * math/e_sinhl.c: Likewise.
52535 * math/e_sqrtl.c: Likewise.
52536 * math/e_scalb.c: Completely rewritten and optimized.
52537 * math/e_scalbf.c: Likewise.
52538 * math/e_scalbl.c: Likewise.
52539 * math/w_acos.c: Likewise.
52540 * math/w_acosf.c: Likewise.
52541 * math/w_acosl.c: Likewise.
52542 * math/w_acosh.c: Likewise.
52543 * math/w_acoshf.c: Likewise.
52544 * math/w_acoshl.c: Likewise.
52545 * math/w_asin.c: Likewise.
52546 * math/w_asinf.c: Likewise.
52547 * math/w_asinl.c: Likewise.
52548 * math/w_atan2.c: Likewise.
52549 * math/w_atan2f.c: Likewise.
52550 * math/w_atan2l.c: Likewise.
52551 * math/w_atanh.c: Likewise.
52552 * math/w_atanhf.c: Likewise.
52553 * math/w_atanhl.c: Likewise.
52554 * math/w_exp10.c: Likewise.
52555 * math/w_exp10f.c: Likewise.
52556 * math/w_exp10l.c: Likewise.
52557 * math/w_fmod.c: Likewise.
52558 * math/w_fmodf.c: Likewise.
52559 * math/w_fmodl.c: Likewise.
52560 * math/w_j0.c: Likewise.
52561 * math/w_j0f.c: Likewise.
52562 * math/w_j0l.c: Likewise.
52563 * math/w_j1.c: Likewise.
52564 * math/w_j1f.c: Likewise.
52565 * math/w_j1l.c: Likewise.
52566 * math/w_jn.c: Likewise.
52567 * math/w_jnf.c: Likewise.
52568 * math/w_log.c: Likewise.
52569 * math/w_logf.c: Likewise.
52570 * math/w_logl.c: Likewise.
52571 * math/w_log10.c: Likewise.
52572 * math/w_log10f.c: Likewise.
52573 * math/w_log10l.c: Likewise.
52574 * math/w_log2.c: Likewise.
52575 * math/w_log2f.c: Likewise.
52576 * math/w_log2l.c: Likewise.
52577 * math/w_pow.c: Likewise.
52578 * math/w_powf.c: Likewise.
52579 * math/w_powl.c: Likewise.
52580 * math/w_remainder.c: Likewise.
52581 * math/w_remainderf.c: Likewise.
52582 * math/w_remainderl.c: Likewise.
52583 * math/w_scalb.c: Likewise.
52584 * math/w_scalbf.c: Likewise.
52585 * math/w_scalbl.c: Likewise.
52586 * math/w_sqrt.c: Likewise.
52587 * math/w_sqrtf.c: Likewise.
52588 * math/w_sqrtl.c: Likewise.
52589 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52590 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
52592 * math/math_private.h: Declare __kernel_standard_f.
52593 * math/w_cosh.c: Remove cruft and optimize a bit.
52594 * math/w_coshf.c: Likewise.
52595 * math/w_coshl.c: Likewise.
52596 * math/w_exp2.c: Likewise.
52597 * math/w_exp2f.c: Likewise.
52598 * math/w_exp2l.c: Likewise.
52599 * math/w_hypot.c: Likewise.
52600 * math/w_hypotf.c: Likewise.
52601 * math/w_hypotl.c: Likewise.
52602 * math/w_lgamma.c: Likewise.
52603 * math/w_lgamma_r.c: Likewise.
52604 * math/w_lgammaf.c: Likewise.
52605 * math/w_lgammaf_r.c: Likewise.
52606 * math/w_lgammal.c: Likewise.
52607 * math/w_lgammal_r.c: Likewise.
52608 * math/w_sinh.c: Likewise.
52609 * math/w_sinhf.c: Likewise.
52610 * math/w_sinhl.c: Likewise.
52611 * math/w_tgamma.c: Likewise.
52612 * math/w_tgammaf.c: Likewise.
52613 * math/w_tgammal.c: Likewise.
52614 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52615 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52616 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52617 Minor optimizations. Pretty printing. Remove cruft.
52618 * sysdeps/i386/fpu/e_acosf.S: Likewise.
52619 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52620 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52621 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52622 * sysdeps/i386/fpu/e_acosl.c: Likewise.
52623 * sysdeps/i386/fpu/e_asin.S: Likewise.
52624 * sysdeps/i386/fpu/e_asinf.S: Likewise.
52625 * sysdeps/i386/fpu/e_atan2.S: Likewise.
52626 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52627 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52628 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52629 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52630 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52631 * sysdeps/i386/fpu/e_exp10.S: Likewise.
52632 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52633 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52634 * sysdeps/i386/fpu/e_exp2.S: Likewise.
52635 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52636 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52637 * sysdeps/i386/fpu/e_fmod.S: Likewise.
52638 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52639 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52640 * sysdeps/i386/fpu/e_hypot.S: Likewise.
52641 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52642 * sysdeps/i386/fpu/e_log.S: Likewise.
52643 * sysdeps/i386/fpu/e_log10.S: Likewise.
52644 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52645 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52646 * sysdeps/i386/fpu/e_log2.S: Likewise.
52647 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52648 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52649 * sysdeps/i386/fpu/e_logf.S: Likewise.
52650 * sysdeps/i386/fpu/e_logl.S: Likewise.
52651 * sysdeps/i386/fpu/e_pow.S: Likewise.
52652 * sysdeps/i386/fpu/e_powf.S: Likewise.
52653 * sysdeps/i386/fpu/e_powl.S: Likewise.
52654 * sysdeps/i386/fpu/e_remainder.S: Likewise.
52655 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52656 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52657 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52658 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52659 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52660 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52661 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52662 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52663 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52664 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52666 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52667 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52668 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52669 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52670 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52671 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52672 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52673 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52674 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52675 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52676 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52677 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52678 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52679 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52680 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52681 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52683 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52684 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52685 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52686 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52687 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52688 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52689 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52690 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52691 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52692 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52693 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52694 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52695 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52697 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52698 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52699 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52700 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52701 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52702 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52703 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52704 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52705 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52706 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52707 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52708 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52709 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52710 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52711 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52712 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52713 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52714 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52715 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52716 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52718 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52719 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52720 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52721 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52722 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52723 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52724 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52725 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52726 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52727 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52728 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52729 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52730 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52733 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52734 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52735 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52736 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52737 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52738 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52739 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52740 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52741 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52742 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52743 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52744 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52745 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52746 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52747 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52748 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52749 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52750 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52751 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52752 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52753 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52754 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52755 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52756 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52757 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52758 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52759 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52760 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52761 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52762 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52763 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52764 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52765 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52766 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52767 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52768 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52769 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52770 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52771 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52772 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52773 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
52774 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52775 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52776 (__isnanf): Likewise.
52777 (__isinf_ns): Likewise.
52778 (__isinf_nsf): Likewise.
52779 (__finite): Likewise.
52780 (__finitef): Likewise.
52781 (__ieee754_sqrt): Define as macro.
52782 (__ieee754_sqrtf): Define as macro.
52783 (__ieee754_sqrtl): Define as macro.
52784 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52786 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52787 __FINITE_MATH_ONLY__ consistent.
52788 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52790 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
52792 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52795 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52797 2011-10-09 Ulrich Drepper <drepper@gmail.com>
52799 * po/ja.po: Update from translation team.
52801 2011-10-08 Roland McGrath <roland@hack.frob.com>
52803 * locale/programs/locarchive.c (prepare_address_space): New function.
52804 (create_archive, enlarge_archive, open_archive): Use it.
52806 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52807 inside [SHARED], where it is used.
52809 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52811 * nss/getent.c (netgroup_keys): Remove unused variable.
52812 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52814 2011-10-08 Ulrich Drepper <drepper@gmail.com>
52816 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52817 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52819 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52820 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52821 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52822 * math/Makefile (libm-calls): Add s_isinf_ns.
52823 * math/divtc3.c: Use __isinf_nsl instead of isinf.
52824 * math/multc3.c: Likewise.
52825 * math/s_casin.c: Likewise.
52826 * math/s_casinf.c: Likewise.
52827 * math/s_casinl.c: Likewise.
52828 * math/s_ccos.c: Likewise.
52829 * math/s_ccosf.c: Likewise.
52830 * math/s_ccosl.c: Likewise.
52831 * math/s_ctan.c: Likewise.
52832 * math/s_ctanf.c: Likewise.
52833 * math/s_ctanh.c: Likewise.
52834 * math/s_ctanhf.c: Likewise.
52835 * math/s_ctanhl.c: Likewise.
52836 * math/s_ctanl.c: Likewise.
52837 * math/w_fmod.c: Likewise.
52838 * math/w_fmodf.c: Likewise.
52839 * math/w_fmodl.c: Likewise.
52840 * math/w_remainder.c: Likewise.
52841 * math/w_remainderf.c: Likewise.
52842 * math/w_remainderl.c: Likewise.
52843 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52844 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52845 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52847 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52848 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52849 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52850 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52852 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52854 * stdio-common/printf_fphex.c: Likewise.
52855 * stdio-common/printf_size.c: Likewise.
52857 * math/e_exp10.c: Include math_private.h using <...> not "...".
52858 * math/e_exp10f.c: Likewise.
52859 * math/e_exp10l.c: Likewise.
52860 * math/e_exp2l.c: Likewise.
52861 * math/e_j0l.c: Likewise.
52862 * math/e_j1l.c: Likewise.
52863 * math/e_jnl.c: Likewise.
52864 * math/e_lgammal_r.c: Likewise.
52865 * math/e_rem_pio2l.c: Likewise.
52866 * math/e_scalb.c: Likewise.
52867 * math/e_scalbf.c: Likewise.
52868 * math/e_scalbl.c: Likewise.
52869 * math/k_cosl.c: Likewise.
52870 * math/k_sinl.c: Likewise.
52871 * math/k_tanl.c: Likewise.
52872 * math/s_cacoshf.c: Likewise.
52873 * math/s_catan.c: Likewise.
52874 * math/s_catanf.c: Likewise.
52875 * math/s_catanh.c: Likewise.
52876 * math/s_catanhf.c: Likewise.
52877 * math/s_catanhl.c: Likewise.
52878 * math/s_catanl.c: Likewise.
52879 * math/s_ccosh.c: Likewise.
52880 * math/s_ccoshf.c: Likewise.
52881 * math/s_ccoshl.c: Likewise.
52882 * math/s_cexp.c: Likewise.
52883 * math/s_cexpf.c: Likewise.
52884 * math/s_cexpl.c: Likewise.
52885 * math/s_clog.c: Likewise.
52886 * math/s_clog10.c: Likewise.
52887 * math/s_clog10f.c: Likewise.
52888 * math/s_clog10l.c: Likewise.
52889 * math/s_clogf.c: Likewise.
52890 * math/s_clogl.c: Likewise.
52891 * math/s_csin.c: Likewise.
52892 * math/s_csinf.c: Likewise.
52893 * math/s_csinh.c: Likewise.
52894 * math/s_csinhf.c: Likewise.
52895 * math/s_csinhl.c: Likewise.
52896 * math/s_csinl.c: Likewise.
52897 * math/s_csqrt.c: Likewise.
52898 * math/s_csqrtf.c: Likewise.
52899 * math/s_csqrtl.c: Likewise.
52900 * math/s_ctan.c: Likewise.
52901 * math/s_ctanf.c: Likewise.
52902 * math/s_ctanh.c: Likewise.
52903 * math/s_ctanhf.c: Likewise.
52904 * math/s_ctanhl.c: Likewise.
52905 * math/s_ctanl.c: Likewise.
52906 * math/s_ldexp.c: Likewise.
52907 * math/s_ldexpf.c: Likewise.
52908 * math/s_ldexpl.c: Likewise.
52909 * math/s_significand.c: Likewise.
52910 * math/s_significandf.c: Likewise.
52911 * math/s_significandl.c: Likewise.
52912 * math/w_acos.c: Likewise.
52913 * math/w_acosf.c: Likewise.
52914 * math/w_acosh.c: Likewise.
52915 * math/w_acoshf.c: Likewise.
52916 * math/w_acoshl.c: Likewise.
52917 * math/w_acosl.c: Likewise.
52918 * math/w_asin.c: Likewise.
52919 * math/w_asinf.c: Likewise.
52920 * math/w_asinl.c: Likewise.
52921 * math/w_atan2.c: Likewise.
52922 * math/w_atan2f.c: Likewise.
52923 * math/w_atan2l.c: Likewise.
52924 * math/w_atanh.c: Likewise.
52925 * math/w_atanhf.c: Likewise.
52926 * math/w_atanhl.c: Likewise.
52927 * math/w_cosh.c: Likewise.
52928 * math/w_coshf.c: Likewise.
52929 * math/w_coshl.c: Likewise.
52930 * math/w_dremf.c: Likewise.
52931 * math/w_exp10.c: Likewise.
52932 * math/w_exp10f.c: Likewise.
52933 * math/w_exp10l.c: Likewise.
52934 * math/w_exp2.c: Likewise.
52935 * math/w_exp2f.c: Likewise.
52936 * math/w_fmod.c: Likewise.
52937 * math/w_fmodf.c: Likewise.
52938 * math/w_fmodl.c: Likewise.
52939 * math/w_hypot.c: Likewise.
52940 * math/w_hypotf.c: Likewise.
52941 * math/w_hypotl.c: Likewise.
52942 * math/w_j0.c: Likewise.
52943 * math/w_j0f.c: Likewise.
52944 * math/w_j0l.c: Likewise.
52945 * math/w_j1.c: Likewise.
52946 * math/w_j1f.c: Likewise.
52947 * math/w_j1l.c: Likewise.
52948 * math/w_jn.c: Likewise.
52949 * math/w_jnf.c: Likewise.
52950 * math/w_jnl.c: Likewise.
52951 * math/w_lgamma.c: Likewise.
52952 * math/w_lgamma_r.c: Likewise.
52953 * math/w_lgammaf.c: Likewise.
52954 * math/w_lgammaf_r.c: Likewise.
52955 * math/w_lgammal.c: Likewise.
52956 * math/w_lgammal_r.c: Likewise.
52957 * math/w_log.c: Likewise.
52958 * math/w_log10.c: Likewise.
52959 * math/w_log10f.c: Likewise.
52960 * math/w_log10l.c: Likewise.
52961 * math/w_log2.c: Likewise.
52962 * math/w_log2f.c: Likewise.
52963 * math/w_log2l.c: Likewise.
52964 * math/w_logf.c: Likewise.
52965 * math/w_logl.c: Likewise.
52966 * math/w_pow.c: Likewise.
52967 * math/w_powf.c: Likewise.
52968 * math/w_powl.c: Likewise.
52969 * math/w_remainder.c: Likewise.
52970 * math/w_remainderf.c: Likewise.
52971 * math/w_remainderl.c: Likewise.
52972 * math/w_scalb.c: Likewise.
52973 * math/w_scalbf.c: Likewise.
52974 * math/w_scalbl.c: Likewise.
52975 * math/w_sinh.c: Likewise.
52976 * math/w_sinhf.c: Likewise.
52977 * math/w_sinhl.c: Likewise.
52978 * math/w_sqrt.c: Likewise.
52979 * math/w_sqrtf.c: Likewise.
52980 * math/w_sqrtl.c: Likewise.
52981 * math/w_tgamma.c: Likewise.
52982 * math/w_tgammaf.c: Likewise.
52983 * math/w_tgammal.c: Likewise.
52985 * po/ja.po: Update from translation team.
52987 2011-09-29 Andreas Jaeger <aj@suse.de>
52990 * sunrpc/netname.c (netname2host): Fix logic.
52994 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52996 * math/w_remainder.c (__remainder): Likewise.
52997 * math/w_remainderf.c (__remainderf): Likewise.
52998 * math/libm-test.inc (remainder_test): Add test cases.
53000 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53002 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53005 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53007 * string/test-memcmp.c: Avoid unncessary #defines.
53008 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53010 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53012 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53013 Use new sse2 version for core i3 - i7 as it's faster
53014 than sse42 version.
53015 (bit_Prefer_PMINUB_for_stringop): New.
53016 * sysdeps/x86_64/rawmemchr.S: Update.
53017 Replace with faster SSE2 version.
53018 * sysdeps/x86_64/memrchr.S: New file.
53019 * sysdeps/x86_64/memchr.S: Update.
53020 Replace with faster SSE2 version.
53022 2011-09-12 Marek Polacek <mpolacek@redhat.com>
53024 * elf/dl-load.c (lose): Add cast to avoid warning.
53026 2011-10-07 Ulrich Drepper <drepper@gmail.com>
53028 * po/ca.po: Update from translation team.
53030 * inet/getnetgrent_r.c: Hook up nscd.
53031 * nscd/Makefile (routines): Add nscd_netgroup.
53032 (nscd-modules): Add netgroupcache.
53033 (CFLAGS-netgroupcache.c): Define.
53034 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53035 (cache_search): Add const to second parameter.
53036 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53038 (dbs): Add netgrdb entry.
53039 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53040 (verify_persistent_db): Handle netgrdb.
53041 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53042 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53044 (netgroup_response_header): Define.
53045 (innetgroup_response_header): Define.
53046 (datahead): Add netgroup_response_header and innetgroup_response_header
53048 * nscd/nscd.conf: Add entries for netgroup cache.
53049 * nscd/nscd.h (dbtype): Add netgrdb.
53050 (_PATH_NSCD_NETGROUP_DB): Define.
53051 (netgroup_iov_disabled): Declare.
53052 (xmalloc, xcalloc, xrealloc): Move declarations here.
53053 (cache_search): Adjust prototype.
53054 Add netgroup-related prototypes.
53055 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53056 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53057 (__nscd_innetgr): Declare.
53058 * nscd/selinux.c (perms): Use access_vector_t as element type and
53059 add netgroup-related initializers.
53060 * nscd/netgroupcache.c: New file.
53061 * nscd/nscd_netgroup.c: New file.
53062 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53063 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53064 For four parameters use innetgr.
53065 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53066 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53067 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53068 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53070 * nscd/connections.c (register_traced_file): Don't register file
53071 for disabled databases.
53073 2011-10-06 Ulrich Drepper <drepper@gmail.com>
53075 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53077 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53078 from tree and freeing node.
53080 2011-09-25 Jiri Olsa <jolsa@redhat.com>
53082 * nss/nsswitch.c (__nss_database_lookup): Handle
53083 nss_parse_service_list out of memory case.
53085 2011-09-15 Jiri Olsa <jolsa@redhat.com>
53087 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53088 out of memory case.
53090 2011-10-04 Andreas Schwab <schwab@redhat.com>
53092 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53093 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53095 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53096 elf_machine_rela, elf_machine_lazy_rel.
53097 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53098 (ELF_DYNAMIC_DO_REL): Likewise.
53099 (ELF_DYNAMIC_DO_RELA): Likewise.
53100 (ELF_DYNAMIC_RELOCATE): Likewise.
53101 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53102 to ELF_DYNAMIC_DO_REL.
53103 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53104 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53105 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53108 skip_ifunc, don't call ifunc function if non-zero.
53109 (elf_machine_rela): Likewise.
53110 (elf_machine_lazy_rel): Likewise.
53111 (elf_machine_lazy_rela): Likewise.
53112 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53113 (elf_machine_lazy_rel): Likewise.
53114 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53116 (elf_machine_lazy_rel): Likewise.
53117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53119 (elf_machine_lazy_rel): Likewise.
53120 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53121 (elf_machine_lazy_rel): Likewise.
53122 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53123 (elf_machine_lazy_rel): Likewise.
53124 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53125 (elf_machine_lazy_rel): Likewise.
53126 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53127 (elf_machine_lazy_rel): Likewise.
53128 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53129 (elf_machine_lazy_rel): Likewise.
53130 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53131 (elf_machine_lazy_rel): Likewise.
53133 2011-09-28 Ulrich Drepper <drepper@gmail.com>
53135 * nss/nss_files/files-init.c (_nss_files_init): Use static
53136 initialization for all the *_traced_file variables.
53138 2011-09-28 Andreas Schwab <schwab@redhat.com>
53140 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53142 2011-09-27 Roland McGrath <roland@hack.frob.com>
53145 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53147 2011-09-27 Andreas Schwab <schwab@redhat.com>
53149 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53150 Reread the line before reparsing it.
53152 2011-09-26 Andreas Schwab <schwab@redhat.com>
53154 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53156 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53157 Maxim Kuvyrkov <maxim@codesourcery.com>
53158 Joseph Myers <joseph@codesourcery.com>
53160 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53161 if needed for __stack_chk_guard.
53163 2011-09-19 Roland McGrath <roland@hack.frob.com>
53165 * sysdeps/posix/spawni.c (script_execute): Always define it.
53166 It will be optimized away if unused.
53167 (maybe_script_execute): New function.
53168 (__spawni): Call it.
53170 * Makerules: Don't include tls.make.
53171 (config-tls): Always set to thread.
53172 * tls.make.c: File removed.
53174 2011-09-19 Mike Frysinger <vapier@gentoo.org>
53176 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53177 * config.make.in (CPPFLAGS-config): New substituted variable.
53179 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53181 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53184 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53185 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53187 2011-09-15 Roland McGrath <roland@hack.frob.com>
53189 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53190 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53191 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53192 (CALL_FAIL): Likewise.
53193 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53194 (CALL_FAIL): Macro removed.
53195 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53197 2011-09-15 Ulrich Drepper <drepper@gmail.com>
53199 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53200 for __FINITE_MATH_ONLY__ == 1.
53202 2011-09-15 Andreas Schwab <schwab@redhat.com>
53204 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53205 __ieee754_sqrt instead of sqrt.
53206 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53207 __ieee754_sqrtf instead of sqrtf.
53208 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53209 __floorf instead of floorf.
53210 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53211 __floorf, __truncf instead of floorf, truncf.
53213 2011-09-14 Ulrich Drepper <drepper@gmail.com>
53215 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53217 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53218 __extern_always_inline.
53219 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53222 2011-09-14 Andreas Schwab <schwab@redhat.com>
53224 * elf/rtld.c (dl_main): Also relocate in dependency order when
53225 doing symbol dependency testing.
53227 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53230 Always define `refsym'.
53232 2011-09-13 Andreas Schwab <schwab@redhat.com>
53234 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53235 (__FD_ELT): Renamed from __FDELT.
53236 * misc/bits/select2.h (__FD_ELT): Likewise.
53237 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53238 __FD_MASK instead of __FDELT, __FDMASK.
53239 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53241 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53244 * elf/Makefile (gen-ldd): Fix pattern.
53246 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53247 (init_tls): Likewise.
53249 2011-09-12 Ulrich Drepper <drepper@gmail.com>
53251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53253 2011-09-12 Andreas Schwab <schwab@redhat.com>
53255 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53256 `struct cmsghdr *' instead of `void *'.
53257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53260 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
53262 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53264 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53265 ldd_rewrite_script.
53267 2011-09-11 Ulrich Drepper <drepper@gmail.com>
53269 * configure.in: Remove --with-tls option.
53270 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53271 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53272 out in case it is missing.
53273 * sysdeps/ia64/elf/configure.in: Likewise.
53274 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53275 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53276 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53277 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53278 * sysdeps/sh/elf/configure.in: Likewise.
53279 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53280 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53281 * sysdeps/x86_64/elf/configure.in: Likewise.
53282 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53283 * sysdeps/mach/hurd/tls.h: Likewise.
53286 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53289 * configure.in: Fix use of AC_INIT.
53291 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53293 2011-09-10 Ulrich Drepper <drepper@gmail.com>
53295 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53297 * malloc/hooks.c: Likewise.
53300 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
53301 variables statically.
53302 (narenas): Initialize.
53303 (list_lock): Initialize.
53304 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
53305 initializtion of main_arena and list_lock. Small cleanups.
53306 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53307 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
53308 Add initializers to main_arena and mp_.
53309 (malloc_state): Remove pagesize member. Change all users to use
53312 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53313 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
53314 is always initialized.
53316 * malloc/malloc.c: Removed unused configurations and dead code.
53317 * malloc/arena.c: Likewise.
53318 * malloc/hooks.c: Likewise.
53319 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53321 * include/tls.h: Removed. USE___THREAD must always be defined.
53322 * bits/libc-tsd.h: Don't handle !USE___THREAD.
53323 * elf/dl-libc.c: Likewise.
53324 * elf/dl-tsd.c: Likewise.
53325 * include/errno.h: Likewise.
53326 * include/netdb.h: Likewise.
53327 * include/resolv.h: Likewise.
53328 * inet/herrno-loc.c: Likewise.
53329 * inet/herrno.c: Likewise.
53330 * malloc/arena.c: Likewise.
53331 * malloc/hooks.c: Likewise.
53332 * malloc/malloc.c: Likewise.
53333 * resolv/res-state.c: Likewise.
53334 * resolv/res_libc.c: Likewise.
53335 * sysdeps/i386/dl-machine.h: Likewise.
53336 * sysdeps/ia64/dl-machine.h: Likewise.
53337 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53338 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53339 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53340 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53341 * sysdeps/sh/dl-machine.h: Likewise.
53342 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53343 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53344 * sysdeps/unix/i386/sysdep.S: Likewise.
53345 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53346 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53347 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53348 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53349 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53350 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53351 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53355 * sysdeps/unix/x86_64/sysdep.S: Likewise.
53356 * sysdeps/x86_64/dl-machine.h: Likewise.
53357 * tls.make.c: Likewise.
53359 * configure.in: Remove --with-__thread option. Make tests for
53360 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53361 tls_model attribute fail if no support is available. Remove
53363 * Makeconfig: Adjust for dropped configure option. All features are
53365 * Makerules: Likewise.
53366 * Versions.def: Likewise.
53367 * argp/argp-fmtstream.c: Likewise.
53368 * argp/argp-fmtstream.h: Likewise.
53369 * argp/argp-help.c: Likewise.
53370 * assert/assert.c: Likewise.
53371 * config.h.in: Likewise.
53372 * config.make.in: Likewise.
53373 * configure: Likewise.
53374 * configure.in: Likewise.
53375 * csu/Versions: Likewise.
53376 * csu/init.c: Likewise.
53377 * elf/tst-audit2.c: Likewise.
53378 * elf/tst-tls10.c: Likewise.
53379 * elf/tst-tls10.h: Likewise.
53380 * elf/tst-tls11.c: Likewise.
53381 * elf/tst-tls12.c: Likewise.
53382 * elf/tst-tls14.c: Likewise.
53383 * elf/tst-tlsmod11.c: Likewise.
53384 * elf/tst-tlsmod12.c: Likewise.
53385 * elf/tst-tlsmod13.c: Likewise.
53386 * elf/tst-tlsmod13a.c: Likewise.
53387 * elf/tst-tlsmod14a.c: Likewise.
53388 * elf/tst-tlsmod15b.c: Likewise.
53389 * elf/tst-tlsmod16a.c: Likewise.
53390 * elf/tst-tlsmod16b.c: Likewise.
53391 * elf/tst-tlsmod7.c: Likewise.
53392 * elf/tst-tlsmod8.c: Likewise.
53393 * elf/tst-tlsmod9.c: Likewise.
53394 * gmon/gmon.c: Likewise.
53395 * grp/fgetgrent_r.c: Likewise.
53396 * grp/putgrent.c: Likewise.
53397 * hurd/fopenport.c: Likewise.
53398 * include/libc-symbols.h: Likewise.
53399 * include/tls.h: Likewise.
53400 * intl/gettextP.h: Likewise.
53401 * intl/loadinfo.h: Likewise.
53402 * locale/global-locale.c: Likewise.
53403 * locale/localeinfo.h: Likewise.
53404 * mach/devstream.c: Likewise.
53405 * malloc/arena.c: Likewise.
53406 * malloc/set-freeres.c: Likewise.
53407 * misc/err.c: Likewise.
53408 * misc/getttyent.c: Likewise.
53409 * misc/mntent_r.c: Likewise.
53410 * posix/getopt.c: Likewise.
53411 * posix/wordexp.c: Likewise.
53412 * pwd/fgetpwent_r.c: Likewise.
53413 * resolv/Versions: Likewise.
53414 * resolv/res_hconf.c: Likewise.
53415 * shadow/fgetspent_r.c: Likewise.
53416 * shadow/putspent.c: Likewise.
53417 * stdio-common/printf_fphex.c: Likewise.
53418 * stdio-common/tmpfile.c: Likewise.
53419 * stdlib/abort.c: Likewise.
53420 * stdlib/fmtmsg.c: Likewise.
53421 * sunrpc/auth_unix.c: Likewise.
53422 * sunrpc/clnt_perr.c: Likewise.
53423 * sunrpc/clnt_tcp.c: Likewise.
53424 * sunrpc/clnt_udp.c: Likewise.
53425 * sunrpc/clnt_unix.c: Likewise.
53426 * sunrpc/openchild.c: Likewise.
53427 * sunrpc/svc_simple.c: Likewise.
53428 * sunrpc/svc_tcp.c: Likewise.
53429 * sunrpc/svc_udp.c: Likewise.
53430 * sunrpc/svc_unix.c: Likewise.
53431 * sunrpc/xdr.c: Likewise.
53432 * sunrpc/xdr_array.c: Likewise.
53433 * sunrpc/xdr_rec.c: Likewise.
53434 * sunrpc/xdr_ref.c: Likewise.
53435 * sunrpc/xdr_stdio.c: Likewise.
53437 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53439 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53441 2011-07-03 Andreas Jaeger <aj@suse.de>
53443 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53444 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53445 regenerate with gen-libm-tests.pl.
53447 2010-05-12 Petr Baudis <pasky@suse.cz>
53450 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53451 around j0() zero points by switching to j1().
53452 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53453 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53455 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53457 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53459 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53461 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53464 Patch in part by Pavel Roskin <proski@gnu.org>.
53467 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53469 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
53470 Free memory block if necessary.
53473 * libio/genops.c (INTDEF): For string streams the _lock pointer can
53474 be NULL. Don't lock in this case.
53476 2011-09-09 Roland McGrath <roland@hack.frob.com>
53478 * elf/elf.h (ELFOSABI_GNU): New macro.
53479 (ELFOSABI_LINUX): Define to that.
53481 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
53483 * string/strncat.c (strncat): Undef the symbol in case it has been
53484 defined in bits/string.h.
53486 2011-09-09 Ulrich Drepper <drepper@gmail.com>
53488 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53490 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53493 2011-08-17 Andreas Jaeger <aj@suse.de>
53495 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53497 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
53498 Ian Lance Taylor <iant@google.com>
53500 * math/libm-test.inc (lround_test): New testcase.
53501 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53503 2011-09-08 Ulrich Drepper <drepper@gmail.com>
53505 * Makefile: Remove support for automatic cvs check-ins.
53506 * Makerules: Likewise.
53507 * config.make.in: Likewise.
53508 * configure.in: Likewise.
53509 * intl/Makefile: Likewise.
53510 * locale/Makefile: Likewise.
53511 * po/Makefile: Likewise.
53512 * posix/Makefile: Likewise.
53513 * sysdeps/gnu/Makefile: Likewise.
53514 * sysdeps/mach/hurd/Makefile: Likewise.
53515 * sysdeps/sparc/sparc32/Makefile: Likewise.
53518 * posix/Makefile (bug-regex32-ENV): Define.
53519 Patch by John Stanley <jpsinthemix@verizon.net>.
53521 * misc/Makefile (headers): Add bits/select2.h.
53522 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53523 * misc/bits/select2.h: New file.
53524 * include/bits/select2.h: New file.
53525 * debug/Makefile (routines): Add fdelt_chk.
53526 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53527 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53529 * debug/fdelt_chk.c: New file.
53531 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
53532 * wcsmbs/test-wmemcmp.c: Likewise.
53533 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53534 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53536 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53538 * string/Makefile (strop-tests): Add memcmp.
53539 * string/test-wmemcmp.c: New file.
53540 * string/test-memcmp.c: Add wmemcmp support.
53542 2011-09-08 Roland McGrath <roland@hack.frob.com>
53545 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53548 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53549 garbage value in a __mach_port_mod_refs call in the cases of the
53550 task-self and thread-self ports.
53552 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
53554 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53556 2011-09-08 Andreas Schwab <schwab@redhat.com>
53558 * elf/dl-load.c (lose): Check for non-null L.
53560 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53562 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53564 * elf/dl-libc.c (dlerror_run): Pass back error code from
53568 * elf/dl-load.c (lose): Free l_origin if it is valid.
53570 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53572 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53573 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53574 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53575 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53576 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53577 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53579 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53581 * sysdeps/powerpc/fpu/e_hypot.c: New file.
53582 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53583 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53584 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53585 * sysdeps/powerpc/fpu/k_cosf.c: New file.
53586 * sysdeps/powerpc/fpu/k_sinf.c: New file.
53587 * sysdeps/powerpc/fpu/s_cosf.c: New file.
53588 * sysdeps/powerpc/fpu/s_sinf.c: New file.
53589 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53590 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53592 2011-08-15 Alan Modra <amodra@gmail.com>
53595 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53596 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53597 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
53598 ppc_mcount to static-only-routines.
53599 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53601 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53602 __mcount_internal with usual JUMPTARGET. Remove useless nop.
53604 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
53606 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53607 for finite and infinity parameters.
53609 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
53611 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53612 and add nop instructions for throughput optimization.
53613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53615 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
53617 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53618 aligned copy for power7 with vector-scalar instructions.
53619 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53621 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
53623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53626 2011-09-07 Andreas Schwab <schwab@redhat.com>
53629 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53632 2011-09-07 Ulrich Drepper <drepper@gmail.com>
53634 * sysdeps/unix/sysv/linux/x86_64/init-first.c
53635 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53636 syscall wrapper around clock_gettime in __vdso_clock_gettime.
53637 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53640 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53642 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53643 Forgot to demangle the pointer.
53645 * sysdeps/i386/sysdep.h: Define atom_text_section.
53646 * sysdeps/x86_64/sysdep.h: Likewise.
53647 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53648 section with atom_text_section.
53649 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53650 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53651 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53653 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53655 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53656 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53657 already be defined. Change to take two parameters and don't assign
53658 result to variable. Adjust all users.
53659 Define INTERNAL_GETTIME if not already defined.
53660 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53663 HAVE_CLOCK_GETTIME_VSYSCALL.
53664 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53667 gettimeofday vsyscall, just use time.
53669 2011-09-06 Andreas Schwab <schwab@redhat.com>
53671 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53674 2011-09-06 Ulrich Drepper <drepper@gmail.com>
53676 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53680 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53681 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53682 syscall if possible.
53684 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53686 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53687 e_ident. Don't pass to find_mapsXX.
53688 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53690 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53693 strchr-sse2-no-bsf strrchr-sse2-no-bsf
53694 * sysdeps/x86_64/multiarch/strchr.S: Update.
53695 Check bit_slow_BSF bit.
53696 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53697 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53698 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53700 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53703 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53705 (tryshell): Define.
53706 (__spawni): Change last parameter to be flag. Test
53707 SPAWN_XFLAGS_USE_PATH flag to use path or not.
53708 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53709 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53710 * posix/spawni.c: Likewise.
53711 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53712 * posix/spawnp.c: Likewise. Change normal version to use
53713 SPAWN_XFLAGS_USE_PATH.
53714 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53715 SPAWN_XFLAGS_TRY_SHELL.
53718 * posix/glob.h: Remove gcc 1.x support.
53721 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53723 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53726 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53728 * sysdeps/i386/i686/multiarch/strchr.S: New file.
53729 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53730 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53731 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53732 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53733 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53735 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53737 * sysdeps/x86_64/wcscmp.S: New file.
53739 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53740 wcscmp-c wcscmp-sse2
53741 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53742 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53743 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53744 * wcsmbs/wcscmp.c: Allow renaming.
53746 2011-09-05 David S. Miller <davem@davemloft.net>
53748 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53749 stack slot, rather than the struct return pointer slot.
53750 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53751 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53753 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53755 2011-09-05 Ulrich Drepper <drepper@gmail.com>
53757 * po/ja.po: Update from translation team.
53760 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53761 kernel in 64-bit binaries.
53763 2011-09-01 David S. Miller <davem@davemloft.net>
53765 * elf/elf.h (HWCAP_SPARC_*): Move to..
53766 * sysdeps/sparc/sysdep.h: this new file and add new values.
53767 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53768 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53769 _DL_HWCAP_COUNT to 24.
53770 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53772 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53773 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53774 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53776 instead of magic constants.
53777 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53779 2011-08-31 David S. Miller <davem@davemloft.net>
53781 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53783 Reimplement to do errno handling inline.
53784 (SYSCALL_ERROR_HANDLER): New macro.
53785 (__SYSCALL_STRING): Do not do errno handling in asm.
53786 (__CLONE_SYSCALL_STRING): Delete.
53787 (__INTERNAL_SYSCALL_STRING): Delete.
53788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53789 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53790 (PSEUDO): Reimplement to do errno handling inline.
53791 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53792 (SYSCALL_ERROR_HANDLER): New macro.
53793 (__SYSCALL_STRING): Do not do errno handling in asm.
53794 (__CLONE_SYSCALL_STRING): Delete.
53795 (__INTERNAL_SYSCALL_STRING): Delete.
53796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53797 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53799 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53800 (inline_syscall*): Add 'err' argument.
53801 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53802 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53803 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53804 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53806 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53807 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53809 2011-08-30 Andreas Schwab <schwab@redhat.com>
53811 * elf/rtld.c (dl_main): Relocate objects in dependency order.
53813 2011-08-29 Jiri Olsa <jolsa@redhat.com>
53815 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53818 2011-08-24 David S. Miller <davem@davemloft.net>
53820 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53822 2011-08-24 Andreas Schwab <schwab@redhat.com>
53824 * elf/Makefile: Add rules to build and run unload8 test.
53825 * elf/unload8.c: New file.
53826 * elf/unload8mod1.c: New file.
53827 * elf/unload8mod1x.c: New file.
53828 * elf/unload8mod2.c: New file.
53829 * elf/unload8mod3.c: New file.
53831 * elf/dl-close.c (_dl_close_worker): Reset private search list if
53834 2011-08-23 David S. Miller <davem@davemloft.net>
53836 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53837 subtract stack bias.
53838 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53839 %sp not %fp in calculations.
53840 (_JMPBUF_UNWINDS_ADJ): Likewise.
53842 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53843 (aio_suspend): Call it to force an exception region around the
53844 AIO_MISC_WAIT() invocation.
53846 2011-08-23 Andreas Schwab <schwab@redhat.com>
53848 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53851 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
53853 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53855 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53856 and <dl-machine.h>.
53857 (Elf64_FuncDesc): Remove.
53859 2011-08-22 David S. Miller <davem@davemloft.net>
53861 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53862 sigaltstack check, add missing cfi directives.
53863 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53864 missing cfi directives, and sigaltstack handling.
53866 2011-08-16 Andreas Schwab <schwab@redhat.com>
53869 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53870 object is seen twice.
53871 * elf/dl-fini.c (_dl_sort_fini): Likewise.
53873 * elf/Makefile (distribute): Add tst-initorder2.c.
53874 (tests): Add tst-initorder2.
53875 (modules-names): Add tst-initorder2a tst-initorder2b
53876 tst-initorder2c tst-initorder2d. Add rules to build them.
53877 ($(objpfx)tst-initorder2.out): New rule.
53878 * elf/tst-initorder2.c: New file.
53879 * elf/tst-initorder2.exp: New file.
53881 2011-08-22 Andreas Schwab <schwab@redhat.com>
53883 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53885 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53886 dependencies back to end of function.
53888 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53889 $(elfobjdir)/ld.so.
53891 2011-08-21 Ulrich Drepper <drepper@gmail.com>
53893 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53894 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53895 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53896 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53897 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53898 of __vdso_gettimeofday.
53899 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53900 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
53902 (_libc_vdso_platform_setup): Remove initialization of
53903 __vdso_gettimeofday and __vdso_time.
53905 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53907 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53908 and fgetc_unlocked.
53909 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53912 * elf/dl-open.c (add_to_global): Report additions to the global scope
53913 for LD_DEBUG=scopes.
53914 (dl_open_worker): Also print scope of newly loaded dependencies.
53915 (_dl_show_scope): Indicate if there is no scope.
53918 * stdio-common/Makefile (tests): Add bug24.
53919 * stdio-common/bug24.c: New file.
53921 2011-08-19 Andreas Jaeger <aj@suse.de>
53924 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53925 non-existant file when using close-on-exec mode.
53927 2011-08-20 Ulrich Drepper <drepper@gmail.com>
53929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53930 the very first instruction.
53932 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53933 the CFI state in the end.
53934 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53935 inclusion of dl-trampoline.h.
53936 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53938 2011-08-19 Andreas Schwab <schwab@redhat.com>
53940 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53941 expectations for long double.
53943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53944 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53946 2011-08-14 David S. Miller <davem@davemloft.net>
53948 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53949 artificual limit depends upon the system page size.
53951 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53953 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53954 * resolv/Makefile: Define CFLAGS-libresolv.
53956 2011-08-17 Andreas Schwab <schwab@redhat.com>
53958 * nss/makedb.c (compute_tables): Make variables used in nested
53961 2011-08-17 Ulrich Drepper <drepper@gmail.com>
53963 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53964 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53965 if buffer was too small.
53967 * elf/pldd.c (main): Attach to all threads in the process.
53968 Rewrite /proc handling to use *at functions.
53970 2011-08-16 Ulrich Drepper <drepper@gmail.com>
53972 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53973 specifies first scope to show.
53974 (dl_open_worker): Update callers. Move printing scope of new
53975 object to before the relocation.
53976 * elf/rtld.c (dl_main): Update _dl_show_scope call.
53977 * sysdeps/generic/ldsodefs.h: Update declaration.
53979 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53980 string for the scope number.
53982 2011-08-14 Ulrich Drepper <drepper@gmail.com>
53984 * nscd/servicescache.c (cache_addserv): Make sure written is always
53987 2011-08-14 Roland McGrath <roland@hack.frob.com>
53989 * sysdeps/i386/i486/bits/atomic.h
53990 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53991 statement expression, so as to suppress "set but not used" warning.
53992 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53994 * string/strncat.c (STRNCAT): Use prototype definition.
53996 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53997 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53999 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54000 (localedef-modules): Add localedef.
54001 (locale-modules): Add locale.
54003 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54004 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54005 to avoid a warning.
54007 2011-08-14 David S. Miller <davem@davemloft.net>
54009 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54010 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54012 2011-08-13 Ulrich Drepper <drepper@gmail.com>
54014 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54015 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54016 * elf/rtld.c (dl_main): Set l_name of vDSO.
54017 Call _dl_show_scope when DL_DEBUG_SCOPES.
54018 (process_dl_debug): Recognize scopes flag and also set it for all.
54019 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54020 Declare _dl_show_scope.
54022 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54023 (do_dlopen): Pass caller_dlopen to dl_open.
54024 (__libc_dlopen_mode): Initialize caller_dlopen.
54026 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54027 of libc. Make tolower call locale-independent. Optimize a bit by
54028 using isdigit instead of isalnum.
54029 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54031 2011-08-12 Ulrich Drepper <drepper@gmail.com>
54033 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54034 was a dependency or dynamically loaded.
54036 2011-08-11 Ulrich Drepper <drepper@gmail.com>
54038 * intl/l10nflist.c: Allow architecture-specific pop function.
54039 * sysdeps/x86_64/l10nflist.c: New file.
54041 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54044 2011-08-10 Andreas Schwab <schwab@redhat.com>
54046 * include/dirent.h: Add libc_hidden_proto for scandirat and
54047 scandirat64. Don't declare __scandirat64.
54048 * dirent/scandirat.c: Add libc_hidden_def.
54049 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54050 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54052 2011-08-10 David S. Miller <davem@davemloft.net>
54054 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54057 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54058 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54060 2011-08-09 Ulrich Drepper <drepper@gmail.com>
54062 * Versions.def [libc]: Add GLIBC_2.15.
54063 * dirent/Makefile (routines): Add scandirat and scandirat64.
54064 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54066 * dirent/dirent.h: Declare scandirat and scandirat64.
54067 * dirent/scandirat.c: New file.
54068 * dirent/scandirat64.c: New file.
54069 * sysdeps/wordsize-64/scandirat.c: New file.
54070 * sysdeps/wordsize-64/scandirat64.c: New file.
54071 * dirent/opendir.c: Define opendirat.
54072 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54074 * dirent/scandir64.c: Adjust for scandir.c change.
54075 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54076 __scandirat64, and __scandir_cancel_handler.
54077 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54078 additional parameter and use openat instead of open (outside of ld.so).
54079 Add new __opendir as wrapper around __opendirat.
54080 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54081 here without requiring old scandirat implementation.
54083 2011-08-08 Ulrich Drepper <drepper@gmail.com>
54085 * dirent/scandir.c (cancel_handler): Renamed to
54086 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54087 defined. Adjust users.
54088 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54089 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54091 2011-08-04 Ulrich Drepper <drepper@gmail.com>
54093 * string/test-string.h (IMPL): Use __STRING to expand name and then
54096 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54099 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54101 * string/Makefile: Update.
54102 (strop-tests): Append strncat.
54103 * string/test-wcscmp.c: New file.
54104 New comprehensive test for wcscmp.
54105 * string/test-strcmp.c: Update.
54106 (WIDE): New define.
54108 2011-07-22 Andreas Schwab <schwab@redhat.com>
54110 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54113 2011-07-26 Andreas Schwab <schwab@redhat.com>
54115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54116 encoding to ACE if AI_IDN.
54118 2011-08-01 Jakub Jelinek <jakub@redhat.com>
54120 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54121 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54123 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54125 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54126 Fix overflow bug in strncat.
54127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54129 * string/test-strncat.c: Update.
54130 Add new tests for checking overflow bugs.
54132 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54135 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54136 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54137 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54138 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54139 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54140 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54141 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54142 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54144 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54145 (USE_AS_STRCAT): Define.
54146 Add strcat and strncat support.
54147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54149 2011-07-25 Andreas Schwab <schwab@redhat.com>
54151 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54152 __n bigger than INT_MAX+1.
54153 (__strncmp_g): Likewise.
54155 2011-07-23 Ulrich Drepper <drepper@gmail.com>
54157 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54158 * libio/stido.h: Likewise.
54160 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54165 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54166 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54167 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54168 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54169 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54172 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54177 (_dl_x86_64_save_sse): Likewise.
54179 2011-07-22 Ulrich Drepper <drepper@gmail.com>
54181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54183 (_dl_x86_64_save_sse): Likewise.
54185 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54187 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54189 2011-07-21 Andreas Schwab <schwab@redhat.com>
54191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54193 (_dl_x86_64_save_sse): Use correct AVX check.
54195 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54197 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54198 bug in strncpy/strncat.
54199 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54201 2011-07-21 Ulrich Drepper <drepper@gmail.com>
54203 * string/tester.c (test_strcat): Add tests for different alignments
54204 of source and destination.
54205 (test_strncat): Likewise.
54207 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54210 * posix/glob.c (glob): Check passed in values before using them in
54211 expressions to avoid some overflows.
54212 (glob_in_dir): Likewise.
54215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54216 check for AVX enablement so that we don't crash with old kernels and
54218 * elf/tst-audit4.c: Add same checks here.
54219 * elf/tst-audit6.c: Likewise.
54221 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54223 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54225 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54227 2011-07-20 Ulrich Drepper <drepper@gmail.com>
54229 * po/cs.po: Update from translation team.
54230 * po/bg.po: Likewise.
54232 2011-07-12 Marek Polacek <mpolacek@redhat.com>
54234 * misc/sys/cdefs.h: Add support for const attribute.
54235 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54236 to gnu_dev_{major,minor,makedev} functions.
54238 2011-07-20 Marek Polacek <mpolacek@redhat.com>
54240 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54242 2011-07-20 Andreas Schwab <schwab@redhat.com>
54244 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54247 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54249 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54250 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54251 register in order to avoid conflicts with the soft frame pointer
54252 being held in r11 when necessary.
54253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54254 (INTERNAL_VSYSCALL_NCS): Likewise.
54256 2011-07-14 Marek Polacek <mpolacek@redhat.com>
54258 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54259 * elf/dl-fini.c (_dl_fini): Adjust caller.
54260 * elf/dl-close.c (_dl_close_worker): Likewise.
54261 * sysdeps/generic/ldsodefs.h: Adjust declaration.
54263 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54265 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54266 "aux_cache->nlibs < 0".
54268 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54269 in the reload-count case.
54271 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54274 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54275 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54276 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54277 * sysdeps/x86_64/multiarch/strcat.S: New file.
54278 * sysdeps/x86_64/multiarch/strncat.S: New file.
54279 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54280 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54281 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54282 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54283 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54284 (USE_AS_STRCAT): Define.
54285 Add strcat and strncat support.
54286 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54287 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54288 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54289 * string/strncat.c: Update.
54290 (USE_AS_STRNCAT): Define.
54291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54292 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54294 * sysdeps/x86_64/multiarch/init-arch.h
54295 (bit_Prefer_PMINUB_for_stringop): New.
54296 (index_Prefer_PMINUB_for_stringop): Likewise.
54297 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54298 bit_Prefer_PMINUB_for_stringop.
54300 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54302 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54304 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54305 of casting of buffer.
54306 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54307 buffer32 and buffer64.
54308 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54309 writes instead of casting of buffer.
54310 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54312 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54315 2011-07-19 Andreas Schwab <schwab@redhat.com>
54317 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54319 2011-07-19 Ulrich Drepper <drepper@gmail.com>
54321 * nscd/nscd.c (termination_handler): Don't do anything for a database
54322 if it has not yet been initialized.
54324 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54326 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54328 2011-07-15 Marek Polacek <mpolacek@redhat.com>
54330 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54332 2011-07-18 Ulrich Drepper <drepper@gmail.com>
54334 * po/nl.po: Update from translation team.
54335 * po/sv.po: Likewise.
54337 2011-07-16 Roland McGrath <roland@hack.frob.com>
54339 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54340 now disallowed by GCC.
54342 * configure.in (use-default-link): Default to yes if a test -shared
54343 link meets our qualifications.
54344 * configure: Regenerated.
54346 * config.make.in (output-format): New variable.
54347 * configure.in: Check for ld --print-output-format support.
54348 * configure: Regenerated.
54349 * Makerules ($(common-objpfx)format.lds)
54350 [$(output-format) != unknown]: Just use $(output-format),
54351 instead of the linker-script munging.
54353 2011-07-14 Roland McGrath <roland@hack.frob.com>
54355 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54356 of $(common-objpfx)shlib.lds.
54357 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54359 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54360 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54362 * configure.in (-z relro check): Adjust test code to add a large
54363 writable data section after it.
54364 * configure: Regenerated.
54366 2011-07-11 Roland McGrath <roland@hack.frob.com>
54368 * configure.in (-z relro check): Fix test code to make the variable
54370 * configure: Regenerated.
54372 2011-07-11 Ulrich Drepper <drepper@gmail.com>
54374 * nscd/nscd.h (struct traced_file): Define.
54375 (struct database_dyn): Remove inotify_descr, reset_res, and filename
54376 elements. Add traced_files.
54377 (inotify_fd): Declare.
54378 (register_traced_file): Declare.
54379 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54380 (inotify_fd): Export.
54381 (resolv_conf_descr): Remove.
54382 (nscd_init): Move inotify descriptor creation to main.
54383 Don't register files for notification here.
54384 (register_traced_file): New function.
54385 (invalidate_cache): Don't use reset_res to determine whether to call
54386 res_init, go through the list of registered files.
54387 (main_loop_poll): The inotify descriptors are now stored in the
54388 structures for the traced files.
54389 (main_loop_epoll): Likewise
54390 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
54391 to __nss_disable_nscd.
54392 * nscd/cache.c (prune_cache): There is no single inotify descriptor
54393 for a database anymore. Check the records for all the registered
54395 * nss/Makefile (libnss_files-routines): Add files-init.
54396 (libnss_db-routines): Add db-init.
54397 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54398 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54399 * nss/nss_db/db-init.c: New file.
54400 * nss/nss_files/files-init.c: New file.
54401 * nss/nsswitch.c (nss_load_library): New function. Broken out of
54402 __nss_lookup_function.
54403 (__nss_lookup_function): Call nss_load_library.
54404 (nss_load_all_libraries): New function.
54405 (__nss_disable_nscd): Take parameter with callback function for files
54406 to register. Set is_nscd. Load all the DSOs for the NSS modules
54407 used for the cached services.
54408 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54409 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54410 options for features to all the files in nscd.
54412 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54414 2011-07-10 Roland McGrath <roland@hack.frob.com>
54416 * csu/elf-init.c (__libc_csu_init): Comment typo.
54418 2011-07-09 Ulrich Drepper <drepper@gmail.com>
54420 * po/pl.po: Update from translation team.
54421 * po/ja.po: Likewise.
54422 * po/ru.po: Likewise.
54423 * po/ko.po: Likewise.
54424 * po/fr.po: Likewise.
54426 2011-07-09 Roland McGrath <roland@hack.frob.com>
54428 * configure.in (.ctors/.dtors header and trailer check):
54429 Use an empirical test on a built program.
54430 * configure: Regenerated.
54432 * configure.in (-z relro check): Use an empirical test on a built DSO.
54433 Detect, but do not require, on ia64.
54434 * configure: Regenerated.
54436 * configure.in (READELF): Find it with AC_CHECK_TOOL.
54437 Update tests that use readelf to use $READELF instead.
54438 * configure: Regenerated.
54440 2011-07-08 Ulrich Drepper <drepper@gmail.com>
54442 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54443 if the result is not used.
54445 2011-07-05 Andreas Jaeger <aj@suse.de>
54448 * stdlib/tst-strtod.c: Add testcase.
54450 2011-07-07 Ulrich Drepper <drepper@gmail.com>
54452 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54453 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54454 The latter has a higher limit. Take additional parameter to pass to
54456 (__pathconf): Pass file to __statfs_link_max.
54457 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54459 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54463 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54464 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54466 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54467 (__statfs_filesize_max): Likewise.
54468 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54470 2011-07-05 Andreas Jaeger <aj@suse.de>
54472 * resolv/res_comp.c (dn_skipname): Remove unused variable.
54474 2011-07-06 Marek Polacek <mpolacek@redhat.com>
54476 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54478 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54481 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
54483 * Makefile (strop-tests): Add strncat.
54484 * string/test-strncat.c: New file.
54486 2011-06-30 Marek Polacek <mpolacek@redhat.com>
54488 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54490 2011-06-21 Andreas Jaeger <aj@suse.de>
54492 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54493 Copy rule from iconvdata/Makefile.
54495 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54498 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54499 but no long options are defined, just return 'W'.
54501 2011-06-22 Marek Polacek <mpolacek@redhat.com>
54504 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54506 2011-07-06 Ulrich Drepper <drepper@gmail.com>
54508 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54510 (innetgr): Likewise.
54512 2011-07-05 Roland McGrath <roland@hack.frob.com>
54514 * config.make.in (install_root): Default to $(DESTDIR).
54516 2011-07-05 Ulrich Drepper <drepper@gmail.com>
54518 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54520 2011-07-02 Roland McGrath <roland@hack.frob.com>
54522 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54524 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54525 containing directory rather than embedding absolute directory names.
54527 * scripts/check-local-headers.sh: Rewritten using awk.
54528 Match by word, not by line. Print error messages for matches.
54529 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54531 * Makerules [shlib-lds-flags empty]:
54532 ($(common-objpfx)libc_pic.opts): New target.
54533 ($(common-objpfx)libc_pic.os.clean): New target.
54534 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54536 * config.make.in (OBJCOPY): New variable.
54537 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54538 * configure: Regenerated.
54540 * config.make.in (use-default-link): New variable.
54541 * configure.in (use_default_link): Grok --with-default-link to set it.
54542 * configure: Regenerated.
54543 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54544 (shlib-lds, shlib-lds-flags): Define to empty.
54546 * Makerules (shlib-lds): New variable.
54547 (shlib-lds-flags): New variable.
54548 (build-shlib, build-moduile, build-module-asneeded): Use it.
54549 ($(common-objpfx)libc.so): Use $(shlib-lds).
54550 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54551 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54553 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54554 DT_FLAGS/DT_FLAGS_1 with zero flags.
54556 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54557 linker script munging.
54559 2011-07-02 Ulrich Drepper <drepper@gmail.com>
54561 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54563 * crypt/sha512.c (sha512_process_block): Perform total addition using
54564 128-bit if possible.
54565 (__sha512_finish_ctx): Likewise.
54566 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54568 * crypt/sha256.c (SWAP64): Define.
54569 (sha256_process_block): Perform total addition using 64-bit if
54571 (__sha256_finish_ctx): Likewise.
54573 2011-07-01 Ulrich Drepper <drepper@gmail.com>
54575 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
54576 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54577 * nscd/hstcache.c (cache_addhst): Likewise.
54578 * nscd/grpcache.c (cache_addgr): Likewise.
54579 * nscd/aicache.c (addhstaiX): Likewise
54580 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54582 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
54584 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
54586 * nscd/hstcache.c (cache_addhst): Likewise.
54587 * nscd/grpcache.c (cache_addgr): Likewise.
54588 * nscd/aicache.c (addhstaiX): Likewise
54590 2011-07-01 Andreas Schwab <schwab@redhat.com>
54592 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54593 domain only when needed.
54595 2011-06-30 Andreas Schwab <schwab@redhat.com>
54597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54598 is always restored.
54600 2011-06-29 Ulrich Drepper <drepper@gmail.com>
54602 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54603 are re-adding the entry.
54604 * nscd/servicescache.c (cache_addserv): Likewise.
54606 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
54608 * sysdeps/generic/dl-irel.h: fix protection against multiple
54610 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54612 2011-06-28 Ulrich Drepper <drepper@gmail.com>
54615 * malloc/memusage.sh: Fix quoting in message.
54616 * debug/xtrace.sh: Likewise.
54618 * configure.in: Remove support for --experimental-malloc option, make
54620 * config.make.in: Likewise.
54621 * malloc/Makefile: Likewise.
54623 2011-06-27 Andreas Schwab <schwab@redhat.com>
54625 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54626 two-byte characters.
54628 2011-06-27 Roland McGrath <roland@hack.frob.com>
54630 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54631 AC_CACHE_CHECK invocation.
54632 * configure: Regenerated.
54634 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54636 2011-06-27 Ulrich Drepper <drepper@gmail.com>
54639 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
54640 bit from old_res_options.
54642 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54644 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54645 value type for setfct.
54647 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
54649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54650 __gettimeofday instead of gettimeofday.
54652 2011-06-26 Ulrich Drepper <drepper@gmail.com>
54654 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54656 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
54658 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54660 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54663 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54666 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54667 strcpy-sse2-unaligned strncpy-sse2-unaligned
54668 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54669 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54670 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54671 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54672 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54673 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54674 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54675 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54676 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54677 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54678 (STRCPY): Support SSE2 and SSSE3 versions.
54680 2011-06-24 Ulrich Drepper <drepper@gmail.com>
54683 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54684 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54685 kernels which artificially limit size of requests.
54687 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
54689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54690 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54691 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54692 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54693 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54694 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54695 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54696 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54698 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54699 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54700 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54701 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54702 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54703 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54705 Enable unaligned load optimization for Intel Core i3, i5 and i7
54707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54709 (index_Fast_Unaligned_Load): Define.
54710 (HAS_FAST_UNALIGNED_LOAD): Define.
54712 2011-06-23 Marek Polacek <mpolacek@redhat.com>
54714 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54716 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54719 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54720 until it is clear that the information is realy needed.
54721 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54723 2011-06-22 Andreas Schwab <schwab@redhat.com>
54725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54727 2011-06-22 Ulrich Drepper <drepper@gmail.com>
54729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54730 /sys/devices/system/cpu/online if it is usable.
54732 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54733 reading the information from the /proc filesystem to once a second.
54735 2011-06-21 Andreas Jaeger <aj@suse.de>
54737 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54738 NULL after inclusion of kernel headers.
54740 2011-06-21 Ulrich Drepper <drepper@gmail.com>
54742 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54743 calls to internal_setent.
54746 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54747 addresses using gethostbyname4_r ignore IPv4 addresses.
54749 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54750 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
54752 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54754 2011-06-20 David S. Miller <davem@davemloft.net>
54756 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54758 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54760 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54761 (elf_irel): Use it.
54762 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54763 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54764 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54765 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54766 * sysdeps/x86_64/dl-irel.h: Likewise.
54768 * elf/dl-runtime.c: Use elf_ifunc_invoke.
54769 * elf/dl-sym.c: Likewise.
54771 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54773 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
54774 need to dereference resplen2.
54776 2011-06-14 Andreas Schwab <schwab@redhat.com>
54778 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54780 2011-06-15 Ulrich Drepper <drepper@gmail.com>
54782 * Makeconfig: Define vardbdir and inst_vardbdir.
54783 * nss/Makefile: Add rules to install db-Makefile.
54785 * nss/nss_db/db-XXX.c: Cleanup.
54787 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54788 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54790 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54791 * nss/makedb.c: Implement -g option to specify that value strings
54792 are generated and should not be added to table iterated over for
54794 * nss/nss_db/db-initgroups.c: New file.
54796 * nss/getent.c: Add support for initgroups lookups through getgrouplist
54799 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54800 (internal_getgrouplist): Adjust to name change.
54801 Update use_initgroups_entry if this is not the first call.
54802 * nss/databases.def: Add initgroups entry.
54804 * nss/makedb.c (compute_tables): Check result of multiple hash table
54805 sizes to minimize maximum chain length.
54807 2011-06-14 Ulrich Drepper <drepper@gmail.com>
54809 * Versions.def: Add entry for libnss_db.
54810 * shlib-versions: Likewise.
54811 * nss/Makefile: Add rules to build libnss_db.
54812 * nss/Versions: Add libnss_db information. Organize libnss_files
54814 * nss/db-Makefile: Add gshadow support. Change rules for the new
54815 makedb progra. Some minor improvements to generate smaller files.
54816 * nss/nss_db/nss_db.h: Move NSS database header data structures to
54818 * nss/makedb.c: ...here.
54819 Improve database format to be smaller and require less memory at
54821 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
54823 * nss/nss_db/db-netgrp.c: Likewise.
54824 * nss/nss_db/db-open.c: Likewise.
54825 * nss/nss_files/flies-XXX.x: Adjust comments.
54826 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54827 * nss/nss_files/files-grp.c: Likewise.
54828 * nss/nss_files/files-hosts.c: Likewise.
54829 * nss/nss_files/files-network.c: Likewise.
54830 * nss/nss_files/files-proto.c: Likewise.
54831 * nss/nss_files/files-pwd.c: Likewise.
54832 * nss/nss_files/files-rpc.c: Likewise.
54833 * nss/nss_files/files-service.c: Likewise.
54834 * nss/nss_files/files-sgrp.c: Likewise.
54835 * nss/nss_files/files-spwd.c: Likewise.
54836 * nss/nss_db/db-alias.c: Removed.
54837 * nss/nss_db/dummy-db.h: Removed.
54839 2011-06-02 Ulrich Drepper <drepper@gmail.com>
54841 * nss/makedb.c: Rewritten to not use database library.
54842 * nss/Makefile: Update to build new makedb program.
54844 2011-06-14 Andreas Jaeger <aj@suse.de>
54846 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54847 memset declaration.
54849 2011-06-10 Andreas Schwab <schwab@redhat.com>
54851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54854 2011-06-10 Roland McGrath <roland@hack.frob.com>
54856 * Makerules (shlib.lds): Fail if the linker script comes out empty.
54857 * elf/Makefile ($(objpfx)ld.so): Likewise.
54859 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54860 Don't list ld.so twice in dependencies.
54862 * posix/bug-regex31.c: Include <stdlib.h>.
54864 * nscd/hstcache.c (cache_addhst): Remove unused variable.
54866 * nis/nss_compat/compat-spwd.c
54867 (getspent_next_nss_netgr): Remove unused variable.
54868 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54870 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54871 nonmembers" output to use the right array.
54873 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54875 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54877 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54878 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54879 * catgets/gencat.c (read_input_file): Likewise.
54880 * locale/programs/locarchive.c (enlarge_archive): Likewise.
54882 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54883 variable definition inside #if's controlling its use.
54885 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54887 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54889 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54891 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54894 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54896 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54897 * configure: Regenerated.
54899 * Makerules: Revert last change.
54900 * elf/Makefile: Likewise.
54902 2011-06-09 Roland McGrath <roland@hack.frob.com>
54904 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54905 * elf/Makefile ($(objpfx)librtld.os): Likewise.
54906 (reloc-link): Likewise.
54908 2011-06-09 Ulrich Drepper <drepper@gmail.com>
54910 * elf/Makefile: Add rules to build pldd.
54911 * elf/pldd.c: New file.
54912 * elf/pldd-xx.c: New file.
54914 2011-06-07 Ulrich Drepper <drepper@gmail.com>
54916 * version.h: Update for 2.15 development version.
54918 2011-06-07 David S. Miller <davem@davemloft.net>
54920 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54923 elf_machine_lazy_rel): Likewise.
54924 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54925 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54926 elf_machine_lazy_rel): Likewise.
54927 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54928 dl_hwcap via passed in argument.
54929 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54932 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54934 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
54936 2011-06-06 Roland McGrath <roland@hack.frob.com>
54939 * manual/fdl-1.1.texi: New file, verbatim from:
54940 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54941 * manual/lgpl-2.1.texi: New file, verbatim from:
54942 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54943 * manual/Makefile (licenses): New variable, list those new file names.
54945 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54947 * manual/fdl.texi: File removed.
54948 * manual/lesser.texi: File removed.
54949 * manual/libc.texinfo (Copying, Documentation License):
54950 Use new @include file names, put @appendix directive before @include.
54952 2011-06-04 Jakub Jelinek <jakub@redhat.com>
54955 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54956 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54957 (mq_open): Add __NTH.
54959 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
54961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54962 Assume Intel Core i3/i5/i7 processor if AVX is available.
54964 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54966 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54969 2011-05-31 Andreas Schwab <schwab@redhat.com>
54971 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54972 memory. Use alloca_account. Fix memory leak when retrying.
54974 2011-05-31 Ulrich Drepper <drepper@gmail.com>
54976 * version.h (RELEASE): Bump for 2.14 release.
54977 * include/features.h (__GLIBC_MINOR__): Bump to 14.
54979 * config.make.in (RANLIB): Remove entry.
54981 2011-05-30 Ulrich Drepper <drepper@gmail.com>
54983 * po/Makefile (po-sed-cmd): Add ksh to extensions.
54984 (libc.pot): Work around missing support for .ksh extension in xgettext.
54987 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54988 if both request failed.
54989 (send_dg): In case of server errors clear resplen or *resplen2.
54992 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54993 when there are multiple maps.
54994 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54995 (_dl_fini): Remove test here.
54997 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54999 2011-05-29 Ulrich Drepper <drepper@gmail.com>
55002 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55003 bit from old_res_options.
55004 (gaih_inet): Likewise.
55007 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55010 * resolv/res_init.c (res_setoptions): Make the code more compact.
55013 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55017 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55019 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55022 * malloc/malloc.h: Declare malloc hook variables as volatile.
55024 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55028 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55029 raise in the comment.
55030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55031 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55032 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55034 2011-05-28 Ulrich Drepper <drepper@gmail.com>
55037 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55038 grow the buffers more if it already has to be sufficient.
55039 (build_wcs_upper_buffer): Likewise.
55040 * posix/regexec.c (check_matching): Likewise.
55041 (clean_state_log_if_needed): Likewise.
55042 (extend_buffers): Don't enlarge buffers beyond size of the input
55044 Patches mostly by Emil Wojak <emil@wojak.eu>.
55045 * posix/bug-regex32.c: New file.
55046 * posix/Makefile (tests): Add bug-regex32.
55048 * locale/findlocale.c (_nl_find_locale): Return right away if
55049 _nl_explode_name failed.
55050 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55052 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55054 * debug/xtrace.sh: Unify messages.
55055 * malloc/memusage.sh: Likewise.
55058 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55059 time symbol from vDSO. Substitute with vsyscall if not available.
55060 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55063 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55064 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55065 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55066 Add sendmmsg and internal_sendmmsg.
55067 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55068 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55069 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55071 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55072 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55073 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55075 2011-05-27 Ulrich Drepper <drepper@gmail.com>
55078 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55079 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55081 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55085 * iconvdata/Makefile (tests): Add bug-iconv9.
55086 * iconvdata/bug-iconv9.c: New file.
55088 2011-05-27 Andreas Schwab <schwab@redhat.com>
55091 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55093 2011-05-25 Jakub Jelinek <jakub@redhat.com>
55095 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55096 (struct user_regs_struct): Change intcs field back to cs.
55098 2011-05-25 Ulrich Drepper <drepper@gmail.com>
55100 * po/ja.po: Update from translation team.
55102 2011-05-23 Ulrich Drepper <drepper@gmail.com>
55105 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55106 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55108 2011-05-20 Andreas Schwab <schwab@redhat.com>
55110 * stdlib/longlong.h: Update from GCC.
55112 2011-05-23 Andreas Schwab <schwab@redhat.com>
55114 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55116 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55117 Add parameter name.
55118 (__sysconf): Pass it down.
55120 2011-05-22 Ulrich Drepper <drepper@gmail.com>
55123 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55125 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55126 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55127 add in in __libc_use_alloca calls. Adjust callers.
55128 (glob): Use malloc in some situations.
55130 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55131 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55134 2011-05-21 Ulrich Drepper <drepper@gmail.com>
55136 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55137 and CLOCK_BOOTTIME_ALARM.
55140 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55143 * string/_strerror.c (__strerror_r): Print negative errors as signed
55147 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55148 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55149 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55151 * configure.in: Fix typo in redirection and correct removal of test
55152 files in two cases.
55155 * locale/setlocale.c (new_composite_name): Fix test to check for
55156 identical name of all categories.
55159 * libio/filedoalloc.c (local_isatty): New function.
55160 (_IO_file_doallocate): Use local_isatty.
55161 * stdio-common/perror.c (perror): In case a new stream is used
55162 forward the stream error.
55163 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55166 2011-05-20 Ulrich Drepper <drepper@gmail.com>
55169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55171 * include/alloca.h (extend_alloca_account): Define.
55174 * posix/regex.h: Fix comments with documentation of user-accessible
55175 fields after compilation and describe correct free'ing of pattern
55176 after re_compile_pattern.
55177 Patch by Reuben Thomas <rrt@sc3d.org>.
55179 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55181 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55182 and -mno-altivec to prevent the compiler from using Altivec and/or
55183 VSX instructions when the corresponding registers are not available.
55185 2011-05-19 Andreas Schwab <schwab@redhat.com>
55187 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55189 2011-05-19 Ulrich Drepper <drepper@gmail.com>
55191 * libio/freopen.c (freopen): Use __dup2, not dup2.
55192 * libio/freopen64.c (freopen64): Likewise.
55194 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55197 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55198 * math/Makefile (tests): Add test-powl.
55199 (CFLAGS-test-powl.c): Define.
55200 * math/test-powl.c: New file.
55202 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55204 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55206 2011-05-17 Ulrich Drepper <drepper@gmail.com>
55209 * iconvdata/gb18030.c: Update to GB18020-2005.
55211 2011-05-16 Ulrich Drepper <drepper@gmail.com>
55213 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55214 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55215 Patch by Aharon Robbins <arnold@skeeve.com>.
55218 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55222 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55223 through underflows.
55226 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55227 point to strings before performing equality test for error_one_per_line
55231 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55235 (struct user_fpregs_struct): Avoid __uint*_t types.
55238 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55239 symbol info. Use it instead of calling _dl_addr locally.
55240 (lock_and_info): New function.
55241 (tr_freehook): Call lock_and_info and pass symbol info as additional
55242 parameter to tr_where.
55243 (tr_mallochook): Likewise.
55244 (tr_reallochook): Likewise.
55245 (tr_memalignhook): Likewise.
55247 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55248 used and couldn't be at all thread-safe.
55250 2011-05-15 Ulrich Drepper <drepper@gmail.com>
55252 * libio/freopen.c (freopen): Don't close old file descriptor
55253 before the new one is opened. Instead dup the new file descriptor
55254 to the old one after the new stream is created.
55255 * libio/freopen64.c (freopen64): Likewise.
55256 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55257 * libio/fileops.c (_IO_new_file_close_it): Handle new
55258 _IO_FLAGS2_NOCLOSE flag.
55259 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55260 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55261 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55262 _IO_FLAGS2_NOCLOSE flag.
55263 * include/unistd.h: Add hidden_proto for dup3.
55264 Define __have_dup3.
55265 * io/dup3.c: Define hidden symbol.
55266 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55269 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55270 when an incomplete long option is used.
55271 * posix/tst-getopt_long1.c: New file.
55272 * posix/Makefile (tests): Add tst-getopt_long1.
55275 * scripts/config.guess: Update from autoconf-2.68.
55276 * scripts/config.sub: Likewise.
55279 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55281 (has_cpuclock): ...this. New function.
55282 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55283 macro here based on has_cpuclock code.
55286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55287 First byte (not low byte) is now always NUL.
55288 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55290 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55291 Use non-cancelable interfaces.
55294 * locale/iso-639.def: Add entry for Sorani.
55297 * include/stdlib.h: Move include protection to the right place.
55298 Define abort_msg_s. Declare __abort_msg with it.
55299 * stdlib/abort.c (__abort_msg): Adjust type.
55300 * assert/assert.c (__assert_fail_base): New function. Majority
55301 of code from __assert_fail. Allocate memory for __abort_msg with
55303 (__assert_fail): Now call __assert_fail_base.
55304 * assert/assert-perr.c: Remove bulk of implementation. Use
55305 __assert_fail_base.
55306 * include/assert.hL Declare __assert_fail_base.
55307 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55309 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55311 2011-05-14 Ulrich Drepper <drepper@gmail.com>
55315 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55316 until all modules are registered in the DTV.
55317 * elf/Makefile: Add rules to build and run tst-tls19.
55318 * elf/tst-tls19.c: New file.
55319 * elf/tst-tls19mod1.c: New file.
55320 * elf/tst-tls19mod2.c: New file.
55321 * elf/tst-tls19mod3.c: New file.
55322 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55325 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55329 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55330 two-byte sequence errors.
55331 * iconvdata/Makefile (tests): Add bug-iconv8.
55332 * iconvdata/bug-iconv8.c: New file.
55335 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55338 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55341 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55342 (dummy_getcfa): New function.
55343 (init): Get _Unwind_GetCFA address, use dummy if not found.
55344 (backtrace_helper): In recursion check, also check whether CFA changes.
55345 (__backtrace): Completely initialize arg.
55347 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55348 storing incomplete byte sequence in state object. Avoid testing for
55349 guaranteed too small input if we know there is enough data available.
55351 2011-05-11 Andreas Schwab <schwab@redhat.com>
55353 * Makeconfig (+link-pie): Indent.
55354 * Rules (binaries-pie): Define if $(have-fpie) and
55356 (binaries-shared): Also filter out $(binaries-pie).
55357 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55358 * nscd/Makefile (others-pie): Add nscd.
55359 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55360 ($(objpfx)nscd): Remove command override.
55361 * login/Makefile (others-pie): Add pt_chown.
55362 ($(objpfx)pt_chown): Remove command override.
55363 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55364 remove command overrides.
55366 2011-05-13 Ulrich Drepper <drepper@gmail.com>
55368 * libio/tst_putwc.c: Fix error messages.
55371 * libio/fileops.c (_IO_new_file_close_it): Always flush when
55372 currently writing and seek to current position when not.
55373 * libio/Makefile (tests): Add bug-fclose1.
55374 * libio/bug-fclose1.c: New file.
55376 2011-05-12 Ulrich Drepper <drepper@gmail.com>
55379 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55380 don't set DF_1_NODELETE here.
55381 (do_lookup_x): When entering new entry test for copy relocation
55382 and if necessary set DF_1_NODELETE flag.
55383 * elf/tst-unique4.cc: New file.
55384 * elf/tst-unique4.h: New file.
55385 * elf/tst-unique4lib.cc: New file.
55386 * elf/Makefile: Add rules to build and run tst-unique4.
55387 Patch by Piotr Bury <pbury@goahead.com>.
55389 2011-05-11 Ulrich Drepper <drepper@gmail.com>
55392 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55395 * misc/mntent_r.c (addmntent): Flush the stream after the output
55398 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55399 (is_trusted_path_normalize): Skip initial colon. Append slash
55400 to empty buffer. Duplicate is_trusted_path code but allow
55401 constructed patch to be prefix.
55402 (is_dst): Allow $ORIGIN followed by /.
55403 (_dl_dst_substitute): Correct clearing of check_for_trusted.
55404 Correct testing of result of is_trusted_path_normalize
55405 (decompose_rpath): Fix warning.
55407 2011-05-10 Ulrich Drepper <drepper@gmail.com>
55410 * grp/initgroups.c (internal_getgrouplist): When we found the service
55411 list through the initgroups entry in nsswitch.conf do not always
55412 continue on a successful lookup. Don't always use the
55413 __nss_group_database value if it is set.
55414 * nss/nsswitch.conf (initgroups): Change action for successful db
55415 lookup to continue for compatibility.
55417 2011-05-09 Ulrich Drepper <drepper@gmail.com>
55420 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55422 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55424 * iconvdata/tst-tables.sh: Likewise.
55425 * iconvdata/cp770.c: New file.
55426 * iconvdata/cp771.c: New file.
55427 * iconvdata/cp772.c: New file.
55428 * iconvdata/cp773.c: New file.
55429 * iconvdata/cp774.c: New file.
55430 * iconvdata/testdata/CP770: New file.
55431 * iconvdata/testdata/CP770..UTF8: New file.
55432 * iconvdata/testdata/CP771: New file.
55433 * iconvdata/testdata/CP771..UTF8: New file.
55434 * iconvdata/testdata/CP772: New file.
55435 * iconvdata/testdata/CP772..UTF8: New file.
55436 * iconvdata/testdata/CP773: New file.
55437 * iconvdata/testdata/CP773..UTF8: New file.
55438 * iconvdata/testdata/CP774: New file.
55439 * iconvdata/testdata/CP774..UTF8: New file.
55441 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55443 * iconvdata/gen-8bit-gap.sh: Likewise.
55444 * iconvdata/gen-8bit.sh: Likewise.
55446 * locale/iso-639.def: Add ary entry.
55449 * locale/C-translit.h.in: Add U20A1 transliteration.
55452 * locale/iso-639.def: Add wae entry.
55453 Patch by Kevin Bortis <bortis@translate-wae.ch>.
55456 * locale/programs/localedef.c (construct_output_path): Use ssize_t
55460 * locale/C-translit.h.in: Add entry for U20B9.
55461 Patch by pravin.d.s@gmail.com.
55463 2011-05-08 Ulrich Drepper <drepper@gmail.com>
55466 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55467 ENAMETOOLONG use generic getcwd.
55468 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
55469 in rtld. Use *stat64.
55470 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55471 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55472 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55473 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55474 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55475 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55476 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55477 __fstatat64 macros.
55478 * include/dirent.h: Add libc_hidden_proto for rewinddir.
55479 * dirent/rewinddir.c: Add libc_hidden_def.
55480 * sysdeps/mach/hurd/rewinddir.c: Likewise.
55481 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
55483 * include/dirent.h (__alloc_dir): Add flags parameter.
55484 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55485 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55487 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
55488 from fdopendir if O_CLOEXEC is already set.
55490 2011-03-15 Alan Modra <amodra@gmail.com>
55492 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55493 l_tls_firstbyte_offset non-zero. Save padding offset in
55494 l_tls_firstbyte_offset for later use.
55495 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55496 freeing static tls block.
55498 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
55500 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55501 where #ifdef was intended. The intent is to prevent ARG_MAX from
55502 being defined by the kernel headers.
55504 2011-05-07 Ulrich Drepper <drepper@gmail.com>
55507 * resolv/resolv.h: Define RES_NOTLDQUERY.
55508 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55509 no-tld-query and set RES_NOTLDQUERY.
55510 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55511 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55512 modern BIND to search name as TLD unless forbidden.
55514 2011-05-07 Petr Baudis <pasky@suse.cz>
55515 Ulrich Drepper <drepper@gmail.com>
55518 * elf/dl-load.c (fillin_rpath): Move trusted path check...
55519 (is_trusted_path): ...to here.
55520 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55521 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55522 using is_trusted_path_normalize() in setuid scripts.
55524 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55526 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55527 __BEGIN/__END_DECLS.
55529 2011-05-06 Ulrich Drepper <drepper@gmail.com>
55531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55532 NSS_STATUS_NOTFOUND if no record was found.
55534 2011-05-05 Andreas Schwab <schwab@redhat.com>
55536 * sunrpc/Makefile (headers): Add rpc/netdb.h.
55537 (headers-not-in-tirpc): Remove rpc/netdb.h
55538 * resolv/netdb.h: Revert last change.
55540 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
55542 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55543 circular dependency between libgcc.a and libc.a.
55545 2011-05-05 Andreas Schwab <schwab@redhat.com>
55547 * resolv/netdb.h: Don't include <rpc/netdb.h>.
55548 * nis/Makefile: Don't install rpcsvc/*.
55549 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55550 instead of <rpc/types.h>.
55551 (MAXHOSTNAMELEN): Define.
55553 2011-05-03 Andreas Schwab <schwab@redhat.com>
55555 * elf/ldconfig.c (add_dir): Don't crash on empty path.
55557 2011-04-28 Maciej Babinski <mbabinski@google.com>
55560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55561 gethostbyname4_r when IPv6 results are possible.
55563 2011-05-02 Ulrich Drepper <drepper@gmail.com>
55566 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55567 _PC_PIPE_BUF handling.
55569 2011-04-30 Bruno Haible <bruno@clisp.org>
55572 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55573 * resolv/netdb.h (getnameinfo): Change type of flags parameter
55575 * inet/getnameinfo.c (getnameinfo): Likewise.
55577 2011-04-29 Ulrich Drepper <drepper@gmail.com>
55579 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55580 to groups setting in database lookup.
55581 * nss/nsswitch.conf: Add initgroups entry.
55583 2011-04-22 Ulrich Drepper <drepper@gmail.com>
55586 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55588 Patch by Eric Blake <eblake@redhat.com>.
55590 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
55592 * sunrpc/Makefile (need-export-routines): Add svc_run.
55593 (routines): Remove svc_run.
55594 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55595 * sunrpc/clnt_perr.c (clnt_perrno): Export.
55596 * sunrpc/svc_run.c (svc_run): Likewise.
55597 * sunrpc/svc_udp.c (svcudp_create): Likewise.
55599 2011-04-21 Ulrich Drepper <drepper@gmail.com>
55601 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55602 problem in reallocation in last patch.
55604 2011-04-20 Ulrich Drepper <drepper@gmail.com>
55606 * sunrpc/Makefile: Move inclusion of Rules.
55608 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55610 * nss/nss_files/files-initgroups.c: New file.
55611 * nss/Makefile (libnss_files-routines): Add files-initgroups.
55612 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55613 _nss_files_initgroups_dyn.
55615 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
55617 * elf/elf.h (R_ARM_IRELATIVE): Define.
55619 2011-04-19 Ulrich Drepper <drepper@gmail.com>
55621 * po/ru.po: Update from translation team.
55623 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55625 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55628 2011-02-06 Mike Frysinger <vapier@gentoo.org>
55631 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55632 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55633 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55634 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55635 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55637 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
55639 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55641 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55642 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55645 2011-04-17 Ulrich Drepper <drepper@gmail.com>
55648 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55650 * stdlib/bug-getcontext.c: New file.
55651 * stdlib/Makefile: Add rules to build and run bug-getcontext.
55653 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55655 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55656 instructions into .machine "z9-109".
55657 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55658 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55660 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55662 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55663 between environment variables and auxiliary vector.
55665 2011-04-16 Ulrich Drepper <drepper@gmail.com>
55667 * Makefile: Add rules to build linkobj/libc.so.
55668 * include/libc-symbols.h: Define libc_hidden_nolink.
55669 * include/rpc/auth.h: Mark functions which are to be hidden.
55670 * include/rpc/auth_des.h: Likewise.
55671 * include/rpc/auth_unix.h: Likewise.
55672 * include/rpc/clnt.h: Likewise.
55673 * include/rpc/des_crypt.h: Likewise.
55674 * include/rpc/key_prot.h: Likewise.
55675 * include/rpc/pmap_clnt.h: Likewise.
55676 * include/rpc/pmap_prot.h: Likewise.
55677 * include/rpc/pmap_rmt.h: Likewise.
55678 * include/rpc/rpc_msg.h: Likewise.
55679 * include/rpc/svc.h: Likewise.
55680 * include/rpc/svc_auth.h: Likewise.
55681 * include/rpc/xdr.h: Likewise.
55682 * nis/Makefile: Link all DSOs against linkobj/libc.so.
55683 * nss/Makefile: Likewise.
55684 * sunrpc/Makefile: Don't install headers. Build library with normal
55685 entry points. Don't build rpcinfo. Link RPC tests appropriately.
55686 * sunrpc/auth_des.c: Hide exported symbols by default, export some
55687 for the compat linking library. Remove use of INTDEF/INTUSE.
55688 * sunrpc/auth_none.c: Likewise.
55689 * sunrpc/auth_unix.c: Likewise.
55690 * sunrpc/authdes_prot.c: Likewise.
55691 * sunrpc/authuxprot.c: Likewise.
55692 * sunrpc/clnt_gen.c: Likewise.
55693 * sunrpc/clnt_perr.c: Likewise.
55694 * sunrpc/clnt_raw.c: Likewise.
55695 * sunrpc/clnt_simp.c: Likewise.
55696 * sunrpc/clnt_tcp.c: Likewise.
55697 * sunrpc/clnt_udp.c: Likewise.
55698 * sunrpc/clnt_unix.c: Likewise.
55699 * sunrpc/des_crypt.c: Likewise.
55700 * sunrpc/des_soft.c: Likewise.
55701 * sunrpc/get_myaddr.c: Likewise.
55702 * sunrpc/key_call.c: Likewise.
55703 * sunrpc/key_prot.c: Likewise.
55704 * sunrpc/netname.c: Likewise.
55705 * sunrpc/pm_getmaps.c: Likewise.
55706 * sunrpc/pm_getport.c: Likewise.
55707 * sunrpc/pmap_clnt.c: Likewise.
55708 * sunrpc/pmap_prot.c: Likewise.
55709 * sunrpc/pmap_prot2.c: Likewise.
55710 * sunrpc/pmap_rmt.c: Likewise.
55711 * sunrpc/publickey.c: Likewise.
55712 * sunrpc/rpc_cmsg.c: Likewise.
55713 * sunrpc/rpc_common.c: Likewise.
55714 * sunrpc/rpc_dtable.c: Likewise.
55715 * sunrpc/rpc_prot.c: Likewise.
55716 * sunrpc/rpc_thread.c: Likewise.
55717 * sunrpc/rtime.c: Likewise.
55718 * sunrpc/svc.c: Likewise.
55719 * sunrpc/svc_auth.c: Likewise.
55720 * sunrpc/svc_authux.c: Likewise.
55721 * sunrpc/svc_raw.c: Likewise.
55722 * sunrpc/svc_run.c: Likewise.
55723 * sunrpc/svc_simple.c: Likewise.
55724 * sunrpc/svc_tcp.c: Likewise.
55725 * sunrpc/svc_udp.c: Likewise.
55726 * sunrpc/svc_unix.c: Likewise.
55727 * sunrpc/svcauth_des.c: Likewise.
55728 * sunrpc/xcrypt.c: Likewise.
55729 * sunrpc/xdr.c: Likewise.
55730 * sunrpc/xdr_array.c: Likewise.
55731 * sunrpc/xdr_float.c: Likewise.
55732 * sunrpc/xdr_intXX_t.c: Likewise.
55733 * sunrpc/xdr_mem.c: Likewise.
55734 * sunrpc/xdr_rec.c: Likewise.
55735 * sunrpc/xdr_ref.c: Likewise.
55736 * sunrpc/xdr_sizeof.c: Likewise.
55737 * sunrpc/xdr_stdio.c: Likewise.
55739 2011-04-10 Ulrich Drepper <drepper@gmail.com>
55742 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55743 * sysdeps/ia64/dl-tls.h: Likewise.
55744 * sysdeps/powerpc/dl-tls.h: Likewise.
55745 * sysdeps/s390/dl-tls.h: Likewise.
55746 * sysdeps/sh/dl-tls.h: Likewise.
55747 * sysdeps/sparc/dl-tls.h: Likewise.
55748 * sysdeps/x86_64/dl-tls.h: Likewise.
55749 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55751 2011-03-14 Andreas Schwab <schwab@redhat.com>
55753 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55754 rpath element also skip the following colon.
55755 (expand_dynamic_string_token): Add is_path parameter and pass
55756 down to DL_DST_REQUIRED and _dl_dst_substitute.
55757 (decompose_rpath): Call expand_dynamic_string_token with
55758 non-zero is_path. Ignore empty rpaths.
55759 (_dl_map_object_from_fd): Call expand_dynamic_string_token
55762 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
55764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55767 2011-04-09 Ulrich Drepper <drepper@gmail.com>
55770 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55771 Patch by Filipe David Manana <fdmanana@apache.org>.
55773 2011-04-07 Andreas Schwab <schwab@redhat.com>
55775 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55776 Maintain aligned stack.
55777 (CHECK_RSP): Remove unused macro.
55779 2011-04-03 Ulrich Drepper <drepper@gmail.com>
55781 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55782 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55784 2011-04-02 Ulrich Drepper <drepper@gmail.com>
55786 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55788 * include/features.h: Mention __USE_XOPEN2K8 in comment.
55790 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
55793 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55794 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55795 * sysdeps/x86_64/memmove.c: New file.
55796 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55797 (memcpy): Renamed to ...
55798 (__new_memcpy): This.
55799 (memcpy): Provide GLIBC_2_14 memcpy.
55800 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55801 (memcpy): Provide GLIBC_2_2_5 memcpy.
55803 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55806 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55808 2011-03-30 Andreas Schwab <schwab@redhat.com>
55810 * misc/syncfs.c: New file.
55811 * misc/Makefile (routines): Add syncfs.
55812 * posix/unistd.h: Declare syncfs.
55813 * sysdeps/unix/syscalls.list: Add syncfs.
55815 2011-04-01 Andreas Schwab <schwab@redhat.com>
55817 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55819 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55824 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55825 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55827 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55829 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55830 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55831 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55832 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55833 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55835 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55837 * io/Makefile: Compile fallocate.c, fallocate64.c, and
55838 sync_file_range.c with -fexceptions.
55839 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55840 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55841 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55842 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55843 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55844 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55845 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55846 sync_file_range as cancellation point
55847 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
55848 now a wrapper around __call_sync_file_range with cancellation handling.
55849 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55850 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
55851 function name to __call_sync_file_range.
55852 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55853 Add call_sync_file_range.
55855 2011-04-01 Andreas Schwab <schwab@redhat.com>
55857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55860 2011-04-01 Ulrich Drepper <drepper@gmail.com>
55862 * iconv/iconv.h: Fix typo in comment.
55863 * io/fcntl.h: Likewise.
55864 * libio/stdio.h: Likewise.
55865 * posix/spawn.h: Likewise.
55866 * posix/unistd.h: Likewise.
55867 * stdlib/stdlib.h: Likewise.
55868 * time/time.h: Likewise.
55869 * wcsmbs/wchar.h: Likewise.
55871 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55872 open_by_handle): Add.
55873 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55874 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
55875 Augment a few comments.
55876 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55878 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55880 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55881 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55884 * io/fcntl.h (AT_EMPTY_PATH): Define.
55886 2011-03-30 Ulrich Drepper <drepper@gmail.com>
55888 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55889 * sysdeps/unix/sysv/linux/bits/time.h: New file.
55890 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55892 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
55893 * Versions.def: Add GLIBC_2.14.
55894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55897 2011-03-22 Ulrich Drepper <drepper@gmail.com>
55899 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55901 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55903 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
55906 * string/test-strncmp.c (do_page_test): New function.
55907 (check2): Likewise.
55908 (test_main): Call check2.
55909 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55911 2011-03-20 Ulrich Drepper <drepper@gmail.com>
55914 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55915 Handle cache information in CPU leaf 4.
55916 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55918 2011-03-18 Ulrich Drepper <drepper@gmail.com>
55921 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55922 character representation.
55923 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55925 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
55927 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55928 END(__isnan) to END(__isnanf) to match function entry point/label
55929 EALIGN(__isnanf,...).
55931 2011-03-10 Jakub Jelinek <jakub@redhat.com>
55933 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55935 2011-03-10 Ulrich Drepper <drepper@gmail.com>
55938 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55939 copy from the symbol referenced in the relocation to initialize the
55941 Patch by Piotr Bury <pbury@goahead.com>.
55942 * elf/Makefile: Add rules to build and tst-unique3.
55943 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55944 * elf/tst-unique3.cc: New file.
55945 * elf/tst-unique3.h: New file.
55946 * elf/tst-unique3lib.cc: New file.
55947 * elf/tst-unique3lib2.cc: New file.
55949 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55951 2011-03-10 Mike Frysinger <vapier@gentoo.org>
55953 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55954 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
55957 2011-03-06 Ulrich Drepper <drepper@gmail.com>
55959 * elf/dl-load.c (_dl_map_object): If we are looking for the first
55960 to-be-loaded object along a path to loader is ld.so.
55962 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55963 Ulrich Drepper <drepper@gmail.com>
55965 * sysdeps/x86_64/memset.S: After aligning destination, code
55966 branches to different locations depending on the value of
55967 misalignment, when multiarch is enabled. Fix this.
55969 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
55971 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55972 Set _x86_64_preferred_memory_instruction for AMD processsors.
55973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55974 Set bit_Prefer_SSE_for_memop for AMD processors.
55976 2011-03-04 Ulrich Drepper <drepper@gmail.com>
55978 * libio/fmemopen.c (fmemopen): Optimize a bit.
55980 2011-03-03 Andreas Schwab <schwab@redhat.com>
55982 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55984 2011-03-03 Roland McGrath <roland@redhat.com>
55986 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55988 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
55990 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55991 __bzero_ultra1 instead of __memset_ultra1.
55993 2011-02-23 Andreas Schwab <schwab@redhat.com>
55994 Ulrich Drepper <drepper@gmail.com>
55997 * include/link.h (struct link_map): Add l_orig_initfini.
55998 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55999 returning unsuccessfully.
56000 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56001 close of a file loaded at startup, restore the original l_initfini
56003 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56004 list, store the pointer.
56005 * elf/Makefile ($(objpfx)noload-mem): New rule.
56006 (noload-ENV): Define.
56007 (tests): Add $(objpfx)noload-mem.
56008 * elf/noload.c: Include <memcheck.h>.
56009 (main): Call mtrace. Close all opened handles.
56011 2011-02-17 Andreas Schwab <schwab@redhat.com>
56014 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56015 dependencies are missing.
56017 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56019 Fix __if_freereq crash: Unlike the generic version which uses free,
56021 * sysdeps/mach/hurd/ifreq.h: New file.
56023 2011-01-27 Petr Baudis <pasky@suse.cz>
56024 Ulrich Drepper <drepper@gmail.com>
56027 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56028 to extend_alloca().
56029 * stdio-common/bug23.c: New file.
56030 * stdio-common/Makefile (tests): Add bug23.
56032 2010-09-28 Andreas Schwab <schwab@redhat.com>
56033 Ulrich Drepper <drepper@gmail.com>
56036 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56037 before performing relro protection. At old place add assertion
56038 to make sure nothing changed.
56040 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56041 Glauber de Oliveira Costa <glommer@gmail.com>
56043 * elf/elf.h: Add new ARM TLS relocs.
56045 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56048 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56050 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56052 * sysdeps/wordsize-64/tst-writev.c: New file.
56054 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56056 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56057 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56058 insns in _dl_start to prevent a TOC reference before relocs are
56061 2011-02-15 Ulrich Drepper <drepper@gmail.com>
56064 * Makeconfig: Remove RANLIB definition.
56065 * Makerules: Don't use RANLIB.
56066 * aclocal.m4: Remove ranlib test.
56067 * configure.in: No need to check for ranlib.
56068 * elf/rtld-Rules: Don't use RANLIB.
56070 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56072 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56074 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56075 inclusion protection macro.
56077 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56078 SIGRTMIN and SIGRTMAX and print information in that case only when
56079 SIGRTMIN is defined.
56081 2011-02-11 Jakub Jelinek <jakub@redhat.com>
56083 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56084 arginfo fn returning -1.
56086 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56087 and thousands string is zero terminated.
56089 2011-02-03 Andreas Schwab <schwab@redhat.com>
56091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56092 sysdeps/unix/sysv/linux/bits/socket.h.
56094 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56096 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56097 (__CPU_COUNT): Remove old macros.
56098 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56099 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56100 (__CPU_ALLOC, __CPU_FREE): Add macros.
56101 (__sched_cpualloc, __sched_cpufree): Add declarations.
56103 2011-02-05 Ulrich Drepper <drepper@gmail.com>
56105 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56106 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56107 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56108 (readdhstai): Return value of addhstaiX call.
56109 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56110 (addgrbyX): Return value returned by cache_addgr.
56111 (readdgrbyname): Return value returned by addgrbyX.
56112 (readdgrbygid): Likewise.
56113 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56114 (addpwbyX): Return value returned by cache_addpw.
56115 (readdpwbyname): Return value returned by addhstbyX.
56116 (readdpwbyuid): Likewise.
56117 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56118 (addservbyX): Return value returned by cache_addserv.
56119 (readdservbyname): Return value returned by addservbyX:
56120 (readdservbyport): Likewise.
56121 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56122 (addhstbyX): Return value returned by cache_addhst.
56123 (readdhstbyname): Return value returned by addhstbyX.
56124 (readdhstbyaddr): Likewise.
56125 (readdhstbynamev6): Likewise.
56126 (readdhstbyaddrv6): Likewise.
56127 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56128 (readdinitgroups): Return value returned by addinitgroupsX.
56129 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56130 (prune_cache): Keep track of timeout value of re-added entries.
56131 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56132 * nscd/nscd.h: Adjust prototypes of readd* functions.
56134 2011-02-04 Roland McGrath <roland@redhat.com>
56136 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56137 (nis_stats): Likewise.
56138 * nis/nis_modify.c (nis_modify): Likewise.
56139 * nis/nis_remove.c (nis_remove): Likewise.
56140 * nis/nis_add.c (nis_add): Likewise.
56142 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56144 * posix/fnmatch_loop.c: Add some consts.
56146 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56148 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56151 * config.make.in (config-cflags-novzeroupper): Define.
56152 * configure.in: Substitute libc_cv_cc_novzeroupper.
56153 * elf/Makefile (AVX-CFLAGS): Define.
56154 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56155 (CFLAGS-tst-auditmod4a.c): Likewise.
56156 (CFLAGS-tst-auditmod4b.c): Likewise.
56157 (CFLAGS-tst-auditmod6b.c): Likewise.
56158 (CFLAGS-tst-auditmod6c.c): Likewise.
56159 (CFLAGS-tst-auditmod7b.c): Likewise.
56160 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56162 2011-02-02 Ulrich Drepper <drepper@gmail.com>
56164 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56165 function to the callback.
56166 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56168 2011-02-02 Andreas Schwab <schwab@redhat.com>
56170 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56173 2011-01-19 Ulrich Drepper <drepper@gmail.com>
56176 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56178 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56180 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56183 * elf/Makefile: Add rules to build and run new test.
56184 * elf/tst-initorder.c: New file.
56185 * elf/tst-initorder.exp: New file.
56186 * elf/tst-initordera1.c: New file.
56187 * elf/tst-initordera2.c: New file.
56188 * elf/tst-initordera3.c: New file.
56189 * elf/tst-initordera4.c: New file.
56190 * elf/tst-initorderb1.c: New file.
56191 * elf/tst-initorderb2.c: New file.
56192 * elf/tst-order-a1.c: New file.
56193 * elf/tst-order-a2.c: New file.
56194 * elf/tst-order-a3.c: New file.
56195 * elf/tst-order-a4.c: New file.
56196 * elf/tst-order-b1.c: New file.
56197 * elf/tst-order-b2.c: New file.
56198 * elf/tst-order-main.c: New file.
56199 New test case by George Gensure <werkt0@gmail.com>.
56201 2010-10-01 Andreas Schwab <schwab@redhat.com>
56203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56204 decoding ACE if AI_CANONIDN.
56206 2011-01-18 Ulrich Drepper <drepper@gmail.com>
56208 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56210 2011-01-17 Ulrich Drepper <drepper@gmail.com>
56212 * version.h (RELEASE): Bump for 2.13 release.
56213 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56215 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56217 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56219 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56220 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56221 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56222 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56223 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56224 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56226 * posix/getconf.c: Update copyright year.
56227 * catgets/gencat.c: Likewise.
56228 * csu/version.c: Likewise.
56229 * debug/catchsegv.sh: Likewise.
56230 * debug/xtrace.sh: Likewise.
56231 * elf/ldconfig.c: Likewise.
56232 * elf/ldd.bash.in: Likewise.
56233 * elf/sprof.c (print_version): Likewise.
56234 * iconv/iconv_prog.c: Likewise.
56235 * iconv/iconvconfig.c: Likewise.
56236 * locale/programs/locale.c: Likewise.
56237 * locale/programs/localedef.c: Likewise.
56238 * malloc/memusage.sh: Likewise.
56239 * malloc/mtrace.pl: Likewise.
56240 * nscd/nscd.c (print_version): Likewise.
56241 * nss/getent.c: Likewise.
56243 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56244 PF_CAIF, and PF_ALG.
56245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56247 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56249 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56250 (modules-names): Use them.
56251 (ifunc-test-modules, ifunc-pie-tests): Define.
56252 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56253 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56254 (test-extras): Likewise.
56255 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56256 $(compile-command.c).
56257 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56258 (all-built-dso): Define.
56259 (check-textrel.out, check-execstack.out): Depend on it.
56261 * configure.in: Don't override --enable-multi-arch.
56263 2011-01-15 Ulrich Drepper <drepper@gmail.com>
56266 * nscd/hstcache.c (tryagain): Define.
56267 (cache_addhst): Return tryagain not notfound for temporary errors.
56268 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56271 2011-01-14 Ulrich Drepper <drepper@gmail.com>
56274 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56275 to make the syscall.
56276 * sysdeps/unix/sysv/linux/setgroups.c: New file.
56279 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56280 and fall back to matching as normal character if the string ends before
56281 the matching ']' is found. This is what POSIX requires.
56282 * posix/testfnm.c: Adjust test result.
56283 * posix/globtest.sh: Adjust test result. Add new test.
56284 * posix/tst-fnmatch.input: Likewise.
56285 * posix/tst-fnmatch2.c: Add new test.
56287 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
56289 * elf/Makefile (check-execstack): Revert last change. Depend on
56291 (check-execstack.h): New target.
56292 (generated): Add check-execstack.h.
56293 * elf/check-execstack.c: Include "check-execstack.h".
56294 (main): Revert last change.
56295 (handle_file): Return zero if GNU_STACK is absent and
56296 DEFAULT_STACK_PERMS doesn't include PF_X.
56298 2011-01-13 Ulrich Drepper <drepper@gmail.com>
56300 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56301 in child fails because the descriptor is already closed.
56302 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56303 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56304 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56307 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56311 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56312 temporary buffer used to handle multi lookups locally.
56313 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56315 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56317 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56320 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
56322 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56323 alignment for SSE2.
56325 2011-01-12 Ulrich Drepper <drepper@gmail.com>
56328 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56329 characters. When rounding increased number of integer digits recompute
56331 * stdio-common/tst-grouping.c: New file.
56332 * stdio-common/Makefile: Add rules to build and run tst-grouping.
56334 2011-01-09 Ulrich Drepper <drepper@gmail.com>
56336 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56337 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
56339 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56341 * bits/select.h: Likewise.
56343 2011-01-08 Ulrich Drepper <drepper@gmail.com>
56345 * po/ja.po: Update from translation team.
56347 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
56350 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56351 implementation just like for lxstat, fxstatat, et al.
56353 2010-12-27 Jim Meyering <meyering@redhat.com>
56356 * posix/regexec.c (build_trtable): Return failure indication upon
56357 calloc failure. Otherwise, re_search_internal could infloop on OOM.
56359 2010-12-25 Ulrich Drepper <drepper@gmail.com>
56362 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56363 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56364 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56365 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56368 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56371 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56372 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56374 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
56376 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56377 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56378 script has SORT_BY_INIT_PRIORITY.
56379 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56380 NO_CTORS_DTORS_SECTIONS is defined.
56381 * elf/soinit.c: Likewise.
56382 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56383 NO_CTORS_DTORS_SECTIONS is defined.
56384 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56385 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56386 * sysdeps/sh/init-first.c: Likewise.
56387 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56389 2010-12-24 Ulrich Drepper <drepper@gmail.com>
56391 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56392 always use the slow path.
56394 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
56396 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56397 similar rule which adds the sysdep directories to the header search in
56398 order to pick up the correct platform stackinfo.h.
56399 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56400 perform test if it is, otherwise return successfully without testing.
56401 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56402 DEFAULT_STACK_PERMS define in stackinfo.h.
56403 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56404 defined in stackinfo.h.
56405 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56406 DEFAULT_STACK_PERMS defined in stackinfo.h.
56407 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56408 * sysdeps/ia64/stackinfo.h: Likewise.
56409 * sysdeps/s390/stackinfo.h: Likewise.
56410 * sysdeps/sh/stackinfo.h: Likewise.
56411 * sysdeps/sparc/stackinfo.h: Likewise.
56412 * sysdeps/x86_64/stackinfo.h: Likewise.
56413 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56414 PF_X for powerpc64. Retain PF_X for powerpc32.
56416 2010-12-19 Ulrich Drepper <drepper@gmail.com>
56418 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56420 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56421 GETDENTS_64BIT_ALIGNED.
56423 2010-12-14 Ulrich Drepper <dreper@gmail.com>
56425 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56427 2010-12-10 Andreas Schwab <schwab@redhat.com>
56429 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56432 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56433 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56435 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56436 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56438 2010-12-09 Ulrich Drepper <drepper@gmail.com>
56441 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56444 2010-12-09 Jakub Jelinek <jakub@redhat.com>
56446 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56448 2010-12-03 Ulrich Drepper <drepper@gmail.com>
56450 * po/it.po: Update from translation team.
56452 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
56454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56457 2010-11-30 Ulrich Drepper <drepper@gmail.com>
56459 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56461 2010-11-24 Andreas Schwab <schwab@redhat.com>
56463 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56465 (gaih_getanswer_slice): Likewise.
56467 2010-10-20 Jakub Jelinek <jakub@redhat.com>
56469 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56471 2010-05-31 Petr Baudis <pasky@suse.cz>
56474 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56475 silently even in the chroot mode.
56477 2010-11-22 Ulrich Drepper <drepper@gmail.com>
56479 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56480 last patch a bit. Pretty printing
56482 2010-05-31 Petr Baudis <pasky@suse.cz>
56485 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56486 initialization of skip_initgroups_dyn.
56488 2010-11-19 Ulrich Drepper <drepper@gmail.com>
56490 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56491 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56493 2010-11-16 Ulrich Drepper <drepper@gmail.com>
56495 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56497 2010-11-11 Andreas Schwab <schwab@redhat.com>
56499 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56500 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56501 (tst-fnmatch-ENV): Set MALLOC_TRACE.
56502 ($(objpfx)tst-fnmatch-mem): New rule.
56503 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56504 * posix/tst-fnmatch.c (main): Call mtrace.
56506 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
56508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56509 Support Intel processor model 6 and model 0x2c.
56511 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
56513 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56516 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
56519 * string/test-strncasecmp.c (check_result): New function.
56520 (do_one_test): Use it.
56521 (check1): New function.
56522 (test_main): Use it.
56523 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56524 Support strcasecmp and strncasecmp.
56526 2010-11-08 Ulrich Drepper <drepper@gmail.com>
56529 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56530 * sysdeps/x86_64/bits/byteswap.h: Likewise.
56532 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
56534 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56538 * sysdeps/x86_64/multiarch/bzero.S: New file.
56539 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56540 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56541 * sysdeps/x86_64/multiarch/memset.S: New file.
56542 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56544 Set bit_Prefer_SSE_for_memop for Intel processors.
56545 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56547 (index_Prefer_SSE_for_memop): Define.
56548 (HAS_PREFER_SSE_FOR_MEMOP): Define.
56550 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
56552 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56553 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56555 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
56558 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56559 (__x86_64_raw_data_cache_size_half): Likewise.
56560 (__x86_64_raw_shared_cache_size): Likewise.
56561 (__x86_64_raw_shared_cache_size_half): Likewise.
56563 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56564 (__x86_64_raw_data_cache_size_half): Likewise.
56565 (__x86_64_raw_shared_cache_size): Likewise.
56566 (__x86_64_raw_shared_cache_size_half): Likewise.
56567 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56568 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56569 and __x86_64_raw_shared_cache_size_half. Round
56570 __x86_64_data_cache_size_half, __x86_64_data_cache_size
56571 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56572 to multiple of 256 bytes.
56574 2010-11-03 Ulrich Drepper <drepper@gmail.com>
56577 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56578 of inacessible symlinks. Verify result of symlink before returning it.
56579 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56580 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56582 2010-10-28 Erich Ritz <erichritz@gmail.com>
56584 * math/math.h (isinf): Fix typo in comment.
56586 2010-11-01 Ulrich Drepper <drepper@gmail.com>
56588 * po/da.po: Update from translation team.
56590 2010-10-26 Ulrich Drepper <drepper@gmail.com>
56592 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56593 is added to the list.
56595 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56596 Ulrich Drepper <drepper@gmail.com>
56598 * elf/dl-object.c (_dl_new_object): Don't append the new object to
56599 the global list here. Move code to...
56600 (_dl_add_to_namespace_list): ...here. New function.
56601 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56602 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56603 * elf/dl-load.c (lose): Don't remove the element from the list.
56604 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56605 (_dl_map_object): Likewise.
56607 2010-10-25 Ulrich Drepper <drepper@gmail.com>
56610 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56611 into all bytes of SSE register.
56612 Patch by Richard Li <richardpku@gmail.com>.
56614 2010-10-24 Ulrich Drepper <drepper@gmail.com>
56617 * malloc/malloc.c (_int_free): Fill correct number of bytes when
56620 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
56622 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56623 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56624 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56625 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56630 2010-10-22 Andreas Schwab <schwab@redhat.com>
56632 * include/dlfcn.h (__RTLD_SECURE): Define.
56633 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
56634 mode & __RTLD_SECURE instead.
56635 (open_path): Rename preloaded parameter to secure.
56636 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56637 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56638 * elf/dl-deps.c (openaux): Likewise.
56639 * elf/rtld.c (struct map_args): Remove is_preloaded.
56640 (map_doit): Don't use it.
56641 (dl_main): Likewise.
56642 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56643 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56645 2010-09-09 Andreas Schwab <schwab@redhat.com>
56647 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56648 (sysd-rules-targets): Remove duplicates.
56649 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56650 rtld-%.$o dependency.
56652 2010-10-18 Andreas Schwab <schwab@redhat.com>
56654 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56655 _dl_map_object do it.
56657 2010-10-19 Ulrich Drepper <drepper@gmail.com>
56659 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56660 fast fma builtins, define the macros in the C99 standard.
56661 (FP_FAST_FMAF): Likewise.
56662 (FP_FAST_FMAL): Likewise.
56663 * sysdeps/x86_64/bits/mathdef.h: Likewise.
56665 * bits/mathdef.h: Update copyright year.
56666 * sysdeps/powerpc/bits/mathdef.h: Likewise.
56668 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
56670 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56671 builtins, define the macros in the C99 standard.
56672 (FP_FAST_FMAF): Likewise.
56673 (FP_FAST_FMAL): Likewise.
56674 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56676 (FP_FAST_FMAF): Likewise.
56678 2010-10-15 Jakub Jelinek <jakub@redhat.com>
56681 * math/libm-test.inc (fma_test): Some new testcases.
56682 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56683 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56684 y and infinite z. Do multiplication by C already in long double.
56685 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56687 y and infinite z. Do bitwise or of inexact bit into u.d.
56688 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56689 * sysdeps/i386/fpu/s_fmaf.S: Removed.
56690 * sysdeps/i386/fpu/s_fma.S: Removed.
56691 * sysdeps/i386/fpu/s_fmal.S: Removed.
56693 2010-10-16 Jakub Jelinek <jakub@redhat.com>
56696 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56698 computation is not scheduled after fetestexcept. Fix value
56699 of minimum denormal long double.
56701 2010-10-14 Jakub Jelinek <jakub@redhat.com>
56704 * math/libm-test.inc (fma_test): Add some more tests.
56705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56708 2010-10-15 Andreas Schwab <schwab@redhat.com>
56710 * scripts/data/localplt-s390-linux-gnu.data: New file.
56711 * scripts/data/localplt-s390x-linux-gnu.data: New file.
56713 2010-10-13 Jakub Jelinek <jakub@redhat.com>
56716 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56717 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56719 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56721 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56723 if one of x and y is very large and the other is subnormal.
56724 * sysdeps/s390/fpu/s_fmaf.c: New file.
56725 * sysdeps/s390/fpu/s_fma.c: New file.
56726 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56727 * sysdeps/powerpc/fpu/s_fma.S: New file.
56728 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56729 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56730 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56732 2010-10-12 Jakub Jelinek <jakub@redhat.com>
56735 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56737 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56738 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56739 * sysdeps/i386/i686/multiarch/s_fma.c: Include
56740 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56741 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56742 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56743 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56745 2010-10-12 Ulrich Drepper <drepper@redhat.com>
56748 * posix/regcomp.c (parse_branch): One more memory leak plugged.
56749 * posix/bug-regex31.input: Add test case.
56751 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56753 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56754 * posix/bug-regex31.input: New file.
56757 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56758 (parse_sub_exp): Fix last change, use postorder.
56760 * posix/bug-regex31.c: New file.
56761 * posix/Makefile: Add rules to build and run bug-regex31.
56763 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56766 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56769 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56770 to have entries in sys_siglist.
56773 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56776 2010-10-07 Jakub Jelinek <jakub@redhat.com>
56779 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56780 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56781 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56782 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56783 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56784 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56785 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56786 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56787 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56788 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56789 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56790 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56791 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56792 * math/ftestexcept.c (fetestexcept): Likewise.
56793 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56794 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56795 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56796 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56797 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56798 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56799 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56801 2010-10-11 Ulrich Drepper <drepper@gmail.com>
56804 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56807 2010-10-06 Ulrich Drepper <drepper@gmail.com>
56809 * string/bug-strstr1.c: New file.
56810 * string/Makefile: Add rules to build and run bug-strstr1.
56812 2010-10-05 Eric Blake <eblake@redhat.com>
56815 * string/str-two-way.h (two_way_long_needle): Always clear memory
56816 when skipping input due to the shift table.
56818 2010-10-03 Ulrich Drepper <drepper@gmail.com>
56821 * malloc/mcheck.c: Handle large requests.
56824 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56825 for strncmp and strncasecmp.
56826 * string/stratcliff.c: Add tests for strcmp and strncmp.
56827 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56829 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
56831 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56834 2010-09-30 Andreas Jaeger <aj@suse.de>
56836 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56837 (CGROUP_SUPER_MAGIC): Define.
56838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56839 Handle btrfs and cgroup file systems.
56840 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56843 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
56845 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56846 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56848 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56851 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56852 trying to locate the ELF header.
56854 2010-09-27 Andreas Schwab <schwab@redhat.com>
56857 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56858 Mask out sign-bit copies when constructing f_fsid.
56860 2010-09-24 Petr Baudis <pasky@suse.cz>
56862 * debug/stack_chk_fail_local.c: Add missing licence exception.
56863 * debug/warning-nop.c: Likewise.
56865 2010-09-15 Joseph Myers <joseph@codesourcery.com>
56867 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56868 implementing getdents64 using getdents syscall, set d_type if
56869 __ASSUME_GETDENTS32_D_TYPE.
56871 2010-09-16 Andreas Schwab <schwab@redhat.com>
56873 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56874 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56876 2010-09-21 Ulrich Drepper <drepper@redhat.com>
56879 * posix/unistd.h: Undo change of feature selection for ftruncate from
56882 2010-09-20 Ulrich Drepper <drepper@redhat.com>
56884 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56887 2010-09-20 Andreas Schwab <schwab@redhat.com>
56889 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56891 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56893 2010-09-14 Andreas Schwab <schwab@redhat.com>
56895 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56896 variables after CHECK_SP call.
56897 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56899 2010-09-13 Andreas Schwab <schwab@redhat.com>
56900 Ulrich Drepper <drepper@redhat.com>
56902 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56903 re-relocationg ld.so.
56904 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56905 _dl_init_paths call.
56906 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
56909 2010-09-14 Ulrich Drepper <drepper@redhat.com>
56911 * resolv/res_init.c (__res_vinit): Count the default server we added.
56913 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
56914 Ulrich Drepper <drepper@redhat.com>
56917 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56918 (____longjmp_chk): Use %ebx for saving value across system call.
56921 2010-09-06 Andreas Schwab <schwab@redhat.com>
56923 * manual/Makefile: Don't mix pattern rules with normal rules.
56925 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
56927 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56929 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56930 * libio/iofopncook.c (_IO_cookie_init): Likewise.
56931 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56932 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56933 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56936 2010-09-04 Ulrich Drepper <drepper@redhat.com>
56939 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56940 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56942 2010-09-02 Ulrich Drepper <drepper@redhat.com>
56944 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56945 * sysdeps/x86_64/addmul_1.S: Likewise.
56946 * sysdeps/x86_64/lshift.S: Likewise.
56947 * sysdeps/x86_64/mul_1.S: Likewise.
56948 * sysdeps/x86_64/rshift.S: Likewise.
56949 * sysdeps/x86_64/sub_n.S: Likewise.
56950 * sysdeps/x86_64/submul_1.S: Likewise.
56952 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
56954 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56955 Define __sched_param instead of SCHED_* and sched_param when
56956 <bits/sched.h> is included with __need_schedparam defined.
56957 * bits/sched.h [__need_schedparam]
56958 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56959 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56960 (__defined_schedparam): Define to 1.
56961 (__sched_param): New structure, identical to sched_param.
56962 (__need_schedparam): Undefine.
56964 2010-08-31 Mike Frysinger <vapier@gentoo.org>
56966 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56967 (epoll_create1): Declare.
56969 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56971 2010-08-31 Andreas Schwab <schwab@redhat.com>
56974 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56975 shifting retval into place.
56977 2010-09-01 Ulrich Drepper <drepper@redhat.com>
56979 * nis/rpcsvc/nis.h: Update copyright notice.
56980 * nis/rpcsvc/nis.x: Likewise.
56981 * nis/rpcsvc/nis_callback.h: Likewise.
56982 * nis/rpcsvc/nis_callback.x: Likewise.
56983 * nis/rpcsvc/nis_object.x: Likewise.
56984 * nis/rpcsvc/nis_tags.h: Likewise.
56985 * nis/rpcsvc/yp.h: Likewise.
56986 * nis/rpcsvc/yp.x: Likewise.
56987 * nis/rpcsvc/ypupd.h: Likewise.
56988 * nis/yp_xdr.c: Likewise.
56989 * nis/ypupdate_xdr.c: Likewise.
56991 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
56992 mainly the body of pmap_getport. Add parameters to specify timeouts.
56993 (pmap_getport): Use __libc_rpc_getport.
56994 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56995 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56996 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56998 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57003 2010-08-27 Roland McGrath <roland@redhat.com>
57005 * sysdeps/i386/i686/multiarch/Makefile
57006 (CFLAGS-varshift.c): New variable.
57008 2010-08-27 Ulrich Drepper <drepper@redhat.com>
57010 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57011 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57013 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57015 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57017 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57019 * sysdeps/x86_64/strlen.S: Unroll the loop.
57020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57021 strlen-sse2 strlen-sse2-bsf.
57022 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57023 __strlen_no_bsf if bit_Slow_BSF is set.
57024 (__strlen_sse42): Removed.
57025 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57026 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57028 2010-08-25 Roland McGrath <roland@redhat.com>
57030 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57031 * sysdeps/x86_64/multiarch/varshift.c: New file.
57032 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57033 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57034 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57035 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57037 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57040 strlen-sse2 strlen-sse2-bsf.
57041 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57042 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57043 (__strlen_sse2): Removed.
57044 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57045 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57047 bit_Slow_BSF for Atom.
57048 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57049 (index_Slow_BSF): Define.
57050 (HAS_SLOW_BSF): Define.
57052 2010-08-25 Ulrich Drepper <drepper@redhat.com>
57055 * resolv/res_init.c (__res_vinit): When no server address at all
57056 is given default to loopback.
57058 2010-08-24 Roland McGrath <roland@redhat.com>
57060 * configure.in: Remove config-name.h generation.
57061 * configure: Regenerated.
57062 * config-name.in: File removed.
57063 * scripts/config-uname.sh: New file.
57064 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57065 ($(objdir)config-name.h): New target.
57067 * sunrpc/rpc_parse.h: Avoid nested comment.
57069 2010-08-24 Richard Henderson <rth@redhat.com>
57070 Ulrich Drepper <drepper@redhat.com>
57071 H.J. Lu <hongjiu.lu@intel.com>
57073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57075 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57076 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57077 _mm_alignr_epi8 with _mm_loadu_si128.
57078 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57079 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57080 (__m128i_shift_right): Removed.
57081 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57082 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57083 * sysdeps/x86_64/multiarch/varshift.h: New file.
57084 * sysdeps/x86_64/multiarch/varshift.S: New file.
57086 2010-08-21 Mike Frysinger <vapier@gentoo.org>
57088 * configure.in: Move assembler checks to before sysdep dir checking.
57090 2010-08-20 Petr Baudis <pasky@suse.cz>
57092 * LICENSES: Sync the sunrpc license.
57094 2010-08-19 Ulrich Drepper <drepper@redhat.com>
57096 * sunrpc/auth_des.c: Update copyright notice once again.
57097 * sunrpc/auth_none.c: Likewise.
57098 * sunrpc/auth_unix.c: Likewise.
57099 * sunrpc/authdes_prot.c: Likewise.
57100 * sunrpc/authuxprot.c: Likewise.
57101 * sunrpc/bindrsvprt.c: Likewise.
57102 * sunrpc/clnt_gen.c: Likewise.
57103 * sunrpc/clnt_perr.c: Likewise.
57104 * sunrpc/clnt_raw.c: Likewise.
57105 * sunrpc/clnt_simp.c: Likewise.
57106 * sunrpc/clnt_tcp.c: Likewise.
57107 * sunrpc/clnt_udp.c: Likewise.
57108 * sunrpc/clnt_unix.c: Likewise.
57109 * sunrpc/des_crypt.c: Likewise.
57110 * sunrpc/des_soft.c: Likewise.
57111 * sunrpc/get_myaddr.c: Likewise.
57112 * sunrpc/getrpcport.c: Likewise.
57113 * sunrpc/key_call.c: Likewise.
57114 * sunrpc/key_prot.c: Likewise.
57115 * sunrpc/openchild.c: Likewise.
57116 * sunrpc/pm_getmaps.c: Likewise.
57117 * sunrpc/pm_getport.c: Likewise.
57118 * sunrpc/pmap_clnt.c: Likewise.
57119 * sunrpc/pmap_prot.c: Likewise.
57120 * sunrpc/pmap_prot2.c: Likewise.
57121 * sunrpc/pmap_rmt.c: Likewise.
57122 * sunrpc/rpc/auth.h: Likewise.
57123 * sunrpc/rpc/auth_unix.h: Likewise.
57124 * sunrpc/rpc/clnt.h: Likewise.
57125 * sunrpc/rpc/des_crypt.h: Likewise.
57126 * sunrpc/rpc/key_prot.h: Likewise.
57127 * sunrpc/rpc/netdb.h: Likewise.
57128 * sunrpc/rpc/pmap_clnt.h: Likewise.
57129 * sunrpc/rpc/pmap_prot.h: Likewise.
57130 * sunrpc/rpc/pmap_rmt.h: Likewise.
57131 * sunrpc/rpc/rpc.h: Likewise.
57132 * sunrpc/rpc/rpc_des.h: Likewise.
57133 * sunrpc/rpc/rpc_msg.h: Likewise.
57134 * sunrpc/rpc/svc.h: Likewise.
57135 * sunrpc/rpc/svc_auth.h: Likewise.
57136 * sunrpc/rpc/types.h: Likewise.
57137 * sunrpc/rpc/xdr.h: Likewise.
57138 * sunrpc/rpc_clntout.c: Likewise.
57139 * sunrpc/rpc_cmsg.c: Likewise.
57140 * sunrpc/rpc_common.c: Likewise.
57141 * sunrpc/rpc_cout.c: Likewise.
57142 * sunrpc/rpc_dtable.c: Likewise.
57143 * sunrpc/rpc_hout.c: Likewise.
57144 * sunrpc/rpc_main.c: Likewise.
57145 * sunrpc/rpc_parse.c: Likewise.
57146 * sunrpc/rpc_parse.h: Likewise.
57147 * sunrpc/rpc_prot.c: Likewise.
57148 * sunrpc/rpc_sample.c: Likewise.
57149 * sunrpc/rpc_scan.c: Likewise.
57150 * sunrpc/rpc_scan.h: Likewise.
57151 * sunrpc/rpc_svcout.c: Likewise.
57152 * sunrpc/rpc_tblout.c: Likewise.
57153 * sunrpc/rpc_util.c: Likewise.
57154 * sunrpc/rpc_util.h: Likewise.
57155 * sunrpc/rpcinfo.c: Likewise.
57156 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57157 * sunrpc/rpcsvc/key_prot.x: Likewise.
57158 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57159 * sunrpc/rpcsvc/mount.x: Likewise.
57160 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57161 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57162 * sunrpc/rpcsvc/rex.x: Likewise.
57163 * sunrpc/rpcsvc/rstat.x: Likewise.
57164 * sunrpc/rpcsvc/rusers.x: Likewise.
57165 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57166 * sunrpc/rpcsvc/spray.x: Likewise.
57167 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57168 * sunrpc/rtime.c: Likewise.
57169 * sunrpc/svc.c: Likewise.
57170 * sunrpc/svc_auth.c: Likewise.
57171 * sunrpc/svc_authux.c: Likewise.
57172 * sunrpc/svc_raw.c: Likewise.
57173 * sunrpc/svc_run.c: Likewise.
57174 * sunrpc/svc_simple.c: Likewise.
57175 * sunrpc/svc_tcp.c: Likewise.
57176 * sunrpc/svc_udp.c: Likewise.
57177 * sunrpc/svc_unix.c: Likewise.
57178 * sunrpc/svcauth_des.c: Likewise.
57179 * sunrpc/xcrypt.c: Likewise.
57180 * sunrpc/xdr.c: Likewise.
57181 * sunrpc/xdr_array.c: Likewise.
57182 * sunrpc/xdr_float.c: Likewise.
57183 * sunrpc/xdr_mem.c: Likewise.
57184 * sunrpc/xdr_rec.c: Likewise.
57185 * sunrpc/xdr_ref.c: Likewise.
57186 * sunrpc/xdr_sizeof.c: Likewise.
57187 * sunrpc/xdr_stdio.c: Likewise.
57189 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57192 2010-08-19 Andreas Schwab <schwab@redhat.com>
57194 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57196 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
57198 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57199 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57200 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57201 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57202 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57203 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57204 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57205 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57206 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57207 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57208 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57209 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57210 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57211 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57213 2010-07-26 Anton Blanchard <anton@samba.org>
57215 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57216 * malloc/arena.c (heap_trim): Likewise.
57218 2010-08-16 Ulrich Drepper <drepper@redhat.com>
57220 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57223 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57225 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57227 * sysdeps/i386/elf/Makefile: New file.
57229 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57231 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57232 from fanotify_init.
57233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57236 2010-08-15 Ulrich Drepper <drepper@redhat.com>
57238 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57240 * sysdeps/multiarch/strcmp.S: Likewise.
57242 2010-08-14 Ulrich Drepper <drepper@redhat.com>
57244 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57245 strncase_l-nonascii.
57246 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57247 Add strncase_l-ssse3.
57248 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57249 * sysdeps/x86_64/strcmp.S: Likewise.
57250 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57251 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57252 * sysdeps/x86_64/strncase.S: New file.
57253 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57254 * sysdeps/x86_64/strncase_l.S: New file.
57255 * string/Makefile (strop-tests): Add strncasecmp.
57256 * string/test-strncasecmp.c: New file.
57258 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57261 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57262 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57264 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57266 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57268 2010-08-12 Ulrich Drepper <drepper@redhat.com>
57270 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57271 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57272 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57274 2010-05-01 Alan Modra <amodra@gmail.com>
57276 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57277 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57278 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57279 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57280 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57281 tidying. Don't tail-call __sigjmp_save for static lib.
57282 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57284 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57285 (CALL_MCOUNT): Add eh info, and nop after bl.
57286 (TAIL_CALL_SYSCALL_ERROR): New macro.
57287 (PSEUDO_RET): Use it.
57288 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57289 Correct save location of integer regs and cr.
57290 (_dl_profile_resolve): Correct cr save location. Delete nops
57291 after bl when SHARED. Reduce cfi size a little by better
57292 placement of cfi directives.
57293 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57294 make a stack frame. Instead use parm save area as a temp.
57295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57296 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
57297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57298 Don't make a stack frame for parent, use parm save area.
57299 Increase child stack frame to 112 bytes. Don't save unused reg,
57300 and adjust reg usage. Set up cfi on error recovery and
57301 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57303 (__makecontext): Add dummy nop after jump to exit.
57304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57305 Use correct parm save area and cr save, reduce stack frame.
57306 Correct cfi for possible PSEUDO_RET frame setup.
57307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57308 Branch to local label emitted by PSEUDO_RET rather than
57311 2010-08-12 Andreas Schwab <schwab@redhat.com>
57314 * locale/programs/locale.c (print_assignment): New function.
57315 (show_locale_vars): Use it.
57317 2010-08-11 Ulrich Drepper <drepper@redhat.com>
57319 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57321 (struct statfs64): Likewise.
57322 (_STATFS_F_FLAGS): Define.
57323 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57324 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57325 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57326 (ST_VALID): Define locally.
57327 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57328 __statvfs_getflags, use the provided value.
57329 * sysdeps/unix/sysv/linux/kernel-features.h: Define
57330 __ASSUME_STATFS_F_FLAGS.
57332 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57334 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57335 Add sys/fanotify.h.
57336 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57337 fanotify_mask for GLIBC_2.13.
57338 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57339 fanotify_init and fanotify_mark.
57340 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57341 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57343 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57345 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57346 prlimit64 for GLIBC_2.13.
57347 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57349 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57352 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57353 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57354 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57355 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
57357 * sysdeps/unix/sysv/linux/prlimit.c: New file.
57360 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57361 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57363 * nss/Makefile: Add rules to build and run tst-nss-test1.
57364 * shlib-versions: Add entry for libnss_test1.
57365 * nss/nss_test1.c: New file.
57366 * nss/tst-nss-test1.c: New file.
57368 * nss/nsswitch.c (__nss_database_custom): Define new variable.
57369 (__nss_configure_lookup): Set appropriate entry in
57370 __nss_configure_lookup to true.
57371 * nss/nsswitch.h: Define enum with indeces of databases in
57372 databases and __nss_database_custom arrays. Declare
57373 __nss_database_custom.
57374 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57375 to avoid using nscd when custom rules are installed.
57376 * nss/getXXbyYY_r.c: Likewise.
57377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57379 * nss/nss_files/files-parse.c: Whitespace fixes.
57381 2010-08-09 Ulrich Drepper <drepper@redhat.com>
57384 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57385 * posix/fnmatch_loop.c: Likewise.
57387 2010-07-17 Andi Kleen <ak@linux.intel.com>
57389 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57390 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57391 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57392 * Versions.def [GLIBC_2.13]: Add.
57394 2010-08-06 Ulrich Drepper <drepper@redhat.com>
57396 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57397 Also fail if tpwd after pwuid call is NULL.
57399 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
57401 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57402 when converting to ms.
57404 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
57406 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57407 EOPNOTSUPP errors with ENOTTY.
57408 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57409 EOPNOTSUPP errors with ENOTTY.
57411 2010-07-31 Ulrich Drepper <drepper@redhat.com>
57413 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57414 Add strcasecmp_l-ssse3.
57415 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57417 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57418 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57419 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57421 2010-07-30 Ulrich Drepper <drepper@redhat.com>
57423 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57425 * string/Makefile (strop-tests): Add strcasecmp.
57426 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57427 strcasecmp_l-nonascii.
57428 (gen-as-const-headers): Add locale-defines.sym.
57429 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57430 * sysdeps/x86_64/strcasecmp.S: New file.
57431 * sysdeps/x86_64/strcasecmp_l.S: New file.
57432 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57433 * sysdeps/x86_64/locale-defines.sym: New file.
57434 * string/test-strcasecmp.c: New file.
57436 * string/test-strcasestr.c: Test both ends of the range of characters.
57437 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57439 2010-07-29 Roland McGrath <roland@redhat.com>
57442 * manual/locale.texi (Yes-or-No Questions): Fix example code.
57444 2010-07-27 Ulrich Drepper <drepper@redhat.com>
57446 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57449 2010-07-27 Andreas Schwab <schwab@redhat.com>
57451 * manual/memory.texi (Malloc Tunable Parameters): Document
57454 2010-07-26 Roland McGrath <roland@redhat.com>
57457 * configure.in (-fgnu89-inline check): Set and substitute
57458 gnu89_inline, not libc_cv_gnu89_inline.
57459 * configure: Regenerated.
57460 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57462 2010-07-26 Ulrich Drepper <drepper@redhat.com>
57464 * string/test-strnlen.c: New file.
57465 * string/Makefile (strop-tests): Add strnlen.
57466 * string/tester.c (test_strnlen): Add a few more test cases.
57467 * string/tst-strlen.c: Better error reporting.
57469 * sysdeps/x86_64/strnlen.S: New file.
57471 2010-07-24 Ulrich Drepper <drepper@redhat.com>
57473 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57474 lower-latency instructions.
57476 2010-07-23 Ulrich Drepper <drepper@redhat.com>
57478 * string/test-strcasestr.c: New file.
57479 * string/test-strstr.c: New file.
57480 * string/Makefile (strop-tests): Add strstr and strcasestr.
57481 * string/str-two-way.h: Don't undefine MAX.
57482 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57484 2010-07-21 Andreas Schwab <schwab@redhat.com>
57486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57487 strcasestr-nonascii.
57488 (CFLAGS-strcasestr-nonascii.c): Define.
57489 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57490 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57491 Remove unused attribute.
57493 2010-07-20 Roland McGrath <roland@redhat.com>
57495 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57496 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
57497 ld.so.cache was broken. With it, there is no way to disable dsocaps
57498 like LD_HWCAP_MASK can disable hwcaps.
57500 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57502 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57504 2010-07-16 Ulrich Drepper <drepper@redhat.com>
57506 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57507 call in strcasestr.
57508 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57509 __strcasestr_sse42_nonascii.
57510 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57511 strcasestr-nonascii.c.
57512 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57514 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
57516 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57517 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57518 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57519 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57521 2010-07-09 Ulrich Drepper <drepper@redhat.com>
57523 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57526 2010-07-06 Andreas Schwab <schwab@redhat.com>
57529 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57532 2010-07-06 Ulrich Drepper <drepper@redhat.com>
57534 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57535 _PC_PIPE_BUF using F_GETPIPE_SZ.
57537 2010-07-05 Roland McGrath <roland@redhat.com>
57539 * manual/arith.texi (Rounding Functions): Fix rint description
57540 implicit in round description.
57542 2010-07-02 Ulrich Drepper <drepper@redhat.com>
57544 * elf/Makefile: Fix linking for a few tests to make recent linker
57547 2010-06-30 Andreas Schwab <schwab@redhat.com>
57549 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57550 $(common-objpfx)libc_nonshared.a.
57552 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
57554 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57555 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57556 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57557 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57558 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57559 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57560 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57561 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57576 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57577 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57578 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57579 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57580 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57581 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57582 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57583 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57584 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57585 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57586 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57587 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57603 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
57605 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57606 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
57607 * string/memmove.c (memmove): Renamed to ...
57608 (MEMMOVE): ...this. Default to memmove.
57609 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57610 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57613 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57614 mempcpy-ssse3-back memmove-ssse3-back.
57615 * sysdeps/x86_64/multiarch/bcopy.S: New file .
57616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57618 * sysdeps/x86_64/multiarch/memcpy.S: New file.
57619 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57620 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57621 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57622 * sysdeps/x86_64/multiarch/memmove.c: New file.
57623 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57624 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57625 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57626 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57627 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57630 (index_Fast_Copy_Backward): Define.
57631 (HAS_ARCH_FEATURE): Define.
57632 (HAS_FAST_REP_STRING): Define.
57633 (HAS_FAST_COPY_BACKWARD): Define.
57635 2010-06-21 Andreas Schwab <schwab@redhat.com>
57637 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57638 Restore proper fallback handling.
57640 2010-06-19 Ulrich Drepper <drepper@redhat.com>
57643 * posix/group_member.c (__group_member): Correct checking loop.
57645 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57646 OOM in getpwuid_r correctly. Return error number when the caller
57647 should return, otherwise -1.
57648 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57649 call returning > 0 value.
57650 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57652 2010-06-07 Andreas Schwab <schwab@redhat.com>
57654 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57655 libc_nonshared.a from targets in modules-names.
57657 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
57659 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57662 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
57664 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57665 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57666 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57667 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57669 2010-06-02 Andreas Schwab <schwab@redhat.com>
57671 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57673 2010-06-14 Ulrich Drepper <drepper@redhat.com>
57675 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57677 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57678 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57681 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57682 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57684 2010-06-14 Roland McGrath <roland@redhat.com>
57686 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57688 2010-06-07 Jakub Jelinek <jakub@redhat.com>
57690 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57691 __REDIRECT followed by __THROW.
57692 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57693 * posix/getopt.h (getopt): Likewise.
57695 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
57697 * hurd/lookup-at.c (__file_name_lookup_at): Accept
57698 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
57699 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57701 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57702 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57704 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
57706 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57708 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
57711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57712 Properly check family and model.
57714 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
57716 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57718 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
57720 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57722 2010-05-21 Ulrich Drepper <drepper@redhat.com>
57724 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57727 2010-05-19 Andreas Schwab <schwab@redhat.com>
57729 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57732 2010-05-21 Andreas Schwab <schwab@redhat.com>
57734 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57735 and internal_recvmmsg.
57736 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57737 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57738 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57739 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57741 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57742 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57743 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57745 2010-05-20 Andreas Schwab <schwab@redhat.com>
57747 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57749 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
57751 POWER7 optimizations.
57752 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57753 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57755 2010-05-19 Ulrich Drepper <drepper@redhat.com>
57757 * version.h: Update for 2.13 development version.
57759 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
57761 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57762 exceptions. Return 0.
57764 2010-05-07 Roland McGrath <roland@redhat.com>
57766 * elf/ldconfig.c (main): Add a const.
57768 2010-05-06 Ulrich Drepper <drepper@redhat.com>
57770 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57771 (args_options): Add no-idn option.
57772 (ahosts_keys_int): Add idn_flags to ai_flags.
57773 (parse_option): Handle 'i' option to clear idn_flags.
57775 * malloc/malloc.c (_int_free): Possible race in the most recently
57776 added check. Only act on the data if no current modification
57779 See ChangeLog.17 for earlier changes.