Remove unused macros from i386 lowlevellock.h.
[glibc.git] / ChangeLog
blob0a9e2493897b75d98916916b024920d7393938cd
1 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
4         Remove macro.
5         (LLL_EBX_REG): Likewise.
6         (LLL_ENTER_KERNEL): Likewise.
8         * math/auto-libm-test-in: Add more tests of asin.
9         * math/auto-libm-test-out: Regenerated.
10         * sysdeps/i386/fpu/libm-test-ulps: Update.
11         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13         [BZ #18138]
14         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
15         libc_do_syscall_args): New structure.
16         (INTERNAL_SYSCALL_MAIN_0): New macro.
17         (INTERNAL_SYSCALL_MAIN_1): Likewise.
18         (INTERNAL_SYSCALL_MAIN_2): Likewise.
19         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21         (INTERNAL_SYSCALL_MAIN_5): Likewise.
22         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
24         Replace conditional definitions by conditional definitions of ....
25         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
26         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
27         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28         (libpthread-sysdep_routines): Add libc-do-syscall.
29         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
30         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
31         to __NR_futex not 240.
33 2015-03-25  Alan Modra  <amodra@gmail.com>
35         * NEWS: Advertise TLS optimization.
36         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37         (DT_PPC_NUM): Increment.
38         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
39         (CHECK_STATIC_TLS): Use here.
40         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
41         TLS descriptors.
42         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
43         * sysdeps/powerpc/dl-tls.c: New file.
44         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
45         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
46         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
47         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
48         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
49         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
50         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
52 2015-03-25  Alan Modra  <amodra@gmail.com>
54         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
55         for overlapping .opd entries" to "support...".
56         * sysdeps/powerpc/powerpc64/configure: Regenerate
58 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
60         * math/auto-libm-test-in: Add more tests of acos.
61         * math/auto-libm-test-out: Regenerated.
62         * sysdeps/i386/fpu/libm-test-ulps: Update.
63         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65         * math/auto-libm-test-in: Add more tests of expm1.
66         * math/auto-libm-test-out: Regenerated.
67         * sysdeps/i386/fpu/libm-test-ulps: Update.
68         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
72         * math/auto-libm-test-in: Add more tests of cosh and sinh.
73         * math/auto-libm-test-out: Regenerated.
74         * sysdeps/i386/fpu/libm-test-ulps: Update.
75         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
78         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80         * math/auto-libm-test-in: Add more tests of log2.
81         * math/auto-libm-test-out: Regenerated.
82         * sysdeps/i386/fpu/libm-test-ulps: Update.
83         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85 2015-03-23  Roland McGrath  <roland@hack.frob.com>
87         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
88         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
89         _IO_IS_APPENDING bit in READ_WRITE instead.
91 2015-03-23  Florian Weimer  <fweimer@redhat.com>
93         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
94         (__determine_cpumask_size): Replace extend_alloca with a
95         variable-length array.  Do not treat res == 0 as an error.
97 2015-03-23  Florian Weimer  <fweimer@redhat.com>
99         [BZ #18100]
100         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
101         and integer overflow.
102         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
103         (main): Add integer overflow tests.
104         * manual/pattern.texi (Calling Wordexp): Document additional use
105         for WRDE_SYNTAX.
107 2015-03-23  Alan Modra  <amodra@gmail.com>
109         * config.h.in: Remove HAVE_ASM_PPC_REL16.
110         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
111         and false branch of conditional.
112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
113         Likewise.
115 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
117         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
118         libc-modules.h
119         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
120         unused declaration of _hurd_intr_rpc_msg_in_trap.
121         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
122         defined instead of whether it is non-zero.
123         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
124         input constraint instead of both input and output constraint.  Use ecx
125         clobber instead of %ecx.
126         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
127         mutex_unlock): Use a statement expression instead of an expression list.
128         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
129         type to vm_size_t instead of vm_address_t.
130         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
131         defined instead of whether it is non-zero.
132         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
133         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
134         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
135         comparisons with mapaddr.
136         * nscd/nscd-client.h: Include <time.h>.
137         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
138         9th parameter to __vm_region instead of int.
139         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
140         * scripts/check-local-headers.sh (exclude): Add device/,
141         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
142         cthreads.h.
144 2015-03-19  Roland McGrath  <roland@hack.frob.com>
146         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
147         to account for alignment padding.
148         * sysdeps/arm/memmove.S: Likewise.
150 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
152         * sysdeps/unix/sysv/linux/generic/README: New file.
154 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
156         [BZ #18138]
157         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
158         (futex_abstimed_wait)
159         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
160         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
161         of lll_futex_timed_wait.
163 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
165         [BZ #17542]
166         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
168 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
170         [BZ #17090]
171         [BZ #17620]
172         [BZ #17621]
173         [BZ #17628]
174         * NEWS: Update.
175         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
176         entries with Static TLS too.  Skip entries past the end of the
177         allocated DTV, from Alan Modra.
178         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
179         Static TLS DTV entry set up from...
180         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
181         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
182         * nptl/allocatestack.c (init_one_static_tls): ... and here...
183         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
184         for Static TLS.
185         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
186         that the slot we find is associated with the given map before
187         using its generation count.
188         * nptl_db/db_info.c: Include ldsodefs.h.
189         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
190         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
191         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
192         (link_map::l_tls_offset): New struct field.
193         (dtv_t::counter): Likewise.
194         (rtld_global): New struct.
195         (_rtld_global): New rtld variable.
196         (dl_tls_dtv_slotinfo_list): New rtld global field.
197         (dtv_slotinfo_list): New struct.
198         (dtv_slotinfo): Likewise.
199         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
200         (td_lookup): Rename to...
201         (td_mod_lookup): ... this.  Use new mod parameter instead of
202         LIBPTHREAD_SO.
203         * nptl_db/td_thr_tlsbase.c: Include link.h.
204         (dtv_slotinfo_list, dtv_slotinfo): New functions.
205         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
206         addresses even if the DTV is out of date or missing them.
207         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
208         index zero-length arrays.
209         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
210         (td_lookup): Make it a macro implemented in terms of...
211         (td_mod_lookup): ... this declaration.
212         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
213         (DB_MAIN_VARIABLE): Likewise.
215 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
217         [BZ #18134]
218         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
220 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
222         * stdlib/setenv.c (__add_to_environ): Revert previous change.
224 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
226         [BZ #18128]
227         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
228         (atomic_add, atomic_increment_and_test)
229         (atomic_decrement_and_test): Fix 64-bit arithmetic.
231 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
233         * stdlib/setenv.c (__add_to_environ):
234         Dump core quickly if setenv (..., NULL, ...) is called.
236 2015-03-13  Roland McGrath  <roland@hack.frob.com>
238         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
239         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
240         all the necessary asm magic in one place.
241         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
242         using those.
244 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
246         [BZ #14906]
247         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
248         traced file mtime. Use consistent log message.
249         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
250         (register_traced_file): Call install_watches. Always set mtime.
251         (invalidate_cache): Iterate over all trace files. Call install_watches.
252         (inotify_check_files): Don't inline. Handle watching parent
253         directories and configuration file movement in and out.
254         (handle_inotify_events): New function.
255         (main_loop_poll): Call handle_inotify_events.
256         (main_loop_epoll): Likewise.
257         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
258         (struct traced_file): Use array of inotify fds. Add parent directory,
259         and basename.
260         (struct database_dyn): Remove unused file_mtime.
261         (init_traced_file): New inline function.
262         (define_traced_file): New macro.
263         * nss/nss_db/db-init.c: Use define_traced_file.
264         (_nss_db_init): Use init_traced_file.
265         * nss/nss_files/files-init.c: Use define_traced_file.
266         (_nss_files_init): Use init_traced_file.
268 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
270         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
271         [_LIBC]: Do not include <stdlib.h>.
272         [!_LIBC] (abort): Remove declaration.
273         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
274         _FP_STATIC_ASSERT instead of conditionally calling abort.
275         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
276         (_FP_EXTEND_CNAN): Likewise.
277         (FP_TRUNC): Likewise.
278         (__FP_CLZ): Likewise.
279         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
281 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
283         * manual/string.texi (XPG basename): Fix prototype.
285 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
287         [BZ #18080]
288         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
289         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
290         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
291         (__setcontext): Likewise.
292         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
293         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
294         Call rt_sigprocmask syscall one time to set new signal mask
295         and retrieve the current signal mask instead of two calls.
296         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
297         (__swapcontext): Likewise.
298         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
299         * stdlib/tst-setcontext2.c: New file.
301 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
303         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
305 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
307         [BZ #18093]
308         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
309         the wrong size.
311 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
313         [BZ #18043]
314         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
316 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
318         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
319         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
320         Remove define.
321         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
322         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
323         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
324         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
325         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
326         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
327         define.
328         * nptl_db/td_symbol_list.c (td_lookup): Remove
329         HAVE_ASM_GLOBAL_DOT_NAME code.
330         * sysdeps/powerpc/powerpc64/configure.ac: Remove
331         HAVE_ASM_GLOBAL_DOT_NAME check.
332         * sysdeps/powerpc/powerpc64/configure: Regenerate.
333         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
334         (DOT_LABEL): Remove define.
335         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
336         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
337         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
338         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
339         (__TLS_GET_ADDR): Likewise.
340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
341         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
343 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
345         [BZ #18111]
346         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
347         (_FPU_SETCW): Initialize cw from fpsr before storing.
348         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
349         (fesetexceptflag): Rewrite using fpu_control.h.
350         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
352 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
354         [BZ #18110]
355         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
356         asms.
357         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
359 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
361         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
362         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
363         abort.
364         (_FP_FMA): Likewise.
365         (_FP_DIV): Likewise.
367 2015-03-10  Roland McGrath  <roland@hack.frob.com>
369         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
370         with 0 in that case.
371         * Makefile (summarize-tests): New canned sequence, factored out of
372         commands for targets tests and xtests.  Display summary lines that
373         don't start with PASS: or XFAIL: rather than ones that do start with
374         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
375         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
376         do start with ERROR: or FAIL:.
377         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
378         (except for [$(build-shared) = yes]).
379         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
380         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
381         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
382         * nptl/Makefile: Revert 2015-03-04 changes.
383         [$(CXX) empty] (tests-unsupported): New variable.
384         * debug/Makefile: Likewise.
386         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
387         gnulib file.  Replace __attribute with __attribute__ throughout.
389 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
391         * sysdeps/hppa/fpu/libm-test-ulps: Update.
393 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
395         [BZ #18104]
396         * math/auto-libm-test-in: Add another test of pow.
397         * math/auto-libm-test-out: Regenerated.
399 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
401         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
402         $(config-cflags-nofma).
404 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
406         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
407         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
408         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
409         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
410         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
411         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
412         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
413         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
414         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
415         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
416         Add comment on closing #endif.
418 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
420         * posix/wordexp.c (CHAR_IN_SET): New macro.
421         (parse_param): Use it.
423 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
425         * sysdeps/powerpc/fpu/libm-test-ulps: update.
427 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
429         [BZ #18043]
430         * posix/wordexp.c (parse_param): Fix buffer overflow.
431         * posix/wordexp-test.c (test_case): Add test case.
433 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
435         [BZ #18042]
436         * posix/wordexp.c (parse_backtick): Fix off-by-one.
437         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
439 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
441         [BZ #18043]
442         * posix/wordexp-test.c (test_case): Add test for BZ #18043
443         (do_bz18043): Delete.
444         (at_page_end): New.
445         (testit): Refactor to have words at the edge of unreadable page.
447 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
449         [BZ #16734]
450         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
451         Cleanup read-only streams as well.
452         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
454 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
456         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
457         <bits/libc-lockP.h>
459 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
461         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
462         on [__KERNEL__].
463         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
464         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
465         * soft-fp/op-common.h (_FP_DECL): Likewise.
467 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
469         * elf/ifuncdep2.c (global): Replace
470         __attribute__((visibility("protected"))) with
471         asm (".protected global").
472         * elf/ifuncmod1.c (global): Likewise.
473         * elf/ifuncmod5.c (global): Likewise.
475 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
477         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
478         <asm/sfp-machine.h> instead of <sfp-machine.h>.
480 2015-03-06  Roland McGrath  <roland@hack.frob.com>
482         * manual/install.texi (Configuring and compiling):
483         Document test-wrapper-env-only.
484         * INSTALL: Regenerated.
486 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
488         [BZ #18043]
489         * posix/wordexp.c (parse_param): Fix buffer overflow.
490         * posix/wordexp-test.c (do_bz18043): Add test case.
492 2015-03-06  Vincent Bernat  <vincent@bernat.im>
494         * time/tst-strptime2.c (do_test): Ensure failing tests are
495         reported correctly.
496         * time/tst-strptime3.c (do_test): Likewise.
498 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
500         Fix aio_error thread-safety.
501         * sysdeps/pthread/aio_error.c: New file
502         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
503         synchronization.
505 2015-03-06  Florian Weimer  <fweimer@redhat.com>
507         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
508         (group_number, vfprintf): Use it.
509         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
510         (JUMP, REF): Use it.
511         (WORK_BUFFER_SIZE): New enum constant.
512         (process_arg, vfprintf): Use it.
514 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
516         * manual/errno.texi (Error Messages): Complete example function
517         by adding missing #define.
518         (program_invocation_name): Add statement indicating GNU
519         extension and reference which header file declares the variable.
520         (program_invocation_short_name): Likewise.
522 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
524         * manual/errno.texi (Error Messages): Delete strerror ISO C89
525         compatibility note.
527 2015-03-05  Roland McGrath  <roland@hack.frob.com>
529         * Makeconfig (test-wrapper-env-only): New variable.
530         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
531         then use that with $(test-wrapper-env-only) rather than using
532         $(test-wrapper-env) $(run-program-env) $($*-ENV).
534 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
536         [BZ #18082]
537         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
538         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
539         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
540         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
541         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
542         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
543         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
544         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
545         Likewise.
546         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
547         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
548         Likewise.
549         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
550         Likewise.
551         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
552         Likewise.
553         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
554         Likewise.
555         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
556         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
557         Likewise.
558         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
559         Likewise.
560         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
561         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
563 2015-03-04  Roland McGrath  <roland@hack.frob.com>
565         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
566         (ETH_ALEN): New macro.
567         (struct ether_addr): Use it for length of ether_addr_octet.
569         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
570         (setdb): Don't call __nss_configure_lookup for "rpc".
571         (do_test): Don't call test_rpc.
572         (output_rpcent, test_rpc): Functions moved ...
573         * sunrpc/test-rpcent.c: ... to this new file.
574         * sunrpc/Makefile (tests): Add it.
576         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
577         __xpg_sigpause.
578         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
579         * nptl/tst-signal6.c: Likewise.
580         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
581         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
583         * configure.ac (libc_cv_cxx_link_ok): New check.
584         Reset CXX to empty if it fails to link.
585         * configure: Regenerated.
586         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
587         bug-atexit3-lib only if $(CXX) is nonempty.
588         * nptl/Makefile (tests): Likewise for tst-cancel24.
589         (tests, tests-static): Likewise for tst-cancel24-static.
590         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
591         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
592         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
593         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
595 2015-03-04  Andreas Schwab  <schwab@suse.de>
597         [BZ #17631]
598         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
599         for non-GCC compilers.
600         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
601         Likewise.
603 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
605         [BZ #17776]
606         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
607         integer before bitwise and assembly operations.
608         (feclearexcept): Likewise.
609         * math/test-fenvinline.c: New file.
610         * math/Makefile: Add test-fenvinline test.
612 2015-03-03  Alan Modra  <amodra@gmail.com>
614         [BZ #16512]
615         * scripts/localplt.awk: Strip off symbol version.
616         * NEWS: Mention bug fix.
618 2015-03-02  Roland McGrath  <roland@hack.frob.com>
620         * sysdeps/pthread/timer_routines.c
621         (timer_free_list, thread_free_list, thread_active_list): Make static.
623 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
625         [BZ #17779]
626         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
627         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
628         Undefine.
629         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
630         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
631         Likewise.
632         * sysdeps/unix/sysv/linux/sh/kernel-features.h
633         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
634         Likewise.
636 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
638         [BZ #18036]
639         * posix/fnmatch_loop.c (END): Detect invalid pattern.
640         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
642 2015-03-02  Andreas Schwab  <schwab@suse.de>
644         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
645         variable name.
647 2015-03-02  Florian Weimer  <fweimer@redhat.com>
649         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
650         Return error status.
652 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
654         [BZ #15969]
655         * locale/findlocale.c (_nl_find_locale): Introduce const
656         version of loc_name and drop unsafe type casts.
658 2015-02-27  Roland McGrath  <roland@hack.frob.com>
660         * dlfcn/tststatic2.c (main): Converted to ...
661         (do_test): ... this.
662         (TEST_FUNCTION): New macro.
663         Include test-skeleton.c.
665 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
667         [BZ #17711]
668         * elf/Makefile (tests): Add vismain only if PIE is enabled.
669         (tests-pie): Add vismain.
670         (CFLAGS-vismain.c): New.
671         * elf/vismain.c: Add comments for PIE requirement.
673 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
675         [BZ #18046]
676         [BZ #18047]
677         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
678         0x1p-56L as threshold for just returning the argument.
679         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
680         0x1p-32L as threshold for just returning the argument.
681         * math/auto-libm-test-in: Add more tests of atanh.
682         * math/auto-libm-test-out: Regenerated.
683         * sysdeps/i386/fpu/libm-test-ulps: Update.
684         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
686 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
688         * string/bcopy.c (bcopy): Call memmove for performance.
690 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
692         * string/bzero.c (__bzero): Call memset for performance.
694 2015-02-27  John David Anglin  <dave.anglin@bell.net>
696         [BZ #18068]
697         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
698         to 00100000.
700 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
702         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
704 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
706         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
707         (__kernel_standard): Use CSTR macro when setting exc.name.
708         * sysdeps/ieee754/Makefile [$(subdir) = math]
709         (CFLAGS-k_standard.c): Remove variable.
711         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
712         setting p and q from "else if" to "else".
713         (qzero): Likewise.
714         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
715         (qone): Likewise.
716         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
717         (qzerof): Likewise.
718         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
719         (qonef): Likewise.
720         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
721         (qzero): Likewise.
722         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
723         (qone): Likewise.
725         [BZ #18038]
726         [BZ #18039]
727         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
728         return pi/2 for arguments below 0x1p-113L.
729         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
730         return pi/2 for arguments below 0x1p-106L.
731         * math/auto-libm-test-in: Add more tests of acos.
732         * math/auto-libm-test-out: Regenerated.
734         [BZ #16351]
735         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
736         (MO): New macro.
737         (__ieee754_asin): Force underflow exception for results with small
738         absolute value.
739         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
740         (MO): New macro.
741         (__ieee754_asinf): Force underflow exception for results with
742         small absolute value.
743         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
744         (__ieee754_asin): Force underflow exception for results with small
745         absolute value.
746         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
747         (__ieee754_asinf): Force underflow exception for results with
748         small absolute value.
749         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
750         (__ieee754_asinl): Force underflow exception for results with
751         small absolute value.
752         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
753         (__ieee754_asinl): Force underflow exception for results with
754         small absolute value.
755         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
756         (__ieee754_asinl): Force underflow exception for results with
757         small absolute value.
758         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
759         Include <math.h>.
760         * math/auto-libm-test-in: Do not mark underflow exceptions as
761         possibly missing for bug 16351.
762         * math/auto-libm-test-out: Regenerated.
764         [BZ #18030]
765         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
766         of power of 2 down when low part has opposite sign.
767         * math/libm-test.inc (logb_test_data): Add more tests.
769 2015-02-26  Andreas Schwab  <schwab@suse.de>
771         [BZ #18032]
772         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
773         over collating symbol inside a bracket expression.  Minor cleanup.
774         * posix/tst-fnmatch3.c (do_test): Add test case.
776 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
778         [BZ #18029]
779         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
780         Adjust exponent of power of 2 down when low part has opposite
781         sign.
782         * math/libm-test.inc (ilogb_test_data): Add more tests.
784 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
786         [BZ #15969]
787         * locale/findlocale.c (_nl_find_locale): Fix constness error in
788         the previous change.
790         [BZ #15969]
791         * locale/findlocale.c (_nl_find_locale): Retry archive search
792         after alias expansion.
794 2015-02-25  Roland McGrath  <roland@hack.frob.com>
796         * iconv/tst-iconv3.c (main): Converted to ...
797         (do_test): ... this.
798         (TEST_FUNCTION): New macro.
799         Include test-skeleton.c.
801         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
802         (convert): Make function static.
803         (test_unalign): Likewise.  Add const to argument pointee types.
804         (main): Replace with static function do_test.
805         Print "Succeeded." only if RET is zero.
806         (TEST_FUNCTION): New macro.
807         Include test-skeleton.c.
809         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
810         returns a null pointer.
812 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
814         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
815         to __memcpy_ppc only for static builds.
817 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
819         [BZ #18020]
820         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
821         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
822         * math/auto-libm-test-in: Add more tests of asinh.
823         * math/auto-libm-test-out: Regenerated.
824         * sysdeps/i386/fpu/libm-test-ulps: Update.
825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
827 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
829         [BZ #15850]
830         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
831         and ip6_mtuinfo definitions here.
832         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
833         in this define too.  Update comment.
835 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
837         * elf/sprof.c (load_shobj): Tweak error message to match others.
839 2015-02-24  Kevin Easton  <kevin@guarana.org>
841         [BZ #16145] (partial fix)
842         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
843         to reduce lock contention.
845 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
847         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
848         (struct timex): Update time comment.
849         (ADJ_SETOFFSET): Define.
851 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
853         [BZ #18019]
854         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
855         2**56 not 2**28 as threshold for log (2x) formula.
856         * math/auto-libm-test-in: Add more tests of acosh.
857         * math/auto-libm-test-out: Regenerated.
858         * sysdeps/i386/fpu/libm-test-ulps: Update.
859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
861 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
863         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
864         parenthesis around the buf assignment.
865         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
867 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
869         [BZ #16783]
870         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
871         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
872         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
873         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
874         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
875         * math/libm-test.inc (scalb_test_data): Add more tests.
877 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
879         [BZ #17916]
880         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
881         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
883 2015-02-24  Eric Rannaud  <e@nanocritical.com>
885         [BZ #17523]
886         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
887         * io/bits/fcntl2.h (open): Use it.
888         (openat): Likewise.
889         * io/open.c (__libc_open): Likewise.
890         * io/open64.c (__libc_open64): Likewise.
891         * io/open64_2.c (__open64_2): Likewise.
892         * io/open_2.c (__open_2): Likewise.
893         * io/openat.c (__openat): Likewise.
894         * io/openat64.c (__openat64): Likewise.
895         * io/openat64_2.c (__openat64_2): Likewise.
896         * io/openat_2.c (__openat_2): Likewise.
897         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
898         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
899         * sysdeps/posix/open64.c (__libc_open64): Likewise.
900         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
901         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
902         (__open_nocancel): Likewise.
903         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
904         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
905         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
907 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
909         [BZ #14841]
910         * resolv/gethnamaddr.c (getanswer): Skip logging if
911         RES_USE_DNSSEC is set.
912         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
914 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
916         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
918 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
920         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
921         201304L, for Unicode 7.
923 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
925         [BZ #17836]
926         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
927         shared library.  Add gmon-start.os otherwise.
928         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
929         $(objpfx)gmon-start.os if builing shared library.
930         ($(objpfx)g$(static-start-installed-name)): Likewise.
932 2015-02-23  Andreas Schwab  <schwab@suse.de>
934         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
936 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
938         [BZ #17269]
939         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
940         (enlarge_userbuf): Likewise.
942 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
944         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
945         * math/atest-exp.c (TIMEOUT): Adjust to 200.
946         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
947         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
949 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
951         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
952         expression inside statement expression.
954 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
956         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
957         <sysdeps/nptl/lowlevellock.h> and remove macros and
958         functions that are now defined there.
959         (SYS_futex): Remove.
960         (lll_compare_and_swap): Remove.
961         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
963 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
965         [BZ #17999]
966         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
967         instead of scandirat.
968         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
969         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
970         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
971         __scandirat.
972         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
973         (__scandirat): Declare.  Use libc_hidden_proto.
974         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
975         Remove variable.
976         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
978 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
980         [BZ #15319]
981         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
982         (MO): New macro.
983         (__ieee754_atan2): For results with small absolute value, force
984         underflow exception and remove excess range and precision from
985         return value.
986         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
987         (MO): New macro.
988         (__ieee754_atan2f): For results with small absolute value, force
989         underflow exception and remove excess range and precision from
990         return value.
991         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
992         (MO): New macro.
993         (__atan): For results with small absolute value, force underflow
994         exception and remove excess range and precision from return value.
995         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
996         (MO): New macro.
997         (__atanf): For results with small absolute value, force underflow
998         exception and remove excess range and precision from return value.
999         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1000         <math.h>.
1001         (__ieee754_atan2): Force underflow exception for results with
1002         small absolute value.
1003         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1004         <math_private.h>.
1005         (atan): Force underflow exception for results with small absolute
1006         value.
1007         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1008         (__atanf): Force underflow exception for results with small
1009         absolute value.
1010         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1011         <math.h>.
1012         (__atanl): Force underflow exception for results with small
1013         absolute value.
1014         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1015         (__atanl): Force underflow exception for results with small
1016         absolute value.
1017         * sysdeps/x86/fpu/bits/mathinline.h
1018         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1019         (__ieee754_atan2): Only define inline for long double.
1020         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1021         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1022         * math/auto-libm-test-in: Do not mark underflow exceptions as
1023         possibly missing for bug 15319.  Add more tests of atan2.
1024         * math/auto-libm-test-out: Regenerated.
1025         * math/libm-test.inc (casin_test_data): Do not mark underflow
1026         exceptions as possibly missing for bug 15319.
1027         (casinh_test_data): Likewise.
1028         * sysdeps/i386/fpu/libm-test-ulps: Update.
1030 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
1032         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1033         * sysdeps/mips/bits/endian.h: Fix comments.
1035 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
1037         [BZ #17996]
1038         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1039         (hdestroy_r): Likewise.
1040         (hsearch_r): Likewise.
1041         (__hcreate_r): Declare and use libc_hidden_proto.
1042         (__hdestroy_r): Likewise.
1043         (__hsearch_r): Likewise.
1044         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1045         (hcreate): Call __hcreate_r instead of hcreate_r.
1046         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1047         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1048         as weak alias of __hcreate_r.
1049         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1050         __hdestroy_r.
1051         (hsearch_r): Rename to __hsearch_r and define as weak alias of
1052         __hsearch_r.
1053         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1054         Remove variable.
1055         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1056         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1057         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1058         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1060 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1062         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1063         arena_lock into a single arena_get.
1065 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
1067         * dl-reloc.c: Inlucde libc-internal.h.
1068         (_dl_try_allocate_static_tls): Call ALIGN_UP.
1069         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1070         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1071         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1072         (grow_heap): Likewise.
1073         * malloc/malloc.c: Include libc-internal.h.
1074         (do_check_malloc): Call powerof2.
1075         (sysmalloc): Use pagesize. Call ALIGN_UP.
1076         (systrim): Use pagesize.
1077         (mremap_chunk): Use pagesize. Call ALIGN_UP.
1078         (__libc_valloc): Use pagesize.
1079         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1081 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1083         [BZ #17991]
1084         * include/sys/resource.h (__getrlimit64): Declare.  Use
1085         libc_hidden_proto.
1086         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1087         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
1088         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1089         getrlimit64.
1090         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1091         __getrlimit64.
1092         [!getrlimit64] (getrlimit64): Define as weak alias of
1093         __getrlimit64.  Use libc_hidden_weak.
1094         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1095         using __getrlimit64 not __new_getrlimit64.
1096         (__GI_getrlimit64): Likewise.
1097         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1098         Likewise.
1099         (__GI_getrlimit64): Likewise.
1100         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1102         (getrlimit): Add __getrlimit64 alias.
1103         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1104         Likewise.
1105         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1106         Remove variable.
1107         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1108         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1110 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
1112         * libio/fileops.c: Add missing sys/mman.h
1113         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1115 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
1117         * manual/math.texi (Errors in Math Functions): Clarify goals
1118         regarding inexact and underflow exceptions.
1120 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1122         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1123         * sysdeps/mips/memset.S: Ditto.
1125 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
1127         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1129 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1131         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1132         (__v1longjmp): Remove versioned symbol.
1133         (__v1siglongjmp): Remove alias and versioned symbol.
1134         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1135         (__v2siglongjmp): Likewise.
1137 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1139         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1141 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
1143         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1145 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1147         [BZ #17987]
1148         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1149         zero result does not depend on the sign resulting from
1150         subtraction.
1151         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1152         Likewise.
1153         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1154         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1155         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1156         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1157         * math/libm-test.inc (remquo_test_data): Add more tests.
1159 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
1161         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1162         Problem reported by J William Piggott.
1164 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
1166         [BZ #17978]
1167         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1168         products 4 * y and 2 * y where those would overflow.
1169         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1170         Likewise.
1171         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1172         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1173         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1174         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1175         * math/libm-test.inc (remquo_test_data): Add more tests.
1177         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1179         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1180         [defined _COMPILING_NEWLIB].
1181         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1182         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1184         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1185         [!defined __mips_isa_rev || __mips_isa_rev < 6].
1187 2015-02-16  Torvald Riegel  <triegel@redhat.com>
1189         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1190         acquired.
1192 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
1194         [BZ #17792]
1195         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1196         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1197         HOST_STACK_END_ADDR): Likewise.
1199 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
1201         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1202         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1203         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1205 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1207         * sysdeps/generic/c++-types.data: New file.
1208         * sysdeps/generic/ld.abilist: New file.
1209         * sysdeps/generic/libBrokenLocale.abilist: New file.
1210         * sysdeps/generic/libanl.abilist: New file.
1211         * sysdeps/generic/libc.abilist: New file.
1212         * sysdeps/generic/libcrypt.abilist: New file.
1213         * sysdeps/generic/libdl.abilist: New file.
1214         * sysdeps/generic/libm.abilist: New file.
1215         * sysdeps/generic/libpthread.abilist: New file.
1216         * sysdeps/generic/libresolv.abilist: New file.
1217         * sysdeps/generic/librt.abilist: New file.
1219 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1221         [BZ #17569]
1222         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1223         Compute absolute value of x as modified by fmod, not original
1224         value of x.
1225         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1226         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
1227         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
1228         RUN_TEST_ffI_f1_mod8.
1229         (remquo_test_data): Add more tests.
1231 2015-02-13  Roland McGrath  <roland@hack.frob.com>
1233         * sysdeps/init_array/pt-crti.S: New file.
1235 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
1237         [BZ #17967]
1238         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1239         __builtin_fmaf instead of relying on contraction of a * b + c.
1241 2015-02-12  J William Piggott  <elseifthen@gmx.com>
1243         [BZ #17969]
1244         * manual/time.texi: correct the zoneinfo path in the TZ Variable
1245         node.
1247 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1249         [BZ #17964]
1250         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1251         __builtin_fma instead of relying on contraction of a * b + c.
1253 2015-02-12  Roland McGrath  <roland@hack.frob.com>
1255         * Makeconfig (ASFLAGS): Add -Werror=undef.
1256         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1257         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1258         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1260         * Makeconfig (after-link): New variable.
1261         (+link-pie, +link-pie-tests): Use it.
1262         (+link-static, +link-static-tests): Likewise.
1263         (+link, +link-tests): Likewise.
1264         * Makerules (build-module, build-module-asneeded): Likewise.
1265         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1266         Likewise.
1267         * elf/Makefile ($(objpfx)ld.so): Likewise.
1269 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
1271         [BZ #17965]
1272         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1273         both struct timeval and struct timespec.
1275 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
1277         [BZ #16560]
1278         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1279         and redefine.
1280         (__ieee754_exp2l): Do not multiply small fractional parts by
1281         M_LN2l.
1282         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1283         small argument.
1284         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1285         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1286         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1287         * math/auto-libm-test-in: Add more tests of exp2.
1288         * math/auto-libm-test-out: Regenerated.
1290 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1292         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1293         unaligned path.
1295 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1297         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1298         little endian.
1300 2015-02-12  Andreas Schwab  <schwab@suse.de>
1302         [BZ #15790]
1303         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1304         Filter out elision flags from value returned in kind.
1305         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1306         * nptl/tst-pthread-mutexattr.c: New file.
1308 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1310         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1311         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1312         into gnu-gnu, and update comment to refer to abi-tags.
1314 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
1316         [BZ #15467]
1317         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1318         (__sincos): Set errno to EDOM for infinite argument.
1319         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1320         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1321         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1322         (__sincosl): Set errno to EDOM for infinite argument.
1323         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1324         (__sincosl): Set errno to EDOM for infinite argument.
1325         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1326         (__sincosl): Set errno to EDOM for infinite argument.
1327         * math/libm-test.inc (sincos_test_data): Test errno setting.
1329 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
1331         * string/strxfrm_l.c: Remove #define STRCMP.
1332         * string/strcoll_l.c: Remove #define STRLEN.
1333         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1334         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1336 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
1338         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1339         * sysdeps/mips/mips32/sfp-machine.h: ... here.
1340         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1341         * sysdeps/mips/mips64/Makefile: ... here.
1342         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1343         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1344         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1345         * sysdeps/mips/mips64/sfp-machine.h: ... here.
1346         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1347         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1348         * sysdeps/mips/mips64/n64/Implies: Likewise.
1350 2015-02-10  Roland McGrath  <roland@hack.frob.com>
1352         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1353         <sys/time.h>, <string.h>, and <errno.h>.
1354         (dest_offset, dest_address, value, zero): Remove unused variables.
1355         (ldouble): Remove typedef.
1356         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1357         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
1358         1).  Fix code style.
1359         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1360         (check): Function removed.
1361         (CHECK): New macro.
1362         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
1363         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1364         Don't call set_sigaction_FP and remove_sigaction_FP here.
1365         (ldouble_test): Just use 'long double' as macro argument, no need for
1366         the 'ldouble' typedef.
1367         (do_test): Set up SIGFPE handler at start, using plain signal rather
1368         than sigaction.  Fix code style.
1370 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
1372         [BZ #17949]
1373         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1374         jump label.
1376 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1378         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1379         * sysdeps/powerpc/powerpc32/configure: Regenerated.
1381         * sysdeps/powerpc/configure.ac: Remove file.
1382         * sysdeps/powerpc/configure: Likewise.
1384         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1385         [sysdep_routines]: Remove wordcopy-power6 object.
1386         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1387         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1388         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1389         (__memmove_ppc32): Likewise.
1390         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1391         file.
1392         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1393         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1394         Remove preprocessor.
1396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1397         [sysdep_routines]: Remove wide chars objects.
1398         [wcsmbs]: New rule for wide char objects.
1400         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1401         Remove wordcopy-power6 obejct.
1402         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1403         Use local call for wordcopy and memcpy symbols.
1404         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1405         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1406         implementation for loader.
1407         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1409         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1410         Remove wordcopy-power7 object.
1411         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1412         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1413         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1414         (_wordcopy_fwd_dest_aligned): Likewise.
1415         (_wordcopy_bwd_aligned): Likewise.
1416         (_wordcopy_bwd_dest_aligned): Likewise.
1418         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
1419         Rewrite to call __memmove_ppc instead of include default
1420         implementation.
1422         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1423         Remove wide chars objects.
1424         [wcsmbs]: New rule for wide char objects.
1426 2015-02-09  Andreas Schwab  <schwab@suse.de>
1428         [BZ #17912]
1429         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1430         in terms of __O_DIRECTORY.
1432 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1434         * time/getdate.c: Include <stdbool.h>.
1435         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
1436         call PTR_MANGLE.
1437         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
1438         PTR_DEMANGLE.
1440 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
1442         Add ersatz _Static_assert on older C hosts
1443         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
1444         pre-C11 C platform that is not known to support _Static_assert.
1446 2015-02-07  Richard Braun  <rbraun@sceen.net>
1448         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
1449         sigstate.
1450         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
1452 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1454         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
1455         priority against unexistent AIO_PRIO_DELTA_MAX.
1456         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
1457         instead of int.
1458         * misc/fchflags.c (fchflags): Likewise.
1459         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
1460         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
1461         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
1462         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
1463         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
1464         Declare macros.
1465         [__USE_MISC] (chflags, fchflags): Declare functions.
1466         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
1467         EINVAL when nfds is greater than FD_SETSIZE.
1468         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
1469         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
1470         45.
1471         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
1472         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
1473         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
1474         MACH_RCV_TIMED_OUT.
1475         * hurd/hurd/signal.h (_hurd_self_sigstate,
1476         _hurd_critical_section_lock, _hurd_critical_section_unlock):
1477         Explicit casts from void *.
1478         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
1479         * abi-tags: Rename gnu-gnu os into gnu.
1481         [BZ #4719]
1482         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
1483         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
1484         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
1485         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
1486         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
1487         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
1489         [BZ #17944]
1490         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
1491         duplicates ADDR->sun_path with sockaddr LEN limitation.
1492         * sysdeps/mach/hurd/connect.c: Include <string.h>
1493         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
1494         * sysdeps/mach/hurd/sendmsg.c: Likewise.
1495         * sysdeps/mach/hurd/sendto.c: Likewise.
1496         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
1497         implementing it by hand.
1499 2015-02-06  Roland McGrath  <roland@hack.frob.com>
1501         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
1502         Use sfi_breg on ldr.
1503         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
1504         Likewise.
1506         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
1507         it's defined.
1508         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
1509         Test SIGSETXID only if it's defined.
1511         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
1513         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
1514         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
1516         * nptl/tst-align2.c: Moved ...
1517         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
1518         * nptl/Makefile (tests): Remove tst-align2.
1519         * sysdeps/unix/sysv/linux/Makefile
1520         [$(subdir) = nptl] (tests): Add tst-align-clone.
1521         * nptl/tst-getpid1.c: Moved ...
1522         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
1523         * nptl/tst-getpid2.c: Moved ...
1524         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
1525         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
1526         * sysdeps/unix/sysv/linux/Makefile
1527         [$(subdir) = nptl] (tests): ... here.
1528         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
1529         * sysdeps/unix/sysv/linux/Makefile
1530         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
1532         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
1533         Drop trailing \n from perror argument.  Use return rather than exit.
1535         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
1536         on [SA_SIGINFO].
1537         * nptl/tst-cancel21.c (do_test): Likewise.
1538         * debug/tst-backtrace6.c: Include <signal.h> first thing.
1539         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
1540         [!SA_SIGINFO]: Make it a stub test.
1542         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
1543         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
1545         * posix/tst-getlogin.c: Move to ...
1546         * login/tst-getlogin.c: ... here.
1547         * posix/Makefile (tests): Move tst-getlogin to ...
1548         * login/Makefile (tests): ... here.
1550         * libio/tst-atime.c (do_test): Move local variables SV and E
1551         inside [ST_NOATIME] conditional.
1553         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
1555         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
1557         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
1558         (wait_code): New function replaces macro.
1559         Call nanosleep rather than syscall.
1561         * nptl/pt-system.c: Rewritten.  Put everything under
1562         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1563         Use IFUNC to redirect when possible.
1565         * nptl/pt-longjmp.c: Rewritten.  Put everything under
1566         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1567         Use IFUNC to redirect when possible.
1569         * nptl/pt-fork.c: Rewritten.  Put everything under
1570         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
1571         Use IFUNC to redirect when possible.
1572         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
1574         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
1575         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
1576         unconditionally nowadays.  This included the only reference to
1577         __vdso_clock_gettime that appears outside libc proper.
1578         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
1579         Remove version set (containing only __vdso_clock_gettime).
1580         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1581         Add attribute_hidden.
1582         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1583         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
1584         libc_hidden_data_def.
1585         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
1586         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
1588         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
1589         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
1590         setrpcent, and getrpcport to ...
1591         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
1592         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
1593         getrpcbynumber_r, and getrpcent_r to ...
1594         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
1595         * inet/getrpcbyname.c: Moved ...
1596         * sunrpc/getrpcbyname.c: ... here.
1597         * inet/getrpcbyname_r.c: Moved ...
1598         * sunrpc/getrpcbyname_r.c: ... here.
1599         * inet/getrpcbynumber.c: Moved ...
1600         * sunrpc/getrpcbynumber.c: ... here.
1601         * inet/getrpcbynumber_r.c: Moved ...
1602         * sunrpc/getrpcbynumber_r.c: ... here.
1603         * inet/getrpcent.c: Moved ...
1604         * sunrpc/getrpcent.c: ... here.
1605         * inet/getrpcent_r.c: Moved ...
1606         * sunrpc/getrpcent_r.c: ... here.
1607         * inet/Makefile (routines): Move those to ...
1608         * sunrpc/Makefile (routines): ... here.
1609         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
1610         the $(subdirs) list.
1611         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
1612         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
1613         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
1614         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
1616         * elf/Makefile (routines): Include $(all-dl-routines), not just
1617         $(dl-routines).
1618         (rtld-routines): Likewise.  Use = rather than :=.
1619         * sysdeps/aarch64/Makefile [$(subdir) = elf]
1620         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
1621         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
1622         * sysdeps/arm/Makefile: Likewise.
1623         * sysdeps/i386/Makefile: Likewise.
1624         * sysdeps/x86_64/Makefile: Likewise.
1625         * sysdeps/hppa/Makefile [$(subdir) = elf]
1626         (sysdep_routines, sysdep-rtld-routines): Don't add
1627         $(sysdep-dl-routines) to these.
1628         * sysdeps/ia64/Makefile: Likewise.
1629         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
1630         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
1631         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
1632         Don't add dl-static to these; sysdep-dl-routines alone is enough.
1633         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
1634         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
1635         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
1636         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
1637         * sysdeps/powerpc/Makefile [$(subdir) = elf]
1638         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
1639         these; sysdep-dl-routines alone is enough.
1641 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
1643         [BZ #17932]
1644         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
1645         where multiplication results in zero and third argument is finite
1646         and nonzero.
1647         * math/auto-libm-test-in: Add more tests of fma.
1648         * math/auto-libm-test-out: Regenerated.
1650         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
1651         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
1652         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
1653         (_FP_CMP_EQ): Likewise.
1654         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
1656         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
1657         extra argument CHECK_NAN.  Redefine as wrapper around
1658         _FP_EXTEND_CNAN.
1660 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1662         * version.h (RELEASE): Set to "stable".
1663         (VERSION): Set to "2.21"
1664         * include/features.h (__GLIBC_MINOR__): Set to 21.
1666         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1668 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1669             Paul Eggert  <eggert@cs.ucla.edu>
1671         [BZ #16618]
1672         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1673         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1674         size in bytes. Store needed elements in wpmax. Use needed size
1675         in bytes for extend_alloca.
1677 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1679         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1680         binutls 2.25, and texinfo 5.2.
1681         * INSTALL: Regenerate.
1682         * sysdeps/nios2/configure: Regenerate.
1683         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1684         * manual/contrib.texi: Update.
1685         * po/be.po: Update.
1686         * po/bg.po: Update.
1687         * po/ca.po: Update.
1688         * po/cs.po: Update.
1689         * po/da.po: Update.
1690         * po/de.po: Update.
1691         * po/el.po: Update.
1692         * po/eo.po: Update.
1693         * po/es.po: Update.
1694         * po/fi.po: Update.
1695         * po/fr.po: Update.
1696         * po/gl.po: Update.
1697         * po/hr.po: Update.
1698         * po/hu.po: Update.
1699         * po/ia.po: Update.
1700         * po/id.po: Update.
1701         * po/it.po: Update.
1702         * po/ja.po: Update.
1703         * po/ko.po: Update.
1704         * po/lt.po: Update.
1705         * po/nb.po: Update.
1706         * po/nl.po: Update.
1707         * po/pl.po: Update.
1708         * po/pt_BR.po: Update.
1709         * po/ru.po: Update.
1710         * po/rw.po: Update.
1711         * po/sk.po: Update.
1712         * po/sl.po: Update.
1713         * po/sv.po: Update.
1714         * po/tr.po: Update.
1715         * po/uk.po: Update.
1716         * po/vi.po: Update.
1717         * po/zh_CN.po: Update.
1718         * po/zh_TW.po: Update.
1720         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1721         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1722         * sysdeps/hppa/dl-irel.h: Remove #warning.
1723         * sysdeps/hppa/entry.h: Provide prototype for
1724         __canonicalize_funcptr_for_compare and cast argument.
1725         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1726         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1727         * sysdeps/hppa/sotruss-lib.c: New file.
1728         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1729         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1730         (atomic_compare_and_exchange_bool_acq): Likewise.
1731         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1732         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1734         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1735         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1736         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1738 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1740         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1741         called function in non-PIC case.
1743 2015-01-31  David S. Miller  <davem@davemloft.net>
1745         * sysdeps/sparc/sparc32/bits/atomic.h
1746         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1747         unlock not after it.
1748         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1749         volatile register usage warnings from the compiler.
1751         * sysdeps/sparc/nptl/sem_init.c: Delete.
1752         * sysdeps/sparc/nptl/sem_post.c: Delete.
1753         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1754         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1755         * sysdeps/sparc/sparc32/sem_init.c: New file.
1756         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1757         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1758         padding explicitly initialized.
1759         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1760         padding for in-semaphore spinlock.
1761         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1762         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1763         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1764         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1765         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1766         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1767         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1768         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1769         version.
1770         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1771         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1773 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1775         [BZ #17801]
1776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1777         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1778         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1779         New.
1780         (index_AVX_Fast_Unaligned_Load): Likewise.
1781         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1782         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1783         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1784         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1785         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1786         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1787         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1788         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1789         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1791 2015-01-29  Andreas Schwab  <schwab@suse.de>
1793         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1795 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1797         [BZ #17892]
1798         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1800 2015-01-28  Martin Sebor  <msebor@redhat.com>
1802         * math/README.libm-test: Clarify. Add "How to read the test output."
1804 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1806         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1807         Define to 0.
1809 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1811         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1812         (__HAVE_64B_ATOMICS): Define to 0.
1814 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1816         [BZ #17885]
1817         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1818         value to set as new flag.
1820         [BZ #16576]
1821         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1822         and use _ARCH_PPCSQ instead.
1823         (__ieee754_sqrt): Likewise.
1824         (__ieee754_sqrtf): Likewise.
1825         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1826         _ARCH_PPCSQ is defined.
1827         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1828         fsqrt instruction.
1829         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1830         _ARCH_PPCSQ is defined.
1831         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1832         fsqrts instruction.
1833         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1835 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1837         * iconv/loop.c: Suppress array out of bound warning caused by GCC
1838         bug (GCC BZ #64739).
1840 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
1842         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1843         Mark _retval as used.
1844         (lll_futex_wake_unlock): Likewise.
1845         (lll_futex_timed_wait_requeue_pi): Likewise.
1847         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1848         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1849         register variables.
1851         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1852         libm_hidden_def.
1854         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1855         (__bswap_64): Mark as __always_inline.
1857 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
1859         [BZ #15378]
1860         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1861         when none of the search directories exist.
1863 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1865         [BZ #17869]
1866         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1867         power8 in .machine directive.
1869         [BZ #17868]
1870         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1871         set dependency from opd value.
1873 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1875         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1876         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1877         architecture.
1879 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1881         [BZ #17870]
1882         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1883         with uint64_t.
1884         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1885         (uint64_t) 1.
1886         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1887         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1888         Replace 1UL with (uint64_t) 1.
1889         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1890         int with uint64_t.
1892 2015-01-23  Roland McGrath  <roland@hack.frob.com>
1894         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1895         (if_freenameindex): Likewise.
1897         * resource/getrlimit64.c: Add missing libc_hidden_def.
1899 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
1901         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1902         __label__.
1903         (_FP_FMA): Likewise.
1904         (_FP_TO_INT_ROUND): Likewise.
1905         (_FP_FROM_INT): Likewise.
1907 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1909         [BZ #16418]
1910         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1911         Make code racy and cancel safe.
1913 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
1915         * sysdeps/arm/unwind-resume.h: Fix copyright year.
1916         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1917         attribution.
1919         * pwd/tst-getpw.c: Rewrite.
1921         [BZ #17702]
1922         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1923         (modules-names): Add moddummy1 and moddummy2.
1924         ($(objpfx)tst-rec-dlopen): Define.
1925         * dlfcn/moddummy1.c: New file.
1926         * dlfcn/moddummy2.c: New file.
1927         * dlfcn/tst-rec-dlopen.c: New file.
1928         * elf/dl-cache.c (_dl_load_cache_lookup):
1929         Return char*. Copy result with alloca/strcpy/strdup.
1930         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1931         returns char*. Free cached. If not saving realname
1932         free cached.
1933         * elf/dl-open.c (dl_open_worker): Do not assert that
1934         _r_debug->r_state is RT_CONSISTENT.
1935         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1936         returns char*.
1938 2015-01-21  Torvald Riegel  <triegel@redhat.com>
1939             Carlos O'Donell  <carlos@redhat.com>
1941         [BZ #12674]
1942         * nptl/sem_waitcommon.c: New file.
1943         * nptl/sem_wait.c: Include sem_waitcommon.c.
1944         (__sem_wait_cleanup, do_futex_wait): Remove.
1945         (__new_sem_wait): Adapt.
1946         (__new_sem_trywait): New function.
1947         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1948         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1949         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1950         (sem_timedwait): Adapt.
1951         * nptl/sem_post.c (__new_sem_post): Adapt.
1952         (futex_wake): New function.
1953         (__old_sem_post): Add release MO fence.
1954         * nptl/sem_open.c (sem_open): Adapt.
1955         * nptl/sem_init.c (__new_sem_init): Adapt.
1956         (futex_private_if_supported): New function.
1957         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1958         (__old_sem_getvalue): Add using previous code.
1959         * sysdeps/nptl/internaltypes.h: Adapt.
1960         * nptl/tst-sem13.c (do_test): Adapt.
1961         * nptl/tst-sem11.c (main): Adapt.
1962         * nptl/sem_trywait.c: Remove.
1963         * nptl/DESIGN-sem.txt: Remove.
1964         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1965         (gen-as-const-headers): Remove structsem.sym.
1966         * nptl/structsem.sym: Remove.
1967         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1968         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1969         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1970         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1971         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1972         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1973         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1974         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1975         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1976         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1977         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1978         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1979         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1980         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1981         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1982         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1983         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1984         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1985         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1986         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1987         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1988         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1990 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
1992         * INSTALL: Regenerated.
1994         * po/libc.pot: Regenerated.
1996 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
1997             Sandra Loosemore  <sandra@codesourcery.com>
1998             Andrew Jenner  <andrew@codesourcery.com>
1999             Joseph Myers  <joseph@codesourcery.com>
2000             Nathan Sidwell  <nathan@codesourcery.com>
2002         * NEWS: Mention new Nios II port.
2003         * sysdeps/nios2/Implies: New file.
2004         * sysdeps/nios2/Makefile: New file.
2005         * sysdeps/nios2/Subdirs: New file.
2006         * sysdeps/nios2/Versions: New file.
2007         * sysdeps/nios2/__longjmp.S: New file.
2008         * sysdeps/nios2/abort-instr.h: New file.
2009         * sysdeps/nios2/backtrace.c: New file.
2010         * sysdeps/nios2/bits/endian.h: New file.
2011         * sysdeps/nios2/bits/fenv.h: New file.
2012         * sysdeps/nios2/bits/link.h: New file.
2013         * sysdeps/nios2/bits/setjmp.h: New file.
2014         * sysdeps/nios2/bsd-_setjmp.S: New file.
2015         * sysdeps/nios2/bsd-setjmp.S: New file.
2016         * sysdeps/nios2/configure: New generated file.
2017         * sysdeps/nios2/configure.ac: New file.
2018         * sysdeps/nios2/crti.S: New file.
2019         * sysdeps/nios2/crtn.S: New file.
2020         * sysdeps/nios2/dl-init.c: New file.
2021         * sysdeps/nios2/dl-machine.h: New file.
2022         * sysdeps/nios2/dl-sysdep.h: New file.
2023         * sysdeps/nios2/dl-tls.h: New file.
2024         * sysdeps/nios2/dl-trampoline.S: New file.
2025         * sysdeps/nios2/gccframe.h: New file.
2026         * sysdeps/nios2/gmp-mparam.h: New file.
2027         * sysdeps/nios2/jmpbuf-offsets.h: New file.
2028         * sysdeps/nios2/jmpbuf-unwind.h: New file.
2029         * sysdeps/nios2/ldsodefs.h: New file.
2030         * sysdeps/nios2/libc-tls.c: New file.
2031         * sysdeps/nios2/libm-test-ulps: New file.
2032         * sysdeps/nios2/machine-gmon.h: New file.
2033         * sysdeps/nios2/math-tests.h: New file.
2034         * sysdeps/nios2/math_private.h: New file.
2035         * sysdeps/nios2/memusage.h: New file.
2036         * sysdeps/nios2/nptl/Makefile: New file.
2037         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2038         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2039         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2040         * sysdeps/nios2/nptl/pthreaddef.h: New file.
2041         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2042         * sysdeps/nios2/nptl/tls.h: New file.
2043         * sysdeps/nios2/preconfigure: New file.
2044         * sysdeps/nios2/s_fma.c: New file.
2045         * sysdeps/nios2/s_fmaf.c: New file.
2046         * sysdeps/nios2/setjmp.S: New file.
2047         * sysdeps/nios2/sfp-machine.h: New file.
2048         * sysdeps/nios2/sotruss-lib.c: New file.
2049         * sysdeps/nios2/stackguard-macros.h: New file.
2050         * sysdeps/nios2/stackinfo.h: New file.
2051         * sysdeps/nios2/start.S: New file.
2052         * sysdeps/nios2/sysdep.h: New file.
2053         * sysdeps/nios2/tls-macros.h: New file.
2054         * sysdeps/nios2/tst-audit.h: New file.
2055         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2056         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2057         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2058         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2059         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2060         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2061         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2062         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2063         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2064         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2065         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2066         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2067         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2068         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2069         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2070         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2071         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2072         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2073         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2074         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2075         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2076         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2077         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2078         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2079         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2080         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2081         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2082         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2083         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2084         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2085         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2086         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2087         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2088         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2089         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2090         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2091         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2092         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2093         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2094         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2095         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2096         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2097         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2098         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2100 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2102         [BZ #17844]
2103         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2104         (getutent): Use weak_alias in non SHARED case
2105         and default_symbol_version in SHARED case.
2106         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2107         (getutent_r, pututline): Likewise.
2108         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2109         (getutid): Likewise.
2110         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2111         (getutid_r): Likewise.
2112         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2113         (getutline): Likewise.
2114         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2115         (getutline_r): Likewise.
2116         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2117         (updwtmp): Likewise.
2119 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
2121         [BZ #17848]
2122         * sysdeps/s390/s390-32/memcmp.S
2123         (memcmp_g5): Rename to __memcmp_g5.
2124         * sysdeps/s390/s390-32/memcpy.S
2125         (memcpy_g5): Rename to __memcpy_g5.
2126         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2127         (memcpy_mvcle) Rename to __memcpy_mvcle.
2128         * sysdeps/s390/s390-32/memset.S
2129         (memset_g5): Rename to __memset_g5.
2130         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2131         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2132         and use prefixed functions.
2133         * sysdeps/s390/s390-32/multiarch/memcmp.S
2134         (memcmp_z196): Rename to __memcmp_z196.
2135         (memcmp_z10): Rename to __memcmp_z10.
2136         (memcmp): Set alias to __memcmp_g5.
2137         (bcmp): Set alias to __memcmp_g5.
2138         * sysdeps/s390/s390-32/multiarch/memcpy.S
2139         (memcpy_z196): Rename to __memcpy_z196.
2140         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2141         (memcpy_z10): Rename to __memcpy_z10.
2142         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2143         (memcpy): Set alias to __memcpy_g5.
2144         * sysdeps/s390/s390-32/multiarch/memset.S
2145         (memset_z196): Rename to __memset_z196.
2146         Jump to __memset_mvcle instead of memset_mvcle.
2147         (memset_z10): Rename to __memset_z10.
2148         Jump to __memset_mvcle instead of memset_mvcle.
2149         (memset_mvcle) Rename to __memset_mvcle.
2150         (memset): Set alias to __memset_g5.
2151         * sysdeps/s390/s390-64/memcmp.S
2152         (memcmp_z900): Rename to __memcmp_z900.
2153         * sysdeps/s390/s390-64/memcpy.S
2154         (memcpy_z900): Rename to __memcpy_z900.
2155         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2156         (memcpy_mvcle) Rename to __memcpy_mvcle.
2157         * sysdeps/s390/s390-64/memset.S
2158         (memset_z900): Rename to __memset_z900.
2159         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2160         (IFUNC_RESOLVE): Prefix ifunc-resolve function
2161         and use prefixed functions.
2162         * sysdeps/s390/s390-64/multiarch/memcmp.S
2163         (memcmp_z196): Rename to __memcmp_z196.
2164         (memcmp_z10): Rename to __memcmp_z10.
2165         (memcmp): Set alias to __memcmp_z900.
2166         (bcmp): Set alias to __memcmp_z900.
2167         * sysdeps/s390/s390-64/multiarch/memcpy.S
2168         (memcpy_z196): Rename to __memcpy_z196.
2169         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2170         (memcpy_z10): Rename to __memcpy_z10.
2171         Jump to __memcpy_mvcle instead of memcpy_mvcle.
2172         (memcpy): Set alias to __memcpy_z900.
2173         * sysdeps/s390/s390-64/multiarch/memset.S
2174         (memset_z196): Rename to __memset_z196.
2175         Jump to __memset_mvcle instead of memset_mvcle.
2176         (memset_z10): Rename to __memset_z10.
2177         Jump to __memset_mvcle instead of memset_mvcle.
2178         (memset_mvcle) Rename to __memset_mvcle.
2179         (memset): Set alias to __memset_z900.
2181 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
2183         [BZ #17748]
2184         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2185         __fesetenv instead of fesetenv.
2187 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
2189         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2190         macro.
2192 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2194         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2195         regression on LE.
2197         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2198         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2199         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2200         strncmp-power8 object.
2201         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2202         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2203         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2204         * NEWS: Update.
2206 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2207             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2209         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2210         trailing byte check.
2212 2015-01-13  David S. Miller  <davem@davemloft.net>
2214         * include/signal.h (__sigreturn): Guard with __USE_MISC.
2216 2015-01-13  Roland McGrath  <roland@hack.frob.com>
2218         * login/logout.c (logout): Use memset rather than bzero.
2219         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2220         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2221         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2222         (_gethtbyaddr): Likewise.
2223         * locale/programs/simple-hash.c (bcopy): Macro removed.
2225 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2227         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2228         Add strcmp-power8 object.
2229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2230         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2231         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2232         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2233         __strcmp_power8 implementation.
2234         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2235         * NEWS: Update.
2237         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2238         Add strncpy-power8 and stpncpy-power8 objects.
2239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2240         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2241         implementations.
2242         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2243         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2244         __stpncpy_power8 implementation.
2245         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2246         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2247         __strncpy_power8 implementation.
2248         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2249         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2250         * NEWS: Update.
2252         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2253         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2254         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2256         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2257         strncat-power8 object.
2258         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2259         __strcat_power8 implementation.
2260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2261         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2262         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2263         optimized strcat for power8.
2265         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2266         strcpy-power8 and stpcpy-power8 objects.
2267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2268         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2269         implementations.
2270         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2271         multiarch stpcpy implementation for POWER8.
2272         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2273         multiarch strcpy implementation for POWER8.
2274         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2275         __strcpy_power8 function.
2276         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2277         stpcpy for POWER8.
2278         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2279         strcpy for POWER8.
2280         * NEWS: Update.
2282 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
2284         [BZ #16009]
2285         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2286         weights and rules. Use do_xfrm_cached if data fits in cache,
2287         do_xfrm otherwise.  Moved former main loop to...
2288         * (do_xfrm_cached): New function.
2289         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2290         find_idx, find_position and stack_push.
2291         * (find_idx): New function.
2292         * (find_position): Likewise.
2293         * localedata/sort-test.sh: Added test run for do_xfrm.
2294         * localedata/xfrm-test.c (main): Added command line option
2295         -nocache to run the test with strings that are too large for
2296         the STRXFRM cache.
2298 2015-01-13  Torvald Riegel  <triegel@redhat.com>
2300         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2301         variable to lll_futex_wake call, not the value itself.
2303 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
2305         [BZ #17803]
2306         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2307         twom64.  Adjust value to 0x1p-64L.
2308         (__scalblnl): Only return standard underflowing result for K <=
2309         -64 not K <= -63; adjust exponent for underflowing result by 64
2310         not 63.
2311         * math/libm-test.inc (scalbn_test_data): Add more tests.
2312         (scalbln_test_data): Likewise.
2314         [BZ #17834]
2315         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2316         0x1p63L.
2317         (__scalblnl): Get new exponent of adjusted subnormal value from ES
2318         not HX.
2319         * math/libm-test.inc (scalbn_test_data): Add more tests.
2320         (scalbln_test_data): Likewise.
2322 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2323             Stefani Seibold  <stefani@seibold.net>
2325         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2326         (sysdep_routines): Add dl-vdso here, ...
2327         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2328         (sysdep_routines): ... not here.
2329         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2330         fallback when vDSO is not presented.
2331         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2332         Define with libc_hidden_proto/libc_hidden_data_def definitions.
2333         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2334         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2335         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2336         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2337         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2338         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2339         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2340         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2341         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
2342         fallback configurable symbol when vDSO is not available.
2343         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2344         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
2345         be able to redefine fallback symbol when vDSO is not available.
2346         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2347         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2349 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2351         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2352         (TLS_INIT_TP): Add tm_capable initialization.
2353         (TLS_DEFINE_INIT_TP): Likewise.
2354         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2355         TCB.
2356         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2357         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2358         calculation.
2359         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2360         transactoion is lock elision is built and TCB tm_capable is set.
2361         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2363         (INTERNAL_SYSCALL_NCS): Likewise.
2364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2365         (INTERNAL_SYSCALL_NCS): Likewise.
2366         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2368         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2369         for powerpc.
2370         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2371         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2372         and remove it for 32 bits case.
2373         [pthread_rwlock_t] (__rwelision): New field for lock elision.
2374         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2375         initialization.
2376         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2377         Disable lock elision with rdlocks if elision is not available.
2379         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2380         (sysdep_routines): Add lock elision objects.
2381         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2382         [pthread_mutex_t] (__spins): Rework to add lock elision field.
2383         [pthread_mutex_t] (__elision): Add field.
2384         [__PTHREAD_SPINS]: Adjust to init lock elision field.
2385         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2386         elision definitions for powerpc.
2387         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2388         implementation of lock elision for powerpc.
2389         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2390         implementation of timed lock elision for powerpc.
2391         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2392         implementation of trylock with lock elision for powerpc.
2393         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2394         implementaion of unlock for lock elision for powerpc.
2395         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2396         automatic enable lock elision for mutexes.
2397         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2398         transaction execution definitions for powerpc.
2399         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2400         definitions.
2401         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2402         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2403         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2404         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2405         * NEWS: Update.
2407 2015-01-09  Roland McGrath  <roland@hack.frob.com>
2409         * sysdeps/posix/shm-directory.c: Use <> rather than ""
2410         for #include of <shm-directory.h>.
2412 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
2414         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2415         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
2417 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
2419         [BZ #17791]
2420         * NEWS: Mention bug fix.
2421         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
2422         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
2423         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
2425 2015-01-09  Torvald Riegel <triegel@redhat.com>
2427         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
2429 2015-01-09  Torvald Riegel <triegel@redhat.com>
2431         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
2433 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2435         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
2436         pointer and cast to uintptr_t.
2438 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2440         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
2441         removed.
2442         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
2444 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
2446         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
2447         of 0.
2449 2015-01-08  Roland McGrath  <roland@hack.frob.com>
2451         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
2452         <nptl/pthreadP.h> instead.
2453         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
2455         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
2456         already defined.
2457         [__SIGRTMIN] (init): Function removed.
2458         [__SIGRTMIN] (initialized): Variable removed.
2459         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
2460         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
2461         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
2462         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
2463         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
2464         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
2465         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
2466         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
2467         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
2468         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
2469         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
2470         * sysdeps/nptl/allocrtsig.c: New file.
2471         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
2472         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
2473         * sysdeps/generic/testrtsig.h: File removed.
2475         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
2476         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
2478         * nptl/nptl-init.c (pthread_functions): Conditionalize
2479         .ptr__nptl_setxid initialization on [SIGSETXID].
2481         * sysdeps/nptl/sys/procfs.h: New file.
2482         * nptl_db/Makefile (headers): Add it.
2483         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
2485         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
2486         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
2487         * nptl/pthread_attr_setaffinity.c: Include it.
2488         * nptl/pthread_setattr_default_np.c: Likewise.
2489         * nptl/check-cpuset.h: New file.
2491 2015-01-08  Richard Henderson  <rth@redhat.com>
2493         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
2494         (CFLAGS-tst-execstack-prog.c): Likewise.
2495         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
2497 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
2498             Sandra Loosemore  <sandra@codesourcery.com>
2499             Andrew Jenner  <andrew@codesourcery.com>
2500             Joseph Myers  <joseph@codesourcery.com>
2501             Nathan Sidwell  <nathan@codesourcery.com>
2503         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
2504         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
2505         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
2506         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
2507         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
2508         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
2509         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
2510         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
2511         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
2512         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
2513         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
2514         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
2515         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
2516         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
2517         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
2518         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
2519         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
2521 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2523         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
2524         timespec struct member in syscall macro.
2525         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
2526         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
2527         first timeval struct member in syscall macro.
2528         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
2530 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
2532         [BZ #17748]
2533         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
2534         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
2535         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
2536         __feupdateenv and define as weak alias of __feupdateenv.  Use
2537         libm_hidden_weak.
2538         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
2539         libm_hidden_def.
2540         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
2541         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
2542         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2543         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
2544         libm_hidden_def.
2545         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
2546         __feupdateenv and define as weak alias of __feupdateenv.  Use
2547         libm_hidden_weak.
2548         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
2549         libm_hidden_def.
2550         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
2551         __feupdateenv and define as weak alias of __feupdateenv.  Use
2552         libm_hidden_weak.
2553         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
2554         libm_hidden_def.
2555         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2556         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2557         (__feupdateenv): Likewise.
2558         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
2559         __feupdateenv and define as weak alias of __feupdateenv.  Use
2560         libm_hidden_weak.
2561         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2562         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
2563         libm_hidden_def.
2564         * sysdeps/tile/math_private.h (__feupdateenv): New inline
2565         function.
2566         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
2567         libm_hidden_def.
2568         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
2569         __feupdateenv instead of feupdateenv.
2570         (default_libc_feupdateenv_test): Likewise.
2571         (libc_feresetround_ctx): Likewise.
2573 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2575         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
2576         prototype.
2578 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
2580         * posix/regcomp.c (parse_bracket_exp): Initialize type to
2581         COLL_SYM in a couple of places to avoid uninitialized variable
2582         wanings on tilegx gcc 4.8.2.
2584 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2586         * sysdeps/aarch64/strcpy.S: New file.
2587         * sysdeps/aarch64/stpcpy.S: New file.
2588         * NEWS: Updated.
2590 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
2592         * sysdeps/aarch64/strrchr.S: New file.
2593         * NEWS: Updated.
2595 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
2597         [BZ #17658]
2598         * stdlib/setenv.c: Fix memory leak when setting large,
2599         duplicate string.
2601 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
2603         [BZ #17273]
2604         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
2605         and tabs from buffer before parsing fstab entry.
2606         * misc/tst-mntent.c (main): Add test for mount entry with
2607         trailing spaces and tabs.
2609 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
2611         [BZ #17748]
2612         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
2613         * math/fesetround.c (fesetround): Rename to __fesetround and
2614         define as weak alias of __fesetround.  Use libm_hidden_weak.
2615         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
2616         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
2617         * sysdeps/arm/fesetround.c (fesetround): Likewise.
2618         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
2619         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
2620         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
2621         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
2622         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
2623         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
2624         __fesetround_inline.
2625         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
2626         __fesetround_inline instead of __fesetround.
2627         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
2628         __fesetround and define as weak alias of __fesetround.  Use
2629         libm_hidden_weak.  Call __fesetround_inline instead of
2630         __fesetround.
2631         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
2632         __fesetround and define as weak alias of __fesetround.  Use
2633         libm_hidden_weak.
2634         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
2635         Likewise.
2636         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
2637         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
2638         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
2639         * sysdeps/tile/math_private.h (__fesetround): New inline function.
2640         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
2641         __fesetround and define as weak alias of __fesetround.  Use
2642         libm_hidden_weak.
2643         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
2644         __fesetround instead of fesetround.
2645         (default_libc_feholdexcept_setround): Likewise.
2646         (libc_feholdsetround_ctx): Likewise.
2647         (libc_feholdsetround_noex_ctx): Likewise.
2649         [BZ #17748]
2650         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
2651         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
2652         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2653         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2654         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2655         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
2656         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2657         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2658         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2659         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2660         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2661         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2662         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2663         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2664         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2665         libm_hidden_def.
2666         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2667         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2668         Likewise.
2669         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2670         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2671         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2672         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2673         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2674         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2675         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2676         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2677         __fesetenv instead of fesetenv.
2678         (libc_feresetround_noex_ctx): Likewise.
2679         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2680         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2681         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2682         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2683         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2684         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2685         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2686         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2687         (__feupdateenv): Likewise.
2688         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2689         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2690         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2691         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2693 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2695         [BZ #17806]
2696         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2697         addresses have been freed.
2699 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2701         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2702         and nservall.
2704 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2706         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2707         Clean up check_pf allocation pattern. addresses
2709 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2711         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2712         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2713         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2714         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2715         * nptl/pthread_join.c (pthread_join): Likewise.
2716         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2717         * sysdeps/posix/waitid.c (__waitid): Likewise.
2718         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2719         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2720         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2721         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2722         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2723         Likewise.
2724         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2725         (__libc_pread64): Likewise.
2726         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2727         (__libc_pwrite): Likewise.
2728         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2729         (__libc_pwrite64): Likewsie.
2730         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2731         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2732         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2733         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2734         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2735         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2736         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2738         Likewise.
2739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2740         (__libc_pread64): Likewise.
2741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2742         Likewise.
2743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2744         (__libc_pwrite64): Likewise.
2745         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2746         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2747         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2748         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2749         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2750         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2751         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2752         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2753         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2754         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2755         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2756         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2757         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2758         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2759         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2760         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2761         Likewise.
2763 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2765         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2766         (CFLAGS-test-double.c): Likewise.
2767         (CFLAGS-test-ldouble.c): Likewise.
2768         (CPPFLAGS-test-ifloat.c): Likewise.
2769         (CPPFLAGS-test-idouble.c): Likewise.
2770         (CPPFLAGS-test-ildoubl.c): Likewise.
2771         (CFLAGS-test-test-fenv.c): Remove variable.
2772         (CFLAGS-test-misc.c): Likewise.
2774 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2776         [BZ #17797]
2777         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2778         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2779         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2780         CLOCKS_PER_SEC == 1000000.
2781         * time/clocktest.c (main): Replace %ld with %jd and cast to
2782         intmax_t.
2784 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2786         * sysdeps/generic/unwind-resume.h: New file.
2787         * sysdeps/gnu/unwind-resume.c: Include it.
2788         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2789         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2790         argument list.
2791         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2792         global rather than static.
2793         (_Unwind_Resume): Update user.
2794         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2795         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2796         rather than static.  Add __attribute__ ((cold)).
2797         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2798         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2799         * sysdeps/arm/arm-unwind-resume.S: New file.
2800         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2801         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2802         * sysdeps/arm/Makefile [$(subdir) = csu]
2803         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2804         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2805         Add rt-arm-unwind-resume.
2806         [$(subdir) = nptl]
2807         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2808         Add pt-arm-unwind-resume.
2809         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2810         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2812 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2814         [BZ #17748]
2815         * include/fenv.h (__feholdexcept): Declare.  Use
2816         libm_hidden_proto.
2817         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2818         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2819         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2820         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2821         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2822         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2823         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2824         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2825         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2826         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2827         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2828         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2829         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2830         (feholdexcept): Likewise.
2831         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2832         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2833         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2834         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2835         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2836         __feholdexcept instead of feholdexcept.
2837         (default_libc_feholdexcept_setround): Likewise.
2839 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2841         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2842         to avoid using stl/str to align destination.
2844 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2846         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2848 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2850         [BZ #17796]
2851         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2852         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2853         Define as weak alias not strong alias.
2855 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2857         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2858         bltzal with addiupc.
2859         (RTLD_START): Ditto.
2861 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2863         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2864         for __vdso_* functions in declarations.
2865         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2866         definitions.
2867         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2868         INTERNAL_VSYSCALL): Use struct return types to check for error.
2870         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2871         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2872         function with cast from llround().
2873         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2874         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2875         Define.
2877 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2879         [BZ #17793]
2880         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2881         Define as weak alias not strong alias.
2883         [BZ #17635]
2884         * ctype/ctype-c99.c: New file.  isblank implementation moved from
2885         ...
2886         * ctype/ctype-extn.c: ... here.
2887         (__isblank_l): Move to ...
2888         * ctype/ctype-c99_l.c: ... here.  New file.
2889         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2890         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2891         Remove variable.
2892         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2893         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2894         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2895         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2896         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2898         [BZ #17777]
2899         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2900         (posix_fadvise64): Define as weak alias not strong alias.
2901         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2902         (posix_fallocate64): Likewise.
2903         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2904         Remove variable.
2905         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2906         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2907         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2908         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2909         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2911 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
2913         [BZ #16191]
2914         * NEWS: Mention bug fix.
2915         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2916         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2917         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2918         (HOST_STACK_END_ADDR): Likewise.
2920 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2922         [BZ #17748]
2923         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
2924         * math/fegetround.c (fegetround): Rename to __fegetround and
2925         define as weak alias of __fegetround.  Use libm_hidden_weak.
2926         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2927         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2928         * sysdeps/arm/fegetround.c (fegetround): Likewise.
2929         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2930         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2931         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2932         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2933         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2934         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2935         Undefine after rather than before function definition; use
2936         parentheses around function name in definition.
2937         (__fegetround): Also undefine macro after function definition.
2938         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2939         __fegetround and define as weak alias of __fegetround.  Use
2940         libm_hidden_weak.  Do not undefine as macro.
2941         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2942         Likewise.
2943         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2944         __fegetround and define as weak alias of __fegetround.  Use
2945         libm_hidden_weak.
2946         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2947         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2948         * sysdeps/tile/math_private.h (__fegetround): New inline function.
2949         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2950         __fegetround and define as weak alias of __fegetround.  Use
2951         libm_hidden_weak.
2952         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2953         __fegetround instead of fegetround.
2955         [BZ #17782]
2956         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2957         Condition macro definition on [__USE_MISC].
2959         [BZ #17781]
2960         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2961         (struct sigaction): Change type of sa_flags field to int.
2963         [BZ #17780]
2964         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2965         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2966         __glibc_reserved0.
2968         * nptl/version.c (banner): Use single year in copyright notice.
2970         * NEWS: Update copyright dates.
2971         * catgets/gencat.c (print_version): Likewise.
2972         * csu/version.c (banner): Likewise.
2973         * debug/catchsegv.sh: Likewise.
2974         * debug/pcprofiledump.c (print_version): Likewise.
2975         * debug/xtrace.sh (do_version): Likewise.
2976         * elf/ldconfig.c (print_version): Likewise.
2977         * elf/ldd.bash.in: Likewise.
2978         * elf/pldd.c (print_version): Likewise.
2979         * elf/sotruss.sh: Likewise.
2980         * elf/sprof.c (print_version): Likewise.
2981         * iconv/iconv_prog.c (print_version): Likewise.
2982         * iconv/iconvconfig.c (print_version): Likewise.
2983         * locale/programs/locale.c (print_version): Likewise.
2984         * locale/programs/localedef.c (print_version): Likewise.
2985         * login/programs/pt_chown.c (print_version): Likewise.
2986         * malloc/memusage.sh (do_version): Likewise.
2987         * malloc/memusagestat.c (print_version): Likewise.
2988         * malloc/mtrace.pl: Likewise.
2989         * manual/libc.texinfo: Likewise.
2990         * nptl/version.c (banner): Likewise.
2991         * nscd/nscd.c (print_version): Likewise.
2992         * nss/getent.c (print_version): Likewise.
2993         * nss/makedb.c (print_version): Likewise.
2994         * posix/getconf.c (main): Likewise.
2995         * scripts/test-installation.pl: Likewise.
2996         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2998 2015-01-02  Will Newton  <will.newton@linaro.org>
3000         * sysdeps/arm/armv7/configure: Removed.
3001         * sysdeps/arm/armv7/configure.ac: Likewise.
3003 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
3005         * All files with FSF copyright notices: Update copyright dates
3006         using scripts/update-copyrights.
3007         * intl/plural.c: Regenerated.
3008         * locale/programs/charmap-kw.h: Likewise.
3009         * locale/programs/locfile-kw.h: Likewise.
3011 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3013         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3015 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3017         [BZ #17748]
3018         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3019         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3020         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3021         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3022         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3023         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3024         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3025         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3026         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3027         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3028         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3029         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3030         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3031         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3032         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3033         libm_hidden_def.
3034         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3035         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3036         Likewise.
3037         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3038         define as weak alias of __fegetenv.  Use libm_hidden_weak.
3039         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3040         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3041         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3042         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3043         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
3044         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3045         __fegetenv instead of fegetenv.
3046         (libc_feholdsetround_noex_ctx): Likewise.
3048 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3050         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3051         (Elf_MIPS_ABIFlags_v0): New structure.
3052         (EF_MIPS_FP64): Define.
3053         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3054         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3055         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3056         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3057         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3058         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3059         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3060         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3061         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3062         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3063         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3064         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3065         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3066         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3067         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3068         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3069         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3070         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3071         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3072         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3073         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3074         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3075         field.
3076         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3077         EF_MIPS_FP64.
3078         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3079         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3080         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3081         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3082         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3083         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3084         * sysdeps/mips/tst-abi-interlink.c: Likewise.
3085         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3086         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3087         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3088         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3089         record the current FP ABI extension.
3090         (mips-mode-switch): Define to show if kernel headers support mode
3091         switching.
3092         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3093         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3094         supported SYSV ABI version to 3.
3095         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3096         feature.
3098 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3099             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3101         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3102         path.
3103         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3105 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
3107         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3108         __fegetround and redefine to call __fegetround.  Remove condition
3109         on [!__NO_MATH_INLINES].
3110         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3111         function.
3112         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3113         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3114         Remove macro.
3115         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3116         instead of <fenv_libc.h>.
3117         (__llrintl): Call fegetround instead of __fegetround.
3118         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3119         instead of <fenv_libc.h>.
3120         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3121         (__lrintl): Call fegetround instead of __fegetround.
3122         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3123         instead of <fenv_libc.h>.
3124         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3125         (__rintl): Call fegetround instead of __fegetround.
3127 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3129         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3130         arrays.
3132 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3134         [BZ #17775]
3135         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3136         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3137         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3139 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3141         * sysdeps/i386/tls-macros.h: Include <features.h>.
3142         (TLS_LE): Use non-PIC version for GCC >= 5.0.
3143         (TLS_IE): Likewise.
3144         (TLS_LD): Likewise.
3145         (TLS_GD): Likewise.
3146         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3147         define for GCC >= 5.0.
3149 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
3151         * math/test-fenv.c (test_single_exception, set_single_exc,
3152         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3153         feexcp_mask_test, feenable_test, fe_single_test): Add
3154         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3155         case where they are not used.
3156         * math/libm-test.inc: Likewise.
3157         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3158         unused in the absence of FP rounding/exception support.
3159         * stdio-common/tst-printf-round.c: Likewise.
3160         * stdlib/tst-strtod-round.c: Likewise.
3161         * stdlib/tst-strtod-underflow.c: Likewise.
3163 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
3165         [BZ #17723]
3166         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3167         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3168         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3169         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3170         libm_hidden_weak.
3171         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3172         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3173         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3174         libm_hidden_def.
3175         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3176         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3177         libm_hidden_weak.
3178         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3179         Likewise.
3180         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3181         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3182         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3183         libm_hidden_weak.
3184         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3185         libm_hidden_def.
3186         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3187         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3188         (__feraiseexcept): Likewise.
3189         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3190         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
3191         libm_hidden_weak.
3192         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3193         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3194         libm_hidden_def.
3195         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3196         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3197         Use libm_hidden_def.
3198         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3199         libm_hidden_def.
3200         (feraiseexcept): Define as weak not strong alias.  Use
3201         libm_hidden_weak.
3202         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3203         New inline function.  Factored out of ...
3204         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
3205         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3206         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3207         feraiseexcept.
3208         * math/w_acos.c (__acos): Likewise.
3209         * math/w_asin.c (__asin): Likewise.
3210         * math/w_ilogb.c (__ilogb): Likewise.
3211         * math/w_j0.c (y0): Likewise.
3212         * math/w_j1.c (y1): Likewise.
3213         * math/w_jn.c (yn): Likewise.
3214         * math/w_log.c (__log): Likewise.
3215         * math/w_log10.c (__log10): Likewise.
3216         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3217         * sysdeps/aarch64/fpu/math_private.h
3218         (libc_feupdateenv_test_aarch64): Likewise.
3219         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3220         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3221         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3222         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3223         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3224         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3225         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3226         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3227         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3228         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3230 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
3232         [BZ #17732]
3233         * io/test-utime.c (main): Replace %ld with %jd and cast to
3234         intmax_t.
3235         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
3236         * nptl/tst-mutex5.c: Include <stdint.h>.
3237         (do_test): Replace %ld with %jd and cast to intmax_t.
3238         * posix/tst-regex.c (run_test): Likewise.
3239         (run_test_backwards): Likewise.
3240         * rt/tst-clock.c: Include <stdint.h>.
3241         (clock_test): Replace %ld with %jd and cast to intmax_t.
3242         * rt/tst-cpuclock1.c: Include <stdint.h>.
3243         (do_test): Replace %lu with %ju and cast to uintmax_t.
3244         * rt/tst-cpuclock2.c: Include <stdint.h>.
3245         (do_test): Replace %lu with %ju and cast to uintmax_t.
3246         * rt/tst-mqueue1.c: Include <stdint.h>.
3247         (check_attrs): Replace %ld with %jd and cast to intmax_t.
3248         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3249         intmax_t.
3250         * rt/tst-mqueue4.c (do_test): Likewise.
3251         * rt/tst-timer4.c: Include <stdint.h>.
3252         (check_ts): Replace %ld with %jd and cast to intmax_t.
3253         (do_test): Likewise.
3254         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3255         and cast to intmax_t.
3256         * sysdeps/pthread/tst-timer.c (main): Likewise.
3257         * time/clocktest.c (main): Likewise.
3258         * time/tst-posixtz.c (do_test): Likewise.
3259         * timezone/tst-timezone.c (main): Likewise.
3261 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
3262             H.J. Lu  <hongjiu.lu@intel.com>
3264         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3265         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3266         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3267         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3268         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3269         version if bit_Fast_Unaligned_Load is set.
3270         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3271         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3272         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3273         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3274         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3275         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3276         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3277         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3278         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3279         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3280         to 4.
3281         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3282         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3283         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3284         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3286 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
3288         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3289         instead of #if to avoid a Wundef warning.
3290         * stdlib/tst-limits.c (do_test): Likewise.
3292         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3293         parallel other exception macros.
3294         (fegetenv): Convert from macro to extern inline so that it applies
3295         retroactively to inline functions already seen by the compiler.
3296         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3298         * posix/Makefile (before-compile): Use $(objpfx) for
3299         posix-conf-vars-def.h.
3301 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
3303         * posix/getconf.c (main): Use size_t for type of I.
3304         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3305         NSPEC.
3307         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3308         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3309         * posix/posix-envs.def: Likewise.
3310         * sysdeps/posix/sysconf.c: Likewise.
3311         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3312         (specs): Remove array.
3313         * scripts/gen-posix-conf-vars.awk: Support generation of specs
3314         array.
3316         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3317         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3318         (__sysconf): Use CONF_IS_* macros.
3320         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3321         ($(objpfx)posix-conf-vars-def.h): New target.
3322         * posix/posix-conf-vars.list: New file.
3323         * posix/posix-conf-vars.h: New file.
3324         * posix/confstr.c: Include posix-conf-vars.h.
3325         (confstr): Use CONF_IS_* macros.
3326         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
3327         CONF_IS_* macros.
3328         * scripts/gen-posix-conf-vars.awk: New file.
3330 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
3332         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3333         fegetround): Add no-op macros to avoid linknamespace issues.
3335         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3336         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3338         * sysdeps/unix/sysv/linux/tile/sysdep.h
3339         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3340         assembly-specific section to avoid a redefinition warning.
3342         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3343         long before casting to pointer to avoid a cast warning.
3345 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
3347         * sysdeps/tile/tilegx/Implies: New file.
3349 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
3351         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3353 2014-12-23  Florian Weimer  <fweimer@redhat.com>
3355         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3357 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3359         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3360         not define.
3361         * sysdeps/unix/sysv/linux/utimes.c: Do not include
3362         <kernel-features.h>.
3363         (__utimes) [__NR_utimes]: Make code unconditional.
3364         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3365         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3366         (__ASSUME_UTIMES): Do not undefine.
3367         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3368         (__ASSUME_UTIMES): Likewise.
3369         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3370         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3371         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3372         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3374 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3376         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3378 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
3380         [BZ #17747]
3381         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3382         alias to weak alias for j0l, y0l.
3383         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3384         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3386         [BZ #17746]
3387         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3388         conversion.
3390 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
3392         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3393         to zero if not already defined.
3395 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3397         [BZ #17724]
3398         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3399         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
3400         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
3401         (char *) casts added.
3402         * sysdeps/ieee754/k_standardf.c: New file.
3403         * sysdeps/ieee754/k_standardl.c: Likewise.
3404         * math/Makefile (libm-support): Remove k_standard.
3405         (libm-calls): Add k_standard.
3407 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3409         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3410         Optimize to avoid an unnecessary FPCR read.
3412 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3414         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3415         Optimize to reduce FPCR/FPSR accesses.
3417 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3419         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
3420         Call libc_fetestexcept_aarch64.
3422 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
3424         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
3425         Call libc_fesetround_aarch64.
3427 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
3429         [BZ #17733]
3430         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
3431         (__bind): Do not define as weak alias.
3432         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
3433         define.
3434         (__getsockname): Do not define as weak alias.
3436 2014-12-22  Will Newton  <will.newton@linaro.org>
3438         * manual/install.texi: Document that we require bison 2.7
3439         or above.
3440         * INSTALL: Regenerate.
3441         * configure.ac: Use AC_CHECK_PROG_VER instead of
3442         AC_PATH_PROG when checking for bison and check for
3443         version 2.7 or above.
3444         * configure: Regenerate.
3446 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
3448         [BZ #17745]
3449         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
3450         * sysdeps/tile/ffsll.c (ffsll): To here.
3452         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
3454 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3456         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
3457         if not defined.
3458         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
3459         definition.
3460         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3461         hidden ___tls_get_addr.
3462         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
3463         hidden __tls_get_addr.
3464         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
3465         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
3466         Likewise.
3468 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
3470         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
3471         _dl_init call.
3473 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
3475         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
3476         from "call _dl_init@PLT".
3477         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
3479 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
3481         * manual/search.texi: (Array Sort Function): Clarify stable sorting
3482         guarantees.
3484 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
3486         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
3488 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3490         [BZ #17744]
3491         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
3492         strnlen.
3494 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3496         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
3497         of multu on MIPSr6.
3498         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
3499         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
3500         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
3501         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
3502         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
3504 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
3506         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
3507         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
3508         (PTR_SUBU): Use subu for mips32r6/mips64r6.
3509         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
3510         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
3511         mips32r6/mips64r6.
3512         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
3514 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
3516         * string/strncat.c (STRNCAT): Simplify implementation.
3518 2014-12-19  David S. Miller  <davem@davemloft.net>
3520         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
3521         access the quad as both a long double and as a series of 4 words.
3523         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
3524         link_map->l_info array access.
3526 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
3528         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
3530         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
3531         * math/atest-exp2.c (TIMEOUT): Likewise.
3532         * math/atest-sincos.c (TIMEOUT): Likewise.
3534 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3536         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
3537         -Wno-error with -fno-builtin-lround.
3539 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3541         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
3542         Contains futex constants and functions moved over from ...
3543         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
3544         <lowlevellock-futex.h>.
3545         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3546         (lll_timedwait_tid): Add comments and parentheses around macro
3547         arguments.
3549 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
3552         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
3553         (__lll_private_flag): Remove.
3554         (lll_futex_wait): Likewise.
3555         (lll_futex_timed_wait): Likewise.
3556         (lll_futex_wake): Likewise.
3557         (lll_futex_requeue): Likewise.
3558         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
3559         (__lll_timedwait_tid): Spell out argument names.
3560         (lll_timedwait_tid): Add comments and parentheses around macro
3561         arguments.
3562         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
3563         LLL_SHARED and LLL_PRIVATE usable from assembly code.
3565 2014-12-19  Torvald Riegel  <triegel@redhat.com>
3567         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
3568         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3569         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3570         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
3571         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
3572         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
3573         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
3574         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
3575         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
3576         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
3577         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
3578         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
3579         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
3580         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
3581         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
3582         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
3583         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
3584         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
3585         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
3587 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3589         * sysdeps/x86_64/x32/Makefile: New file.
3591 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
3593         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
3594         1L with (mp_limb_t) 1.
3596 2014-12-17  Roland McGrath  <roland@hack.frob.com>
3598         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
3599         * nptl/libc_pthread_init.c: ... here.
3600         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
3601         * nptl/register-atfork.c: ... here.
3603         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
3604         Use pthread_sigmask rather than INTERNAL_SYSCALL.
3605         Use assert_perror to check its return value.
3606         (__gai_create_helper_thread): Likewise.
3608         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
3610         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
3612 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
3614         [BZ #17725]
3615         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
3616         __profil_counter.
3617         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
3618         Likewise.
3619         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
3620         Likewise.
3621         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
3622         Likewise.
3623         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
3624         (profil_counter): Likewise.
3625         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
3626         (profil_counter): Likewise.
3627         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
3628         Likewise.
3629         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
3630         Likewise.
3631         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
3632         (profil_counter): Likewise.
3633         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
3634         Likewise.
3635         [!__profil_counter] (profil_counter): Define as weak alias of
3636         __profil_counter.
3637         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
3638         (profil_counter): Rename to __profil_counter.
3639         [!__profil_counter] (profil_counter): Define as weak alias of
3640         __profil_counter.
3641         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
3642         (profil_counter): Rename to __profil_counter.
3643         [!__profil_counter] (profil_counter): Define as weak alias of
3644         __profil_counter.
3645         * sysdeps/posix/profil.c: Update comment referring to
3646         profil_counter.
3647         (__profil): Use __profil_counter instead of profil_counter.
3648         * sysdeps/posix/sprofil.c (profil_counter): Rename to
3649         __profil_counter.  Use __profil_counter_ushort and
3650         __profil_counter_uint in definitions.
3651         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
3652         instead of profil_counter_uint and profil_counter_ushort.
3654         [BZ #17722]
3655         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
3656         define as weak alias of __inet_makeaddr.
3657         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3658         as weak alias of __inet_addr.
3659         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3660         as weak alias of __inet_pton.  Use libc_hidden_weak.
3661         * include/arpa/inet.h (__inet_pton): Declare.  Use
3662         libc_hidden_proto.
3663         (inet_makeaddr): Don't use libc_hidden_proto.
3664         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3665         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3666         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3667         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3668         Remove variable.
3669         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3670         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3672 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3674         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3676 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3678         * stdio-common/bug-vfprintf-nargs.c (do_test):
3679         Cast value to intptr_t to avoid format warning
3680         for usage with PRIdPTR printing macro.
3682 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3684         * libio/tst-widetext.c (do_test):
3685         Use format type %td instead of %Zd for ptrdiff_t
3686         in order to avoid format warning.
3688 2014-12-17  Andreas Schwab  <schwab@suse.de>
3690         * nscd/mem.c (gc): Add size_t cast to match printf format.
3692 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3694         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3695         (init): Apply PTR_MANGLE to pointers before storing them.
3696         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3697         before using them.
3699 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3701         [BZ #17719]
3702         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3703         define as weak alias of __memrchr.
3704         (__memrchr): Do not define as strong alias of memrchr.
3705         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3706         Remove variable.
3707         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3708         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3709         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3711         [BZ #17717]
3712         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3713         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3714         (if_indextoname): Rename to __if_indextoname and define as weak
3715         alias of __if_indextoname.  Use libc_hidden_weak.
3716         (if_freenameindex): Rename to __if_freenameindex and define as
3717         weak alias of __if_freenameindex.
3718         (if_nameindex): Rename to __if_nameindex and define as weak alias
3719         of __if_nameindex.
3720         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3721         __if_nametoindex and define as weak alias of __if_nametoindex.
3722         Use libc_hidden_weak.
3723         (if_freenameindex): Rename to __if_freenameindex and define as
3724         weak alias of __if_freenameindex.
3725         (if_nameindex): Rename to __if_nameindex and define as weak alias
3726         of __if_nameindex.
3727         (if_indextoname): Rename to __if_indextoname and define as weak
3728         alias of __if_indextoname.  Use libc_hidden_weak.
3729         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3730         __if_nametoindex and define as weak alias of __if_nametoindex.
3731         Use libc_hidden_weak.
3732         (if_freenameindex): Rename to __if_freenameindex and define as
3733         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3734         (if_nameindex_netlink): Use __if_freenameindex instead of
3735         if_freenameindex.
3736         (if_nameindex): Rename to __if_nameindex and define as weak alias
3737         of __if_nameindex.  Use libc_hidden_weak.
3738         (if_indextoname): Rename to __if_indextoname and define as weak
3739         alias of __if_indextoname.  Use libc_hidden_weak.
3740         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3741         libc_hidden_proto.
3742         [!_ISOMAC] (__if_freenameindex): Likewise.
3743         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3744         if_nametoindex.
3745         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3746         variable.
3747         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3748         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3749         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3750         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3751         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3752         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3753         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3755         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3756         Remove variable.
3757         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3758         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3760 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3762         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3763         subscript above bounds'
3765         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3766         bounds.
3768 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3770         * libio/tst-fopenloc.c: Use test-skeleton.c.
3772         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3773         (entry): Rename to ITEM.
3774         (do_test, comp): Adjust.
3776         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3778 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3780         * string/tester.c: Include <libc-internal.h>.
3781         (test_memset): Ignore -Wmemset-transposed-args.
3783 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3785         * misc/tst-mntent2.c (do_test): Fix warning.
3787 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3789         * elf/tst-unique4lib.cc(a): Mark as used.
3791 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3793         [BZ #17630]
3794         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3795         names.
3797 2014-12-16  Allan McRae  <allan@archlinux.org>
3799         * stdio-common/Makefile (tests): Re-add bug26.
3801 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3803         [BZ #17657]
3804         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3805         static array.
3807 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3809         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3810         (__lll_lock_wait): Likewise.
3811         (__lll_timedlock_wait): Likewise.
3812         (__lll_timedwait_tid): Likewise.
3813         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3814         (__lll_robust_timedlock_wait): Likewise.
3815         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3816         (lll_cond_trylock): Likewise.
3817         (__lll_lock): Likewise.
3818         (__lll_robust_lock): Likewise.
3819         (__lll_cond_lock): Likewise.
3820         (lll_robust_cond_lock): Likewise.
3821         (__lll_timedlock): Likewise.
3822         (__lll_robust_timedlock): Likewise.
3823         (__lll_unlock): Likewise.
3824         (__lll_robust_unlock): Likewise.
3825         (lll_wait_tid): Likewise.
3826         (lll_timedwait_tid): Likewise.
3828 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3830         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3832 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3834         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3836 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3838         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3839         * stdio-common/tst-sprintf.c: Likewise.
3841 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3843         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3845 2014-12-15  Jeff Law  <law@redhat.com>
3847         [BZ #16617]
3848         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3849         on the heap.  (CVE-2012-3406)
3850         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3851         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
3852         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3854 2014-12-15  Will Newton  <will.newton@linaro.org>
3856         * manual/install.texi: Bump required version of texinfo
3857         to 4.7 from 4.5.
3858         * INSTALL: Regenerated.
3859         * configure.ac: Check for makeinfo version 4.7 and above.
3860         * configure: Regenerated.
3862 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3864         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3865         PREFIX, string constant to insert between directory and name.
3866         * sysdeps/posix/shm_open.c: Update caller.
3867         * sysdeps/posix/shm_unlink.c: Likewise.
3868         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3869         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3870         (SEM_SHM_PREFIX): New macro.
3871         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3872         [$(have-thread-library) = no].
3873         * nptl/Makefile (libpthread-routines): Add shm-directory.
3874         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3875         * sysdeps/nptl/shm-directory.h: New file.
3876         * sysdeps/posix/shm-directory.c
3877         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3878         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3879         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3880         INTERNAL_SYSCALL.
3881         (__where_is_shmfs): Function removed.
3882         (mountpoint, defaultmount, defaultdir, __namedsem_once):
3883         Variables removed.
3884         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3885         Use SHM_GET_NAME.
3886         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
3888         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3889         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3890         unconditional for use inside libpthread.
3891         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3893 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3895         * nptl/pthread_getaffinity.c: New file.
3896         * nptl/pthread_setaffinity.c: New file.
3897         * nptl/pthread_getname.c: New file.
3898         * nptl/pthread_setname.c: New file.
3900         * nptl/pthread_create.c (START_THREAD_DEFN)
3901         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3903 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3904             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3906         * resolv/res_send.c (send_vc): Disable warning resplen may
3907         be used uninitialized.
3909 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3911         * nptl/tst-mutex6.c
3912         (ATTR_NULL): New define checks ATTR against NULL.
3913         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3914         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3916 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
3918         [BZ #17581]
3919         * malloc/hooks.c
3920         (mem2mem_check): Revert my previous change.
3921         (malloc_check_get_size): Revert my previous change.
3922         (mem2chunk_check): Revert my previous change.
3924 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3926         * sysdeps/posix/shm-directory.c: New file.
3927         * sysdeps/posix/shm-directory.h: New file.
3928         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3929         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3930         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
3931         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3932         Transmute EPERM to EACCES.
3933         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3934         from ...
3935         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
3936         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3938 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3940         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3941         pointer and cast to uintptr_t.
3942         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3943         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3944         Add cast to avoid warning.
3945         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3947 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3949         * nptl/semaphore.h: Move to ...
3950         * sysdeps/pthread/semaphore.h: ... here.
3951         * Makefile (installed-headers): Change nptl/semaphore.h to
3952         sysdeps/pthread/semaphore.h.
3954 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3956         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3957         generated error format strings.
3959         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3960         -Wformat-extra-args warnings for scanf formats.
3961         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3962         test of zero-length format (duh).
3963         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3964         corner-case scanf format test.
3965         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3966         generated fprintf format string.
3967         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3968         corner-case sprintf format tests.
3969         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3970         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3971         -Wformat-extra-args warnings throughout.
3972         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3973         (CFLAGS-scanf4.c): Likewise.
3974         (CFLAGS-scanf7.c): Likewise.
3975         (CFLAGS-tst-sprintf.c): Likewise.
3976         (CFLAGS-tst-printf.c): Likewise.
3977         (CFLAGS-tst-printfsz.c): Likewise.
3979 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3981         * include/cpio.h: New file.
3982         * include/fmtmsg.h: Likewise.
3984         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
3985         corresponding format argument to size_t.
3986         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
3987         arguments.
3988         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
3989         corresponding format argument to size_t.
3990         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
3991         arguments.
3992         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
3993         corresponding format argument to size_t.
3994         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3995         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3996         (CFLAGS-tst-mbswcs2.c): Likewise.
3997         (CFLAGS-tst-mbswcs3.c): Likewise.
3998         (CFLAGS-tst-mbswcs4.c): Likewise.
3999         (CFLAGS-tst-mbswcs5.c): Likewise.
4000         (CFLAGS-tst-trans.c): Likewise
4002 2014-12-11  Roland McGrath  <roland@hack.frob.com>
4004         * posix/regexbug1.c (main): Use "%s" format with regerror results,
4005         rather than assuming they won't contain any '%'s.
4007 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
4009         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4010         inhibit_loop_to_libcall to avoid recursive calls.
4011         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4012         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4014 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
4016         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4017         prototype.
4019 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4021         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4022         integer value instead of boolean.
4024 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
4026         * malloc/malloc.c: Fix powerof2 check.
4028 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4030         * locale/programs/locfile.h (maybe_swap_uint32):
4031         Remove inline and add unused attribute.
4033 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4035         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4036         Truncating assembler expression to a .long expression.
4038 2014-12-11  Andreas Schwab  <schwab@suse.de>
4040         * elf/rtld.c (struct map_args): Constify str member.
4041         (do_preload): Constify fname argument.
4043 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4045         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4046         constants definition.
4048 2014-12-11  Andreas Schwab  <schwab@suse.de>
4050         [BZ #16657]
4051         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4052         FORCE_ELISION instead of DO_ELISION.
4053         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4054         Remove.
4055         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4056         Likewise.
4058         * iconvdata/gconv-modules: Remove duplicate entry.
4060 2014-12-11  Will Newton  <will.newton@linaro.org>
4062         Merge gettext 0.19.3 into intl/.
4064         This involves a number of cosmetic changes to comments
4065         and ANSI function definitions and prototypes throughout
4066         all the files. The gettext copyright header is used but
4067         with the date ranges taken from the glibc copy.
4069         * NEWS: Add gettext merge to 2.21.
4070         * intl/bindtextdom.c: Switch to gettext copyright.
4071         Use ANSI definitions and prototypes.
4072         Use gl_* locking primitives rather than __libc_* ones.
4073         Use __builtin_expect rather than __glibc_likely/unlikely.
4074         * intl/dcgettext.c: Switch to gettext copyright.
4075         Use ANSI definitions and prototypes.
4076         * intl/dcigettext.c: Switch to gettext copyright.
4077         Use ANSI definitions and prototypes.
4078         (INTDIV0_RAISES_SIGFPE): New define.
4079         Use gl_* locking primitives rather than __libc_* ones.
4080         Include eval-plural.h instead of plural-eval.c.
4081         Use __builtin_expect rather than __glibc_likely/unlikely.
4082         * intl/dcngettext.c: Switch to gettext copyright.
4083         Use ANSI definitions and prototypes.
4084         * intl/dgettext.c: Likewise.
4085         * intl/dngettext.c: Likewise.
4086         * intl/plural-eval.c: Renamed to...
4087         * intl/eval-plural.h: ...this.
4088         * intl/explodename.c: Switch to gettext copyright.
4089         Use ANSI definitions and prototypes.
4090         (_nl_explode_name): Use strchr instead of __rawmemchr.
4091         * intl/finddomain.c: Switch to gettext copyright.
4092         Use ANSI definitions and prototypes.
4093         Use gl_* locking primitives rather than __libc_* ones.
4094         (_nl_find_domain): Use malloc rather than alloca for
4095         allocation of temporary locale name.
4096         * intl/gettext.c: Switch to gettext copyright.
4097         Use ANSI definitions and prototypes.
4098         * intl/gettextP.h: Switch to gettext copyright.
4099         Use ANSI definitions and prototypes.
4100         Use gl_* locking primitives rather than __libc_* ones.
4101         * intl/gmo.h: Switch to gettext copyright.
4102         (struct sysdep_string): Move struct segment_pair outside of
4103         struct definition.
4104         * intl/hash-string.c: Use ANSI definitions and prototypes.
4105         * intl/hash-string.h: Switch to gettext copyright.
4106         Use ANSI definitions and prototypes.
4107         * intl/l10nflist.c: Switch to gettext copyright.
4108         Use ANSI definitions and prototypes.
4109         (_nl_normalize_codeset): Avoid integer overflow.
4110         * intl/loadinfo.h: Switch to gettext copyright.
4111         Use ANSI definitions and prototypes.
4112         (LIBINTL_DLL_EXPORTED): New define.
4113         (PATH_SEPARATOR): New define.
4114         * intl/loadmsgcat.c: Switch to gettext copyright.
4115         * intl/localealias.c: Switch to gettext copyright.
4116         Use ANSI definitions and prototypes.
4117         (_nl_expand_alias): Use PATH_SEPARATOR.
4118         * intl/ngettext.c: Switch to gettext copyright.
4119         Use ANSI definitions and prototypes.
4120         * intl/plural-exp.c: Likewise.
4121         * intl/plural-exp.h: Switch to gettext copyright.
4122         Use ANSI definitions and prototypes.
4123         (struct expression): Move definition of enum operator outside
4124         of struct definition.
4125         * intl/plural.c: Regenerate.
4126         * intl/plural.y: Switch to gettext copyright.
4127         Use ANSI definitions and prototypes.
4128         Port to bison 3.0.
4129         * intl/textdomain.c: Switch to gettext copyright.
4130         Use ANSI definitions and prototypes.
4131         Use gl_* locking primitives rather than __libc_* ones.
4133 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
4135         * debug/warning-nop.c: Add used atrribute.
4137 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4139         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4141         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4142         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4143         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4145 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4146             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4148         [BZ #17634]
4149         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4150         Undefine after defining function.  Define as weak alias of
4151         __wcschr.  Use libc_hidden_weak.
4152         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
4153         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4154         (libc_hidden_def): Also define __GI___wcschr alias.
4155         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4156         __wcschr and define as weak alias of __wcschr.
4157         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4158         __wcschr.
4159         [!WCSCHR] (DEFAULT_WCSCHR): Define.
4160         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4161         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
4162         libc_hidden_weak.  Do not use libc_hidden_def.
4163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4164         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4165         __GI___wcschr alias.
4166         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4167         [IS_IN (libc)] (wcschr): Define as macro expanding to
4168         __redirect_wcschr.
4169         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4170         [IS_IN (libc)] (__wcschr_power6): Likewise.
4171         [IS_IN (libc)] (__wcschr_power7): Likewise.
4172         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
4173         instead of wcschr.
4174         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4175         __libc_wcschr.
4176         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4177         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4178         __wcschr and define as weak alias of __wcschr.  Use
4179         libc_hidden_builtin_def.
4180         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4181         as weak alias of __wcschr.  Use libc_hidden_weak.
4182         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4183         wcschr.
4184         * time/era.c (_nl_init_era_entries): Likewise.
4185         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4186         variable.
4187         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4188         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4190 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4192         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4193         format for long int variable.
4195 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
4197         [BZ #10672]
4198         * manual/search.texi: (Array Sort Function): Remove claim how to make
4199         qsort stable.
4201 2014-12-10  Andreas Schwab  <schwab@suse.de>
4203         [BZ #12847]
4204         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4205         user-controlled locks.
4207 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
4209         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4210         register.
4212 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
4214         * configure.ac (--disable-werror): New configure option.
4215         (enable_werror): New AC_SUBST.
4216         * configure: Regenerated.
4217         * config.make.in (enable-werror): New variable.
4218         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4219         -Wno-error=undef.
4220         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4221         * manual/install.texi (Configuring and compiling): Document
4222         --disable-werror.
4223         * INSTALL: Regenerated.
4224         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4225         (CFLAGS-tst-chk2.c): Likewise.
4226         (CFLAGS-tst-chk3.c): Likewise.
4227         (CFLAGS-tst-chk4.cc): Likewise.
4228         (CFLAGS-tst-chk5.cc): Likewise.
4229         (CFLAGS-tst-chk6.cc): Likewise.
4230         (CFLAGS-tst-lfschk1.c): Likewise.
4231         (CFLAGS-tst-lfschk2.c): Likewise.
4232         (CFLAGS-tst-lfschk3.c): Likewise.
4233         (CFLAGS-tst-lfschk4.cc): Likewise.
4234         (CFLAGS-tst-lfschk5.cc): Likewise.
4235         (CFLAGS-tst-lfschk6.cc): Likewise.
4237         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4238         (main): Disable -Wdeprecated-declarations around calls to
4239         register_printf_function.
4241         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4242         (do_test): Disable -Wdiv-by-zero around some calls to
4243         fwrite_unlocked and fread_unlocked.
4245         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4246         (DIAG_POP_NEEDS_COMMENT): Likewise.
4247         (_DIAG_STR1): Likewise.
4248         (_DIAG_STR): Likewise.
4249         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4250         * stdio-common/bug21.c: Include <libc-internal.h>.
4251         (do_test): Disable -Wformat around call to sscanf.
4252         * stdio-common/scanf14.c: Include <libc-internal.h>.
4253         (main): Disable -Wformat around some calls to scanf functions.
4255 2014-12-09  Torvald Riegel  <triegel@redhat.com>
4257         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4259 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4261         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4262         stack variable alignment.
4264 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
4266         [BZ #17682]
4267         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4268         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4269         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4270         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4271         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4272         __getrlimit instead of getrlimit.
4273         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4274         __gettimeofday instead of gettimeofday.
4275         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4276         Likewise.
4277         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4278         Likewise.
4279         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4280         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4281         Remove variable.
4282         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4283         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4285 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4287         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4288         for wide-character tests.
4290 2014-12-04  Roland McGrath  <roland@hack.frob.com>
4292         * io/openat64.c: #include <libc-internal.h>
4293         (__openat64): Prototypify.  Use ignore_value on MODE.
4294         * io/openat.c: Likewise.
4295         * misc/reboot.c: #include <libc-internal.h>
4296         (reboot): Prototypify.  Use ignore_value on HOWTO.
4297         * misc/ptrace.c: #include <libc-internal.h>
4298         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
4300 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
4302         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4303         XPG4, UNIX98 and XOPEN2K.
4304         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4305         Remove variable.
4306         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4308 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4310         * libio/fileops.c: Use ISO C style for function definitions.
4311         * libio/iofopen.c: Likewise.
4312         * libio/wfileops.c: Likewise.
4314         [BZ #17653]
4315         * libio/fileops.c (_IO_new_file_underflow): Unset cached
4316         offset on EOF.
4317         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4318         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4319         (fgets_func): Function pointer to fgets and fgetws.
4320         (do_ftell_test): Add test to verify ftell value after read
4321         EOF.
4322         (do_test): Set fgets_func.
4324         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4325         O_TRUNC flag for w and w+ modes.
4326         (do_rewind_test): Likewise.
4327         (do_ftell_test): Likewise.
4328         (do_write_test): Likewise.
4330         [BZ #17647]
4331         * libio/fileops.c (do_ftell): Seek only when there are
4332         unflushed writes.
4333         * libio/wfileops.c (do_ftell_wide): Likewise.
4334         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4335         test case.
4336         (do_one_test): Call it.
4338 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
4340         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4341         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4342         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4343         Remove variable.
4344         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4345         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4346         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4348 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4350         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4351         Remove variable.
4352         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4354         [BZ #17668]
4355         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4356         as weak alias of __getifaddrs.  Use libc_hidden_weak.
4357         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4358         __freeifaddrs.  Use libc_hidden_weak.
4359         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4360         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
4361         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4362         __freeifaddrs.  Use libc_hidden_weak.
4363         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4364         __getifaddrs and define as weak alias of __getifaddrs.  Use
4365         libc_hidden_weak.
4366         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4367         __freeifaddrs.  Use libc_hidden_weak.
4368         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4369         Remove variable.
4370         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4371         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4373 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
4375         [BZ #17601]
4376         * sysdeps/mips/start.S (__start): Use indirect jump to call
4377         __libc_start_main.
4379 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
4381         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4383         * nptl/tst-mutex1.c: Include <stdbool.h>.
4384         [!ATTR] (ATTR_NULL): New macro.
4385         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4386         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4387         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4389         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4390         to char *.
4392         [BZ #17665]
4393         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4394         Change conditional to [__USE_MISC].
4396         [BZ #17664]
4397         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4398         fgets_unlocked.
4399         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4400         __fgets_unlocked.
4401         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4402         fgets_unlocked.
4403         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4404         Remove variable.
4405         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4406         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4407         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4408         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4409         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4410         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4411         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4412         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4413         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4415         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
4417 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4419         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4420         Remove strpbrk objects.
4421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4422         (__libc_ifunc_impl_list): Remove strpbrk implementation.
4423         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
4424         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
4425         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
4426         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
4428         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4429         Remove strcspn objects.
4430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4431         (__libc_ifunc_impl_list): Remove strcspn implementation.
4432         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
4433         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
4434         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
4435         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
4437         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4438         Remove strspn objetcs.
4439         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4440         (__libc_ifunc_impl_list): Remove strspn implementation.
4441         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
4442         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4443         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
4444         * sysdeps/powerpc/powerpc64/strspn.S: New file.
4446 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
4448         [BZ #17581]
4449         * malloc/hooks.c
4450         (mem2mem_check): Add a terminator to the chain of checking blocks.
4451         (malloc_check_get_size): Use it here.
4452         (mem2chunk_check): Ditto.
4454 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4456         * sysdeps/powerpc/powerpc64/strtok.S: New file.
4457         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
4459 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
4461         * bits/ioctl-types.h: Indent preprocessor directives correctly.
4463         * nptl/nptl-init.c: Include libc-internal.h.
4464         (__pthread_initialize_minimal_internal): Use ROUND_UP.
4466         * elf/ldconfig.c (search_dir): Expand comment.
4468 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
4470         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
4471         variable.
4472         (linknamespace-symlist-stdlibs-tests): Likewise.
4473         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
4474         instead of $(objpfx)symlist-stdlibs.
4475         (linknamespace-libs-isoc): New variable.
4476         (linknamespace-libs): Use $(linknamespace-libs-isoc).
4477         (linknamespace-libs-ISO): New variable.
4478         (linknamespace-libs-ISO99): Likewise.
4479         (linknamespace-libs-ISO11): Likewise.
4480         (linknamespace-libs-XPG3): Likewise.
4481         (linknamespace-libs-XPG4): Likewise.
4482         (linknamespace-libs-POSIX): Likewise.
4483         (linknamespace-libs-UNIX98): Likewise.
4484         (linknamespace-libs-XOPEN2K): Likewise.
4485         (linknamespace-libs-POSIX2008): Likewise.
4486         (linknamespace-libs-XOPEN2K8): Likewise.
4487         ($(objpfx)symlist-stdlibs): Replace by
4488         $(linknamespace-symlist-stdlibs-tests).  Use
4489         $(linknamespace-libs-$*) as set of libraries.
4490         ($(linknamespace-header-tests)): Update dependencies.  Use
4491         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
4492         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
4493         * conform/linknamespace.pl: Remove comment about considering
4494         definitions of symbols from irrelevant libraries.
4496 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
4498         [BZ #13862]
4499         * elf/dl-tls.c: Include <atomic.h>.
4500         (oom): Remove #ifdef SHARED/#endif.
4501         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
4502         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
4503         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
4504         big enough.
4505         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
4506         * nptl/Makefile (tests): Add tst-stack4.
4507         (modules-names): Add tst-stack4mod.
4508         ($(objpfx)tst-stack4): New.
4509         (tst-stack4mod.sos): Likewise.
4510         ($(objpfx)tst-stack4.out): Likewise.
4511         ($(tst-stack4mod.sos)): Likewise.
4512         (clean): Likewise.
4513         * nptl/tst-stack4.c: New file.
4514         * nptl/tst-stack4mod.c: Likewise.
4516 2014-11-27  J. Brown  <jb999@gmx.de>
4518         * sysdeps/x86/bits/string.h: Add recent CPUs.
4520 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4522         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
4523         sigblock.
4525         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
4526         feof.
4528         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
4529         variable.
4531 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4533         * nscd/connections.c: Include libc-internal.h because of macro
4534         usage ignore_value.
4536 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4538         * string/bits/string3.h (__warn_memset_zero_len): Don't
4539         declare for gcc newer than 5.0.
4540         (memset): Don't test for zero-length __LEN for gcc newer than
4541         5.0.
4543 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
4545         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
4546         size_t for %zu format.
4548         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
4549         difference, not %ju.
4551 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4553         * include/libc-internal.h (ignore_value): New macro.
4554         * nscd/connections.c (restart): Wrap calls to setuid and setgid
4555         with ignore_value.
4557         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
4558         definition.
4560         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
4561         pthread_cleanup_push to void *.
4563         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
4564         Undefine.
4566         [BZ #16619]
4567         [BZ #16740]
4568         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
4569         instead of 1L << 52.
4571         * libio/bug-rewind.c (do_test): Check fwscanf return values.
4572         * libio/bug-rewind2.c (do_test): Likewise.
4574         * debug/test-stpcpy_chk-ifunc.c: Remove file.
4575         * debug/test-strcpy_chk-ifunc.c: Likewise.
4576         * wcsmbs/test-wcschr-ifunc.c: Likewise.
4577         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
4578         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
4579         * wcsmbs/test-wcslen-ifunc.c: Likewise.
4580         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
4581         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
4582         * Rules [$(multi-arch) = no] (tests): Do not filter out
4583         $(tests-ifunc).
4584         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
4585         * debug/Makefile (tests-ifunc): Remove variable.
4586         (tests): Do not add $(tests-ifunc).
4587         * wcsmbs/Makefile (tests-ifunc): Remove variable.
4588         (tests): Do not add $(tests-ifunc).
4589         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
4590         [TEST_IFUNC]: Remove conditionals.
4591         * string/test-string.h (TEST_IFUNC): Remove macro.
4592         [TEST_IFUNC]: Remove conditionals.
4594         * string/test-strchr.c [!WIDE] (L): New macro.
4595         [WIDE] (L): Likewise.
4596         (check1): Use CHAR instead of char.  Use L on string and character
4597         constants.
4599 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
4601         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
4602         tests.
4603         * sysdeps/powerpc/bits/atomic.h
4604         (__arch_atomic_exchange_and_add_32_acq): Add definition.
4605         (__arch_atomic_exchange_and_add_32_rel): Likewise.
4606         (atomic_exchange_and_add_acq): Likewise.
4607         (atomic_exchange_and_add_rel): Likewise.
4608         * sysdeps/powerpc/powerpc32/bits/atomic.h
4609         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4610         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4611         * sysdeps/powerpc/powerpc64/bits/atomic.h
4612         (__arch_atomic_exchange_and_add_64_acq): Add definition.
4613         (__arch_atomic_exchange_and_add_64_rel): Likewise.
4615 2014-11-26  Torvald Riegel  <triegel@redhat.com>
4617         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4618         Change synchronization of __sched_fifo_min_prio and
4619         __sched_fifo_max_prio.
4620         * nptl/pthread_mutexattr_getprioceiling.c
4621         (pthread_mutexattr_getprioceiling): Likewise.
4622         * nptl/pthread_mutexattr_setprioceiling.c
4623         (pthread_mutexattr_setprioceiling): Likewise.
4624         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
4625         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
4626         Likewise.
4628 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
4630         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
4631         void.
4633 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4635         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
4636         third argument const.
4638 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
4640         fnmatch: work around GCC compiler warning bug with uninit var
4641         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
4642         This works around a bug with x86-64 GCC 4.9.2 and earlier
4643         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
4644         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
4645         used uninitialized in this function [-Wmaybe-uninitialized]".
4647 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
4649         * posix/bug-regex31.c (main): Return RES not 0.
4651 2014-11-25  Anton Blanchard <anton@samba.org>
4653         * sysdeps/powerpc/bits/atomic.h
4654         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
4656 2014-11-24  Sterling Augustine  <saugustine@google.com>
4658         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4660 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4662         [BZ #17608]
4663         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4665 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4667         [BZ #17633]
4668         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4669         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4670         variable.
4671         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4672         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4674 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4676         * string/strncpy.c (strncpy): Improve performance by using memset.
4678 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4680         * string/strcpy.c (strcpy):
4681         Improve performance by using strlen and memcpy.
4683 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4685         * string/strcoll_l.c (get_next_seq): __always_inline.
4686         * string/strcoll_l.c (do_compare): __always_inline.
4688 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4690         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4691         defined.
4692         * include/mqueue.h: Likewise.
4693         * include/stdlib.h: Likewise.
4695         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4696         (get_null_defines): Adjust.
4697         * sunrpc/Makefile: Adjust comment.
4698         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4699         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4700         (CFLAGS-interp.c): Likewise.
4701         (CFLAGS-ldconfig.c): Likewise.
4702         (CPPFLAGS-.os): Likewise.
4703         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4704         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4705         * extra-modules.mk (extra-modules.mk): Likewise.
4706         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4707         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4708         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4709         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4710         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4711         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4712         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4713         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4714         * iconvdata/Makefile (CPPFLAGS): Likewise.
4715         (cpp-srcs-left): Add libof for all iconvdata routines.
4716         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4717         * include/assert.h: Likewise.
4718         * include/ctype.h: Likewise.
4719         * include/errno.h: Likewise.
4720         * include/libc-symbols.h: Likewise.
4721         * include/math.h: Likewise.
4722         * include/netdb.h: Likewise.
4723         * include/resolv.h: Likewise.
4724         * include/stdio.h: Likewise.
4725         * include/stdlib.h: Likewise.
4726         * include/string.h: Likewise.
4727         * include/sys/stat.h: Likewise.
4728         * include/wctype.h: Likewise.
4729         * intl/l10nflist.c: Likewise.
4730         * libidn/idn-stub.c: Likewise.
4731         * libio/libioP.h: Likewise.
4732         * nptl/libc_multiple_threads.c: Likewise.
4733         * nptl/pthreadP.h: Likewise.
4734         * posix/regex_internal.h: Likewise.
4735         * resolv/res_hconf.c: Likewise.
4736         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4737         * sysdeps/arm/memmove.S: Likewise.
4738         * sysdeps/arm/sysdep.h: Likewise.
4739         * sysdeps/generic/_itoa.h: Likewise.
4740         * sysdeps/generic/symbol-hacks.h: Likewise.
4741         * sysdeps/gnu/errlist.awk: Likewise.
4742         * sysdeps/gnu/errlist.c: Likewise.
4743         * sysdeps/i386/i586/memcpy.S: Likewise.
4744         * sysdeps/i386/i586/memset.S: Likewise.
4745         * sysdeps/i386/i686/memcpy.S: Likewise.
4746         * sysdeps/i386/i686/memmove.S: Likewise.
4747         * sysdeps/i386/i686/mempcpy.S: Likewise.
4748         * sysdeps/i386/i686/memset.S: Likewise.
4749         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4750         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4751         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4752         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4753         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4754         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4755         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4756         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4757         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4758         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4759         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4760         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4761         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4762         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4763         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4764         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4765         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4766         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4767         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4768         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4769         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4770         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4771         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4772         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4773         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4774         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4775         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4776         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4777         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4778         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4779         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4780         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4781         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4782         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4783         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4784         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4785         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4786         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4787         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4788         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4789         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4790         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4791         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4792         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4793         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4794         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4795         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4796         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4797         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4798         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4799         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4800         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4801         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4802         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4803         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4804         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4805         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4806         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4807         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4808         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4809         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4810         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4811         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4812         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4813         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4814         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4815         * sysdeps/posix/closedir.c: Likewise.
4816         * sysdeps/posix/opendir.c: Likewise.
4817         * sysdeps/posix/readdir.c: Likewise.
4818         * sysdeps/posix/rewinddir.c: Likewise.
4819         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4820         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4821         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4822         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4823         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4824         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4825         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4826         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4827         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4828         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4829         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4830         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4831         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4832         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4833         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4834         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4835         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4836         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4837         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4838         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4839         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4840         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4841         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4842         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4843         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4844         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4845         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4846         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4847         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4848         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4849         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4850         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4852         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4854         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4855         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4856         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4857         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4858         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4859         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4860         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4861         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4862         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4863         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4864         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4865         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4866         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4867         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4868         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4869         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4870         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4871         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4872         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4873         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4874         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4875         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4876         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4877         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4878         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4879         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4880         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4881         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4882         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4883         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4884         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4885         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4886         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4887         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4888         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4889         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4890         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4891         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4892         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4893         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4894         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4895         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4896         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4897         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4898         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4899         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4900         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4901         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4902         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4903         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4904         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4905         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4906         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4907         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4908         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4909         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4910         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4911         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4912         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4913         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4914         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4915         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4916         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4917         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4918         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4919         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4920         * sysdeps/unix/alpha/sysdep.S: Likewise.
4921         * sysdeps/unix/alpha/sysdep.h: Likewise.
4922         * sysdeps/unix/make-syscalls.sh: Likewise.
4923         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4924         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4925         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4926         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4927         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4928         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4929         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4930         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4931         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4932         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4933         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4934         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4935         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4936         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4937         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4938         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4939         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4940         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4941         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4942         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4943         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4944         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4945         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4946         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4947         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4948         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4949         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4952         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4953         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4954         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4955         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4957         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4959         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4960         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4961         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4962         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4963         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4964         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4965         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4966         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4967         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4968         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4969         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4970         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4971         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4972         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4973         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4974         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4975         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4976         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4977         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4978         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4979         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4980         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4981         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4982         * sysdeps/x86_64/memcpy.S: Likewise.
4983         * sysdeps/x86_64/memmove.c: Likewise.
4984         * sysdeps/x86_64/memset.S: Likewise.
4985         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4986         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4987         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4988         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4989         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4990         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4991         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4992         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4993         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4994         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4995         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4996         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4997         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4998         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4999         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5000         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5001         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5002         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5003         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5004         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5005         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5006         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5007         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5008         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5009         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5010         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5011         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5012         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5013         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5014         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5015         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5016         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5017         * sysdeps/x86_64/strcmp.S: Likewise.
5019         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5021         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5022         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5023         * elf/rtld-Rules: Likewise.
5024         * elf/setup-vdso.h: Likewise.
5025         * include/assert.h: Likewise.
5026         * include/bits/stdlib-float.h: Likewise.
5027         * include/errno.h: Likewise.
5028         * include/sys/stat.h: Likewise.
5029         * include/unistd.h: Likewise.
5030         * sysdeps/aarch64/setjmp.S: Likewise.
5031         * sysdeps/alpha/setjmp.S: Likewise.
5032         * sysdeps/arm/__longjmp.S: Likewise.
5033         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5034         * sysdeps/arm/setjmp.S: Likewise.
5035         * sysdeps/arm/sysdep.h: Likewise.
5036         * sysdeps/generic/_itoa.h: Likewise.
5037         * sysdeps/generic/dl-sysdep.h: Likewise.
5038         * sysdeps/generic/ldsodefs.h: Likewise.
5039         * sysdeps/i386/dl-tls.h: Likewise.
5040         * sysdeps/i386/setjmp.S: Likewise.
5041         * sysdeps/m68k/setjmp.c: Likewise.
5042         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5043         * sysdeps/mach/hurd/opendir.c: Likewise.
5044         * sysdeps/posix/getcwd.c: Likewise.
5045         * sysdeps/posix/opendir.c: Likewise.
5046         * sysdeps/posix/profil.c: Likewise.
5047         * sysdeps/powerpc/dl-procinfo.h: Likewise.
5048         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5049         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5050         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5051         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5052         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5053         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5054         * sysdeps/s390/dl-tls.h: Likewise.
5055         * sysdeps/s390/s390-32/setjmp.S: Likewise.
5056         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5057         * sysdeps/sh/sh3/setjmp.S: Likewise.
5058         * sysdeps/sh/sh4/setjmp.S: Likewise.
5059         * sysdeps/unix/alpha/sysdep.h: Likewise.
5060         * sysdeps/unix/arm/sysdep.S: Likewise.
5061         * sysdeps/unix/i386/sysdep.S: Likewise.
5062         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5063         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5064         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5065         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5066         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5067         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5068         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5069         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5070         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5071         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5072         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5073         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5074         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5077         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5079         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5080         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5081         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5082         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5083         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5084         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5085         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5086         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5087         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5088         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5089         * sysdeps/unix/x86_64/sysdep.S: Likewise.
5090         * sysdeps/x86_64/setjmp.S: Likewise.
5092         * include/math.h: Use IS_IN instead of IS_IN_libm.
5093         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5094         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5095         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5096         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5097         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5098         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5099         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5100         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5101         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5102         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5103         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5104         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5105         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5106         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5107         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5108         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5109         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5110         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5111         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5112         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5113         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5114         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5115         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5116         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5117         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5118         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5119         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5120         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5121         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5122         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5123         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5124         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5125         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5127         Likewise.
5128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5129         Likewise.
5130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5131         Likewise.
5132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5133         Likewise.
5134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5135         Likewise.
5136         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5137         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5138         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5139         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5140         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5141         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5147         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5148         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5149         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5150         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5151         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5152         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5153         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5154         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5155         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5156         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5157         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5158         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5159         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5160         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5162         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5164         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5165         * nptl/pthreadP.h: Likewise.
5166         * nptl_db/structs.def: Likewise.
5167         * sysdeps/arm/sysdep.h: Likewise.
5168         * sysdeps/nptl/bits/libc-lock.h: Likewise.
5169         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5170         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5171         * sysdeps/unix/alpha/sysdep.h: Likewise.
5172         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5173         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5174         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5175         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5176         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5177         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5178         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5179         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5180         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5181         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5182         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5183         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5184         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5185         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5188         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5189         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5190         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5191         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5192         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5193         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5194         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5195         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5196         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5197         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5199         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5200         * nptl/pthreadP.h: Likewise.
5201         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5202         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5203         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5204         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5205         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5206         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5207         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5208         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5209         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5210         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5211         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5212         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5214         Likewise.
5215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5216         Likewise.
5217         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5219         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5220         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5221         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5222         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5223         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5224         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5226         * dlfcn/dladdr.c: Use IS_IN.
5227         * dlfcn/dladdr1.c: Likewise.
5228         * dlfcn/dlclose.c: Likewise.
5229         * dlfcn/dlerror.c: Likewise.
5230         * dlfcn/dlinfo.c: Likewise.
5231         * dlfcn/dlmopen.c: Likewise.
5232         * dlfcn/dlopen.c: Likewise.
5233         * dlfcn/dlsym.c: Likewise.
5234         * dlfcn/dlvsym.c: Likewise.
5236         * include/ifaddrs.h: Use IS_IN.
5237         * inet/check_pf.c: Likewise.
5238         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5239         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5241         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5242         IS_IN_ldconfig.
5243         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5244         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5246         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5247         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5248         IS_IN (libc).
5250         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5252         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5253         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5254         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5255         * include/libc-symbols.h (IS_IN_LIB): New macro.
5256         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5257         * include/netdb.h: Likewise.
5258         * include/stap-probe.h: Remove all uses of IN_LIB.
5260         * Makeconfig (module-cppflags-real): Define MODULE_NAME
5261         instead of IN_MODULE.
5262         * include/libc-symbols.h (IN_MODULE): Define using
5263         MODULE_NAME.
5264         (PASTE_NAME, PASTE_NAME1): New macros.
5265         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5266         of IN_LIB.
5267         (STAP_PROBE_ASM): Likewise.
5269 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5271         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5272         __mach_init in dlopened libc.
5274 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
5276         * sysdeps/arm/preconfigure.ac: Delete EABI check.
5277         * sysdeps/arm/preconfigure: Regenerate.
5279 2014-11-21  Roland McGrath  <roland@hack.frob.com>
5281         * nptl/pthread_create.c (__pthread_create_2_1): Set
5282         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5283         when copying values from IATTR into PD.
5285 2014-11-21  Will Newton  <will.newton@linaro.org>
5286             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
5288         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5289         Refactor inline-asm.  Also add comment.
5291         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5292         ElfW macro instead of hardcoded Elf64 types.
5293         (la_aarch64_gnu_pltenter): Likewise.
5294         * sysdeps/aarch64/dl-machine.h
5295         (elf_machine_runtime_setup): Use ElfW(Addr).
5297         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5298         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5299         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5300         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5301         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5302         (R_AARCH64_TLS_DTPMOD64): Rename to ..
5303         (R_AARCH64_TLS_DTPMOD): This.
5304         (R_AARCH64_TLS_DTPREL64): Rename to ...
5305         (R_AARCH64_TLS_DTPREL): This.
5306         (R_AARCH64_TLS_TPREL64): Rename to ...
5307         (R_AARCH64_TLS_TPREL): This.
5308         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5309         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5310         R_AARCH64_TLS_TPREL64.
5311         (elf_machine_rela): Likewise.
5313 2014-11-21  Torvald Riegel  <triegel@redhat.com>
5315         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5316         by setting it to 0.  64b atomics are not supported currently.
5318 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5320         [BZ #16469]
5321         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5322         search domain names.
5324 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5326         [BZ #16469]
5327         * NEWS: Update.
5328         * resolv/res_query.c (__libc_res_nquerydomain): Retain
5329         trailing dot.
5330         * posix/tst-getaddrinfo5.c: New.
5331         * posix/Makefile (tests): Add it.
5333 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5335         [BZ #14498]
5336         * NEWS: Fixed.
5337         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5338         after parsing line but before break_if_match.
5339         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5340         if there is a protocol mismatch.
5342 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5344         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5345         because the potential race is on the user-supplied stream.
5347 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5349         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5350         string literal if not passed a buffer.
5351         * manual/job.texi (ctermid): Update reasoning, note deviation
5352         from posix, suggest mtasurace when not passed a buffer, for
5353         future non-preliminary safety notes.
5355 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5357         * manual/users.texi (cuserid): Fix MT-Safety note for the case
5358         of not passing it a buffer.
5359         Reported by Peng Haitao.
5361 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
5363         * manual/Makefile ($(objpfx)stamp-summary): Require
5364         check-safety.sh to pass.
5365         * manual/check-safety.sh: Wish for verification that every
5366         @deftypefn and @deftypefun is followed by a @safety remark.
5368 2014-11-20  Roland McGrath  <roland@hack.frob.com>
5370         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5372         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5373         PTHREAD_CANCEL_ASYNCHRONOUS.
5374         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5375         send SIGCANCEL.
5377         * nptl/default-sched.h: New file.
5378         * sysdeps/unix/sysv/linux/default-sched.h: New file.
5379         * nptl/pthread_create.c: Include it.
5380         (__pthread_create_2_1): Use collect_default_sched instead of making
5381         Linux syscalls here directly.
5383 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5385         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5386         __pthread_once): Use C11 atomics.
5388 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5390         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5392 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5394         * include/atomic.h (__atomic_link_error, __atomic_check_size,
5395         atomic_thread_fence_acquire, atomic_thread_fence_release,
5396         atomic_thread_fence_seq_cst, atomic_load_relaxed,
5397         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5398         atomic_compare_exchange_weak_relaxed,
5399         atomic_compare_exchange_weak_acquire,
5400         atomic_compare_exchange_weak_release,
5401         atomic_exchange_acquire, atomic_exchange_release,
5402         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5403         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5404         atomic_fetch_and_acquire,
5405         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5407 2014-11-20  Torvald Riegel  <triegel@redhat.com>
5409         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5410         USE_ATOMIC_COMPILER_BUILTINS): Define.
5411         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5412         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5413         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5414         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5415         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
5416         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5417         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
5418         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5419         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
5420         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5421         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
5422         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5423         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
5424         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5425         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
5426         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5427         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5428         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5429         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5430         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5431         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
5432         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5433         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
5434         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5435         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
5436         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5437         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
5438         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5439         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
5440         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5441         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
5442         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5443         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
5444         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5445         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
5446         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5447         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
5448         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5449         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
5450         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5452 2014-11-19  Roland McGrath  <roland@hack.frob.com>
5454         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
5455         the sched_priority value here.  It was already checked when the user
5456         called pthread_attr_setschedparam.
5458         * nptl/tst-bad-schedattr.c: New file.
5459         * nptl/Makefile (tests): Add it.
5461 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
5462             Florian Weimer  <fweimer@redhat.com>
5463             Joseph Myers  <joseph@codesourcery.com>
5464             Adam Conrad  <adconrad@0c3.net>
5465             Andreas Schwab  <schwab@suse.de>
5466             Brooks  <bmoses@google.com>
5468         [BZ #17625]
5469         * wordexp-test.c (__dso_handle): Add prototype.
5470         (__register_atfork): Likewise.
5471         (__app_register_atfork): New function.
5472         (registered_forks): New global.
5473         (register_fork): New function.
5474         (test_case): Add 3 new tests for WRDE_CMDSUB.
5475         (main): Call __app_register_atfork.
5476         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
5477         fork count is non-zero fail the test.
5478         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
5479         is set.
5480         (parse_dollars): Remove check for WRDE_NOCMD.
5481         (parse_dquote): Likewise.
5483 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
5485         * Makeconfig (built-modules): List non-library modules to be
5486         built.
5487         (module-cppflags): Include libc-modules.h for
5488         everything except shlib-versions.v.i.
5489         (CPPFLAGS): Use it.
5490         (before-compile): Add libc-modules.h.
5491         ($(common-objpfx)libc-modules.h,
5492         $(common-objpfx)libc-modules.stmp): New targets.
5493         (common-generated): Add libc-modules.h and libc-modules.stmp.
5494         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
5495         * include/libc-symbols.h: Don't include libc-modules.h.
5496         * include/libc-modules.h: Remove file.
5497         * scripts/gen-libc-modules.awk: New script to generate
5498         libc-modules.h.
5499         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
5500         Depend on libc-modules.stmp.
5502         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
5504         * Makeconfig (in-module): Get value of libof set for the
5505         translation unit.
5506         (CPPFLAGS): Use $(in-module).
5507         * Makerules: Don't suffix routine names for nonlib.
5508         * include/libc-modules.h: New file.
5509         * include/libc-symbols.h: Include libc-modules.h
5510         (IS_IN): New macro to replace IS_IN_* macros.
5511         * elf/Makefile: Set libof-* for each routine.
5512         * elf/rtld-Rules: Likewise.
5513         * extra-modules.mk: Likewise.
5514         * iconv/Makefile: Likewise.
5515         * iconvdata/Makefile: Likewise.
5516         * locale/Makefile: Likewise.
5517         * malloc/Makefile: Likewise.
5518         * nss/Makefile: Likewise.
5519         * sysdeps/gnu/Makefile: Likewise.
5520         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
5521         * sysdeps/unix/sysv/linux/Makefile: Likewise.
5522         * sysdeps/s390/s390-64/Makefile: Likewise.
5523         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
5524         CPPFLAGS for nscd instead of nonlib.
5526 2014-11-18  Roland McGrath  <roland@hack.frob.com>
5528         * nptl/createthread.c: New file.
5530         * nptl/createthread.c: Moved ...
5531         * sysdeps/unix/sysv/linux/createthread.c: ... here.
5533         * nptl/createthread.c: Add proper top-line comment.
5534         (do_clone): Folded into ...
5535         (create_thread): ... here.  Take new arguments STOPPED_START and
5536         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
5537         increment __nptl_threads, do event-reporting logic, do
5538         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
5539         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
5540         resource cleanup if sched_setaffinity or sched_setscheduler fails,
5541         just send SIGCANCEL.
5542         * nptl/pthread_create.c: Forward-declare create_thread before
5543         including createthread.c.
5544         (start_thread): Use new macro START_THREAD_DEFN to replace defining
5545         declaration, and new macro START_THREAD_SELF to replace argument.
5546         Remove return statement.
5547         (report_thread_creation): New function.
5548         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
5549         synchronization logic, and __nptl_nthreads increment here, around
5550         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
5551         PD->parent_cancelhandling here, before create_thread.  When
5552         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
5553         __deallocate_stack, and ENOMEM translation here.
5555 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
5557         [BZ #17616]
5558         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
5559         (mptwo): Rename to __mptwo.
5560         (__inv): Use __mptwo instead of mptwo.
5561         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
5562         (mptwo): Rename to __mptwo.
5563         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
5564         of mpone and __mptwo instead of mptwo.
5565         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
5566         instead of mpone.
5567         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
5568         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
5569         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
5570         of mpone and __mptwo instead of mptwo.
5571         (__mpranred): Use __mpone instead of mpone.
5572         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
5573         variable.
5574         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5575         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5576         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5577         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5578         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5579         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5580         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5581         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5582         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5583         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5584         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5585         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5586         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5587         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5588         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5589         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5590         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5591         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5592         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5594 2014-11-18  Tom de Vries  <tom@codesoucery.com>
5596         * manual/signal.texi (Primitives Interrupted by Signals): In section,
5597         replace BSD Handler xref with BSD Signal Handling.
5599 2014-11-17  Richard Henderson  <rth@redhat.com>
5601         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
5602         (_FP_PACK_RAW_2): Remove.
5603         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
5604         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
5605         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
5606         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
5607         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
5608         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
5609         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
5610         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
5611         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
5612         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
5613         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
5614         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
5615         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
5616         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
5617         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
5618         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
5620 2014-11-14  Roland McGrath  <roland@hack.frob.com>
5622         * signal/signal.h [__USE_MISC]
5623         (struct sigvec): Remove type.
5624         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
5625         (sigvec): Remove declaration.
5626         * sysdeps/posix/sigvec.c: Moved ...
5627         * signal/sigvec.c: ... here, replacing old file.
5628         (struct sigvec): New type, copied from old signal.h definition.
5629         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
5630         (__sigvec): Convert definition to prototype.
5631         (sigvec): Replace weak_alias with compat_symbol.
5632         * signal/Versions (libc: GLIBC_2.21): New version set.
5633         * include/signal.h: Remove __sigvec declaration.
5634         * sysdeps/unix/bsd/sigvec.c: Remove file.
5635         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
5636         * manual/signal.texi (BSD Handler): Remove subsection.
5637         Move siginterrupt up to ...
5638         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
5639         (Blocking in BSD): Fold subsection into its parent.
5640         * NEWS: Mention sigvec removal.
5642 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5644         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
5645         (DLA_FMS): Make definition conditional only on [__FMA4__].
5646         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
5647         definition.
5649         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
5650         Make definition conditional only on [PROF].
5651         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
5652         definition.
5653         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
5654         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
5656         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
5657         !__GNUC__].
5658         * include/signal.h (__sigpause): Move declaration above call to
5659         libc_hidden_proto.
5660         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5661         variable.
5662         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5663         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5665 2014-11-14  David S. Miller  <davem@davemloft.net>
5667         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5668         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5670 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5672         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5673         * configure: Regenerated.
5674         * manual/install.texi (Tools for Compilation): Document a
5675         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5676         compiler verified to work.
5677         * INSTALL: Regenerated.
5679         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5680         redeclare with asm name.
5681         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5682         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5683         including <string.h>.
5684         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5685         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5686         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5687         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5688         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5689         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5690         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5692 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5694         * stdlib/strtol.c (__strtol): Use prototype definition.
5696         [BZ #17594]
5697         * stdlib/strtol.c (SYM__): New macro.
5698         (SYM__1): Likewise.
5699         (__strtol): Likewise.
5700         (strtol): Rename to __strtol and define as weak alias of
5701         __strtol.  Use libc_hidden_weak.
5703 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5705         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5706         Use numbered labels in inline assembly.
5708 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5710         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5711         Add setjmp LIBC_PROBE.
5712         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5713         Likewise.
5714         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5715         Add longjmp, longjmp_target LIBC_PROBE.
5716         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5717         Likewise.
5719 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5721         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5722         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5723         to get rid of unused variable warning.
5725 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5727         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5728         Check for unwind_backtrace ==  NULL only in SHARED case.
5729         (__backchain_backtrace): Compile only in SHARED case.
5730         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5731         Likewise.
5732         (__backchain_backtrace): Declare as static.
5734 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5736         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5737         (__libc_multiple_threads_ptr): Variable moved ...
5738         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5740 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5742         * conform/GlibcConform.pm: New file.
5743         * conform/conformtest.pl: Use GlibcConform module.
5744         * conform/linknamespace.pl: New file.
5745         * conform/list-header-symbols.pl: Likewise.
5746         * conform/Makefile (linknamespace-symlists-base): New variable.
5747         (linknamespace-symlists-tests): Likewise.
5748         (linknamespace-header-base): Likewise.
5749         (linknamespace-header-tests): Likewise.
5750         (tests-special): Add new tests.
5751         ($(linknamespace-symlists-tests)): New rule.
5752         (linknamespace-libs): New variable.
5753         ($(objpfx)symlist-stdlibs): New rule.
5754         ($(linknamespace-header-tests)): Likewise.
5755         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5756         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5757         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5758         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5759         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5760         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5761         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5762         (test-xfail-ISO/math.h/linknamespace): Likewise.
5763         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5764         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5765         (test-xfail-ISO/time.h/linknamespace): Likewise.
5766         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5767         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5768         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5769         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5770         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5771         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5772         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5773         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5774         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5775         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5776         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5777         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5778         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5779         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5780         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5781         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5782         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5783         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5784         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5785         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5786         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5787         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5788         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5789         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5790         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5791         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5792         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5793         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5794         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5795         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5796         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5797         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5798         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5799         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5800         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5801         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5802         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5803         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5804         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5805         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5806         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5807         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5808         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5809         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5810         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5811         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5812         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5813         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5814         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5815         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5816         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5817         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5818         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5819         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5820         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5821         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5822         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5823         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5824         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5825         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5826         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5827         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5828         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5829         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5830         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5831         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5832         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5833         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5834         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5835         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5836         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5837         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5838         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5839         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5840         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5841         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5842         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5843         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5844         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5845         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5846         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5847         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5848         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5849         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5850         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5851         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5852         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5853         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5854         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5855         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5856         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5857         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5858         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5859         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5860         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5861         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5862         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5863         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5864         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5865         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5866         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5867         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5868         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5869         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5870         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5871         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5872         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5873         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5874         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5875         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5876         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5877         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5878         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5879         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5880         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5881         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5882         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5883         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5884         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5885         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5886         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5887         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5888         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5889         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5890         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5891         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5892         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5893         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5894         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5895         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5896         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5897         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5898         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5899         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5900         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5901         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5902         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5903         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5904         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5905         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5906         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5907         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5908         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5909         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5910         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5911         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5912         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5913         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5914         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5915         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5917         [BZ #17589]
5918         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5919         of fgets_unlocked.
5921         [BZ #17585]
5922         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5923         (memmem): Rename to __memmem and define as weak alias of
5924         __memmem.  Use libc_hidden_weak.
5925         (__memmem): Use libc_hidden_def.
5926         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
5927         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5928         memmem.
5930         [BZ #17582]
5931         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5932         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
5933         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5934         and define as weak alias of __fgets_unlocked.  Use
5935         libc_hidden_weak.
5936         (__fgets_unlocked): Use libc_hidden_def.
5937         * include/stdio.h (__fgets_unlocked): Declare.  Use
5938         libc_hidden_proto.
5939         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5940         __fgets_unlocked instead of fgets_unlocked.
5941         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5942         (GET_NPROCS_CONF_PARSER): Likewise.
5943         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5944         (GET_NPROCS_CONF_PARSER): Likewise.
5946         [BZ #17574]
5947         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5948         weak alias of __wmemset.  Use libc_hidden_weak.
5949         (__wmemset): Use libc_hidden_def.
5950         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
5951         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5952         of wmemset.
5954         [BZ #17573]
5955         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5956         with asm name __mempcpy.
5957         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5959         [BZ #17572]
5960         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5961         and define as weak alias of __rawmemchr.
5962         (__rawmemchr): Do not define as strong alias of rawmemchr.
5964         [BZ #17571]
5965         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5966         alias of __qsort_r.
5967         (qsort): Call __qsort_r instead of qsort_r.
5968         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5969         (__qsort_r): Declare.  Call libc_hidden_proto.
5970         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5971         instead of qsort_r.
5972         * nscd/gai.c (__qsort_r): Define to qsort_r.
5973         * posix/tst-rfc3484.c (__qsort_r): Likewise.
5974         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5975         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5977         [BZ #17570]
5978         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5979         define as weak alias of __malloc_info.
5981         [BZ #17584]
5982         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5983         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5984         (__rewinddir): Use libc_hidden_def.
5985         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5986         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5987         (__rewinddir): Use libc_hidden_def.
5988         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5989         weak alias of __rewinddir.  Don't use libc_hidden_def.
5990         (__rewinddir): Use libc_hidden_def.
5991         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5992         (__rewinddir): Use libc_hidden_proto.
5993         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5994         rewinddir.
5995         (__getcwd): Use __rewinddir instead of rewinddir.
5997         [BZ #17583]
5998         * libio/fileno.c (fileno): Rename to __fileno and define as weak
5999         alias of __fileno.  Use libc_hidden_weak.
6000         (__fileno): Use libc_hidden_def.
6001         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6002         * libio/ftello.c (ftello): Rename to __ftello and define as weak
6003         alias of __ftello.
6004         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6005         __ftello.
6006         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6007         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
6008         libc_hidden_def.
6009         (fread_unlocked): Don't use libc_hidden_ver.
6010         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6011         and define as weak alias of __fread_unlocked.  Don't use
6012         libc_hidden_def.
6013         (__fread_unlocked): Use libc_hidden_def.
6014         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
6015         (ftello): Don't use libc_hidden_proto.
6016         (__ftello): Declare.  Use libc_hidden_proto.
6017         (fread_unlocked): Don't use libc_hidden_proto.
6018         (__fread_unlocked): Declare.  Use libc_hidden_proto.
6019         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6020         and __ftello instead of fileno, fread_unlocked and ftello.
6022 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6024         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6025         GOT12.
6026         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6027         Likewise.
6028         (_dl_start_user): Likewise.
6029         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6031 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
6032             Siddhesh Poyarekar  <siddhesh@redhat.com>
6034         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6035         Move argv and envp down instead of moving argc up.
6036         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6038 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
6040         [BZ #17506]
6041         * test-skeleton.c (main): Return successful if one of
6042         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6043         * string/tst-strcoll-overflow.c: Define expected status.
6045 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
6047         [BZ #17475]
6048         * locale/iso-639.def: Define Bhili and Tulu language codes.
6050 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
6052         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6054 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
6056         [BZ #17555]
6057         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6059 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
6061         * configure.ac: Updated check of minimal required version to
6062         2.22.
6063         * manual/install.texi (Tools for Compilation): Updated version
6064         number.
6065         * configure: Regenerated.
6066         * INSTALL: Likewise.
6068 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
6070         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6071         __tls_get_addr.
6073 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
6075         * include/sys/wait.h (__libc_waitpid): Remove declaration.
6076         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6077         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6078         libc_hidden_weak.
6079         (waitpid): Define as alias of __waitpid.
6080         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6081         __waitpid.
6082         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6083         libc_hidden_weak.
6084         (waitpid): Define as alias of __waitpid.
6085         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6086         __libc_waitpid alias.
6087         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6088         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6089         Likewise.
6090         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6091         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6092         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6093         alias.
6094         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6095         __waitpid.
6096         (__waitpid): Don't define as alias.  Use libc_hidden_def not
6097         libc_hidden_weak.
6098         (waitpid): Define as alias of __waitpid.
6100 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
6102         * manual/llio.texi: Add comment that write safety has been
6103         fixed in Linux.
6105         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6106         (localplt-build-dso): Add elf/ld.so.
6107         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6108         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6109         and free for ld.so.
6110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6111         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6113         Likewise.
6114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6115         Likewise.
6116         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6117         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6118         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6119         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6120         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6121         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6122         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6123         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6124         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6125         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6126         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6128 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
6130         [BZ #14132]
6131         * include/libc-symbols.h (INTUSE): Remove macro.
6132         (INTDEF): Likewise.
6133         (INTVARDEF): Likewise.
6134         (_INTVARDEF): Likewise.
6135         (INTDEF2): Likewise.
6136         (INTVARDEF2): Likewise.
6137         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6138         rtld_hidden_def instead of INTVARDEF.
6139         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6140         (_dl_starting_up_internal): Remove declaration.
6141         (_dl_starting_up): Use rtld_hidden_proto.
6142         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6143         declaration.
6144         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6145         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6146         _dl_starting_up.
6147         * elf/dl-writev.h (_dl_writev): Likewise.
6148         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6149         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6150         _dl_starting_up_internal.
6152 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6154         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6155         test-skeleton.c.
6157 2014-11-05  Will Newton  <will.newton@linaro.org>
6159         * benchtests/Makefile: (bench-malloc): Add malloc thread
6160         scalability benchmark.
6161         * benchtests/bench-malloc-threads.c: New file.
6163 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
6165         * sysdeps/aarch64/strchrnul.S: New file.
6167 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6169         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6170         definition.
6171         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6172         Likwise.
6173         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6174         Likewise.
6175         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6176         Likewise.
6177         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6178         Likewise.
6179         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6180         Likewise.
6182 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
6184         * catgets/test-gencat.c: Use test-skeleton.c.
6185         * catgets/tst-catgets.c: Likewise.
6186         * csu/tst-empty.c: Likewise.
6187         * elf/tst-audit2.c: Likewise.
6188         * elf/tst-global1.c: Likewise.
6189         * elf/tst-pathopt.c: Likewise.
6190         * elf/tst-piemod1.c: Likewise.
6191         * elf/tst-tls10.c: Likewise.
6192         * elf/tst-tls11.c: Likewise.
6193         * elf/tst-tls12.c: Likewise.
6194         * gnulib/tst-gcc.c: Likewise.
6195         * iconvdata/tst-e2big.c: Likewise.
6196         * iconvdata/tst-loading.c: Likewise.
6197         * iconv/tst-iconv1.c: Likewise.
6198         * iconv/tst-iconv2.c: Likewise.
6199         * inet/test-inet6_opt.c: Likewise.
6200         * inet/tst-gethnm.c: Likewise.
6201         * inet/tst-network.c: Likewise.
6202         * inet/tst-ntoa.c: Likewise.
6203         * intl/tst-codeset.c: Likewise.
6204         * intl/tst-gettext2.c: Likewise.
6205         * intl/tst-gettext3.c: Likewise.
6206         * intl/tst-ngettext.c: Likewise.
6207         * intl/tst-translit.c: Likewise.
6208         * io/test-stat.c: Likewise.
6209         * libio/test-fmemopen.c: Likewise.
6210         * libio/tst-freopen.c: Likewise.
6211         * libio/tst-sscanf.c: Likewise.
6212         * libio/tst-ungetwc1.c: Likewise.
6213         * libio/tst-ungetwc2.c: Likewise.
6214         * libio/tst-widetext.c: Likewise.
6215         * localedata/tst-ctype.c: Likewise.
6216         * localedata/tst-digits.c: Likewise.
6217         * localedata/tst-leaks.c: Likewise.
6218         * localedata/tst-mbswcs1.c: Likewise.
6219         * localedata/tst-mbswcs2.c: Likewise.
6220         * localedata/tst-mbswcs3.c: Likewise.
6221         * localedata/tst-mbswcs4.c: Likewise.
6222         * localedata/tst-mbswcs5.c: Likewise.
6223         * localedata/tst-setlocale.c: Likewise.
6224         * localedata/tst-trans.c: Likewise.
6225         * localedata/tst-wctype.c: Likewise.
6226         * localedata/tst-xlocale1.c: Likewise.
6227         * login/tst-grantpt.c: Likewise.
6228         * malloc/tst-calloc.c: Likewise.
6229         * malloc/tst-malloc.c: Likewise.
6230         * malloc/tst-mallocstate.c: Likewise.
6231         * malloc/tst-mcheck.c: Likewise.
6232         * malloc/tst-mtrace.c: Likewise.
6233         * malloc/tst-obstack.c: Likewise.
6234         * math/atest-exp2.c: Likewise.
6235         * math/atest-exp.c: Likewise.
6236         * math/atest-sincos.c: Likewise.
6237         * math/test-matherr.c: Likewise.
6238         * math/test-misc.c: Likewise.
6239         * math/test-powl.c: Likewise.
6240         * math/tst-definitions.c: Likewise.
6241         * misc/tst-dirname.c: Likewise.
6242         * misc/tst-efgcvt.c: Likewise.
6243         * misc/tst-fdset.c: Likewise.
6244         * misc/tst-hsearch.c: Likewise.
6245         * misc/tst-mntent2.c: Likewise.
6246         * nptl/tst-sem7.c: Likewise.
6247         * nptl/tst-sem8.c: Likewise.
6248         * nptl/tst-sem9.c: Likewise.
6249         * nss/test-netdb.c: Likewise.
6250         * posix/tst-fnmatch.c: Likewise.
6251         * posix/tst-getlogin.c: Likewise.
6252         * posix/tst-gnuglob.c: Likewise.
6253         * posix/tst-mmap.c: Likewise.
6254         * pwd/tst-getpw.c: Likewise.
6255         * resolv/tst-inet_ntop.c: Likewise.
6256         * rt/tst-timer.c: Likewise.
6257         * stdio-common/test-fseek.c: Likewise.
6258         * stdio-common/test-popen.c: Likewise.
6259         * stdio-common/test-vfprintf.c: Likewise.
6260         * stdio-common/tst-cookie.c: Likewise.
6261         * stdio-common/tst-fileno.c: Likewise.
6262         * stdio-common/tst-gets.c: Likewise.
6263         * stdio-common/tst-obprintf.c: Likewise.
6264         * stdio-common/tst-perror.c: Likewise.
6265         * stdio-common/tst-sprintf2.c: Likewise.
6266         * stdio-common/tst-sprintf3.c: Likewise.
6267         * stdio-common/tst-sprintf.c: Likewise.
6268         * stdio-common/tst-swprintf.c: Likewise.
6269         * stdio-common/tst-tmpnam.c: Likewise.
6270         * stdio-common/tst-unbputc.c: Likewise.
6271         * stdio-common/tst-wc-printf.c: Likewise.
6272         * stdlib/tst-environ.c: Likewise.
6273         * stdlib/tst-fmtmsg.c: Likewise.
6274         * stdlib/tst-limits.c: Likewise.
6275         * stdlib/tst-rand48-2.c: Likewise.
6276         * stdlib/tst-rand48.c: Likewise.
6277         * stdlib/tst-random2.c: Likewise.
6278         * stdlib/tst-random.c: Likewise.
6279         * stdlib/tst-strtol.c: Likewise.
6280         * stdlib/tst-strtoll.c: Likewise.
6281         * stdlib/tst-tls-atexit.c: Likewise.
6282         * stdlib/tst-xpg-basename.c: Likewise.
6283         * string/test-ffs.c: Likewise.
6284         * string/tst-bswap.c: Likewise.
6285         * string/tst-inlcall.c: Likewise.
6286         * string/tst-strtok.c: Likewise.
6287         * string/tst-strxfrm.c: Likewise.
6288         * sysdeps/x86_64/tst-audit10.c: Likewise.
6289         * sysdeps/x86_64/tst-audit3.c: Likewise.
6290         * sysdeps/x86_64/tst-audit4.c: Likewise.
6291         * sysdeps/x86_64/tst-audit5.c: Likewise.
6292         * time/tst-ftime_l.c: Likewise.
6293         * time/tst-getdate.c: Likewise.
6294         * time/tst-mktime3.c: Likewise.
6295         * time/tst-mktime.c: Likewise.
6296         * time/tst-posixtz.c: Likewise.
6297         * time/tst-strptime2.c: Likewise.
6298         * time/tst-strptime3.c: Likewise.
6299         * wcsmbs/tst-btowc.c: Likewise.
6300         * wcsmbs/tst-mbrtowc.c: Likewise.
6301         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6302         * wcsmbs/tst-wchar-h.c: Likewise.
6303         * wcsmbs/tst-wcpncpy.c: Likewise.
6304         * wcsmbs/tst-wcrtomb.c: Likewise.
6305         * wcsmbs/tst-wcsnlen.c: Likewise.
6306         * wcsmbs/tst-wcstof.c: Likewise.
6308 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
6310         [BZ #14132]
6311         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6312         INTDEF.
6313         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6314         declaration.
6315         (_dl_mcount): Use rtld_hidden_proto.
6316         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6317         _dl_mcount.
6318         * elf/rtld.c (_rtld_global_ro): Likewise.
6320         [BZ #14132]
6321         * elf/dl-init.c (_dl_init): Don't use INTDEF.
6322         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6323         of _dl_init_internal.
6324         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6325         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6326         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6327         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6328         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6329         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6330         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6331         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6332         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6333         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6334         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6335         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6336         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6337         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6338         * sysdeps/tile/dl-start.S (_start): Likewise.
6339         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6340         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6342         [BZ #14132]
6343         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6344         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6345         (rtld_progname): Make macro definition unconditional.
6346         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6347         INTDEF.
6348         (dlmopen_doit): Do not use INTUSE with _dl_argv.
6349         (dl_main): Likewise.
6350         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6351         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6352         instead of _dl_argv_internal.
6353         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6354         __GI__dl_argv instead of INTUSE(_dl_argv).
6355         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6356         __GI__dl_argv instead of _dl_argv_internal.
6358         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6359         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6360         macro.
6361         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6362         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6363         New macro.
6364         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6365         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6366         macro.
6367         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6368         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6370 2014-11-04  Andreas Schwab  <schwab@suse.de>
6372         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6374 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6376         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6377         mtvsrd instruction in binary form.
6379 2014-11-03  Andreas Schwab  <schwab@suse.de>
6381         [BZ #17522]
6382         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6383         for less than MB_LEN_MAX use a local buffer of that size.
6384         * libio/tst-fputws.c: New file.
6385         * libio/Makefile (tests): Add tst-fputws.
6387 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
6389         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6390         the size of the fpu_fr.fpu_dregs[] array.
6392 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
6394         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6395         (__nanosleep): Do not define as alias.
6396         (nanosleep): Define as alias of __nanosleep.
6397         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6398         __libc_nanosleep name.
6400 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6402         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6403         install.texi in comment.
6405 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6407         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6408         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6409         ... add here and use lwsync or sync ...
6410         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6411         ... and add here using lwsync.
6413 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6415         * elf/dl-machine-reject-phdr.h: New file.
6416         * elf/dl-load.c: #include that.
6417         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
6418         if that returned true.
6420 2014-10-31  Roland McGrath  <roland@hack.frob.com>
6422         [BZ #17496]
6423         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
6424         gen-as-const-headers chunk.  Add a big scare comment after the last
6425         safe place to touch before-compile.
6427 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
6429         * manual/install.texi (Tools for Compilation): Update autoconf
6430         version requirements.
6431         * INSTALL: Regenerated.
6433         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
6434         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
6435         (__libc_pselect): Likewise.
6437         [BZ #14138]
6438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
6439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
6440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
6441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
6443 2014-10-31  Torvald Riegel  <triegel@redhat.com>
6445         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
6446         correct barrier instruction.
6447         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
6448         Likewise.
6449         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
6450         Likewise.
6452 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6454         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
6455         after defining inlines.  Instead, just use parens to defeat macro
6456         expansion of __isctype in its declaration.
6458 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6460         * include/sys/uio.h (__libc_readv): Remove declaration.
6461         (__libc_writev): Likewise.
6462         * misc/readv.c (__libc_readv): Rename to __readv.
6463         (__readv): Do not define as alias.
6464         (readv): Define as alias of __readv.
6465         * misc/writev.c (__libc_writev): Rename to __writev.
6466         (__writev): Do not define as alias.
6467         (writev): Define as alias of __writev.
6468         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
6469         (__readv): Do not define as alias.
6470         (readv): Define unconditionally as alias of __readv.
6471         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
6472         (__writev): Do not define as alias.
6473         (writev): Define unconditionally as alias of __writev.
6474         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
6475         name.
6476         (writev): Do not define __libc_writev name.
6478 2014-10-30  Roland McGrath  <roland@hack.frob.com>
6480         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
6481         (convert_charseq): New function, broken out of ...
6482         (use_from_charmap): ... here.  Call it.
6483         (use_to_charmap): Use convert_charseq and free instead of duplicating
6484         its code with a variable-length stack struct.
6486 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
6488         * include/fcntl.h (__libc_creat): Remove declaration.
6489         * io/creat.c (__libc_creat): Rename to creat.
6490         (creat): Do not define as alias.
6491         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
6492         of creat instead of __libc_creat.
6493         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
6494         to creat.
6495         (creat): Do not define as alias.
6496         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
6497         __libc_creat.
6498         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
6499         __libc_creat name.
6500         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
6501         Likewise.
6503 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
6505         * manual/llio.texi: Add comments discussing why write() may be
6506         considered MT-unsafe on Linux.
6508 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
6510         * dl-load.c (local_strdup): Remove.
6511         (expand_dynamic_string_token): Use __strdup.
6512         (decompose_rpath): Likewise.
6513         (_dl_map_object): Likewise.
6515 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
6517         [BZ #14132]
6518         * sysdeps/generic/unwind-dw2-fde.c
6519         (__register_frame_info_bases_internal): Do not declare.
6520         (__register_frame_info_table_bases_internal): Likewise.
6521         (__deregister_frame_info_bases_internal): Likewise.
6522         (__register_frame_info_bases): Declare and use hidden_proto before
6523         definition.  Use hidden_def instead of INTDEF.
6524         (__register_frame_info_table_bases): Likewise.
6525         (__deregister_frame_info_bases): Likewise.
6526         (__register_frame_info): Do not use INTUSE.
6527         (__register_frame): Likewise.
6528         (__register_frame_info_table): Likewise.
6529         (__register_frame_table): Likewise.
6530         (__deregister_frame_info): Likewise.
6531         (__deregister_frame): Likewise.
6533 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
6535         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6536         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
6537         not undefine.
6538         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
6539         Likewise.
6540         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
6541         Likewise.
6543 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
6545         [BZ #14138]
6546         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
6547         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
6548         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
6549         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
6550         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
6551         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
6552         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
6553         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
6554         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
6555         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
6556         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
6557         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
6558         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
6559         syscall.
6560         (setfsuid): Likewise.
6561         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
6562         (setfsuid): Likewise.
6563         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
6564         (setfsuid): Likewise.
6565         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
6566         Likewise.
6567         (setfsuid): Likewise.
6568         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
6569         (setfsuid): Likewise.
6570         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
6571         Likewise.
6572         (setfsuid): Likewise.
6574 2014-10-27  Andreas Schwab  <schwab@suse.de>
6576         [BZ #17501]
6577         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
6578         check for Slow_SSE4_2 feature bit.
6579         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
6580         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
6581         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
6582         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
6584 2014-10-24  Roland McGrath  <roland@hack.frob.com>
6586         * configure.ac: Validate compiler version with a empirical test of
6587         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
6588         $CC -v output.
6589         * configure: Regenerated.
6591         * inet/htons.c (htons): Prototypify.
6592         * inet/htonl.c (htonl): Likewise.
6594 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6596         * string/strncat.c (strncat): Improve performance by using strlen.
6598 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6600         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
6602 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6604         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
6605         Call libc_fetestexcept_aarch64.
6607 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6609         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
6610         Call libc_feholdexcept_aarch64.
6612 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6614         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
6615         Call get_rounding_mode.
6617 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6619         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6620         Simplify logic.
6622 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
6624         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
6625         Simplify logic.
6627 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
6629         [BZ #14138]
6630         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
6631         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
6632         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
6633         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
6634         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
6635         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
6636         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
6637         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
6638         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
6639         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
6640         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6641         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
6642         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
6643         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
6644         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
6645         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
6646         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
6647         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
6648         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
6649         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
6650         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
6651         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
6652         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
6653         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
6654         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
6655         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
6656         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
6657         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6658         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6659         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6660         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6661         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6662         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6663         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6664         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6665         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6666         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6667         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6668         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6669         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6670         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6671         syscall.
6672         (geteuid): Likewise.
6673         (getgid): Likewise.
6674         (getuid): Likewise.
6675         (getresgid): Likewise.
6676         (getresuid): Likewise.
6677         (getgroups): Likewise.
6678         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6679         (geteuid): Likewise.
6680         (getgid): Likewise.
6681         (getuid): Likewise.
6682         (getresgid): Likewise.
6683         (getresuid): Likewise.
6684         (getgroups): Likewise.
6685         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
6686         (geteuid): Likewise.
6687         (getgid): Likewise.
6688         (getuid): Likewise.
6689         (getresgid): Likewise.
6690         (getresuid): Likewise.
6691         (getgroups): Likewise.
6692         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
6693         Likewise.
6694         (geteuid): Likewise.
6695         (getgid): Likewise.
6696         (getuid): Likewise.
6697         (getresgid): Likewise.
6698         (getresuid): Likewise.
6699         (getgroups): Likewise.
6700         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6701         (geteuid): Likewise.
6702         (getgid): Likewise.
6703         (getuid): Likewise.
6704         (getresgid): Likewise.
6705         (getresuid): Likewise.
6706         (getgroups): Likewise.
6707         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6708         Likewise.
6709         (geteuid): Likewise.
6710         (getgid): Likewise.
6711         (getuid): Likewise.
6712         (getgroups): Likewise.
6714         [BZ #14138]
6715         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6716         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6717         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6718         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6719         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6720         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6721         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6722         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6723         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6724         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6725         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6726         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6727         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6728         __chown.
6729         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6730         (lchown): Likewise.
6731         (fchown): Likewise.
6732         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6733         Likewise.
6734         (lchown): Likewise.
6735         (fchown): Likewise.
6736         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6737         (lchown): Likewise.
6738         (fchown): Likewise.
6739         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6740         Likewise.
6741         (lchown): Likewise.
6742         (fchown): Likewise.
6744 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6746         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6747         Simplify logic.
6749 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6751         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6752         Cleanup logic.
6754 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6756         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6757         Remove unused include.
6759 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6761         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6762         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6763         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6764         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6766 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6767             Helge Deller <deller@gmx.de>
6769         [BZ #17508]
6770         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6771         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6772         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6774 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6776         [BZ #14132]
6777         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6778         Remove macro definition.
6779         (__ashrdi3_v_glibc20): Likewise.
6780         (__lshrdi3_v_glibc20): Likewise.
6781         (__cmpdi2_v_glibc20): Likewise.
6782         (__ucmpdi2_v_glibc20): Likewise.
6783         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6784         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6785         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6786         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6787         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6788         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6790 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6792         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6793         old GNU extension [0] syntax.
6794         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6795         alloca rather than an array member with variable length.
6796         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6797         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6798         (parse_opt): ... here.  Likewise use alloca there.
6799         Validate the -i argument before checking for rootness.
6800         (send_shutdown): New function, broken out of ...
6801         (parse_opt): ... here.
6803 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6805         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6806         macro to get at the _rt_local_ro field.
6807         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6808         ([PIC] case) or _dl_hwcap ([!PIC] case).
6809         * sysdeps/arm/setjmp.S: Likewise.
6811         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6812         * sysdeps/arm/configure.ac: New check to define it.
6813         * sysdeps/arm/configure: Regenerated.
6814         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6815         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6816         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6817         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6818         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6819         Use move/movt pair instead of a load.
6820         (LDST_GLOBAL): Macro removed.
6821         (LDR_GLOBAL): New macro replaces it.
6822         (LDR_HIDDEN): New macro.
6823         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6824         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6826         * setjmp/tst-setjmp-static.c: New file.
6827         * setjmp/Makefile (tests): Add it.
6828         (tests-static): New variable.
6830 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
6832         [BZ #17485]
6833         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6835 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
6837         [BZ #14132]
6838         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6840 2014-10-21  Roland McGrath  <roland@hack.frob.com>
6842         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6844 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6846         * io/fts.c (dirent_not_directory): New function.
6847         (fts_build): Call it.
6849 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6851         * nptl/version.c (__nptl_main): Use normal __write rather than
6852         INTERNAL_SYSCALL.
6853         (banner): Update copyright years.
6855         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6856         gettimeofday.
6857         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6858         * nptl/pthread_cond_timedwait.c: Likewise.
6859         * nptl/pthread_mutex_timedlock.c: Likewise.
6860         * nptl/sem_timedwait.c: Likewise.
6862         * sysdeps/nptl/bits/libc-lock.h
6863         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6864         (__libc_lock_init_recursive): Return void, not 0.
6865         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6866         (__libc_rwlock_init): Likewise.
6867         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6869 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6871         [BZ #15215]
6872         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6873         (__pthread_once_slow): ... here.
6874         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6875         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6877 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6879         [BZ #15215]
6880         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6881         __PTHREAD_ONCE_FORK_GEN_INCR): New.
6882         * sysdeps/nptl/fork.c (__libc_fork): Use them.
6883         * nptl/pthread_once.c (__pthread_once): Likewise.
6884         Update comments.
6886 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
6888         [BZ #14138]
6889         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6890         name.
6891         (writev): Use __libc_writev as strong name.
6892         * sysdeps/unix/sysv/linux/readv.c: Remove file.
6893         * sysdeps/unix/sysv/linux/writev.c: Likewise.
6895 2014-10-17  Roland McGrath  <roland@hack.frob.com>
6897         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6899         * sysdeps/i386/nptl/tls.h
6900         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6901         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6902         New macros.
6903         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6904         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6905         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6906         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6907         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6908         Call CHECK_THREAD_SYSINFO instead of doing an assert.
6910         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6911         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6912         on [__NR_futex].
6913         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6914         broken out of ...
6915         (__pthread_mutex_init): ... here.  Call it.
6916         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6917         Conditionalize PI cases on [__NR_futex].
6918         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6919         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6920         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6922         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6923         conditional on [SIGSETXID].
6924         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6925         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6926         is defined.  Likewise for SIGSETXID.
6927         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6928         Conditionalize definitions on [SIGSETXID].
6929         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6930         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6931         unblocking on [SIGCANCEL].
6933         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6934         [__NR_set_robust_list].
6936 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6938         * string/strcoll_l.c (get_next_seq): Fix up formatting.
6939         (do_compare): Likewise.
6941 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
6943         [BZ #15884]
6944         * string/strcoll_l.c: Don't include stdio.h.
6945         (coll_seq): Remove members idxarr and rulearr.
6946         (get_next_seq_cached): Remove function.
6947         (get_next_seq): Likewise.
6948         (get_next_seq_nocache): Rename to get_next_seq.
6949         (do_compare): Remove function.
6950         (do_compare_nocache): Rename to do_compare.
6951         (STRCOLL): Remove weight and rules cache.
6953 2014-10-16  Roland McGrath  <roland@hack.frob.com>
6955         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6956         * sysdeps/arm/sfp-machine.h: ... to here.
6957         * sysdeps/arm/Implies: Remove arm/soft-fp.
6959 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
6961         * conform/data/sys/utsname.h-data (*_t): Allow.
6962         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6963         [POSIX] (WEXITED): Do not expect constant.
6964         [POSIX] (WSTOPPED): Likewise.
6965         [POSIX] (WNOHANG): Likewise.
6966         [POSIX] (WNOWAIT): Likewise.
6967         [POSIX] (siginfo_t): Do not expect type or elements.
6968         [POSIX] (pid_t): Do not expect type.
6969         [POSIX] (signal.h): Do not allow header.
6970         [POSIX] (sys/resource.h): Likewise.
6971         [POSIX] (si_*): Do not allow pattern.
6972         [POSIX] (W*): Likewise.
6973         [POSIX] (P_*): Likewise.
6974         [POSIX] (BUS_*): Likewise.
6975         [POSIX] (CLD_*): Likewise.
6976         [POSIX] (FPE_*): Likewise.
6977         [POSIX] (ILL_*): Likewise.
6978         [POSIX] (POLL_*): Likewise.
6979         [POSIX] (SEGV_*): Likewise.
6980         [POSIX] (SI_*): Likewise.
6981         [POSIX] (TRAP_*): Likewise.
6982         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6983         variable.
6985 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6987         [BZ #12926]
6988         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6989         infinite loop when __recvmsg returns 0.
6991 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
6993         * CANCEL-FCT-WAIVE: Remove file.
6994         * CANCEL-FILE-WAIVE: Likewise.
6996         [BZ #14132]
6997         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6998         instead of INTVARDEF.
6999         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7000         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7001         rtld_hidden_data_def instead of INTVARDEF.
7002         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7003         * elf/dl-deps.c (expand_dst): Likewise.
7004         * elf/dl-load.c (_dl_dst_count): Likewise.
7005         (_dl_dst_substitute): Likewise.
7006         (decompose_rpath): Likewise.
7007         (_dl_init_paths): Likewise.
7008         (open_path): Likewise.
7009         (_dl_map_object): Likewise.
7010         * elf/rtld.c (dl_main): Likewise.
7011         (process_dl_audit): Likewise.
7012         (process_envvars): Likewise.
7013         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7014         Remove declaration.
7015         (__libc_enable_secure): Use rtld_hidden_proto.
7017 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7019         * elf/dl-load.c
7020         (add_path): New function broken out of _dl_rtld_di_serinfo.
7021         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
7023 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7025         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7026         parentheses around macro arguments.
7027         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7028         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7029         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7030         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7031         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7032         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7033         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7034         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7035         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7036         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7037         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7038         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7039         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7040         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7041         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7042         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7043         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7044         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7045         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7046         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7047         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7048         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7049         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7050         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7051         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7052         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7053         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7054         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7055         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7056         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7057         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7058         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7059         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7060         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7061         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7062         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7063         Likewise.
7064         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7065         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7066         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7067         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7068         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7069         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7070         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7071         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7072         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7073         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7074         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7075         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7076         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7077         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7078         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7079         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7080         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7081         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7082         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7083         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7084         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7085         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7086         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7087         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7088         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7089         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7090         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7091         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7092         (_FP_FRAC_SRS_1): Likewise.
7093         (_FP_FRAC_CLZ_1): Likewise.
7094         (_FP_MUL_MEAT_1_imm): Likewise.
7095         (_FP_MUL_MEAT_1_wide): Likewise.
7096         (_FP_MUL_MEAT_1_hard): Likewise.
7097         (_FP_SQRT_MEAT_1): Likewise.
7098         (_FP_FRAC_ASSEMBLE_1): Likewise.
7099         (_FP_FRAC_DISASSEMBLE_1): Likewise.
7100         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7101         (__FP_CLZ_2): Likewise.
7102         (_FP_MUL_MEAT_2_wide): Likewise.
7103         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7104         (_FP_MUL_MEAT_2_gmp): Likewise.
7105         (_FP_MUL_MEAT_2_120_240_double): Likewise.
7106         (_FP_SQRT_MEAT_2): Likewise.
7107         (_FP_FRAC_ASSEMBLE_2): Likewise.
7108         (_FP_FRAC_DISASSEMBLE_2): Likewise.
7109         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7110         (_FP_FRAC_CLZ_4): Likewise.
7111         (_FP_MUL_MEAT_4_wide): Likewise.
7112         (_FP_MUL_MEAT_4_gmp): Likewise.
7113         (_FP_SQRT_MEAT_4): Likewise.
7114         (_FP_FRAC_ASSEMBLE_4): Likewise.
7115         (_FP_FRAC_DISASSEMBLE_4): Likewise.
7116         * soft-fp/op-common.h (_FP_CMP): Likewise.
7117         (_FP_CMP_EQ): Likewise.
7118         (_FP_CMP_UNORD): Likewise.
7119         (_FP_TO_INT): Likewise.
7120         (_FP_FROM_INT): Likewise.
7121         [!__FP_CLZ] (__FP_CLZ): Likewise.
7122         (_FP_DIV_HELP_imm): Likewise.
7123         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7124         Likewise.
7125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7126         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7127         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7128         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7129         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7130         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7131         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7132         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7133         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7134         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7135         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7136         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7137         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7138         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7139         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7140         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7141         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7142         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7143         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7144         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7145         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7146         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7147         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7148         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7149         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7150         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7151         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7152         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7153         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7154         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7155         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7156         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7157         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7158         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7159         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7160         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7161         (FP_UNPACK_RAW_SP): Likewise.
7162         (FP_PACK_RAW_S): Likewise.
7163         (FP_PACK_RAW_SP): Likewise.
7164         (FP_UNPACK_S): Likewise.
7165         (FP_UNPACK_SP): Likewise.
7166         (FP_UNPACK_SEMIRAW_S): Likewise.
7167         (FP_UNPACK_SEMIRAW_SP): Likewise.
7168         (FP_PACK_S): Likewise.
7169         (FP_PACK_SP): Likewise.
7170         (FP_PACK_SEMIRAW_S): Likewise.
7171         (FP_PACK_SEMIRAW_SP): Likewise.
7172         (_FP_SQRT_MEAT_S): Likewise.
7173         (FP_CMP_S): Likewise.
7174         (FP_CMP_EQ_S): Likewise.
7175         (FP_CMP_UNORD_S): Likewise.
7176         (FP_TO_INT_S): Likewise.
7177         (FP_FROM_INT_S): Likewise.
7179         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7181         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7182         (FP_EX_INVALID_IMZ): Likewise.
7183         (FP_EX_INVALID_IMZ_FMA): Likewise.
7184         (FP_EX_INVALID_ISI): Likewise.
7185         (FP_EX_INVALID_ZDZ): Likewise.
7186         (FP_EX_INVALID_IDI): Likewise.
7187         (FP_EX_INVALID_SQRT): Likewise.
7188         (FP_EX_INVALID_CVI): Likewise.
7189         (FP_EX_INVALID_VC): Likewise.
7190         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7191         "invalid" exceptions.
7192         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7193         (_FP_ADD_INTERNAL): Likewise.
7194         (_FP_MUL): Likewise.
7195         (_FP_FMA): Likewise.
7196         (_FP_DIV): Likewise.
7197         (_FP_CMP_CHECK_NAN): Likewise.
7198         (_FP_SQRT): Likewise.
7199         (_FP_TO_INT): Likewise.
7200         (FP_EXTEND): Likewise.
7202 2014-10-09  Allan McRae  <allan@archlinux.org>
7204         * po/fr.po: Update French translation from translation project.
7206 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
7208         [BZ #14132]
7209         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7210         of INTDEF.
7211         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7212         (__cxa_atexit): Use libc_hidden_proto.
7213         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7215         [BZ #14132]
7216         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7217         declaration.
7218         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7219         [!_ISOMAC] (__iswspace_l_internal): Likewise.
7220         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7221         [!_ISOMAC] (__iswctype_internal): Likewise.
7222         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7223         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7224         alias.
7225         (fcntl): Remove __fcntl_internal alias.
7226         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7227         __connect_internal alias.
7228         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7229         Likewise.
7231         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7232         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7233         FP_DENORM_ZERO.
7234         (_FP_CHECK_FLUSH_ZERO): New macro.
7235         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7236         (_FP_CMP): Likewise.
7237         (_FP_CMP_EQ): Likewise.
7238         (_FP_TO_INT): Do not set inexact for subnormal arguments if
7239         FP_DENORM_ZERO.
7240         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7241         (FP_TRUNC): Likewise.
7243         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7244         treated as invalid conversion, not as normal exponent.
7246         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7247         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
7248         (_FP_CMP_EQ): Likewise.
7249         (_FP_CMP_UNORD): Likewise.
7250         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7251         (FP_CMP_EQ_D): Likewise.
7252         (FP_CMP_UNORD_D): Likewise.
7253         * soft-fp/extended.h (FP_CMP_E): Likewise.
7254         (FP_CMP_EQ_E): Likewise.
7255         (FP_CMP_UNORD_E): Likewise.
7256         * soft-fp/quad.h (FP_CMP_Q): Likewise.
7257         (FP_CMP_EQ_Q): Likewise.
7258         (FP_CMP_UNORD_Q): Likewise.
7259         * soft-fp/single.h (FP_CMP_S): Likewise.
7260         (FP_CMP_EQ_S): Likewise.
7261         (FP_CMP_UNORD_S): Likewise.
7262         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7263         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7264         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7265         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7266         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7267         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7268         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7269         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7270         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7271         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7272         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7273         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7274         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7275         to FP_CMP_Q.
7276         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7277         FP_CMP_Q.
7278         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7279         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7280         FP_CMP_EQ_Q.
7281         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7282         FP_CMP_Q.
7283         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7284         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7285         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7286         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7287         FP_CMP_EQ_Q.
7288         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7289         FP_CMP_Q.
7290         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7291         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7292         FP_CMP_EQ_Q.
7293         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7294         FP_CMP_Q.
7295         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7296         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7297         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7298         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7299         FP_CMP_EQ_Q.
7301         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7302         a subnormal result, set the underflow exception if trapping on
7303         underflow is enabled.
7304         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7305         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7306         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7307         redefine to 0.
7308         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7309         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7310         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7311         * soft-fp/extendxftf2.c (__extendxftf2): Use
7312         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7314         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7315         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7316         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7317         FP_HANDLE_EXCEPTIONS.
7318         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7319         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7320         FP_HANDLE_EXCEPTIONS.
7321         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7322         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7323         FP_HANDLE_EXCEPTIONS.
7324         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7325         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7326         FP_HANDLE_EXCEPTIONS.
7328 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
7330         [BZ #14132]
7331         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7332         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7333         use INTUSE.
7334         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7335         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7336         Remove alias.
7337         (__adjtimex): Define using libc_hidden_ver.
7338         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7339         Remove declaration.
7340         (ntp_gettime): Call __adjtimex directly.
7341         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7342         Remove declaration.
7343         (ntp_gettimex): Call __adjtimex directly.
7344         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7345         __adjtimex_internal alias.
7347 2014-10-08  Roland McGrath  <roland@hack.frob.com>
7349         [BZ #17460]
7350         * nscd/nscd.c (more_help): Rewrite list of tables collection
7351         using xstrdup and asprintf.
7353         * nscd/nscd_conf.c: Remove local xstrdup declaration.
7355 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7356             Roland McGrath  <roland@hack.frob.com>
7358         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7359         (do_lookup_unique): ... local function 'enter' here; update callers.
7361 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
7363         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7364         compat_symbol calls on [SHARED].
7365         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7366         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7367         Remove.
7368         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7369         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7370         (oldsetrlimit): Remove.
7371         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7373         (lchown): New syscall entry.
7374         (oldsetrlimit): Remove.
7375         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7376         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7377         (oldsetrlimit): Remove.
7378         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7380         [BZ #14138]
7381         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7382         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7383         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7384         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7385         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7386         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7387         (fchown): Likewise.
7388         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7389         (fchown): Likewise.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7391         Likewise.
7393 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7395         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7396         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7397         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7398         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7399         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7400         Likewise.
7401         (__old_sem_post): Likewise.
7403 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
7405         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7406         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7407         HAVE_CLOCK_GETTIME_VSYSCALL macros.
7408         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7409         Use INLINE_VSYSCALL macro.
7410         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7411         __vdso_clock_gettime.
7412         * sysdeps/unix/sysv/linux/tile/init-first.c
7413         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7414         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7415         __vdso_clock_gettime.
7417         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
7418         to set up frame more cleanly.
7420         * sysdeps/tile/memcmp.c: New file.
7422         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
7424         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
7425         * sysdeps/tile/tilegx/strcasestr.c: New file.
7426         * sysdeps/tile/tilegx/strnlen.c: New file.
7427         * sysdeps/tile/tilegx/strstr.c: New file.
7429         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
7431 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
7433         * nptl/tst-setuid3.c: Write errors to stdout.
7435 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7437         * elf/dl-deps.c
7438         (preload): New functions broken out of _dl_map_object_deps.
7439         (_dl_map_object_deps):  Remove a nested function. Update call sites.
7441 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
7443         [BZ #14138]
7444         * sysdeps/unix/sysv/linux/execve.c: Remove file.
7445         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
7447 2014-10-01  Steve Ellcey  <sellcey@mips.com>
7449         * sysdeps/mips/strcmp.S: New.
7451 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
7453         [BZ #14138]
7454         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
7455         (linkat): Likewise.
7456         (mkdirat): Likewise.
7457         (readlinkat): Likewise.
7458         (renameat): Likewise.
7459         (symlinkat): Likewise.
7460         (unlinkat): Likewise.
7461         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
7462         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
7463         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
7464         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
7465         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
7466         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
7467         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
7469 2014-09-30  Will Newton  <will.newton@linaro.org>
7471         * math/math.h: Define long double math functions if
7472         _LIBC_TEST is defined.
7473         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
7475         * localedata/Makefile: Move assignment to tests-special
7476         into an ifdef testing run-built-tests.
7477         * timezone/Makefile: Likewise.
7479 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
7481         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
7482         with $(BASH) not $(SHELL).
7484 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
7485             Matthew LeGendre  <legendre1@llnl.gov>
7487         [BZ #17411]
7488         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
7489         l_reloc_result.
7491 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7493         * stdio-common/printf_fp.c
7494         (hack_digit): New function, broken out of ...
7495         (__printf_fp): ... local function here.  Update call sites.
7496         hack_digit now takes an additional parameter that is a pointer
7497         to a struct of the referenced locals.  Those locals moved inside
7498         the struct and references updated.
7500 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
7502         * aclocal.m4: Require autoconf 2.69.
7503         * configure: Regenerated.
7504         * sysdeps/aarch64/configure: Likewise.
7505         * sysdeps/alpha/configure: Likewise.
7506         * sysdeps/arm/armv7/configure: Likewise.
7507         * sysdeps/arm/configure: Likewise.
7508         * sysdeps/ia64/configure: Likewise.
7509         * sysdeps/mach/configure: Likewise.
7510         * sysdeps/mips/configure: Likewise.
7511         * sysdeps/s390/configure: Likewise.
7512         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
7513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
7515         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
7516         file.
7517         * sysdeps/ia64/configure.ac: Likewise.
7519 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
7521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
7522         specify symbol version for ld.so.  Do not include entry for
7523         libpthread.
7524         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7525         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7526         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7528         [BZ #14171]
7529         * Makeconfig [$(build-shared) = yes]
7530         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
7531         makefiles.
7532         [$(build-shared) = yes && $(soversions.mk-done) = t]
7533         ($(common-objpfx)gnu/lib-names.h): Remove rule.
7534         [$(build-shared) = yes && $(soversions.mk-done) = t]
7535         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
7536         to Makerules.
7537         [$(build-shared) = yes && $(soversions.mk-done) = t]
7538         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
7539         here.
7540         [$(build-shared) = yes && $(soversions.mk-done) = t]
7541         (common-generated): Don't append gnu/lib-names.h and
7542         gnu/lib-names.stmp here.
7543         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
7544         (lib-names-h-abi): New variable.
7545         [$(build-shared) = yes && $(soversions.mk-done) = t]
7546         (lib-names-stmp-abi): Likewise.
7547         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7548         abi-variants] (before-compile): Append
7549         $(common-objpfx)$(lib-names-h-abi).
7550         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7551         abi-variants] (common-generated): Append gnu/lib-names.h.
7552         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7553         abi-variants] (install-others-nosubdir): Depend on
7554         $(inst_includedir)/$(lib-names-h-abi).
7555         [$(build-shared) = yes && $(soversions.mk-done) = t &&
7556         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
7557         [$(build-shared) = yes && $(soversions.mk-done) = t]
7558         ($(common-objpfx)$(lib-names-h-abi)): New rule.
7559         [$(build-shared) = yes && $(soversions.mk-done) = t]
7560         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
7561         [$(build-shared) = yes && $(soversions.mk-done) = t]
7562         (common-generated): Append $(lib-names-h-abi) and
7563         $(lib-names-stmp-abi).
7564         * scripts/lib-names.awk: Do not handle multi being set.
7565         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
7566         Remove variable.
7567         (abi-lp64_be-ld-soname): Likewise.
7568         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
7569         Likewise.
7570         (abi-hard-ld-soname): Likewise.
7571         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
7572         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
7573         Remove variable.
7574         (abi-o32_hard-ld-soname): Likewise.
7575         (abi-o32_soft_2008-ld-soname): Likewise.
7576         (abi-o32_hard_2008-ld-soname): Likewise.
7577         (abi-n32_soft-ld-soname): Likewise.
7578         (abi-n32_hard-ld-soname): Likewise.
7579         (abi-n32_soft_2008-ld-soname): Likewise.
7580         (abi-n32_hard_2008-ld-soname): Likewise.
7581         (abi-n64_soft-ld-soname): Likewise.
7582         (abi-n64_hard-ld-soname): Likewise.
7583         (abi-n64_soft_2008-ld-soname): Likewise.
7584         (abi-n64_hard_2008-ld-soname): Likewise.
7585         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
7586         Likewise.
7587         (abi-64-v2-ld-soname): Likewise.
7588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
7589         ld.so entries.
7590         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
7591         variable.
7592         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
7593         entry.
7594         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
7595         variable.
7596         (abi-64-ld-soname): Likewise.
7597         (abi-x32-ld-soname): Likewise.
7598         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
7599         entry.
7600         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7602 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
7604         [BZ #14138]
7605         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
7606         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
7607         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
7608         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
7609         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
7610         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
7611         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
7612         syscall entry for GLIBC_2.2 symbol version.
7613         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
7614         Likewise.
7615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7616         (setrlimit): Likewise.
7617         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
7618         Likewise.
7620 2014-09-23  Will Newton  <will.newton@linaro.org>
7622         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
7623         _LINUX_ARM_SYSDEP_H include guard too.
7624         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
7625         define.
7627 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
7629         * sysdeps/unix/sysv/linux/eventfd.c:
7630         Make first argument unsigned.
7631         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
7632         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
7634 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
7636         * socket/recvmmsg.c (recvmmsg): Drop const argument.
7637         * socket/sys/socket.h: Likewise
7638         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
7640 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
7642         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
7644 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
7646         * time/tst-ftime.c: New test.
7647         * time/Makefile (tests): Add tst-ftime.
7649 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
7651         * soft-fp/extended.h: Fix comment formatting.
7652         * soft-fp/op-1.h: Likewise.
7653         * soft-fp/op-2.h: Likewise.
7654         * soft-fp/op-4.h: Likewise.
7655         * soft-fp/op-8.h: Likewise.
7656         * soft-fp/op-common.h: Likewise.
7657         * soft-fp/soft-fp.h: Likewise.
7659         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7661 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7663         [BZ #6652]
7664         * Makeconfig (soversions-default-setname): Remove variable.
7665         ($(common-objpfx)soversions.i): Don't pass default_setname to
7666         soversions.awk.
7667         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7668         oldest_abi to abi-versions.awk.
7669         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7670         * config.make.in (oldest-abi): Remove variable.
7671         * configure.ac (--enable-oldest-abi): Remove configure option.
7672         * configure: Regenerated.
7673         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7674         text.
7675         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7676         * scripts/soversions.awk: Do not handle default_setname variable.
7677         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7678         variable.
7679         * sysdeps/mach/hurd/configure: Regenerated.
7680         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7681         variable.
7682         * sysdeps/unix/sysv/linux/configure: Regenerated.
7684 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7686         * elf/Makefile (CFLAGS-interp.c): Remove.
7687         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7688         path string.
7689         * elf/interp.c: Include generated runtime-linker.h
7691         * Makerules (lib%.so): Don't include $(+interp) in
7692         prerequisites.
7693         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7694         * dlfcn/eval.c: Remove file.
7696         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7697         macros.
7699         [BZ #17266]
7700         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7701         4.2 and newer.
7703         [BZ #17370]
7704         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7706 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7707             Jakub Jelinek  <jakub@redhat.com>
7709         [BZ #17266]
7710         * libio/stdio.h: Check definition of __fortify_function
7711         instead of __extern_always_inline to include bits/stdio2.h.
7712         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7713         check if __extern_always_inline is defined.
7714         [__USE_MISC || __USE_XOPEN]: Likewise.
7715         [__USE_ISOC99] Likewise.
7716         * misc/sys/cdefs.h (__fortify_function): Define only if
7717         __extern_always_inline is defined.
7718         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7719         __extern_always_inline and __extern_inline only for g++-4.3
7720         and newer or a compatible gcc.
7722 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7724         [BZ #17371]
7725         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7726         last change to handle zero prefix length.
7728 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7730         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7731         _SC_REGEX_VERSION.
7733         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7734         _POSIX_RAW_SOCKETS.
7736 2014-09-13  Allan McRae  <allan@archlinux.org>
7738         * po/ru.po: Update Russian translation from translation project.
7740 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7742         * locale/programs/locale.c (show_locale_vars): Inline local function
7743         into its sole call site.  Clean up some style nits.
7744         (print_item): New function, broken out of ...
7745         (show_info): ... local function here.  Clean up style nits.
7747         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7748         out of ...
7749         (set_class_defaults): ... local function set_default here.
7750         Define set_default as a macro locally to pass constant parameters.
7751         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7752         rather than a shared local.
7754         * stdlib/rpmatch.c (try): New function, broken out of ...
7755         (rpmatch): ... local function here.  Also, prototypify definition.
7757 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7759         * scripts/soversions.awk: Do not handle configuration names.
7760         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7761         vendor and os variables to soversions.awk.
7762         * configure.ac: Do not modify gnu-* host_os.
7763         * configure: Regenerated
7764         * shlib-versions: Remove first column with configuration names.
7765         * nptl/shlib-versions: Likewise.
7766         * nptl_db/shlib-versions: Likewise.
7767         * sysdeps/hppa/shlib-versions: Likewise.
7768         * sysdeps/m68k/shlib-versions: Likewise.
7769         * sysdeps/mach/hurd/shlib-versions: Likewise.
7770         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7771         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7772         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7773         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7774         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7775         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7776         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7777         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7779         Likewise.
7780         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7781         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7782         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7783         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7784         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7785         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7786         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7787         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7790         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7792         Regenerated.
7793         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7795         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7797         * shlib-versions: Remove OS-specific entries.  Moved to files in
7798         sysdeps.
7799         * sysdeps/mach/hurd/shlib-versions: New file.
7800         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7802         * nptl/shlib-versions: Remove architecture-specific entries.
7803         Moved to files in sysdeps.
7804         * shlib-versions: Likewise.
7805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7806         file.
7807         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7808         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7809         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7810         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7812         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7813         (UDP_NO_CHECK6_RX): Likewise.
7815 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7817         * sysdeps/posix/sysconf.c (__sysconf): Spell
7818         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7820 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7822         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7823         loading.
7824         * iconv/Versions (__gconv_transliterate): Export for use from
7825         gconv modules.
7826         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7827         (struct __gconv_trans_data, __gconv_trans_fct,
7828         __gconv_trans_context_fct, __gconv_trans_query_fct,
7829         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7830         definitions.
7831         (struct __gconv_step_data): Remove __trans member.
7832         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
7833         longer hidden.  Remove unused trans_data argument.
7834         * iconv/gconv_int.h (struct trans_struct): Remove definition.
7835         (__gconv_translit_find): Remove declaration.
7836         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
7837         prototype.
7838         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7839         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7840         trans_data argument.  Add hidden definition.
7841         (__gconv_translit_find): Remove.
7842         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7843         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7844         * iconv/skeleton.c: Remove transliteration initialization.
7845         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7846         __gconv_step_data initialization.
7847         * libio/iofwide.c (__libio_translit_): Remove.
7848         (_IO_fwide): Adjust struct __gconv_step_data initialization.
7849         * wcsmbs/btowc.c (__btowc): Likewise.
7850         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7851         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7852         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7853         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7854         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7855         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7856         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7857         * wcsmbs/wctob.c (wctob): Likewise.
7859 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7861         [BZ #16194]
7862         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7863         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
7864         register usage.
7865         * sysdeps/x86/Makefile: Adjust.
7867 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7868             Roland McGrath  <roland@hack.frob.com>
7870         * locale/weight.h: Add include guard.
7871         (findidx): Make static rather than auto; take new parameters
7872         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7873         * locale/weightwc.h: Likewise.
7874         * posix/fnmatch_loop.c
7875         (FCT): Change type of EXTRA from int32_t to wint_t.
7876         Don't include either header inside the function.
7877         Call FINDIDX rather than findidx, and pass new arguments.
7878         #undef FINDIDX at the end of the file.
7879         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7880         FINDIDX before including fnmatch_loop.c for the non-wide version.
7881         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7882         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7883         for the wide version.
7884         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7885         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7886         Pass new arguments to findidx.
7887         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7888         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7889         Don't #include it inside the function.  Pass new arguments to findidx.
7890         * posix/regex_internal.h
7891         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7892         (re_string_elem_size_at): Don't #include it inside the function.
7893         Pass new arguments to findidx.
7894         * string/strcoll_l.c: #include WEIGHT_H at top level.
7895         (get_next_seq): Don't #include it inside the function.
7896         Pass new arguments to findidx.
7897         (get_next_seq_nocache): Likewise.
7898         * string/strxfrm_l.c: #include WEIGHT_H at top level.
7899         (STRXFRM): Don't #include it inside the function.
7900         Pass new arguments to findidx.
7902 2014-09-11  Florian Weimer  <fweimer@redhat.com>
7904         [BZ #17344]
7905         * malloc/malloc.c (unlink): Turn asserts into a call to
7906         malloc_printerr.
7908 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
7910         [BZ #17370]
7911         * libio/wfileops (do_ftell_wide): Free OUT.
7913 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
7915         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7917 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7919         [BZ #17363]
7920         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7921         group if the current group is empty.
7923 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7925         * benchtests/bench-memset.c (test_main): Add more test from size
7926         from 32 to 512 bytes.
7927         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7928         Add POWER8 memset object.
7929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7930         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7931         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7932         implementation.
7933         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7934         Likewise.
7935         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7936         multiarch POWER8 memset optimization.
7937         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7938         POWER8 memset optimization.
7940         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7941         Remove bzero multiarch objects.
7942         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7943         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7944         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7945         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7946         Remove define.
7947         [__bzero]: Redefine to specific name.
7948         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7949         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7950         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7951         define.
7952         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7953         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7955 2014-09-10  Florian Weimer  <fweimer@redhat.com>
7957         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7958         warnings into errors.
7960         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7961         __cxa_thread_atexit_impl prototype.
7963 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7965         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7966         Fix capitalization of error message.
7968 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7970         * sysdeps/mips/preconfigure: Modify ABI tests.
7972 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
7974         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7976 2014-09-07  Roland McGrath  <roland@hack.frob.com>
7977             Carlos O'Donell  <carlos@systemhalted.org>
7979         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7980         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7981         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7982         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7983         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7984         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7985         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7986         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7987         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7988         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7989         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7990         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7991         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7992         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7993         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7994         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7995         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7996         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7997         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7998         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7999         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8000         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8001         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8002         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8003         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8004         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8005         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8006         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8007         Deconditionalize the code that was previously under [RESET_PID].
8008         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8009         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8010         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8011         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8012         include sysdep.h.
8014 2014-09-08  Allan McRae  <allan@archlinux.org>
8016         * version.h (RELEASE): Set to "development".
8017         (VERSION): Set to "2.20.90"
8019 2014-09-07  Allan McRae  <allan@archlinux.org
8021         * version.h (RELEASE): Set to "stable".
8022         (VERSION): Set to "2.20"
8023         * include/features.h (__GLIBC_MINOR__): Set to 20.
8025         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8026         Liebler.
8028         * po/ko.po: Update Korean translation from translation project.
8030 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
8032         [BZ #17354]
8033         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8034         macro for handling signed relocations.
8036 2014-09-03  Florian Weimer  <fweimer@redhat.com>
8038         [BZ #17325]
8039         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8040         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8041         assert.
8042         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8043         * iconvdata/ibm935.c (BODY): Likewise.
8044         * iconvdata/ibm937.c (BODY): Likewise.
8045         * iconvdata/ibm939.c (BODY): Likewise.
8046         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8047         assert.
8048         * iconvdata/Makefile (iconv-test.out): Pass module list to test
8049         script.
8050         * iconvdata/run-iconv-test.sh: New test loop for checking for
8051         decoder crashers.
8053 2014-09-02  Khem Raj  <raj.khem@gmail.com>
8055         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8056         libm_hidden_ver.
8058 2014-09-01  Allan McRae  <allan@archlinux.org>
8060         * po/eo.po: Update Esperanto translation from translation project.
8062         * po/ca.po: Update Catalan translation from translation project.
8064 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8066         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8067         __proc_dostop call.
8069 2014-08-27  Mark Wielaard  <mjw@redhat.com>
8071         [BZ #17319]
8072         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8073         to call set_thread_area instead of hand written asm.
8074         (__NR_set_thread_area): Removed define.
8075         (TLS_FLAG_WRITABLE): Likewise.
8076         (__ASSUME_SET_THREAD_AREA): Remove check.
8077         (TLS_EBX_ARG): Remove define.
8078         (TLS_LOAD_EBX): Likewise.
8080 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8082         Simplify atomicity of socket creation in bind.
8084         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8085         looking up the name after linking the file.
8087 2014-08-27  Allan McRae  <allan@archlinux.org>
8089         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8091 2014-08-26  Florian Weimer  <fweimer@redhat.com>
8093         [BZ #17187]
8094         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8095         trans_compare, open_translit, __gconv_translit_find):
8096         Remove module loading code.
8098 2014-08-26  Allan McRae  <allan@archlinux.org>
8100         * po/vi.po: Update Vietnamese translation from translation project.
8102         * po/uk.po: Update Ukrainian translation from translation project.
8104         * po/fr.po: Update French translation from translation project.
8106         * po/ru.po: Update Russian translation from translation project.
8108         * po/pl.po: Update Polish translation from translation project.
8110         * po/cs.po: Update Czech translation from translation project.
8112         * po/de.po: Update German translation from translation project.
8114         * po/bg.po: Update Bulgarian translation from translation project.
8116         * po/sv.po: Update Sweedish translation from translation project.
8118         * po/nl.po: Update Dutch translation from translation project.
8120         * po/es.po: Update Spanish translation from translation project.
8122 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8124         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8126         * catgets/Makefile (CPPFLAGS-gencat): Remove.
8127         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8128         (CPPFLAGS-iconvconfig): Likewise.
8129         * timezone/Makefile (CPPFLAGS-zic): Likewise.
8131         * include/libc-symbols.h: Remove unnecessary check for
8132         NOT_IN_libc.
8133         * nptl/pthreadP.h: Likewise.
8134         * sysdeps/aarch64/setjmp.S: Likewise.
8135         * sysdeps/alpha/setjmp.S: Likewise.
8136         * sysdeps/arm/sysdep.h: Likewise.
8137         * sysdeps/i386/setjmp.S: Likewise.
8138         * sysdeps/m68k/setjmp.c: Likewise.
8139         * sysdeps/posix/getcwd.c: Likewise.
8140         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8141         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8142         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8143         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8144         * sysdeps/sh/sh3/setjmp.S: Likewise.
8145         * sysdeps/sh/sh4/setjmp.S: Likewise.
8146         * sysdeps/unix/alpha/sysdep.h: Likewise.
8147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8148         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8149         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8150         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8153         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8154         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8155         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8156         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8157         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8158         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8159         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8160         * sysdeps/x86_64/setjmp.S: Likewise.
8162 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
8164         [BZ #17263]
8165         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8166         <stdint.h>.
8167         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8168         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8170 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8172         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8174         [BZ #17262]
8175         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8176         and __x86_64__ when disabling x87 inline functions.
8178 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
8180         [BZ #17259]
8181         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8182         asm statement with __cpuid_count.
8184 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
8186         * configure.ac: Change __ehdr_start code to dereference the struct.
8187         Run readelf on the output to look for relocations.
8188         * configure: Regenerated.
8190 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
8192         [BZ #17261]
8193         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8194         value to 0.
8195         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8197 2014-08-12  Roland McGrath  <roland@hack.frob.com>
8199         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8201 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
8203         [BZ #16892]
8204         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8205         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8207 2014-08-12  Sean Anderson  <seanga2@gmail.com>
8209         * malloc/malloc.c: Fix typo in comment.
8211 2014-08-09  Allan McRae  <allan@archlinux.org>
8213         * Regenerate libc.po.
8215 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
8217         * intl/tst-gettext2.sh: Check every lang file for creation.
8219 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8221         * sysdeps/aarch64/fpu/math_private.h
8222         (libc_feholdsetround_noex_aarch64_ctx): New function.
8224 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
8226         * sysdeps/arm/armv6/strcpy.S (strcpy):
8227         Fix performance issue in misaligned cases.
8229 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8231         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8232         Move definition from termios.h.
8233         (struct termio): Likewise.
8234         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8235         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8236         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8237         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8238         Likewise.
8239         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8240         Move definition to ioctl-types.h
8241         (struct termio): Likewise.
8242         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8243         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8244         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8245         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8246         Likewise.
8248 2014-08-05  Richard Henderson  <rth@redhat.com>
8250         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8251         exceptions.
8252         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8253         Add fraiseexcpt.
8254         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8255         Use __feraiseexcept.
8256         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8257         Protect libm symbols with IS_IN_libm.
8259         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8261 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
8263         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8265 2014-08-04  Will Newton  <will.newton@linaro.org>
8267         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8268         file.
8270 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
8272         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8273         variants for each function.
8275 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8277         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8278         appended ...
8279         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8280         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8281         appended ...
8282         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8283         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8284         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8285         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8286         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8287         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8288         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8289         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8290         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8291         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8292         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8293         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8294         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8295         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8296         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8297         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8298         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8299         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8300         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8301         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8302         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8303         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8304         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8305         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8306         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8307         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8308         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8309         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8310         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8311         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8312         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8313         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8314         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8315         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8316         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8317         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8318         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8319         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8320         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8321         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8322         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8323         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8324         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8325         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8326         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8327         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8328         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8329         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8330         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8331         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8332         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8333         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8334         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8335         Update #include.
8336         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8337         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8339 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8341         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8342         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8343         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8344         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8345         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8346         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8348 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8350         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8351         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8352         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8353         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8355 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8357         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8358         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8359         (__libc_vfork): Define function under this name.
8360         (__vfork): Define as an alias.
8361         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8362         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8364 2014-08-04  Roland McGrath  <roland@hack.frob.com>
8366         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8367         that was previously under [RESET_PID].
8368         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8370 2014-08-04  Andreas Schwab  <schwab@suse.de>
8372         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8374 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
8376         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8377         (main): Likewise.
8379 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8381         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8383 2014-08-01  Richard Henderon  <rth@redhat.com>
8385         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8386         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8387         typo in exact zero test.
8388         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8389         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8390         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8392 2014-08-01  Roland McGrath  <roland@hack.frob.com>
8394         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8395         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8396         * sysdeps/arm/sysdep.h: ... here.
8397         [!__ASSEMBLER__]: Include <stdint.h>.
8399 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8401         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8402         (HAVE_WCTYPE_H): Likewise.
8403         (HAVE_ISWCTYPE): Likewise.
8404         (ENABLE_NLS): Likewise.
8405         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8406         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8408         * posix/regex_internal.c: Check if DEBUG is defined and is
8409         set.
8411         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8412         (HAVE_MBSRTOWCS): Likewise.
8413         * posix/fnmatch.c: Include string.h unconditionally.
8415 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8417         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
8418         reversal.
8420 2014-07-31  Roland McGrath  <roland@hack.frob.com>
8422         * sysdeps/generic/safe-fatal.h: New file.
8423         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
8424         * nptl/forward.c: Include it.
8425         (__pthread_unwind): Use __safe_fatal as default action, rather
8426         than a bogus use of INTERNAL_SYSCALL that could never work.
8428         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
8429         * configure.ac (libc_cv_builtin_trap): New test.
8430         * configure: Regenerated.
8431         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
8432         (ABORT_INSTRUCTION): Define using __builtin_trap.
8434         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
8435         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
8436         * sysdeps/nptl/nptl-signals.h: New file.
8437         * nptl/pthreadP.h: Include <nptl-signals.h>.
8439 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8441         * sysdeps/s390/s390-64/utf16-utf32-z9.c
8442         (ONE_DIRECTION): Define.
8443         * sysdeps/s390/s390-64/utf8-utf16-z9.c
8444         (ONE_DIRECTION): Define.
8445         * sysdeps/s390/s390-64/utf8-utf32-z9.c
8446         (ONE_DIRECTION): Define.
8448 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8450         * sysdeps/s390/Makefile: Delete file.
8451         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
8452         * sysdeps/s390/__longjmp.c: Delete file.
8453         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
8454         Remove fields __flags and __reserved.
8455         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
8456         and add versioning.
8457         * sysdeps/s390/rtld-__longjmp.c: Delete file.
8458         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
8459         * sysdeps/s390/rtld-setjmp.S: Likewise.
8460         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
8461         * sysdeps/s390/s390-32/__longjmp.c: ... here.
8462         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
8463         * sysdeps/s390/s390-32/setjmp.S: ... here.
8464         Add versioning.
8465         (__sigsetjmp): Remove setting __flags field.
8466         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
8467         * sysdeps/s390/s390-64/__longjmp.c: ... here.
8468         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
8469         * sysdeps/s390/s390-64/setjmp.S: ... here.
8470         Add versioning.
8471         (__sigsetjmp): Remove setting __flags field.
8472         * sysdeps/s390/setjmp.S: Delete file.
8473         * sysdeps/s390/sigjmp.c: Likewise.
8474         * sysdeps/s390/v1-longjmp.c: Likewise.
8475         * sysdeps/s390/v1-setjmp.h: Likewise.
8476         * sysdeps/s390/v1-sigjmp.c: Likewise.
8477         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
8478         Remove v1-longjmp_chk.
8479         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
8480         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
8481         Include debug/longjmp_chk.c and add versioning.
8482         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
8483         Include nptl/pt-longjmp.c and add versioning.
8484         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
8485         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
8486         Include __longjmp.c.
8487         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8488         Move to ...
8489         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
8490         (__getcontext): Remove setting __flags field.
8491         Add versioning.
8492         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8493         Don't restore upper high grps.
8494         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
8495         Likewise.
8496         (__swapcontext): Remove setting uc_flags field.
8497         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
8498         Delete file.
8499         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8500         Include __longjmp.c.
8501         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8502         Move to ...
8503         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
8504         (__getcontext): Remove setting __flags field.
8505         Add versioning.
8506         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
8507         (__swapcontext): Remove setting uc_flags field.
8508         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
8509         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
8510         Remove fields uc_high_gprs and __reserved.
8511         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
8512         New file with reverted content.
8513         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
8514         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
8515         Regenerated.
8516         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
8517         Regenerated.
8519 2014-07-31  Andreas Schwab  <schwab@suse.de>
8521         * config.h.in (HAVE_IFUNC): Define to 0.
8522         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
8523         definedness.
8525 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
8527         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8528         memmove-avx-unaligned, memcpy-avx-unaligned and
8529         mempcpy-avx-unaligned.
8530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8531         Add tests for AVX memcpy functions.
8532         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
8533         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
8534         memcpy_chk.
8535         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
8536         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
8537         memmove_chk.
8538         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
8539         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
8540         mempcpy_chk.
8541         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
8542         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
8543         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
8545 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8547         [BZ #17213]
8548         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
8549         powerpc64le.
8551 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
8553         [BZ #16839]
8554         * manual/llio.texi: Add section about open file description locks.
8555         * manual/examples/ofdlocks.c: Example of open file description
8556         lock usage.
8557         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
8558         F_OFD_SETLK, and F_OFD_SETLKW.
8560 2014-07-23  Allan McRae  <allan@archlinux.org>
8562         * po/es.po: Update Spanish translation from translation project.
8564 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
8566         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
8568 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
8570         [BZ #17078]
8571         * sysdeps/arm/dl-machine.h (elf_machine_rela)
8572         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
8573         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
8575 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
8577         [BZ #17088]
8578         * math/fesetenv.c (__fesetenv)
8579         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
8580         * math/feupdateenv.c (__feupdateenv)
8581         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
8583         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
8584         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
8585         (__ASSUME_SOCKETCALL): Do not define.
8587         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
8588         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
8589         (__ASSUME_SOCKETCALL): Do not define.
8590         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
8591         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8592         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8593         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
8594         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8595         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
8596         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8597         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8599         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
8600         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
8601         (__ASSUME_SOCKETCALL): Do not define.
8602         (__ASSUME_IPC64): Define unconditionally.
8603         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8604         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8605         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
8606         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8607         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
8608         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8609         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
8610         Likewise.
8612         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
8613         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
8614         (__ASSUME_SOCKETCALL): Do not define.
8615         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
8616         (__ASSUME_FUTEX_LOCK_PI): Likewise.
8617         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8618         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8619         (__ASSUME_REQUEUE_PI): Define unconditionally.
8620         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
8621         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8622         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8623         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
8624         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8625         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8627         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
8628         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
8629         (__ASSUME_SOCKETCALL): Do not define.
8630         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
8631         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8632         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8633         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
8634         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8635         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8637         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
8638         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
8639         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8640         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
8641         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8642         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
8643         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8644         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
8645         (__ASSUME_GETCPU_SYSCALL): Likewise.
8647         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
8648         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
8649         cases for individual architectures.
8650         * sysdeps/gnu/configure: Regenerated.
8651         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
8652         LIBC_SLIBDIR_RTLDDIR.
8653         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
8654         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
8655         LIBC_SLIBDIR_RTLDDIR.
8656         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
8657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8658         LIBC_SLIBDIR_RTLDDIR.
8659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8660         Regenerated.
8661         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8662         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8663         file.
8664         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8665         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8666         file.
8667         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8668         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8669         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8670         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8672         * sysdeps/aarch64/shlib-versions: Move to ...
8673         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8674         * sysdeps/alpha/shlib-versions: Move to ...
8675         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8676         * sysdeps/arm/shlib-versions: Move to ...
8677         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8678         * sysdeps/hppa/shlib-versions: Move all contents except for
8679         libgcc_s entry to ...
8680         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8681         entry from ...
8682         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8683         * sysdeps/ia64/shlib-versions: Move to ...
8684         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8685         entry from ...
8686         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8687         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8688         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8689         * sysdeps/microblaze/shlib-versions: Move to ...
8690         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8691         * sysdeps/mips/shlib-versions: Move to ...
8692         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8693         entry from ...
8694         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8695         * sysdeps/tile/shlib-versions: Move to ...
8696         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8697         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8698         from ...
8699         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8700         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8701         entry from ...
8702         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8704 2014-07-17  Will Newton  <will.newton@linaro.org>
8706         * sysdeps/arm/bits/atomic.h
8707         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8708         (__arch_compare_and_exchange_bool_16_int): Likewise.
8709         (__arch_compare_and_exchange_bool_64_int): Likewise.
8711         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8712         into an #else block.
8714 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8716         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8717         just Linux configurations.  Test empirically that the compiler sets
8718         __ARM_EABI__, rather than using the tuple to decide.
8719         * sysdeps/arm/preconfigure: Regenerated.
8720         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8721         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8722         contents appended ...
8723         * sysdeps/arm/configure.ac: ... here.
8724         * sysdeps/arm/configure: Regenerated.
8726 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8728         * nptl/pthread_kill.c: New file.
8729         * nptl/pthread_sigmask.c: New file.
8730         * nptl/pthread_sigqueue.c: New file.
8732         * sysdeps/nptl/lowlevellock.h: New file.
8733         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8734         * sysdeps/nptl/lowlevellock-futex.h: New file.
8736         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8737         Remove dead declarations.
8739 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8741         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8742         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8743         config-cflags-avx2.
8744         * sysdeps/x86_64/configure.ac: Likewise.
8745         * sysdeps/i386/configure: Regenerated.
8746         * sysdeps/x86_64/configure: Likewise.
8747         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8748         memset-avx2 only if config-cflags-avx2 is yes.
8749         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8750         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8751         defined.
8752         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8753         only if HAVE_AVX2_SUPPORT is defined.
8754         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8756 2014-07-14  Alan Modra  <amodra@gmail.com>
8758         [BZ #17153]
8759         * elf/elf.h (DT_PPC64_NUM): Correct value.
8760         * NEWS: Add to fixed bug list.
8762 2014-07-13  Jim Meyering  <meyering@fb.com>
8764         [BZ 17150]
8765         regex: don't deref NULL upon heap allocation failure
8766         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8767         failure in one more place.
8768         To trigger the segfault, configure grep -with-included-regex,
8769         build it, and run these commands:
8770         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8772 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8774         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8776 2014-07-11  Richard Henderson  <rth@redhat.com>
8778         * sysdeps/aarch64/libm-test-ulps: Update.
8780 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8782         [BZ #17135]
8783         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8784         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8785         (__nptl_setxid): Initialize error member.  Call
8786         __nptl_setxid_error.
8787         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8788         * nptl/descr.h (struct xid_command): Add error member.
8789         * nptl/tst-setuid3.c: New file.
8790         * nptl/Makefile (tests): Add it.
8792 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8794         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8795         New define.
8796         (__lll_trylock): Use __lll_base_trylock.
8797         (__lll_cond_trylock): Likewise.
8799 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8801         * nptl/pthread_create.c (start_thread): Use atomic_or and
8802         lll_futex_wake directly rather than lll_robust_dead.
8803         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8804         (lll_robust_dead): Macro removed.
8805         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8806         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8807         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8808         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8809         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8810         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8811         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8812         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8813         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8814         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8815         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8816         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8817         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8818         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8819         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8821         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8822         Use atomic_compare_and_exchange_val_acq directly rather than
8823         lll_robust_trylock.
8824         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8825         (__lll_robust_trylock, lll_robust_trylock): Removed.
8826         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8827         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8828         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8829         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8830         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8831         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8832         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8833         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8834         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8835         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8836         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8837         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8838         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8839         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8841 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8843         * manual/locale.texi (Locale Names): New section documenting
8844         locale name syntax.  Adjust menu and node chaining accordingly.
8845         (Choosing Locale): Reference Locale Names, Locale Categories.
8846         Mention setting LC_ALL=C.  Reflect that name syntax is now
8847         documented.
8848         (Locale Categories): New section title.  Reference Locale Names.
8849         LC_ALL is an environment variable, but not a category.
8850         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8851         description, now in Locale Name.  Reference that section.  Locale
8852         name syntax is now documented.
8854 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8856         [BZ #17137]
8857         * locale/findlocale.c (name_present, valid_locale_name): New
8858         functions.
8859         (_nl_find_locale): Use the loc_name variable to store name
8860         candidates.  Call name_present and valid_locale_name to check and
8861         validate locale names.  Return an error if the locale is invalid.
8863 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8865         * locale/setlocale.c (setlocale): Use strdup for allocating
8866         composite name copy.
8868 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8870         Sync up with gnulib.
8871         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8872         [!_LIBC && ENABLE_NLS]: Include gettext.h.
8873         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8874         and _GL_ARG_NONNULL.
8875         [USE_UNLOCKED_IO]: Include unlocked-io.h.
8876         [!_LIBC]: Include code for Windows and Cygwin.
8877         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8878         Include prototype for int strerror_r.
8879         [!_LIBC] (is_open): New function.
8880         (flush_stdout): New function.
8881         (print_errno_message): Use it.
8882         (error): Likewise.
8883         (error_at_line): Likewise.
8884         (error_tail) Add function attribute macros.  Use
8885         __builtin_expect.
8887         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8889         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8891         * io/ftw.c: Include sys/param.h unconditionally.
8893         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8895         [BZ #17125]
8896         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8897         libc_freeres_ptr.
8898         (freecache): New function to free CACHE on exit.
8900         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8901         initialization.
8903 2014-07-09  David S. Miller  <davem@davemloft.net>
8905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8907         * sysdeps/sparc/nptl/internaltypes.h: Delete.
8908         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8909         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8910         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8911         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8912         * sysdeps/sparc/nptl/sem_init.c: Likewise.
8913         * sysdeps/sparc/nptl/sem_post.c: Likewise.
8914         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8915         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8916         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8917         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8918         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8919         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8921 2014-07-09  Andreas Schwab  <schwab@suse.de>
8923         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8924         output.
8925         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8926         (do_test): Likewise.
8928         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8930 2014-07-09  Will Newton  <will.newton@linaro.org>
8932         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8933         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8934         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8935         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8936         * sysdeps/hppa/start.S (_start): Likewise.
8938 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8940         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8942         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8943         defined.
8945 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8947         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8948         after checking that it is non-NULL.
8950         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8952 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8954         * sysdeps/powerpc/memmove.c: Remove file.
8955         * sysdeps/powerpc/powerpc32/power4/memcopy.h
8956         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8957         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8958         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8959         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8960         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8961         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8962         string memmove instead of removed powerpc one.
8964         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8965         [weak_alias]: Fix compiler warning due trailing data.
8966         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8967         [weak_alias]: Likewise.
8968         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8969         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8972         (__libc_ifunc_impl_list): Add memmove functions.
8974 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8976         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8977         Remove code.
8978         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8979         Likewise
8980         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8981         Likewise
8982         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8983         Likewise
8984         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8985         Likewise
8986         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8987         Likewise
8988         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8989         Likewise
8990         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8991         Likewise
8992         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8993         Likewise
8994         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8995         Likewise
8996         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8997         Likewise
8998         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8999         Likewise
9000         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9001         Likewise
9002         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9003         Likewise
9004         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9005         Likewise
9006         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9007         Likewise
9008         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9009         Likewise
9011 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9013         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9014         to avoid alignment traps in non-cacheable memory.
9015         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9017         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9018         multiarch objects.
9019         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9020         file: multiarch power7 memmove.
9021         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9022         multiarch default memmove.
9023         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9024         multiarch memove for powerpc32/power4.
9026         * string/bcopy.c: Use full path to include memmove.c.
9027         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9028         multiarch objects.
9029         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9030         bcopy for powerpc64.
9031         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9032         bcopy for powerpc64.
9033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9034         and memmove implementations.
9035         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9036         optimized multiarch memmove for POWER7/powerpc64.
9037         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9038         default multiarch memmove for powerpc64.
9039         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9040         multiarch for powerpc64.
9041         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9042         for POWER7/powerpc64.
9043         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9044         memmove for POWER7/powerpc64.
9046         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9047         glibc default one.
9049         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9050         __ELF_NATIVE_CLASS equal to 64.
9052 2014-07-07  Roland McGrath  <roland@hack.frob.com>
9054         * sysdeps/nptl/lowlevellock.h: File removed.
9056         * NEWS: NPTL is no longer an add-on!
9057         * nptl/internaltypes.h: Moved ...
9058         * sysdeps/nptl/internaltypes.h: ... here.
9059         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9060         * sysdeps/nptl/fork.c: Likewise.
9061         * sysdeps/nptl/gai_misc.h: Likewise.
9062         * sysdeps/nptl/librt-cancellation.c: Likewise.
9063         * sysdeps/nptl/jmp-unwind.c: Likewise.
9064         * sysdeps/nptl/setxid.h: Likewise.
9065         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9066         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9067         * sysdeps/unix/sysv/linux/arm/Implies: New file.
9068         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9069         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9070         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9071         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9072         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9073         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9074         * sysdeps/unix/sysv/linux/mips/Implies: New file.
9075         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9076         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9077         * sysdeps/unix/sysv/linux/sh/Implies: New file.
9078         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9079         * sysdeps/unix/sysv/linux/tile/Implies: New file.
9080         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9081         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9082         * nptl/Makeconfig: Moved ...
9083         * sysdeps/nptl/Makeconfig: ... here.
9084         * nptl/configure: File removed.
9085         * nptl/ANNOUNCE: File removed.
9086         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9087         * sysdeps/unix/sysv/linux/configure: Regenerated.
9089         * nptl/Makefile (routines): Add libc_pthread_init,
9090         libc_multiple_threads, register-atfork and unregister-atfork.
9091         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9092         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9093         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9094         pthread-pi-defines.sym, structsem.sym.
9095         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9096         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9097         [$(subdir) = nptl] (tests): Add tst-setgetname.
9098         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9099         * sysdeps/unix/sysv/linux/sigaction.c: Just include
9100         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9101         [!LIBC_SIGACTION]: Remove aliases.
9102         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9103         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9104         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9105         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9106         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9107         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9108         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9109         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9110         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9111         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9112         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9113         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9114         __libc_allocate_rtsig_private.
9115         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9116         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9117         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9118         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9119         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9120         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9121         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9122         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9123         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9124         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9125         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9126         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9127         * nptl/internaltypes.h: ... here.
9128         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9129         * sysdeps/nptl/jmp-unwind.c: ... here.
9130         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9131         * nptl/libc-lowlevellock.c: ... here.
9132         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9133         * nptl/libc_multiple_threads.c: ... here.
9134         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9135         * nptl/libc_pthread_init.c: ... here.
9136         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9137         * nptl/lowlevelbarrier.sym: ... here.
9138         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9139         * nptl/lowlevelcond.sym: ... here.
9140         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9141         * nptl/lowlevellock.c: ... here.
9142         * nptl/lowlevellock.h: Moved ...
9143         * sysdeps/nptl/lowlevellock.h: ... here.
9144         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9145         * nptl/lowlevelrobustlock.c: ... here.
9146         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9147         * nptl/lowlevelrobustlock.sym: ... here.
9148         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9149         * nptl/lowlevelrwlock.sym: ... here.
9150         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9151         * nptl/pt-fork.c: ... here.
9152         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9153         * nptl/pthread-pi-defines.sym: ... here.
9154         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9155         * nptl/pthread_attr_getaffinity.c: ... here.
9156         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9157         * nptl/pthread_attr_setaffinity.c: ... here.
9158         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9159         * nptl/pthread_mutex_cond_lock.c: ... here.
9160         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9161         Update #include.
9162         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9163         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9164         * nptl/pthread_once.c: ... here, replacing old file.
9165         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9166         * nptl/pthread_yield.c: ... here.
9167         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9168         * nptl/register-atfork.c: ... here.
9169         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9170         * nptl/sem_post.c: ... here.
9171         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9172         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9173         * nptl/sem_timedwait.c: ... here.
9174         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9175         * nptl/sem_trywait.c: ... here.
9176         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9177         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9178         * nptl/sem_wait.c: ... here.
9179         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9180         * nptl/structsem.sym: ... here.
9181         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9182         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9183         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9184         * nptl/unregister-atfork.c: ... here.
9185         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9186         * nptl/unwindbuf.sym: ... here.
9187         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9188         * sysdeps/nptl/fork.c: ... here.
9189         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9190         * sysdeps/nptl/fork.h: ... here.
9191         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9192         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9193         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9194         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9195         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9196         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9197         * sysdeps/unix/sysv/linux/getpid.c: ... here.
9198         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9199         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9200         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9201         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9202         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9203         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9204         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9205         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9206         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9207         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9208         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9209         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9210         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9211         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9212         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9213         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9214         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9215         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9216         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9217         * sysdeps/unix/sysv/linux/raise.c: ... here.
9218         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9219         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9220         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9221         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9222         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9223         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9224         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9225         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9226         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9227         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9228         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9229         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9230         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9231         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9232         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9234 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9236         * sysdeps/generic/memcopy.h: Add comment for
9237         MEMCPY_OK_FOR_FWD_MEMMOVE.
9239 2014-07-04  Will Newton  <will.newton@linaro.org>
9241         * string/memchr.c: Merge from gnulib.
9242         [_LIBC]: Remove conditionals.
9243         (__ptr_t): Remove define.
9244         (LONG_MAX_32_BITS): Likewise.
9245         (LONG_MAX): Likewise.
9246         (MEMCHR): Use ANSI prototype and optimize algorithm.
9248         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9250 2014-07-03  Roland McGrath  <roland@hack.frob.com>
9252         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9253         (lll_futex_timed_wait_bitset): Fix syscall argument count.
9255         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9256         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9257         in a bare environment with no <stdlib.h> installed.
9258         * sysdeps/nptl/configure: Regenerated.
9260         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9262         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9263         AC_EGREP_CPP for kernel header checks, so they only succeed if
9264         including <linux/version.h> actually works right.
9265         * sysdeps/unix/sysv/linux/configure: Regenerated.
9267         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9268         value so it's not diagnosed as unused.
9270         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9271         thing) with "ifeq ($(subdir),rt)".
9273 2014-07-03  Richard Henderson  <rth@redhat.com>
9275         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9276         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9277         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9279         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9280         (math_force_eval): New.
9282         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9283         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9285         * sysdeps/alpha/fpu/s_round.c: Remove file.
9286         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9288         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9289         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9290         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9291         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9292         (_dl_start, print_statistics): Likewise.
9293         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9294         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9296         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9297         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9298         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9299         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9300         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9301         (HP_SMALL_TIMING_AVAIL): Define.
9302         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9303         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9304         (HP_SMALL_TIMING_AVAIL): Define.
9305         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9306         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9308         * sysdeps/aarch64/hp-timing.h: New file.
9310         * sysdeps/generic/hp-timing.h: Remove dead comment.
9311         * sysdeps/generic/hp-timing-common.h: New file.
9312         * sysdeps/alpha/hp-timing.h: Include it.
9313         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9314         * sysdeps/i386/i686/hp-timing.h: Likewise.
9315         * sysdeps/ia64/hp-timing.h: Likewise.
9316         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9317         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9318         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9319         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9320         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9321         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9322         (hp_timing_t): New.
9324         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9325         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9326         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9327         * elf/rtld.c (_dl_start_final): Likewise.
9328         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9329         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9330         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9331         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9332         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9333         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9334         (HP_TIMING_DIFF_INIT): Remove.
9335         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9336         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9337         (HP_TIMING_DIFF_INIT): Remove.
9338         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9339         * sysdeps/i386/i686/hp-timing.c: Remove file.
9340         * sysdeps/x86_64/hp-timing.c: Remove file.
9341         * sysdeps/ia64/hp-timing.c: Remove file.
9342         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9343         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9344         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9345         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9347         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9348         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9349         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9350         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9351         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9352         (HP_TIMING_ACCUM): Remove.
9353         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9354         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9355         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9357         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9358         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9359         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9360         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9361         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9362         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9363         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9364         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9366         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9368 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
9370         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9372 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9374         Sync up with gettext.
9375         * intl/loadmsgcat.c: Define O_BINARY if not defined.
9376         [_MSC_VER]: Include malloc.h
9377         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9378         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9379         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
9380         TEMP_FAILURE_RETRY.  Cast return of alloca.
9381         [!_LIBC] Call gl_rwlock_init.
9382         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9384 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9386         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9387         before checking its value.
9389 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9391         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9393         * debug/memcpy_chk.c: Don't include pagecopy.h.
9394         * debug/mempcpy_chk.c: Likewise.
9395         * string/memcpy.c: Likewise.
9396         * string/memmove.c: Likewise.
9397         * sysdeps/powerpc/memmove.c: Likewise.
9398         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
9399         definition of PAGE_COPY_FWD_MAYBE here...
9400         * sysdeps/generic/pagecopy.h: ... from here.
9401         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9403 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9404             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9406         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9407         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9408         optimizations.
9409         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9410         (__libc_ifunc_impl_list): Likewise.
9411         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9412         multiarch strcat for PPC64.
9413         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9414         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9416 2014-07-02  Roland McGrath  <roland@hack.frob.com>
9418         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
9420 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9422         * intl/loadmsgcat.c: Remove declaration of
9423         get_sysdep_segment_value.
9424         (get_sysdep_segment_value): Use ISO C style.
9425         (_nl_load_domain): Use ISO C style.  Get rid of redundant
9426         semicolon.  Fix typo and formatting in comment.
9427         (_nl_unload_domain): Use ISO C style.
9429         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
9431 2014-07-02  Will Newton  <will.newton@linaro.org>
9433         * malloc/obstack.c: Merge from gnulib master.
9434         [HAVE_CONFIG_H]: Remove conditional code.
9435         [!_LIBC]: Include config.h.
9436         [!ELIDE_CODE]: Don't include inttypes.h, include
9437         stdint.h unconditionally.
9438         (print_and_abort): Mark as _Noreturn.
9439         (_obstack_allocated_p): Mark as __attribute_pure__.
9440         (obstack_free): Rename to __obstack_free.
9441         [!__attribute__]: Remove conditional code.
9442         * malloc/obstack.h: Merge from gnulib master.
9443         [__cplusplus]: Move conditional down.
9444         [!__attribute_pure__]: Define __attribute_pure__ here
9445         if it is not already defined.
9446         (_obstack_memory_used): Mark as __attribute_pure__.
9447         [!__obstack_free]: Define as obstack_free.
9448         [__GNUC__]: Remove check for ancient NeXT gcc.
9450 2014-07-02  Will Newton  <will.newton@linaro.org>
9451             Paul Eggert  <eggert@cs.ucla.edu>
9453         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
9455 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9457         * resolv/gethnamaddr.c: Add comment warning that the file is
9458         not maintained.
9460 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
9462         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
9463         entries.
9465         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
9466         entry for aio_cancel and aio_cancel64.
9467         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
9468         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
9469         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
9470         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
9471         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
9472         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
9473         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
9474         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
9475         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
9476         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
9477         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
9478         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
9479         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
9481 2014-07-01  Roland McGrath  <roland@hack.frob.com>
9483         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
9484         * nptl/pthread_mutex_lock.c: Likewise.
9485         * nptl/pthread_mutex_timedlock.c: Likewise.
9486         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
9488 2014-07-01  Richard henderson  <rth@redhat.com>
9490         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
9491         (__isnan, __isnanl): Remove.
9492         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
9494         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9496 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9498         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9500 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
9502         * resolv/nss_dns/dns-host.c (getanswer_r)
9503         [MULTI_PTRS_ARE_ALIASES]: Remove code.
9505 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
9507         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9508         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
9509         undefine.
9510         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
9511         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
9513 2014-07-01  Roland McGrath <roland@hack.frob.com>
9515         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
9516         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
9518         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
9519         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
9521         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
9522         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
9523         ... here.
9524         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
9525         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
9527         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
9528         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
9529         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
9530         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
9532         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
9533         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
9534         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
9535         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
9536         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
9537         Moved ...
9538         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
9539         ... here.
9540         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
9541         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
9542         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
9543         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
9544         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
9545         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
9546         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
9547         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
9548         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
9549         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
9550         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
9551         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
9552         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
9553         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
9554         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
9555         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
9556         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
9557         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
9558         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
9559         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
9560         ... here.
9561         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
9562         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
9563         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
9564         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
9565         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
9566         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
9567         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
9568         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
9570 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
9572         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
9573         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
9574         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
9575         Add sysdep.
9577 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9579         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9581 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9583         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9584         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9586         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9588         * sysdeps/arm/libm-test-ulps: Regenerated.
9590 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9591             Roland McGrath <roland@hack.frob.com>
9593         * test-skeleton.c (signal_handler): Kill the whole process group
9594         before killing the child individually.
9595         (main): Report any failure on `setpgid'.
9597 2014-06-30  Roland McGrath  <roland@hack.frob.com>
9599         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
9600         from _TLS_H to _ARM_NPTL_TLS_H.
9601         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
9602         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
9604 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
9606         [BZ #16539]
9607         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
9608         (__expm1l): Return argument unchanged when small but not
9609         subnormal.
9611         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
9612         include macro name.
9613         (_FP_UNPACK_RAW_1_P): Likewise.
9614         (_FP_PACK_RAW_1): Likewise.
9615         (_FP_PACK_RAW_1_P): Likewise.
9616         (_FP_MUL_MEAT_1_wide): Likewise.
9617         (_FP_MUL_MEAT_DW_1_hard): Likewise.
9618         (_FP_MUL_MEAT_1_hard): Likewise.
9619         (_FP_DIV_MEAT_1_imm): Likewise.
9620         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
9621         (_FP_DIV_MEAT_1_udiv): Likewise.
9622         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
9623         (_FP_UNPACK_RAW_2): Likewise.
9624         (_FP_UNPACK_RAW_2_P): Likewise.
9625         (_FP_PACK_RAW_2): Likewise.
9626         (_FP_PACK_RAW_2_P): Likewise.
9627         (_FP_MUL_MEAT_DW_2_wide): Likewise.
9628         (_FP_MUL_MEAT_2_wide): Likewise.
9629         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
9630         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9631         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
9632         (_FP_MUL_MEAT_2_gmp): Likewise.
9633         (_FP_DIV_MEAT_2_udiv): Likewise.
9634         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
9635         (_FP_FRAC_SRL_4): Likewise.
9636         (_FP_FRAC_SRST_4): Likewise.
9637         (_FP_FRAC_SRS_4): Likewise.
9638         (_FP_UNPACK_RAW_4): Likewise.
9639         (_FP_UNPACK_RAW_4_P): Likewise.
9640         (_FP_PACK_RAW_4): Likewise.
9641         (_FP_PACK_RAW_4_P): Likewise.
9642         (_FP_MUL_MEAT_DW_4_wide): Likewise.
9643         (_FP_MUL_MEAT_4_wide): Likewise.
9644         (_FP_MUL_MEAT_4_gmp): Likewise.
9645         (umul_ppppmnnn): Likewise.
9646         (_FP_DIV_MEAT_4_udiv): Likewise.
9647         (__FP_FRAC_ADD_4): Likewise.
9648         (__FP_FRAC_SUB_3): Likewise.
9649         (__FP_FRAC_SUB_4): Likewise.
9650         (__FP_FRAC_DEC_3): Likewise.
9651         (__FP_FRAC_DEC_4): Likewise.
9652         (__FP_FRAC_ADDI_4): Likewise.
9653         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
9654         (_FP_FRAC_SRL_8): Likewise.
9655         (_FP_FRAC_SRS_8): Likewise.
9657         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9658         include macro name.
9659         (FP_UNPACK_RAW_EP): Likewise.
9660         (FP_PACK_RAW_E): Likewise.
9661         (FP_PACK_RAW_EP): Likewise.
9662         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9663         (_FP_ISSIGNAN): Likewise.
9664         (_FP_ADD_INTERNAL): Likewise.
9665         (_FP_FMA): Likewise.
9666         (_FP_CMP): Likewise.
9667         (_FP_SQRT): Likewise.
9668         (_FP_TO_INT): Likewise.
9669         (_FP_FROM_INT): Likewise.
9670         (FP_EXTEND): Likewise.
9671         (_FP_DIV_MEAT_N_loop): Likewise.
9673 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9675         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9676         throughout.
9678 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9680         [BZ #17097]
9681         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9682         result with correct sign in case of exponents that produce
9683         overflow except for X very close to 1.
9685 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9687         mktime: merge #if/#ifdef usage from glibc
9688         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9689         as that works with both Glibc's and Gnulib's style.
9690         See thread starting at Siddhesh Poyarekar's bug report at:
9691         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9693 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9695         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9696         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9697         * sysdeps/tile/tilegx/memmove.c: Remove file.
9699 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9701         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9702         abi-name definition.
9703         * scripts/soversions.awk: Do not handle or generate ABI lines.
9704         * shlib-versions: Remove ABI entries.
9705         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9706         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9708 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9710         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9711         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9712         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9713         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9714         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9715         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9716         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9717         Moved ...
9718         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9719         ... here.
9720         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9721         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9722         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9723         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9724         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9725         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9726         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9727         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9728         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9729         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9730         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9731         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9732         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9733         Moved ...
9734         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9735         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9736         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9737         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9738         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9739         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9740         Moved ...
9741         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9742         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9743         Moved ...
9744         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9745         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9746         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9747         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9748         Moved ...
9749         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9750         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9751         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9752         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9753         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9754         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9755         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9756         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9757         Moved ...
9758         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9759         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9760         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9761         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9762         Moved ...
9763         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9764         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9765         Moved ...
9766         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9767         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9768         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9769         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9770         Moved ...
9771         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9772         ... here.
9773         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9774         Identical file removed.
9775         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9776         Moved ...
9777         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9778         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9779         Identical file removed.
9780         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9781         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9782         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9783         Moved ...
9784         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9785         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9786         Identical file removed.
9787         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9788         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9789         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9790         Identical file removed.
9791         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9792         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9793         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9794         Identical file removed.
9795         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9796         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9797         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9798         Identical file removed.
9799         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9800         Moved ...
9801         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9802         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9803         Identical file removed.
9804         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9805         Moved ...
9806         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9807         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9808         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9809         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9810         Identical file removed.
9811         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9812         Moved ...
9813         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9814         ... here.
9815         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9816         Identical file removed.
9817         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9818         Moved ...
9819         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9821         Identical file removed.
9822         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9823         Moved ...
9824         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9825         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9826         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9827         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9828         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9829         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9830         Moved ...
9831         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9832         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9833         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9835         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9836         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9837         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9838         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9839         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9841 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
9843         [BZ #17092]
9844         * nscd/nscd.c (monitor_child): Return exit status of child
9845         instead of return value from wait syscall.
9847 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9849         * configure.ac (libc_commonpagesize): Remove variable.
9850         (libc_relro_required): Likewise.
9851         (libc_cv_z_relro): Remove configure test.
9852         * configure: Regenerated.
9853         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9854         variable.
9855         (libc_relro_required): Likewise.
9856         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9857         (libc_relro_required): Likewise.
9858         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9859         (libc_relro_required): Likewise.
9860         * sysdeps/arm/preconfigure: Regenerated.
9861         * sysdeps/ia64/preconfigure: Remove file.
9862         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9863         variable.
9864         (libc_relro_required): Likewise.
9866         [BZ #16561]
9867         [BZ #16562]
9868         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9869         (__ieee754_yn): Set FE_TONEAREST mode internally and then
9870         recompute overflowing results in original rounding mode.
9871         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9872         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9873         recompute overflowing results in original rounding mode.
9874         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9875         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9876         recompute overflowing results in original rounding mode.
9877         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9878         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9879         recompute overflowing results in original rounding mode.
9880         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9881         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9882         recompute overflowing results in original rounding mode.
9883         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9884         (libc_feholdsetround_ctx): New macro.
9885         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9886         * sysdeps/i386/fpu/libm-test-ulps: Update.
9887         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9889 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9891         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9892         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9893         corresponding .cpsetup call.
9895 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9897         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9898         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9899         * sysdeps/arm/Makefile [$(subdir) = csu]
9900         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9901         (static-only-routines): Add aeabi_read_tp here.
9902         (shared-only-routines): Add libc-aeabi_read_tp here.
9903         (CFLAGS-libc-start.c): Add -fexceptions here.
9904         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9905         (sysdep_routines, static-only-routines, shared-only-routines):
9906         Don't add to these here.
9907         (CFLAGS-libc-start.c): Likewise.
9909         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9910         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9911         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9912         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9913         * sysdeps/arm/Makefile [$(subdir) = rt]
9914         (librt-sysdep_routines, librt-shared-only-routines):
9915         Append rt-aeabi_unwind_cpp_pr1 here.
9916         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9917         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9918         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9919         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9920         Append nptl-aeabi_unwind_cpp_pr1 here.
9921         (tests): Filter out tst-cleanupx4 here.
9922         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9923         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9924         Don't do those here.
9926 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9928         * scripts/list-sources.sh: Do not handle ports specially.
9930 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9932         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9933         * sysdeps/arm/feupdateenv.c: Likewise.
9935         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9937 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9939         * manual/texinfo.tex: Update to version 2014-05-05.10 with
9940         trailing whitespace removed.
9941         * scripts/config.guess: Update to version 2014-03-23.
9942         * scripts/config.sub: Update to version 2014-05-01
9943         * scripts/install-sh: Update to version 2013-12-25.23.
9944         * scripts/move-if-change: Update from gnulib.
9946 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9948         * debug/memmove_chk.c: Remove pagecopy.h include.
9950 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
9952         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
9953         identical to gnulib mktime.
9955 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9957         * configure.ac: Do not test for machine being rs6000.  Do not test
9958         for powerpc*-*soft.
9959         * configure: Regenerated.
9961         [BZ #11505]
9962         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9963         test.
9964         * configure: Regenerated.
9965         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9966         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9967         Remove configure test.
9968         * sysdeps/arm/configure: Regenerated.
9969         * sysdeps/nptl/configure.ac: Do not check
9970         libc_cv_asm_cfi_directives.
9971         * sysdeps/nptl/configure: Regenerated.
9972         * sysdeps/x86_64/nptl/configure.ac: Remove file.
9973         * sysdeps/x86_64/nptl/configure: Remove generated file.
9974         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9975         unconditional.
9976         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9978 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9980         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9981         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9982         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9983         it is defined.
9985         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9986         instead of whether it is defined.
9987         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9988         * sysdeps/hppa/dl-machine.h: Likewise.
9989         * sysdeps/ia64/dl-machine.h: Likewise.
9990         * sysdeps/m68k/dl-machine.h: Likewise.
9991         * sysdeps/microblaze/dl-machine.h: Likewise.
9992         * sysdeps/mips/dl-machine.: Likewise.
9993         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9994         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9995         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9996         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9997         * sysdeps/sh/dl-machine.h: Likewise.
9998         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9999         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10000         * sysdeps/tile/dl-machine.h: Likewise.
10001         * sysdeps/x86_64/dl-machine.h: Likewise.
10003         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10004         code.
10005         (verify_persistent_db): Likewise.
10007 2014-06-26  Roland McGrath  <roland@hack.frob.com>
10009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10010         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10012         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10013         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10014         Moved ...
10015         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10016         ... here.
10017         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10018         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10020         Identical file removed.
10021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10022         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10023         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10024         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10025         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10026         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10027         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10028         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10029         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10030         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10032         Moved ...
10033         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10035         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10036         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10037         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10038         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10039         Moved ...
10040         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10042         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10044         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10045         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10046         Identical file removed.
10047         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10048         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10049         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10050         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10052         Moved ...
10053         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10054         ... here.
10055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10056         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10057         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10058         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10059         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10060         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10062         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10063         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10064         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10065         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10066         Moved ...
10067         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10068         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10069         Moved ...
10070         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10071         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10072         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10073         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10074         Moved ...
10075         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10076         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10077         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10079         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10080         folded into ...
10081         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10082         * sysdeps/unix/sysv/linux/s390/Versions
10083         (libpthread: GLIBC_2.19): New version set.
10084         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10085         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10086         (librt: GLIBC_2.3.3): New version set.
10087         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10088         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10089         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10090         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10091         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10092         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10093         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10094         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10095         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10096         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10097         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10098         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10099         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10100         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10101         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10102         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10103         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10104         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10105         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10106         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10107         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10108         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10109         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10110         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10111         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10112         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10113         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10114         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10115         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10116         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10117         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10118         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10119         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10120         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10121         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10122         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10123         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10124         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10125         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10126         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10127         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10128         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10129         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10130         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10131         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10133         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10134         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10135         (__libc_vfork): Define the function under this name.
10136         [!NOT_IN_libc] (__vfork): Make this an alias.
10137         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10138         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10139         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10140         (__libc_vfork): Define the function under this name.
10141         [!NOT_IN_libc] (__vfork): Make this an alias.
10142         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10143         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10144         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10145         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10146         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10147         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10149         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10150         code that was previously under [RESET_PID].
10151         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10152         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10153         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10155         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10156         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10157         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10158         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10159         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10160         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10161         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10162         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10163         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10164         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10165         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10166         Moved ...
10167         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10168         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10169         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10170         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10171         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10172         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10173         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10174         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10175         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10176         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10177         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10178         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10179         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10180         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10181         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10182         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10183         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10184         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10185         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10186         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10187         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10188         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10189         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10190         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10191         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10192         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10193         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10194         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10195         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10197 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10199         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10200         that was previously under [RESET_PID].
10201         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10203 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10205         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10206         not undefine and redefine.
10207         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10208         [O_CLOEXEC]: Make code unconditional.
10209         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10210         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10211         <kernel-features.h>.
10212         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10213         conditional variable definition.
10214         (shm_open) [O_CLOEXEC]: Make code unconditional.
10215         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10216         code.
10218         * configure.ac (USE_REGPARMS): Don't define here.
10219         * configure: Regenerated.
10220         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10221         * sysdeps/i386/configure: Regenerated.
10223         * nptl/createthread.c: Don't include kernel-features.h.
10224         * nptl/pthread_cancel.c: Likewise.
10225         * nptl/pthread_condattr_setclock.c: Likewise.
10226         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10227         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10228         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10229         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10230         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10231         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10232         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10233         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10234         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10235         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10236         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10237         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10238         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10239         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10240         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10241         * nscd/gai.c: Likewise.
10242         * nss/nss_db/db-open.c: Likewise.
10243         * sysdeps/generic/ldsodefs.h: Likewise.
10244         * sysdeps/sh/nptl/tls.h: Likewise.
10245         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10246         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10247         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10248         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10249         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10250         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10251         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10252         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10253         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10254         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10255         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10256         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10257         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10258         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10259         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10260         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10261         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10262         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10263         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10264         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10265         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10266         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10267         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10268         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10269         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10270         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10271         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10272         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10273         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10274         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10275         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10276         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10277         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10278         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10279         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10280         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10281         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10282         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10283         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10284         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10285         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10286         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10287         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10288         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10289         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10290         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10291         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10292         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10293         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10294         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10295         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10296         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10297         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10298         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10299         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10300         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10301         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10302         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10325         * sysdeps/unix/sysv/linux/pread.c: Likewise.
10326         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10327         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10328         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10329         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10330         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10331         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10332         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10333         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10334         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10335         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10336         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10337         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10338         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10339         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10340         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10341         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10342         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10343         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10344         * sysdeps/unix/sysv/linux/system.c: Likewise.
10345         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10346         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10347         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10348         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10349         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10350         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10351         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10353         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10354         * configure: Regenerated.
10355         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10357         * configure.ac (base_machine): Do not set specially for particular
10358         machines here.
10359         * configure: Regenerated.
10360         * sysdeps/powerpc/preconfigure: Move machine and base_machine
10361         settings from configure.ac.
10362         * sysdeps/i386/preconfigure: New file.
10363         * sysdeps/s390/preconfigure: Likewise.
10364         * sysdeps/sh/preconfigure: Likewise.
10365         * sysdeps/sparc/preconfigure: Likewise.
10367 2014-06-25  Roland McGrath  <roland@hack.frob.com>
10369         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10370         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10371         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10372         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10373         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10374         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10375         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10376         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10377         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10378         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10379         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10380         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10381         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10382         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10383         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10384         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10385         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10386         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10387         * sysdeps/sparc/sparc64/Makefile: ... appended here.
10389         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10390         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10391         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10392         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10393         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10394         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10395         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10396         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10397         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10398         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10399         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10400         * sysdeps/sparc/sparc32/sem_post.c: ... here.
10401         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10402         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10403         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10404         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10405         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10406         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10407         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10408         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10409         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10410         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10411         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10412         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10413         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10414         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10415         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
10416         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
10417         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
10418         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
10419         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
10420         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
10421         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
10422         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
10423         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
10424         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
10425         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
10426         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
10428         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
10429         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
10430         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
10431         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
10432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
10433         Moved ...
10434         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
10435         ... here.
10436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
10437         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
10438         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
10439         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
10440         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
10441         Moved ...
10442         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
10443         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
10444         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
10445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
10446         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
10447         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
10448         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
10449         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10450         Moved ...
10451         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
10452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
10453         Moved ...
10454         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
10455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
10456         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
10457         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
10458         Moved ...
10459         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
10460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
10461         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
10462         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
10463         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
10464         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
10465         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
10466         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
10467         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
10468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
10469         Moved ...
10470         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
10471         ... here.
10472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
10473         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
10474         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
10475         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
10476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
10477         Moved ...
10478         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
10479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
10480         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
10481         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
10482         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
10483         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
10484         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
10485         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10486         Moved ...
10487         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
10488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
10489         Moved ...
10490         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
10491         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
10492         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
10493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
10494         Moved ...
10495         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
10496         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
10497         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
10498         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
10499         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
10501 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10503         * timezone/checktab.awk: Update from tzcode 2014e.
10504         * timezone/private.h: Likewise.
10505         * timezone/tzfile.h: Likewise.
10506         * timezone/zdump.c: Likewise.
10507         * timezone/zic.c: Likewise.
10509         * sysdeps/unix/sysv/linux/kernel-features.h
10510         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
10511         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
10512         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
10513         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
10514         Remove conditional code.
10516 2014-06-25  Will Newton  <will.newton@linaro.org>
10518         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
10519         (_dl_arm_cap_flags): Add HWCAP2 values.
10520         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
10521         (_DL_HWCAP_COUNT): Increase to 37.
10522         (_DL_HWCAP_LAST): New define.
10523         (_DL_HWCAP2_LAST): New define.
10524         (_dl_procinfo): Add support for printing
10525         AT_HWCAP2 entries.
10526         (_dl_string_hwcap): Use _dl_hwcap_string.
10528 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10532 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
10534         * README: Do not mention ports directory.
10536         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
10537         Remove macro.
10538         * sysdeps/unix/sysv/linux/futimes.c: Do not include
10539         <kernel-features.h>.
10540         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
10541         conditional variable definition.
10542         (__futimes): Update comment.
10543         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
10544         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
10546         [BZ #16560]
10547         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
10548         arguments close to 0.
10549         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
10550         Likewise.
10551         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
10552         Likewise.
10553         * math/auto-libm-test-in: Add more tests of exp10.
10554         * math/auto-libm-test-out: Regenerated.
10555         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10557         * sysdeps/unix/sysv/linux/kernel-features.h
10558         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
10559         * sysdeps/unix/sysv/linux/readv.c: Do not include
10560         <kernel-features.h>.
10561         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10562         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10563         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10564         unconditional.
10565         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10566         conditional code.
10567         * sysdeps/unix/sysv/linux/writev.c: Do not include
10568         <kernel-features.h>.
10569         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
10570         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
10571         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
10572         unconditional.
10573         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
10574         conditional code.
10576 2014-06-25  Will Newton  <will.newton@linaro.org>
10578         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
10579         comment changes throughout the file.  Remove checks
10580         for HAVE_*_H definitions that are not required.
10581         (__gen_tempname): Call abort if an unknown kind value is
10582         passed.
10584 2014-06-25  Andreas Schwab  <schwab@suse.de>
10586         [BZ #17086]
10587         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
10588         scalbln, scalblnf, scalblnl in libc.
10590 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10592         [BZ #17086]
10593         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
10594         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10595         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10597 2014-06-24  Roland McGrath  <roland@hack.frob.com>
10599         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
10600         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
10601         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
10602         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
10603         Update #include.
10604         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
10605         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
10606         Update #include.
10607         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
10608         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
10609         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
10610         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
10611         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
10612         * sysdeps/x86/bits/pthreadtypes.h: ... here.
10613         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
10614         * sysdeps/x86/bits/semaphore.h: ... here.
10615         * sysdeps/x86/nptl/elide.h: Moved ...
10616         * sysdeps/x86/elide.h: ... here.
10617         * sysdeps/x86_64/nptl/Implies: File removed.
10618         * sysdeps/i386/nptl/Implies: File removed.
10620 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
10622         [BZ #16539]
10623         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
10624         return the argument for normal arguments with exponent below -64.
10625         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10626         Likewise.
10627         * math/auto-libm-test-in: Add another test of expm1.
10628         * math/auto-libm-test-out: Regenerated.
10630         [BZ #16287]
10631         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
10632         calling __erfcl for arguments at least 16.
10633         * math/auto-libm-test-in: Add more tests of erf.
10634         * math/auto-libm-test-out: Regenerated.
10636         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
10637         individual architectures.
10638         * sysdeps/unix/sysv/linux/configure: Regenerated.
10639         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
10640         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
10641         * sysdeps/unix/sysv/linux/powerpc/configure.ac
10642         (ldd_rewrite_script): Define variable.
10643         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
10644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
10645         file.
10646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
10647         generated file.
10648         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
10649         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
10650         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
10651         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
10652         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
10653         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
10654         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
10655         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
10657 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10659         [BZ #17084]
10660         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10661         Rename member __data.d to __data.__elision_data.
10663 2014-06-24  Wilco  <wdijkstr@arm.com>
10665         * NEWS: Add 16918 to fixed bug list.
10667 2014-06-24  Wilco  <wdijkstr@arm.com>
10669         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10671 2014-06-24  Wilco  <wdijkstr@arm.com>
10673         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10674         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10675         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10676         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10677         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10678         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10679         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10680         Use _FPU_MASK_RM.
10682 2014-06-24  Wilco  <wdijkstr@arm.com>
10684         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10686 2014-06-24  Wilco  <wdijkstr@arm.com>
10688         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10689         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10690         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10691         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10693 2014-06-24  Wilco  <wdijkstr@arm.com>
10695         [BZ #16918]
10696         * sysdeps/arm/feupdateenv.c (feupdateenv):
10697         Rewrite to reduce FPSCR accesses and fix return value.
10699 2014-06-24  Wilco  <wdijkstr@arm.com>
10701         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10702         Optimize to avoid unnecessary FPSCR writes.
10703         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10704         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10705         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10706         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10708 2014-06-24  Wilco  <wdijkstr@arm.com>
10710         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10711         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10712         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10713         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10714         Call libc_fetestexcept_vfp.
10715         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10716         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10717         __SOFTFP__ ifdef so that they can be built for softfp.
10719 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10721         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10722         argument type signed char.
10724         * Makerules (check-abi): Dump diff of symlist if the test
10725         fails.
10727 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10729         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10730         using abort.
10732         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10733         Remove unused variable ST.
10735 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10737         [BZ #16354]
10738         [BZ #17061]
10739         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10740         small arguments before calling __expm1.
10741         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10742         small arguments before calling __expm1f.
10743         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10744         small arguments before calling __expm1l.
10745         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10746         Likewise.
10747         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10748         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10749         spurious underflow for some cosh tests.
10750         * math/auto-libm-test-out: Regenerated.
10751         * sysdeps/i386/fpu/libm-test-ulps: Update.
10753         [BZ #17050]
10754         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10755         (__ieee754_y1): Set errno if return value overflows.
10756         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10757         (__ieee754_y1f): Set errno if return value overflows.
10758         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10759         (__ieee754_y1l): Set errno if return value overflows.
10760         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10761         (__ieee754_y1l): Set errno if return value overflows.
10762         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10763         * math/auto-libm-test-out: Regenerated.
10765         * math/gen-auto-libm-tests.c: Document use of
10766         ignore-zero-inf-sign.
10767         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10768         (input_flags): Add ignore-zero-inf-sign.
10769         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10770         * math/gen-libm-test.pl (generate_testfile): Handle
10771         ignore-zero-inf-sign.
10772         * math/auto-libm-test-in: Mark some cpow tests with
10773         ignore-zero-inf-sign and some with xfail-rounding.
10774         * math/auto-libm-test-out: Regenerated.
10775         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10776         * sysdeps/i386/fpu/libm-test-ulps: Update.
10777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10779         [BZ #16315]
10780         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10781         overflowing or underflowing operations take place with sign of
10782         result.
10783         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10784         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10785         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10786         (__ieee754_pow): Recompute overflowing and underflowing results in
10787         original rounding mode.
10788         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10789         (__powl_helper): Allow negative argument X and scale negated value
10790         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10791         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10792         overflowing or underflowing operations take place with sign of
10793         result.
10794         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10795         Include <math.h>.
10796         * math/auto-libm-test-in: Add more tests of pow.
10797         * math/auto-libm-test-out: Regenerated.
10798         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10799         (pow_tonearest_test_data): Remove.
10800         (pow_test_tonearest): Likewise.
10801         (pow_towardzero_test_data): Likewise.
10802         (pow_test_towardzero): Likewise.
10803         (pow_downward_test_data): Likewise.
10804         (pow_test_downward): Likewise.
10805         (pow_upward_test_data): Likewise.
10806         (pow_test_upward): Likewise.
10807         (main): Don't call removed functions.
10808         * sysdeps/i386/fpu/libm-test-ulps: Update.
10809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10811 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10814         Moved ...
10815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10817         Moved ...
10818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10820         Moved ...
10821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10823         Moved ...
10824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10826         File removed.
10827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10828         File removed.
10829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10830         File removed.
10831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10832         File removed.
10833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10834         File removed.
10835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10836         File removed.
10837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10838         File removed.
10839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10840         File removed.
10841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10842         File removed.
10843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10844         File removed.
10845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10846         File removed.
10847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10848         File removed.
10849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10850         Moved ...
10851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10853         Moved ...
10854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10855         ... here.
10856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10857         Moved ...
10858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10860         Moved ...
10861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10863         Moved ...
10864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10866         Moved ...
10867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10869         Moved ...
10870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10872         Moved ...
10873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10875         Moved ...
10876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10879         ... here.
10880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10881         Moved ...
10882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10884         Moved ...
10885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10886         ... here.
10887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10888         Moved ...
10889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10890         ... here.
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10892         Moved ...
10893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10894         ... here.
10895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10896         Moved ...
10897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10899         Moved ...
10900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10904         Moved ...
10905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10906         ... here.
10907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10908         Moved ...
10909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10910         ... here.
10911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10912         Moved ...
10913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10915         Moved ...
10916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10918         Moved ...
10919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10921         Moved ...
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10924         Moved ...
10925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10926         ... here.
10927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10928         Moved ...
10929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10931         Moved ...
10932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10934         Moved ...
10935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10937         Moved ...
10938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10942         Moved ...
10943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10945         Moved ...
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10948         Moved ...
10949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10950         ... here.
10951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10952         Moved ...
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10954         ... here.
10955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10956         Moved ...
10957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10958         ... here.
10959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10960         Moved ...
10961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10963         Moved ...
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10966         Moved ...
10967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10969         Moved ...
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10971         ... here.
10972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10973         Moved ...
10974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10975         ... here.
10976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10977         Moved ...
10978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10979         ... here.
10980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10981         Moved ...
10982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10984         Moved ...
10985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10987 2014-06-23  Will Newton  <will.newton@linaro.org>
10988             Wilco  <wdijkstr@arm.com>
10990         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10991         implementation.  Include get-rounding-mode.h.
10992         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10993         [!libc_feholdsetround_noex_ctx]: Define
10994         libc_feholdsetround_noex_ctx.
10995         [!libc_feholdsetround_noexf_ctx]: Define
10996         libc_feholdsetround_noexf_ctx.
10997         [!libc_feholdsetround_noexl_ctx]: Define
10998         libc_feholdsetround_noexl_ctx.
10999         (libc_feholdsetround_ctx): New function.
11000         (libc_feresetround_ctx): New function.
11001         (libc_feholdsetround_noex_ctx): New function.
11002         (libc_feresetround_noex_ctx): New function.
11004 2014-06-23  Roland McGrath  <roland@hack.frob.com>
11006         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11007         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11008         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11009         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11010         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11011         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11013         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11014         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11015         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11016         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11017         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11018         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11019         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11020         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11021         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11022         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11023         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11024         Moved ...
11025         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11026         ... here.
11027         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11028         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11029         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11030         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11031         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11032         Moved ...
11033         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11034         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11035         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11036         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11037         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11038         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11039         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11040         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11041         Moved ...
11042         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11043         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11044         Moved ...
11045         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11046         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11047         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11048         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11049         Moved ...
11050         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11051         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11052         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11053         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11054         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11055         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11056         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11057         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11058         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11059         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11060         Moved ...
11061         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11062         ... here.
11063         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11064         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11065         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11066         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11067         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11068         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11069         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11070         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11071         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11072         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11073         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11074         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11075         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11076         Moved ...
11077         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11078         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11079         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11080         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11081         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11082         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11083         Moved ...
11084         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11085         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11086         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11087         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11088         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11090         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11091         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11092         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11093         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11094         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11095         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11096         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11097         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11098         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11099         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11100         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11101         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11102         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11103         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11104         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11105         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11106         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11107         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11108         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11109         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11110         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11111         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11112         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11113         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11114         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11115         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11116         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11117         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11119 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
11121         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11122         (FALLOC_FL_COLLAPSE_RANGE): New macro.
11123         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11124         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11125         (IPV6_PMTUDISC_INTERFACE): Likewise.
11126         (IPV6_PMTUDISC_OMIT): Likewise.
11128 2014-06-23  Andreas Schwab  <schwab@suse.de>
11130         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11131         Remove unused errout label.
11133 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11135         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11136         macro: hardware supports Vector Crypto instructions.
11138 2014-06-23  Will Newton  <will.newton@linaro.org>
11140         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11141         rather than __builtin_expect.
11143         * elf/dl-lookup.c (undefined_msg): Remove variable.
11144         (_dl_lookup_symbol_x): Replace undefined_msg with string
11145         literal.
11147         * elf/dl-lookup.c (do_lookup_unique): New function.
11148         (do_lookup_x): Move STB_GNU_UNIQUE handling code
11149         to a separate function.
11151 2014-06-23  Andreas Schwab  <schwab@suse.de>
11153         [BZ #17079]
11154         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11155         before reading the next line.
11157 2014-06-23  Will Newton  <will.newton@linaro.org>
11159         * test-skeleton.c (signal_handler): Use printf and %m
11160         rather than perror.  Use printf rather than fprintf to
11161         stderr.  Use puts rather than fputs to stderr.
11162         (main): Likewise.
11164 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
11166         * nscd/nscd.c (thread_info_t): Remove typedef.
11167         (thread_info): Remove variable.
11169 2014-06-21  Allan McRae  <allan@archlinux.org>
11171         * NEWS: Mention CVE-2014-4043.
11173 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11175         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11176         * nptl/smp.h: ... here.
11178         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11180         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11181         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11182         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11183         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11185         * nptl/allocatestack.c: Include <stack-aliasing.h>.
11186         * nptl/stack-aliasing.h: New file.
11187         * sysdeps/i386/i686/stack-aliasing.h: New file.
11188         * sysdeps/i386/i686/nptl/Makefile: File removed.
11189         * sysdeps/x86_64/stack-aliasing.h: New file.
11190         * sysdeps/x86_64/nptl/Makefile
11191         (CFLAGS-pthread_create.c): Variable removed.
11193         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11194         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11195         old file.
11196         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11197         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11198         old file.
11200 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
11202         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11203         (__ASSUME_SIGFRAME_V2): Remove macro.
11204         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11205         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11206         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11207         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11208         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11209         Declare as function.  Remove conditional macro definitions.
11210         (__default_rt_sa_restorer): Likewise.
11211         (__default_sa_restorer_v1): Remove declaration.
11212         (__default_sa_restorer_v2): Likewise.
11213         (__default_rt_sa_restorer_v1): Likewise.
11214         (__default_rt_sa_restorer_v2): Likewise.
11215         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11216         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11217         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11219 2014-06-20  Roland McGrath  <roland@hack.frob.com>
11221         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11222         (libpthread-routines): Add sysdep.
11223         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11224         * sysdeps/unix/sysv/linux/sparc/Versions
11225         (libpthread: GLIBC_2.3.3): New version set.
11226         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11227         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11228         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11229         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11230         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
11231         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11232         Moved ...
11233         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11234         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11235         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11236         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11237         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11238         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11239         * sysdeps/sparc/nptl/sem_init.c: ... here.
11240         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11241         * sysdeps/sparc/nptl/sem_post.c: ... here.
11242         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11243         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11244         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11245         * sysdeps/sparc/nptl/sem_wait.c: ... here.
11246         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11247         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11248         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11249         (libpthread-routines): Add cpu_relax.
11250         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11251         File removed.
11252         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11253         (librt: GLIBC_2.3.3): New version set.
11254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11255         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11256         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11257         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11260         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11262         Moved ...
11263         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11265         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11266         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11267         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11268         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11269         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11270         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11271         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11272         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11273         Moved ...
11274         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11275         Update #include.
11276         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11277         Moved ...
11278         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11279         Update #include.
11280         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11281         Moved ...
11282         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11283         Update #include.
11284         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11285         Moved ...
11286         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11287         Update #include.
11288         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11289         Moved ...
11290         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11291         Update #include.
11292         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11293         Moved ...
11294         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11295         Update #include.
11296         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11297         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11298         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11299         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11300         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11301         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11302         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11303         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11304         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11305         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11306         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11307         Moved ...
11308         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11310         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11311         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11312         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11314 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11316         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11317         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11318         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11319         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11320         * nscd/nscd.c: Likewise.
11321         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11322         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11323         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11324         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11326         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11327         <kernel-features.h>.
11328         (init_mq_netlink): Remove conditional have_sock_cloexec
11329         definitions.  Remove code conditional on have_sock_cloexec < 0.
11330         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11331         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11332         * sysdeps/unix/sysv/linux/opensock.c: Do not include
11333         <kernel-features.h>.
11334         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11335         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11337 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11339         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11340         Add tests for memset_chk and memset.
11342         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11343         with AVX2_Usable.
11345 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11347         [BZ #16046]
11348         * elf/tst-dl-iter-static.c: New file.
11349         * elf/Makefile (tests-static): Add tst-dl-iter-static.
11351         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11352         error.
11354 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11356         * sysdeps/unix/sysv/linux/kernel-features.h
11357         (__ASSUME_F_GETOWN_EX): Remove macro.
11358         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11359         <kernel-features.h>.
11360         (miss_F_GETOWN_EX): Remove variable or macro.
11361         (do_fcntl): Do not check miss_F_GETOWN_EX.
11362         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11364         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11365         Remove macro.
11366         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11367         [!__ASSUME_AT_RANDOM]: Remove conditional code.
11368         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11370         * sysdeps/unix/sysv/linux/kernel-features.h
11371         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11372         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11373         [ADJ_OFFSET_SS_READ]: Make code unconditional.
11374         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11376 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
11378         [BZ #17075]
11379         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11380         Fix calculation of the symbol's value.
11381         * sysdeps/arm/tst-armtlsdescloc.c: New file.
11382         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11383         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11384         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11385         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11386         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11387         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11388         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11389         (modules-names): Add `tst-armtlsdescmod',
11390         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11391         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11392         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11393         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11394         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11395         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11396         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11397         ($(objpfx)tst-armtlsdescloc): New dependency.
11398         ($(objpfx)tst-armtlsdescextnow): Likewise.
11399         ($(objpfx)tst-armtlsdescextlazy): Likewise.
11400         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11401         TLS scheme support.
11402         * sysdeps/arm/configure: Regenerate.
11404 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
11406         * include/fcntl.h (__atfct_seterrno): Remove prototype.
11407         (__atfct_seterrno_2): Likewise.
11408         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11409         <kernel-features.h>.
11410         (__ASSUME_ATFCTS): Do not undefine and redefine.
11411         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11412         (__have_atfcts): Remove conditional definition.
11413         (__fxstatat([__NR_fstatat64]: Make code unconditional.
11414         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11415         unreachable if [__ASSUME_ATFCTS].
11416         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
11417         not undefine and redefine.
11418         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
11419         <kernel-features.h>.
11420         (faccessat) [__NR_faccessat]: Make code unconditional.
11421         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
11422         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
11423         <kernel-features.h>.
11424         (fchmodat) [__NR_fchmodat]: Make code unconditional.
11425         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11426         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
11427         <kernel-features.h>.
11428         (fchownat) [__NR_fchownat]: Make code unconditional.
11429         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
11430         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
11431         <kernel-features.h>.
11432         (futimesat) [__NR_futimesat]: Make code unconditional.
11433         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
11434         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11435         <kernel-features.h>.
11436         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11437         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11438         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11439         <kernel-features.h>.
11440         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
11441         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11442         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
11443         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11444         <kernel-features.h>.
11445         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
11446         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11447         * sysdeps/unix/sysv/linux/linkat.c: Do not include
11448         <kernel-features.h>.
11449         (linkat) [__NR_linkat]: Make code unconditional.
11450         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11451         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
11452         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
11453         <kernel-features.h>.
11454         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
11455         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
11456         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
11457         <kernel-features.h>.
11458         (mkdirat) [__NR_mkdirat]: Make code unconditional.
11459         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
11460         * sysdeps/unix/sysv/linux/openat.c: Do not include
11461         <kernel-features.h>.
11462         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
11463         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
11464         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
11465         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
11466         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
11467         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
11468         <kernel-features.h>.
11469         (readlinkat) [__NR_readlinkat]: Make code unconditional.
11470         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
11471         result of INLINE_SYSCALL directly, not via int variable.
11472         * sysdeps/unix/sysv/linux/renameat.c: Do not include
11473         <kernel-features.h>.
11474         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
11475         (renameat) [__NR_renameat]: Make code unconditional.
11476         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
11477         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
11478         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
11479         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
11480         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
11481         (__ASSUME_ATFCTS): Do not undefine and redefine.
11482         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
11483         <kernel-features.h>.
11484         (symlinkat) [__NR_symlinkat]: Make code unconditional.
11485         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11486         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
11487         <kernel-features.h>.
11488         (unlinkat) [__NR_unlinkat]: Make code unconditional.
11489         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
11490         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
11491         (__ASSUME_ATFCTS): Do not undefine and redefine.
11492         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11493         <kernel-features.h>.
11494         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
11495         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
11496         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11497         <kernel-features.h>.
11498         (__xmknodat) [__NR_mknodat]: Make code unconditional.
11499         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
11501 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
11503         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
11505 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
11507         [BZ #17069]
11508         * posix/regcomp.c (parse_reg_exp): Deallocate partially
11509         constructed tree before returning error.
11510         * posix/bug-regexp36.c: Expand test case.
11512 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11514         [BZ #6803]
11515         * math/libm-test.inc (scalbln_test_date):
11516         Add errno expectations.
11517         * math/w_scalblnf.c: New File.
11518         Add wrapper which checks for setting errno to ERANGE.
11519         Add weak_alias for corresponding scalbln function.
11520         * math/w_scalbln.c: Likewise.
11521         * math/w_scalblnl.c: Likewise.
11522         * math/Makefile (libm-calls): Add w_scalbln.
11523         * sysdeps/ieee754/flt-32/s_scalblnf.c:
11524         Remove weak_alias for corresponding scalbln function.
11525         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
11526         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
11527         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
11528         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11529         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
11530         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11531         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
11532         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11533         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
11534         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
11535         Remove long_double_symbol for scalblnl function in libm, libc.
11536         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
11537         Add wrapper which checks for setting errno to ERANGE.
11538         Add long_double_symbol for scalblnl function in libm, libc.
11539         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
11540         Remove long_double_symbol for scalblnl in libm.
11541         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
11542         Add wrapper which checks for setting errno to ERANGE.
11543         Add long_double_symbol for scalblnl function in libm.
11544         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
11545         Do not use wrapper because of own implementation.
11547 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
11549         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
11550         3 bytes for __pad1 for x32.
11551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
11553 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
11554             H.J. Lu  <hongjiu.lu@intel.com>
11556         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
11557         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
11558         * sysdeps/x86_64/multiarch/memset.S: Likewise.
11559         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11560         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11562 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
11564         [BZ #17069]
11565         * posix/regcomp.c (parse_expression): Deallocate partially
11566         constructed tree before returning error.
11567         * posix/Makefile.c (tests): Add bug-regex36.
11568         (generated): Add bug-regex36.mtrace.
11569         (tests-special): Add $(objpfx)bug-regex36-mem.out
11570         (bug-regex36-ENV): New variable.
11571         ($(objpfx)bug-regex36-mem.out): New rule.
11572         * posix/bug-regex36.c: New file.
11574 2014-06-19  Will Newton  <will.newton@linaro.org>
11576         * malloc/malloc.c (systrim): If extra is zero then return
11577         early.
11579 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11581         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
11583 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
11585         * sysdeps/aarch64/strchr.S: New file.
11587 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11589         [BZ #17022]
11590         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
11591         from arguments -2 or below.
11592         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11593         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
11595 2014-06-18  Andreas Schwab  <schwab@suse.de>
11597         [BZ #17062]
11598         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
11599         of a bracket expr not to run off the end of the string.
11600         * posix/Makefile (tests): Add tst-fnmatch3.
11601         * posix/tst-fnmatch3.c: New file.
11603 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
11605         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
11606         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11607         [$(cross-compiling) = no]: Likewise.
11608         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11609         [$(cross-compiling) = no]: Likewise.
11611 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11613         [BZ #17031]
11614         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
11615         double, adjusted for any remainder from the high double.
11616         * math/libm-test.inc (nearbyint): Add tests.
11617         (rint): Likewise.
11619 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11621         * nptl/sysdeps/powerpc/Makefile: Moved ...
11622         * sysdeps/powerpc/nptl/Makefile: ... here.
11623         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
11624         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
11625         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
11626         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
11627         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
11628         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
11629         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
11630         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
11631         * nptl/sysdeps/powerpc/tls.h: Moved ...
11632         * sysdeps/powerpc/nptl/tls.h: ... here.
11634 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
11636         [BZ #16681]
11637         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
11638         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
11639         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
11640         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
11641         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
11642         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
11643         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
11644         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
11645         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
11647 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
11649         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11651 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
11653         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
11654         defined operator.
11656         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
11657         $TIMEOUTFACTOR.
11659 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11661         [BZ #17058]
11662         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11663         non-executed part of the test.
11665 2014-06-16  Andreas Schwab  <schwab@suse.de>
11667         * string/bits/string2.h (strdup, strndup): Update feature guard.
11669 2014-06-14  David S. Miller  <davem@davemloft.net>
11671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11673 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11675         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11676         that was previously under [RESET_PID].
11677         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11679         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11680         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11681         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11682         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11683         (__libc_vfork): New strong alias.
11684         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11686 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11688         * sysdeps/generic/elide.h: New file.
11690 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11692         * Makefile (installed-headers): Adjust path of pthread.h header.
11694 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11696         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11697         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11698         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11699         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11701         * nptl/sysdeps/s390/Makefile: Moved ...
11702         * sysdeps/s390/nptl/Makefile: ... here.
11703         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11704         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11705         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11706         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11707         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11708         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11709         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11710         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11711         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11712         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11713         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11714         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11715         * nptl/sysdeps/s390/tls.h: Moved ...
11716         * sysdeps/s390/nptl/tls.h: ... here.
11718         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11719         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11721 2014-06-13  David S. Miller  <davem@davemloft.net>
11723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11724         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11726         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11728         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11730         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11731         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11732         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11733         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11734         Remove RESET_PID cpp guards.
11735         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11736         Remove RESET_PID cpp guards.
11737         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11739 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11741         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11742         __sp to uintptr_t.
11744 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11746         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11747         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11748         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11749         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11750         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11751         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11752         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11753         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11754         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11755         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11756         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11757         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11758         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11759         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11760         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11761         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11762         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11763         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11764         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11765         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11767         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11768         (pthread_rwlock_rdlock): Add elision.
11769         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11770         (pthread_rwlock_wrlock): Add elision.
11771         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11772         (pthread_rwlock_trywrlock): Add elision.
11773         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11774         (pthread_rwlock_tryrdlock): Add elision.
11775         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11776         (pthread_rwlock_tryrdlock): Add elision unlock.
11777         * nptl/sysdeps/pthread/pthread.h:
11778         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11779         (PTHREAD_RWLOCK_INITIALIZER,
11780         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11781         Handle new elision field.
11782         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11783         * sysdeps/arm/nptl/bits/pthreadtypes.h
11784         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11785         * sysdeps/sh/nptl/bits/pthreadtypes.h
11786         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11787         * sysdeps/tile/nptl/bits/pthreadtypes.h
11788         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11789         * sysdeps/a/nptl/bits/pthreadtypes.h
11790         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11791         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11792         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11793         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11794         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11795         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11796         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11797         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11798         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11799         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11800         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11801         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11802         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11803         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11804         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11805         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11806         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11807         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11808         (elision_init): Set try_xbegin to zero when no RTM.
11809         * sysdeps/x86/nptl/bits/pthreadtypes.h
11810         (pthread_rwlock_t): Change __pad1 to __rwelision.
11811         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11813 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11815         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11816         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11817         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11818         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11820 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11822         [BZ #16996]
11823         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11824         that the cached result has been set before returning it.
11826 2014-06-12  Roland McGrath  <roland@hack.frob.com>
11828         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11829         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11830         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11831         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11832         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11833         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11835         * nptl/sysdeps/sparc/Makefile: Moved ...
11836         * sysdeps/sparc/nptl/Makefile: ... here.
11837         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11838         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11839         * nptl/sysdeps/sparc/tls.h: Moved ...
11840         * sysdeps/sparc/nptl/tls.h: ... here.
11841         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11842         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11843         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11844         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11845         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11846         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11847         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11848         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11849         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11850         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11851         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11852         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11853         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11854         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11855         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11856         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11857         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11858         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11859         Update #include.
11860         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11861         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11862         Update #include.
11863         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11864         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11865         Update #include.
11866         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11867         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11868         Update #include.
11870         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11872         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11873         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11875         * sysdeps/pthread/posix-timer.h: Include <list.h>.
11876         (struct list_links): Type removed.
11877         (struct thread_node, struct timer_node): Replace struct list_links
11878         with struct list_head.
11879         (list_unlink_ip): Likewise.
11880         * sysdeps/pthread/timer_routines.c
11881         (timer_free_list, thread_free_list, thread_active_list): Likewise.
11882         (list_append, list_insbefore): Likewise.
11883         (list_init): Function removed.
11884         (thread_init, init_module): Use INIT_LIST_HEAD instead.
11885         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11886         * sysdeps/pthread/Makefile: ... here, new file.
11888         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11889         * sysdeps/nptl/Implies: ... here.
11890         * sysdeps/unix/sysv/linux/Implies: Add nptl.
11891         * nptl/sysdeps/pthread/list.h: Moved ...
11892         * include/list.h: ... here.
11893         * nptl/sysdeps/pthread/createthread.c: Moved ...
11894         * nptl/createthread.c: ... here.
11895         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11896         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11897         * nptl/pt-longjmp.c: ... here.
11898         * nptl/sysdeps/pthread/Makefile: Moved ...
11899         * sysdeps/nptl/Makefile: ... here.
11900         * nptl/sysdeps/pthread/Subdirs: Moved ...
11901         * sysdeps/nptl/Subdirs: ... here.
11902         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11903         * sysdeps/nptl/aio_misc.h: ... here.
11904         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11905         * sysdeps/nptl/bits/libc-lock.h: ... here.
11906         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11907         * sysdeps/nptl/bits/libc-lockP.h: ... here.
11908         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11909         * sysdeps/nptl/bits/stdio-lock.h: ... here.
11910         * nptl/sysdeps/pthread/configure: Moved ...
11911         * sysdeps/nptl/configure: ... here.
11912         * nptl/sysdeps/pthread/configure.ac: Moved ...
11913         * sysdeps/nptl/configure.ac: ... here.
11914         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11915         * sysdeps/nptl/gai_misc.h: ... here.
11916         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11917         * sysdeps/nptl/librt-cancellation.c: ... here.
11918         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11919         * sysdeps/nptl/malloc-machine.h: ... here.
11920         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11921         * sysdeps/nptl/pthread-functions.h: ... here.
11922         * nptl/sysdeps/pthread/pthread.h: Moved ...
11923         * sysdeps/nptl/pthread.h: ... here.
11924         * nptl/sysdeps/pthread/setxid.h: Moved ...
11925         * sysdeps/nptl/setxid.h: ... here.
11926         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11927         * sysdeps/nptl/sigfillset.c: ... here.
11928         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11929         * sysdeps/nptl/tcb-offsets.h: ... here.
11930         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11931         * sysdeps/nptl/tst-mqueue8x.c: ... here.
11932         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11933         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11934         * nptl/sysdeps/pthread/allocalim.h: Moved ...
11935         * sysdeps/pthread/allocalim.h: ... here.
11936         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11937         * sysdeps/pthread/bits/sigthread.h: ... here.
11938         * nptl/sysdeps/pthread/flockfile.c: Moved ...
11939         * sysdeps/pthread/flockfile.c: ... here.
11940         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11941         * sysdeps/pthread/ftrylockfile.c: ... here.
11942         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11943         * sysdeps/pthread/funlockfile.c: ... here.
11944         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11945         * sysdeps/pthread/posix-timer.h: ... here.
11946         * nptl/sysdeps/pthread/timer_create.c: Moved ...
11947         * sysdeps/pthread/timer_create.c: ... here.
11948         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11949         * sysdeps/pthread/timer_delete.c: ... here.
11950         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11951         * sysdeps/pthread/timer_getoverr.c: ... here.
11952         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11953         * sysdeps/pthread/timer_gettime.c: ... here.
11954         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11955         * sysdeps/pthread/timer_routines.c: ... here.
11956         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11957         * sysdeps/pthread/timer_settime.c: ... here.
11958         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11959         * sysdeps/pthread/tst-timer.c: ... here.
11960         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11961         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11963         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11964         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11966         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11967         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11968         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11969         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11970         Update #include target.
11971         * nptl/sysdeps/i386/i686/Makefile: Moved ...
11972         * sysdeps/i386/i686/nptl/Makefile: ... here.
11973         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11974         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11975         Update #include target.
11976         * nptl/sysdeps/i386/i686/tls.h: Moved ...
11977         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
11978         * nptl/sysdeps/i386/Makefile: Moved ...
11979         * sysdeps/i386/nptl/Makefile: ... here.
11980         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11981         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11982         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11983         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11984         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11985         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11986         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11987         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11988         * sysdeps/i386/nptl/pthreaddef.h: ... here.
11989         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11990         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11991         * nptl/sysdeps/i386/tls.h: Moved ...
11992         * sysdeps/i386/nptl/tls.h: ... here.
11994         * sysdeps/sh/Makefile [$(subdir) = csu]
11995         (gen-as-const-headers): Add tcb-offsets.sym.
11996         * nptl/sysdeps/sh/Makefile: File removed.
11997         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11998         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11999         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12000         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12001         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12002         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12003         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12004         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12005         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12006         * sysdeps/sh/nptl/pthreaddef.h: ... here.
12007         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12008         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12009         * nptl/sysdeps/sh/tls.h: Moved ...
12010         * sysdeps/sh/nptl/tls.h: ... here.
12011         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12012         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12013         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12014         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12015         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12016         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12017         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12018         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12019         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12020         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12021         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12022         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12023         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12024         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12025         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12026         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12027         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12028         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12029         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12030         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12031         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12032         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12033         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12034         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12035         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12036         Moved ...
12037         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12038         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12039         Moved ...
12040         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12041         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12042         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12043         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12044         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12045         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12046         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12047         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12048         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12049         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12050         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12051         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12052         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12053         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12054         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12055         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12056         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12057         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12058         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12060 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
12062         * posix/spawn_faction_addopen.c: Include string.h.
12064 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12066         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12067         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12068         * nptl/sysdeps/x86_64/Makefile: Moved ...
12069         * sysdeps/x86_64/nptl/Makefile: ... here.
12070         * nptl/sysdeps/x86_64/configure: Moved ...
12071         * sysdeps/x86_64/nptl/configure: ... here.
12072         * nptl/sysdeps/x86_64/configure.ac: Moved ...
12073         * sysdeps/x86_64/nptl/configure.ac: ... here.
12074         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12075         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12076         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12077         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12078         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12079         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12080         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12081         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12082         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12083         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12084         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12085         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12086         * nptl/sysdeps/x86_64/tls.h: Moved ...
12087         * sysdeps/x86_64/nptl/tls.h: ... here.
12088         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12089         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12090         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12091         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12093         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12095 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12097         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12099 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
12101         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12102         type.
12103         [POSIX] (off_t): Likewise.
12104         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12105         [POSIX] (S_ISBLK): Require macro.
12106         [POSIX] (S_ISCHR): Likewise.
12107         [POSIX] (S_ISDIR): Likewise.
12108         [POSIX] (S_ISFIFO): Likewise.
12109         [POSIX] (S_ISREG): Likewise.
12110         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12111         optional-macro.
12112         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12113         type.
12114         [POSIX] (time_t): Likewise.
12115         [POSIX] (timer_t): Likewise.
12117 2014-06-11  Florian Weimer  <fweimer@redhat.com>
12119         [BZ #17048]
12120         * posix/spawn_int.h (struct __spawn_action): Make the path string
12121         non-const to support deallocation.
12122         * posix/spawn_faction_addopen.c
12123         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12124         * posix/spawn_faction_destroy.c
12125         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
12126         path in all spawn_do_open actions.
12127         * posix/tst-spawn.c (do_test): Exercise the copy operation in
12128         posix_spawn_file_actions_addopen.
12130 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
12132         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12133         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12134         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12135         conditional code always true.
12136         (__libc_vfork): New alias.
12138 2014-06-11  Roland McGrath  <roland@hack.frob.com>
12140         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12141         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12143         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12145         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12146         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12148         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12149         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12151         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12152         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12154 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12156         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12157         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12158         multiarch strcmp for PPC64.
12159         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12160         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12162         multiarch optimizations.
12163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12164         (__libc_ifunc_impl_list): Likewise.
12166 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12168         * benchtests/scripts/validate_benchout.py: New script.
12169         * benchtests/Makefile (bench-func): Call it.
12170         * benchtests/scripts/benchout.schema.json: New file.
12172 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
12174         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12175         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12176         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12177         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12178         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12179         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12180         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12181         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12182         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12183         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12184         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12185         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12186         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12187         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12188         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12189         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
12191         Moved ...
12192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
12193         ... here.
12194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
12195         Moved ...
12196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
12198         Moved ...
12199         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
12200         ... here.
12201         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
12202         Moved ...
12203         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
12204         ... here.
12205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
12206         Moved ...
12207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
12209         Moved ...
12210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
12211         ... here.
12212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
12213         Moved ...
12214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
12215         ... here.
12216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
12217         Moved ...
12218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12219         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
12220         Moved ...
12221         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
12222         ... here.
12223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
12224         Moved ...
12225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
12226         ... here.
12227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
12228         Moved ...
12229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
12230         ... here.
12231         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
12232         Moved ...
12233         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12234         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
12235         Moved ...
12236         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
12237         ... here.
12238         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
12239         Moved ...
12240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
12241         ... here.
12242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
12243         Moved ...
12244         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
12245         ... here.
12246         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
12247         Moved ...
12248         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
12250         Moved ...
12251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
12252         ... here.
12253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
12254         Moved ...
12255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
12256         ... here.
12257         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
12258         Moved ...
12259         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
12261         Moved ...
12262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
12263         ... here.
12264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
12265         Moved ...
12266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
12268         Moved ...
12269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12270         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
12271         Moved ...
12272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
12273         ... here.
12274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
12275         Moved ...
12276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
12277         ... here.
12278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
12279         Moved ...
12280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
12281         ... here.
12282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
12283         Moved ...
12284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
12286         Moved ...
12287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
12288         ... here.
12289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
12290         Moved ...
12291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
12292         ... here.
12293         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12294         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12295         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12296         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12297         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
12298         Moved ...
12299         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
12300         ... here.
12301         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12302         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12303         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12304         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12305         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12306         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12307         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12308         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12309         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12310         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12311         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12312         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12313         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
12314         Moved ...
12315         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12316         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
12317         Moved ...
12318         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12319         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12320         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12321         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
12322         Moved ...
12323         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12324         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12325         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12326         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12327         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12328         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12329         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
12331 2014-06-10  Wilco  <wdijkstr@arm.com>
12333         * math/test-fenv-return.c: New file.
12334         * math/Makefile: Add new test test-fenv-return.
12336 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
12338         [BZ #17042]
12339         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12340         when x - 1 is zero.
12341         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12342         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12343         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12344         0.0L for an argument of 1.0L.
12345         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12346         Likewise.
12347         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12348         value when x - 1 is zero.
12349         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12350         * sysdeps/i386/fpu/libm-test-ulps: Update.
12351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12353 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
12355         [BZ #15119]
12356         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12358 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12360         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12361         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12363 2014-06-09  Roland McGrath  <roland@hack.frob.com>
12365         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12366         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12368         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12369         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12371         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12372         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12374         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12375         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12377         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12378         if not already defined.
12379         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12380         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12381         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12382         (TLS_INIT_TP): Use it.
12383         (TLS_DEFINE_INIT_TP): New macro.
12384         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12386 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
12388         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12389         constant.
12390         [POSIX] (IXANY): Likewise.
12391         [POSIX] (OLCUC): Likewise.
12392         [POSIX || POSIX2008] (CBAUD): Do not allow.
12393         [POSIX || POSIX2008] (DEFECHO): Likewise.
12394         [POSIX || POSIX2008] (ECHOCTL): Likewise.
12395         [POSIX || POSIX2008] (ECHOKE): Likewise.
12396         [POSIX || POSIX2008] (ECHOPRT): Likewise.
12397         [POSIX || POSIX2008] (EXTA): Likewise.
12398         [POSIX || POSIX2008] (EXTB): Likewise.
12399         [POSIX || POSIX2008] (FLUSHO): Likewise.
12400         [POSIX || POSIX2008] (LOBLK): Likewise.
12401         [POSIX || POSIX2008] (PENDIN): Likewise.
12402         [POSIX || POSIX2008] (SWTCH): Likewise.
12403         [POSIX || POSIX2008] (VDISCARD): Likewise.
12404         [POSIX || POSIX2008] (VDSUSP): Likewise.
12405         [POSIX || POSIX2008] (VLNEXT): Likewise.
12406         [POSIX || POSIX2008] (VREPRINT): Likewise.
12407         [POSIX || POSIX2008] (VSTATUS): Likewise.
12408         [POSIX || POSIX2008] (VWERASE): Likewise.
12409         (B*): Change to B[0123456789]*.
12410         * conform/data/time.h-data [POSIX || UNIX98]
12411         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12412         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12413         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12414         [POSIX] (tm_*): Do not allow.
12416 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
12418         * Makefile (install): Don't set LANGUAGE.
12419         * Makefile.in (install): Likewise.
12420         * assert/Makefile (test-assert-ENV): Remove variable.
12421         (test-assert-perr-ENV): Likewise.
12422         * elf/Makefile (neededtest4-ENV): Likewise.
12423         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12424         [$(cross-compiling) = no]: Don't set LANGUAGE.
12425         * io/ftwtest-sh (LANG): Remove variable.
12426         * libio/Makefile (tst-widetext-ENV): Likewise.
12427         * manual/install.texi (Running make install): Don't refer to
12428         environment settings for make install.
12429         * INSTALL: Regenerated.
12430         * nptl/tst-tls6.sh: Don't set LANG.
12431         * posix/globtest.sh (LANG): Remove variable.
12432         * string/Makefile (tester-ENV): Likewise.
12433         (inl-tester-ENV): Likewise.
12434         (noinl-tester-ENV): Likewise.
12435         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12436         [$(cross-compiling) = no]: Don't set LANGUAGE.
12437         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
12438         without explicit environment settings.
12440 2014-06-06  Roland McGrath  <roland@hack.frob.com>
12442         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
12443         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
12444         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
12445         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
12447 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
12449         * crypt/crypt-private.h [DOS]: Add some includes taken from the
12450         other files in the crypt directory.
12451         * crypt/crypt.c: Remove duplicate includes.
12452         * crypt/crypt-entry.c: Likewise.
12453         * crypt/crypt_util.c: Likewise.
12455 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
12457         * Makeconfig (run-program-env): New variable.
12458         (run-program-prefix-before-env): Likewise.
12459         (run-program-prefix-after-env): Likewise.
12460         (run-program-prefix): Define in terms of new variables.
12461         (built-program-cmd-before-env): New variable.
12462         (built-program-cmd-after-env): Likewise.
12463         (built-program-cmd): Define in terms of new variables.
12464         (test-program-prefix-before-env): New variable.
12465         (test-program-prefix-after-env): Likewise.
12466         (test-program-prefix): Define in terms of new variables.
12467         (test-program-cmd-before-env): New variable.
12468         (test-program-cmd-after-env): Likewise.
12469         (test-program-cmd): Define in terms of new variables.
12470         * Rules (make-test-out): Use $(run-program-env).
12471         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
12472         (help): Do not mention environment variables.  Mention
12473         --timeoutfactor option.
12474         (timeoutfactor): New variable.
12475         (blacklist_exports): Remove function.
12476         (exports): Remove variable.
12477         (command): Do not include ${exports}.
12478         * manual/install.texi (Configuring and compiling): Do not mention
12479         test wrappers preserving environment variables.  Mention that last
12480         assignment to a variable must take precedence.
12481         * INSTALL: Regenerated.
12482         * benchtests/Makefile (run-bench): Use $(run-program-env).
12483         * catgets/Makefile ($(objpfx)test1.cat): Use
12484         $(built-program-cmd-before-env), $(run-program-env) and
12485         $(built-program-cmd-after-env).
12486         ($(objpfx)test2.cat): Do not specify environment variables
12487         explicitly.
12488         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
12489         $(run-program-env) and $(built-program-cmd-after-env).
12490         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
12491         $(run-program-env) and $(test-program-cmd-after-env).
12492         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
12493         explicitly.
12494         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
12495         run_program_env and test_program_cmd_after_env arguments.
12496         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
12497         * elf/tst-pathopt.sh: Use run_program_env argument.
12498         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
12499         $(test-wrapper-env) and $(run-program-env).
12500         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
12501         run_program_env arguments.
12502         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
12503         * intl/Makefile ($(objpfx)tst-gettext.out): Use
12504         $(test-program-prefix-before-env), $(run-program-env) and
12505         $(test-program-prefix-after-env).
12506         ($(objpfx)tst-gettext2.out): Likewise.
12507         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
12508         run_program_env and test_program_prefix_after_env arguments.
12509         * intl/tst-gettext2.sh: Likewise.
12510         * intl/tst-gettext4.sh: Do not set environment variables
12511         explicitly.
12512         * intl/tst-gettext6.sh: Likewise.
12513         * intl/tst-translit.sh: Likewise.
12514         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
12515         $(test-program-prefix-before-env), $(run-program-env) and
12516         $(test-program-prefix-after-env).
12517         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
12518         run_program_env and test_program_prefix_after_env arguments.
12519         * math/Makefile (run-regen-ulps): Use $(run-program-env).
12520         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
12521         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
12522         explicitly with each use of ${test_wrapper_env}.
12523         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
12524         $(test-program-prefix-before-env), $(run-program-env) and
12525         $(test-program-prefix-after-env).
12526         * posix/tst-getconf.sh: Do not set environment variables
12527         explicitly.
12528         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
12529         run_program_env and test_program_prefix_after_env arguments.
12530         * stdio-common/tst-printf.sh: Do not set environment variables
12531         explicitly.
12532         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
12533         $(test-program-prefix-before-env), $(run-program-env) and
12534         $(test-program-prefix-after-env).
12535         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
12536         run_program_env and test_program_prefix_after_env arguments.
12537         Split $test calls into $test_pre and $test.
12538         * timezone/Makefile (build-testdata): Use
12539         $(built-program-cmd-before-env), $(run-program-env) and
12540         $(built-program-cmd-after-env).
12542 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12544         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
12545         strlen for non SHARED builds.
12547 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
12549         * nptl/allocatestack.c (check_list): Inlined function...
12550         (__reclaim_stacks): ... here.
12552 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12554         [BZ #15698]
12555         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
12556         memory overrun.
12558 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
12560         * Rules (make-test-out): Include
12561         LOCPATH=$(common-objpfx)localedata in default environment.
12562         * debug/Makefile (tst-chk1-ENV): Remove variable.
12563         (tst-chk2-ENV): Likewise.
12564         (tst-chk3-ENV): Likewise.
12565         (tst-chk4-ENV): Likewise.
12566         (tst-chk5-ENV): Likewise.
12567         (tst-chk6-ENV): Likewise.
12568         (tst-lfschk1-ENV): Likewise.
12569         (tst-lfschk2-ENV): Likewise.
12570         (tst-lfschk3-ENV): Likewise.
12571         (tst-lfschk4-ENV): Likewise.
12572         (tst-lfschk5-ENV): Likewise.
12573         (tst-lfschk6-ENV): Likewise.
12574         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
12575         (tst-iconv7-ENV): Likewise.
12576         * intl/Makefile (LOCPATH-ENV): Likewise.
12577         (tst-codeset-ENV): Likewise.
12578         (tst-gettext3-ENV): Likewise.
12579         (tst-gettext5-ENV): Likewise.
12580         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
12581         (tst-fopenloc-ENV): Likewise.
12582         (tst-fgetws-ENV): Remove variable.
12583         (tst-ungetwc1-ENV): Likewise.
12584         (tst-ungetwc2-ENV): Likewise.
12585         (bug-ungetwc2-ENV): Likewise.
12586         (tst-swscanf-ENV): Likewise.
12587         (bug-ftell-ENV): Likewise.
12588         (tst-fgetwc-ENV): Likewise.
12589         (tst-fseek-ENV): Likewise.
12590         (tst-ftell-partial-wide-ENV): Likewise.
12591         (tst-ftell-active-handler-ENV): Likewise.
12592         (tst-ftell-append-ENV): Likewise.
12593         * posix/Makefile (tst-fnmatch-ENV): Likewise.
12594         (tst-regexloc-ENV): Likewise.
12595         (bug-regex1-ENV): Likewise.
12596         (tst-regex-ENV): Likewise.
12597         (tst-regex2-ENV): Likewise.
12598         (bug-regex5-ENV): Likewise.
12599         (bug-regex6-ENV): Likewise.
12600         (bug-regex17-ENV): Likewise.
12601         (bug-regex18-ENV): Likewise.
12602         (bug-regex19-ENV): Likewise.
12603         (bug-regex20-ENV): Likewise.
12604         (bug-regex22-ENV): Likewise.
12605         (bug-regex23-ENV): Likewise.
12606         (bug-regex25-ENV): Likewise.
12607         (bug-regex26-ENV): Likewise.
12608         (bug-regex30-ENV): Likewise.
12609         (bug-regex32-ENV): Likewise.
12610         (bug-regex33-ENV): Likewise.
12611         (bug-regex34-ENV): Likewise.
12612         (bug-regex35-ENV): Likewise.
12613         (tst-rxspencer-ENV): Likewise.
12614         (tst-rxspencer-no-utf8-ENV): Likewise.
12615         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
12616         (tst-sscanf-ENV): Likewise.
12617         (tst-swprintf-ENV): Likewise.
12618         (tst-swscanf-ENV): Likewise.
12619         (test-vfprintf-ENV): Likewise.
12620         (scanf13-ENV): Likewise.
12621         (bug14-ENV): Likewise.
12622         (tst-grouping-ENV): Likewise.
12623         * stdlib/Makefile (tst-strtod-ENV): Likewise.
12624         (tst-strtod3-ENV): Likewise.
12625         (tst-strtod4-ENV): Likewise.
12626         (tst-strtod5-ENV): Likewise.
12627         (testmb2-ENV): Likewise./
12628         * string/Makefile (tst-strxfrm-ENV): Likewise.
12629         (tst-strxfrm2-ENV): Likewise.
12630         (bug-strcoll1-ENV): Likewise.
12631         (test-strcasecmp-ENV): Likewise.
12632         (test-strncasecmp-ENV): Likewise.
12633         * time/Makefile (tst-strptime-ENV): Likewise.
12634         (tst-ftime_l-ENV): Likewise.
12635         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
12636         (tst-mbrtowc-ENV): Likewise.
12637         (tst-wcrtomb-ENV): Likewise.
12638         (tst-mbrtowc2-ENV): Likewise.
12639         (tst-c16c32-1-ENV): Likewise.
12640         (tst-mbsnrtowcs-ENV): Likewise.
12642 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
12644         * manual/resource.texi (How to get information about the memory
12645         subsystem?): Fix typo.
12646         Reported by Peon de la Parra Ivan <peon@keba.com>
12648 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
12650         [BZ #16882]
12651         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
12652         (pthread_spin_lock): Branch out of spin loop to proper location.
12653         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
12654         (pthread_spin_lock): Likewise.
12656         * nptl/tst-spin4.c: New test.
12657         * nptl/Makefile (tests): Add tst-spin4.
12659 2014-06-03  Andreas Schwab  <schwab@suse.de>
12661         [BZ #15946]
12662         * resolv/res_send.c (send_dg): Reload file descriptor after
12663         calling reopen.
12665 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12667         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12669 2014-06-03  Richard Henderson  <rth@redhat.com>
12671         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12672         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12673         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12674         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12675         in the SAVE_PID block.
12676         (__libc_vfork): New alias.
12677         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12679         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12680         child in registers, not on the stack.  Remove RESET_PID conditionals.
12681         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12683 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12685         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12687 2014-06-03  Wilco  <wdijkstr@arm.com>
12689         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12690         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12691         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12692         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12693         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12694         Likewise.
12696 2014-06-03  Wilco  <wdijkstr@arm.com>
12698         * sysdeps/aarch64/fpu/math_private.h
12699         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12700         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12701         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12702         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12703         Fix declarations.
12705 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12707         * crypt/crypt-private.h: Include ufc-crypt.h.
12708         (__b64_from_24bit): Declare extern.
12709         * crypt/crypt_util.c(__b64_from_24bit): New function.
12710         (b64t): New static const variable.
12711         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12712         (b64t): Remove variable.
12713         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12714         * crypt/sha256-crypt.c: Include crypt-private.h.
12715         (b64t): Remove variable.
12716         (__sha256_crypt_r): Remove b64_from_24bit and replace
12717         with __b64_from_24bit.
12718         * crypt/sha512-crypt.c: Likewise.
12720 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12722         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12723         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12724         Label the code __libc_vfork rather than __vfork.
12725         [!NOT_IN_libc] (vfork): Define as weak alias.
12726         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12727         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12728         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12730 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12732         * malloc/malloc.c (malloc_info): Fix format specifier for
12733         n_mmaps.
12735 2014-06-02  Wilco  <wdijkstr@arm.com>
12737         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12738         FPCR write.
12740 2014-06-02  Wilco  <wdijkstr@arm.com>
12742         [BZ #17009]
12743         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12744         Rewrite to reduce FPCR/FPSR accesses.
12746 2014-06-01  David S. Miller  <davem@davemloft.net>
12748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12750 2014-05-31  David S. Miller  <davem@davemloft.net>
12752         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12753         to occur in round to nearest mode when |x| >= 2.0
12755 2014-05-30  Richard Henderson  <rth@twiddle.net>
12757         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12758         (PSEUDO_RET_NOERRNO): Remove.
12759         (ret): Don't redefine.
12760         (ret_NOERRNO): Define in terms of ret.
12761         (ret_ERRVAL): Likewise.
12763         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12764         use of PSEUDO_RET; perform the error check directly.
12766 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12768         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12769         with __int128_t.
12771 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12773         * malloc/malloc (malloc_info): Fix formatting.
12775 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12776             Roland McGrath  <roland@hack.frob.com>
12778         * malloc/malloc (malloc_info): Also print mmapped statistics.
12780 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12782         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12783         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12785 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12787         * malloc/malloc.c (malloc_info): Inline mi_arena.
12789 2014-05-29  Richard Henderson  <rth@twiddle.net>
12791         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12792         Remove comma before expanding ASM_ARGS_##nr.
12793         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12794         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12795         of ASM_ARGS_##nr.
12796         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12797         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12798         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12799         (ASM_ARGS_1): Add leading comma.
12801         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12802         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12803         to __errno_location.
12804         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12805         Remove the expected plt for __errno_location.
12807         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12808         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12809         call to __read_tp.
12811         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12812         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12813         it and break it down.
12814         (DOCARGS_0, DOCARGS_1): Do nothing.
12815         (DOCARGS_2): Update to store into the new stack frame.
12816         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12817         (UNDOCARGS_1): Update to restore from the new stack frame.
12818         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12819         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12821         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12822         (SINGLE_THREAD_P): New parameter for result regno.
12823         (PSEUDO): Update to match; use cbz instead of beq.
12825         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12826         Use ENTRY to define the _nocancel entry point.  Share the syscall
12827         and syscall error check paths with the cancel path.
12828         (PSEUDO_END): New.
12830         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12831         whitespace; tabs before and after asm mnemonics.
12833 2014-05-29  Eric Wong  <normalperson@yhbt.net>
12835         [BZ #15132]
12836         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12837         Call fstat64 or stat64 internally, depending on arguments passed.
12838         Replace stat buffer argument with file descriptor argument.
12839         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12840         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12841         Pass fd to __internal_statvfs instead of calling fstat64.
12842         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12843         Pass fd to __internal_statvfs64 instead of calling fstat64.
12844         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12845         Pass -1 to __internal_statvfs instead of calling stat64.
12846         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12847         Pass -1 to __internal_statvfs64 instead of calling stat64.
12849 2014-05-28  Roland McGrath  <roland@hack.frob.com>
12851         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12852         that was previously under [RESET_PID].
12853         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12855         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12856         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12858 2014-05-27  Roland McGrath  <roland@hack.frob.com>
12860         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12862         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12863         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12865 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
12867         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12869 2014-05-27  Andreas Schwab  <schwab@suse.de>
12871         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12872         TLS_INIT_TP macro.
12873         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12874         * elf/rtld.c (init_tls, dl_main): Likewise.
12875         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12876         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12877         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12878         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12879         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12880         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12881         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12882         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12883         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12884         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12885         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12886         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12887         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12888         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12889         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12890         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12891         * sysdeps/generic/tls.h: Update description.
12893 2014-05-27  Will Newton  <will.newton@linaro.org>
12895         [BZ #16990]
12896         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12897         and restore r2 rather than just restoring.
12899 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12901         [BZ #16724]
12902         * libio/tst-ftell-append.c: New test case.
12903         * libio/Makefile (tests): Add test case.
12904         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12905         append mode.
12906         * libio/wfileops.c (do_ftell_wide): Likewise.
12908 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12912         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12913         ...
12914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12916         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12917         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12918         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12919         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12920         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12921         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12923         Moved ...
12924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12925         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12926         Moved ...
12927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12928         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12929         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12930         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12931         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12932         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12933         ...
12934         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12935         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12936         Moved ...
12937         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12938         here.
12939         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12940         ...
12941         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12942         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12943         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12945         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12946         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12947         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12948         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12950         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12951         merge into ...
12952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12953         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12954         ...
12955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12956         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12957         ...
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12960         Moved ...
12961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12962         here.
12963         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12964         Moved ...
12965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12966         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12967         Moved ...
12968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12971         conditional [RESET_PID].
12972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12973         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12974         removed.
12975         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12976         removed.
12978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12979         <tcb-offsets.h>.
12980         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12981         (__libc_vfork): New strong alias.
12982         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12983         removed.
12984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12985         Removed.
12987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12988         <tcb-offsets.h>.
12989         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12990         (__libc_vfork): New strong alias.
12991         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12992         removed.
12993         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12994         removed.
12996 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
12998         * malloc/malloc.c (mi_arena): New function.
12999         (malloc_info): Remove nested function mi_arena. Call non-nosted
13000         function mi_arena.
13002 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13004         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13005         by insrwi.
13006         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13007         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13008         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13009         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13010         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13011         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13012         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13014 2014-05-26  Andreas Schwab  <schwab@suse.de>
13016         [BZ #16984]
13017         * locale/programs/repertoire.c (repertoire_read): Add slash
13018         between I18NPATH element and file name.
13019         * locale/programs/locfile.c (locfile_read): Likewise.
13021 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13023         * nptl/pthread_mutexattr_settype.c
13024         (__pthread_mutexattr_settype):
13025         Disable lock elision for PTHREAD_MUTEX_NORMAL.
13027 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
13029         * nptl/tst-mutex5 (do_test):
13030         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13032 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13034         * benchtests/README: Document 'init' directive.
13035         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13036         BENCH_INIT.
13037         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13038         (parse_file): Recognize 'init' directive.
13040 2014-05-26  Kyle McMartin  <kyle@redhat.com>
13042         [BZ #16796]
13043         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13044         alignment of struct pthread.
13046 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13048         [BZ #16878]
13049         * nscd/netgroupcache.c (addgetnetgrentX): Look for
13050         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13051         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13052         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13054 2014-05-25  Richard Henderson  <rth@twiddle.net>
13056         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13057         (SINGLE_THREAD_P_PIC): Remove.
13058         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13059         (SINGLE_THREAD_P_PIC): Remove.
13061         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13062         branch to syscall error ...
13063         (PSEUDO): ... here.
13064         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13065         from __local_syscall_error to .Lsyscall_error.
13066         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13067         (SYSCALL_ERROR): Update label name.
13069         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13070         Do not use DOARGS/UNDOARGS.
13071         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13072         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13073         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13074         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13075         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13077         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13078         block comment.
13080         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13081         define if !NOT_IN_libc.
13082         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13083         define with non-default symbol versions.
13085 2014-05-23  Richard Henderson  <rth@twiddle.net>
13087         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13088         (vfork, __vfork): Define via compat_symbol.
13090         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13091         [!HAVE_IFUNC] (vfork_compat): Remove.
13092         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13094 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13096         [BZ #16978]
13097         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13098         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13099         variable.
13101 2014-05-23  Richard Henderson  <rth@twiddle.net>
13103         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13104         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13105         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13106         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13108         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13109         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13110         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13111         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13112         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13113         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13114         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13115         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13116         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13117         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13118         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13119         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13120         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13121         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13122         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13123         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13124         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13125         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13126         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13127         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13128         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13129         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13130         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13131         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13132         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13133         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13134         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13135         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13136         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13137         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13138         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13139         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13140         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13141         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13142         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13143         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13144         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13145         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13146         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13147         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13148         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13149         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13150         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13151         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13152         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13153         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13154         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13155         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13156         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13157         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13158         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13159         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13160         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13161         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13162         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13163         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13165         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13166         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13167         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
13168         before exiting on error.
13169         (__libc_vfork): New strong alias.
13170         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13171         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13173         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13174         that was previously under [RESET_PID].
13175         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13177         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13179 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
13181         [BZ #16977]
13182         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13183         value when x - 1 is zero.
13184         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13185         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13186         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13187         0.0L for an argument of 1.0L.
13188         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13189         Likewise.
13190         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13191         value when x - 1 is zero.
13192         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13193         * sysdeps/i386/fpu/libm-test-ulps: Update.
13194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13196 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13198         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13199         alphasort and versionsort.
13201 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13203         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13204         macro.
13205         [copysignf]: Likewise.
13207 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13209         * crypt/md5-crypt.c: Fix formatting.
13211 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
13213         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13214         (b64_from_24bit): New function.
13216 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13218         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13219         libc_hidden_builtin_def to ifunc.
13220         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13221         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13223 2014-05-21  Roland McGrath  <roland@hack.frob.com>
13225         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13226         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13228 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
13230         * nscd/Depend (linuxthreads): Remove.
13231         (nptl): Add.
13232         * resolv/Depend (linuxthreads): Remove.
13233         * rt/Depend (linuxthreads): Remove.
13235         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13236         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13237         $(common-objpfx)elf/.
13238         (link-libc-before-gnulib): Likewise.
13239         (elfobjdir): Remove variable.
13240         * Makefile (install): Use $(elf-objpfx) instead of
13241         $(common-objpfx)elf/.
13242         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13243         $(elfobjdir)/.
13244         (link-libc-deps): Likewise.
13245         ($(common-objpfx)libc.so): Likewise.
13246         ($(common-objpfx)linkobj/libc.so): Likewise.
13247         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13248         instead of $(common-objpfx)elf/.
13249         (symbolic-link-list): Likewise.
13250         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13251         [$(cross-compiling) = no]: Likewise.
13252         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13253         $(elfobjdir)/.
13254         (static-gnulib-arch): Likewise.
13255         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13256         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13257         $(common-objpfx)elf/.
13259 2014-05-21  Richard Henderson  <rth@redhat.com>
13261         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13262         (SINGLE_THREAD_P): Use the correct width load.  Fold
13263         into the ldr offset.
13265         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13266         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13268 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
13270         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13271         (libgcc_s_resume): Use __attribute_used__.
13272         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13273         Likewise.
13275 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13277         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13278         optimization when used with float constants.
13280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13282 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
13284         [BZ #16915]
13285         * locale/nl_langinfo_l.c: Make direct reference to every
13286         _nl_current_CATEGORY symbol.
13287         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13288         (tests-static): Add tst-langinfo-static.
13289         (tests-special): Add tst-langinfo-static.out.
13290         ($(objpfx)tst-langinfo.out): Redirect output.
13291         ($(objpfx)tst-langinfo-static.out): New.
13292         * localedata/tst-langinfo.sh: Send output to stdout.
13293         * localedata/tst-langinfo-static.c: New file.
13295         [BZ #16965]
13296         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13297         when the shift amount is modulo the limb size.
13299 2014-05-20  Richard Henderson  <rth@redhat.com>
13301         [BZ #16967]
13302         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13303         Change type of sa_flags from unsigned int to int.
13305         [BZ #16966]
13306         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
13308         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13310 2014-05-20  Will Newton  <will.newton@linaro.org>
13312         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13313         Test the return value of the system call in the nocancel case.
13315 2014-05-20  Will Newton  <will.newton@linaro.org>
13316             Yvan Roux  <yvan.roux@linaro.org>
13318         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13319         #include of asm/ptrace.h.
13320         (PTRACE_GET_THREAD_AREA): Remove #undef.
13321         (PTRACE_GETHBPREGS): Likewise.
13322         (PTRACE_SETHBPREGS): Likewise.
13323         (struct user_regs_struct): New structure.
13324         (struct user_fpsimd_struct): New structure.
13325         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13326         #include of asm/ptrace.h and second #include of sys/user.h.
13327         (PTRACE_GET_THREAD_AREA): Remove #undef.
13328         (PTRACE_GETHBPREGS): Likewise.
13329         (PTRACE_SETHBPREGS): Likewise.
13330         (ELF_NGREG): Use new struct user_regs_struct.
13331         (elf_fpregset_t): Use new struct user_fpsimd_struct.
13333 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13335         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13336         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13338 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
13340         [BZ #16958]
13341         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13342         membar to avoid block loads/stores to overlap previous stores.
13344 2014-05-17  Richard Henderson  <rth@redhat.com>
13346         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13347         Create the __##syscall_name##_nocancel entry point.
13348         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13349         Remove; let the sysdep-cancel.h code create it.
13351 2014-05-17  David S. Miller  <davem@davemloft.net>
13353         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13354         Protect with __USE_GNU.
13355         (TIOCSET_TEMPT): Likewise.
13356         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13357         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13358         these are already provided in bits/ioctl-types.h
13360 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13362         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13363         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13365         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13366         Use wait4 regardless of [__NR_waitpid].
13368 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
13370         PR libgcc/60166
13371         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13372         (_FP_NANSIGN_Q): Set the quiet bit.
13374 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
13376         * benchtests/Makefile
13377         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13378         not $(common-objpfx)math/libm.so.
13379         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13380         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13381         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13382         $(common-objpfx)dlfcn/libdl.so.
13383         ($(objpfx)tst-audit8): Depend on $(libm), not
13384         $(common-objpfx)math/libm.so.
13385         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13386         not $(common-objpfx)dlfcn/libdl.so.
13387         * math/Makefile
13388         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13389         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
13390         [$(build-shared) = yes].
13391         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13392         $(common-objpfx)nptl/libpthread.so.
13393         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13394         $(common-objpfx)math/libm.so$(libm.so-version) or
13395         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13396         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13397         $(common-objpfx)dlfcn/libdl.so.
13398         * setjmp/Makefile (link-libm): Remove variable.
13399         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13400         * stdio-common/Makefile (link-libm): Remove variable.
13401         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13402         * stdlib/Makefile (link-libm): Remove variable.
13403         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13404         ($(objpfx)tst-strtod-round): Likewise.
13405         ($(objpfx)tst-tininess): Likewise.
13406         ($(objpfx)tst-strtod-underflow): Likewise.
13407         ($(objpfx)tst-strtod6): Likewise.
13408         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13409         $(libdl), not $(common-objpfx)nptl/libpthread.so and
13410         $(common-objpfx)dlfcn/libdl.so.
13412 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13414         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13415         BSD terminal modes definitions.
13417 2014-05-16  Roland McGrath  <roland@hack.frob.com>
13419         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
13420         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
13422         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
13423         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
13424         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
13425         Don't do #include_next.
13426         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
13427         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
13428         Don't do #include_next.
13429         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
13430         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
13431         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
13432         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
13434 2014-05-16  Allan McRae  <allan@archlinux.org>
13436         * po/sv.po: Update Swedish translation from translation project.
13438         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
13439         in sed expression.
13441 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
13443         [BZ #16917]
13444         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
13445         errno if the TIOCGPTN ioctl fails with an error different than
13446         EINVAL.
13447         * login/tst-ptsname.c: New file.
13448         * login/Makefile (tests): Add tst-ptsname.
13450         [BZ #16943]
13451         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
13452         and prlimit64.
13454 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13456         [BZ #16849]
13457         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
13458         herrno to return EAI_AGAIN.
13460 2014-05-14  Roland McGrath  <roland@hack.frob.com>
13462         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
13463         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
13464         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
13465         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
13466         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
13467         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
13468         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
13469         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
13470         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
13471         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
13472         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
13473         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
13474         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
13475         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
13476         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
13477         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
13478         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
13479         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
13480         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
13481         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
13482         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
13483         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
13484         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
13485         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
13486         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
13487         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
13488         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
13489         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
13490         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
13491         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
13492         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
13493         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
13494         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
13495         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
13496         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
13497         Moved ...
13498         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
13499         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
13500         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
13501         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
13502         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
13503         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
13504         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
13505         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
13506         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
13507         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
13508         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
13509         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
13510         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
13511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
13512         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
13513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
13514         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
13515         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
13516         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
13517         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
13518         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
13519         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
13520         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
13521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
13522         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
13523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
13524         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
13525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
13526         Moved ...
13527         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
13528         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
13529         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
13530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
13531         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
13532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
13533         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
13534         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
13535         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
13536         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
13537         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
13538         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
13539         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
13540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
13541         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
13542         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
13543         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
13544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
13545         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
13546         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
13547         Moved ...
13548         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
13549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
13550         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
13552         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
13553         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
13554         (libpthread-sysdep_routines): Add elision-related stuff here instead.
13555         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
13556         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
13557         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
13558         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
13559         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
13560         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
13561         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
13562         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
13563         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
13564         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
13565         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
13566         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
13567         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
13568         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
13569         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
13570         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
13571         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
13572         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
13573         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
13574         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
13575         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
13576         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
13577         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
13578         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
13579         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
13580         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
13581         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
13582         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
13584         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
13585         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
13587         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
13588         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
13589         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
13590         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
13591         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
13592         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
13593         Moved ...
13594         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
13595         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13596         Moved ...
13597         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
13598         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13599         Moved ...
13600         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
13601         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
13602         Moved ...
13603         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
13604         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
13605         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
13606         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13607         Moved ...
13608         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
13609         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
13610         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
13611         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
13612         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
13613         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
13614         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
13615         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13616         Moved ...
13617         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
13618         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13619         Moved ...
13620         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
13621         ... here.
13622         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
13623         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
13624         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
13625         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
13626         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13627         Moved ...
13628         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
13629         ... here.
13630         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
13631         Moved ...
13632         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
13633         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
13634         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
13635         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
13636         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
13637         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
13638         Moved ...
13639         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
13640         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13641         Moved ...
13642         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
13643         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13644         Moved ...
13645         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
13646         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
13647         Moved ...
13648         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
13649         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
13650         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
13651         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
13652         Moved ...
13653         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
13654         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
13655         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
13656         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
13657         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
13658         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13659         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13660         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13661         Moved ...
13662         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13663         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13664         Moved ...
13665         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13666         ... here.
13667         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13668         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13669         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13670         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13671         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13672         Moved ...
13673         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13674         ... here.
13675         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13676         Moved ...
13677         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13678         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13679         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13680         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13681         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13682         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13683         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13684         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13685         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13686         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13687         Moved ...
13688         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13689         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13690         Moved ...
13691         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13692         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13693         Moved ...
13694         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13695         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13696         Moved ...
13697         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13698         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13699         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13700         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13701         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13702         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13703         Moved ...
13704         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13705         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13706         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13707         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13708         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13709         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13710         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13711         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13712         Moved ...
13713         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13714         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13715         Moved ...
13716         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13717         ... here.
13718         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13719         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13720         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13721         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13722         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13723         Moved ...
13724         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13725         ... here.
13726         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13727         Moved ...
13728         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13729         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13730         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13731         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13732         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13733         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13734         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13735         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13736         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13737         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13738         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13740         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13741         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13743         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13744         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13746         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13747         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13748         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13749         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13750         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13751         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13752         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13753         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13754         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13755         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13756         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13757         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13758         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13759         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13760         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13761         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13762         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13763         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13764         Moved ...
13765         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13766         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13767         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13768         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13769         Moved ...
13770         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13771         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13772         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13773         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13774         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13775         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13776         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13777         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13778         Moved ...
13779         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13780         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13781         Moved ...
13782         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13783         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13784         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13785         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13786         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13787         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13788         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13789         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13790         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13791         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13792         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13793         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13794         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13795         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13796         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13797         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13798         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13800         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13801         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13802         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13803         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13804         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13806         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13807         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13808         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13809         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13810         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13811         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13812         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13813         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13814         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13815         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13817         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13818         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13820         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13821         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13822         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13823         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13824         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13825         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13826         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13827         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13828         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13829         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13830         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13831         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13832         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13833         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13834         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13835         Update #include.
13836         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13837         Likewise.
13838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13839         Likewise.
13840         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13841         Likewise.
13842         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13843         Likewise.
13844         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13845         Likewise.
13846         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13847         Likewise.
13848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13849         Likewise.
13850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13851         Likewise.
13852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13853         Likewise.
13854         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13855         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13856         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13857         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13858         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13859         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13860         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13861         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13862         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13863         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13864         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13865         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13866         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13867         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
13868         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
13870         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13871         that was previously under [RESET_PID].
13872         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13873         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13874         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13876         * sysdeps/i386/nptl/Implies: New file.
13877         * sysdeps/x86_64/nptl/Implies: New file.
13878         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13879         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13880         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13881         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13883         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13884         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13885         (__libc_vfork): New strong alias.
13886         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13887         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13889         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13890         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13891         (__libc_vfork): New strong alias.
13892         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13893         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13895         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13896         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13897         (__libc_vfork): New strong alias.
13898         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13899         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13900         * nptl/pt-vfork.c: New file.
13901         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13902         (libpthread: GLIBC_2.20): New version set (empty).
13904 2014-05-14  Will Newton  <will.newton@linaro.org>
13906         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13907         rather than #if.
13909 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13911         [BZ #16564]
13912         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13913         arguments with exponent 65 or above.
13914         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13915         arguments 0x1p113L or above.
13916         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13917         to arguments 0x1p107L or above.
13918         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13919         positive arguments with exponent 65 or above.
13920         * math/auto-libm-test-in: Add more tests of log1p.
13921         * math/auto-libm-test-out: Regenerated.
13923         [BZ #16928]
13924         * math/s_cacos.c (__cacos): Ensure zero real part of result from
13925         non-finite arguments is +0.
13926         * math/s_cacosf.c (__cacosf): Likewise.
13927         * math/s_cacosl.c (__cacosl): Likewise.
13928         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13929         * sysdeps/i386/fpu/libm-test-ulps: Update.
13930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13932         [BZ #16927]
13933         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13934         value.
13935         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13936         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13937         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13938         for explicit high bit of mantissa when testing for argument equal
13939         to 1.
13940         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13941         * sysdeps/i386/fpu/libm-test-ulps: Update.
13942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13944         [BZ #16516]
13945         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13946         (__erf): Scale by 16 instead of 8 in potentially underflowing
13947         case.  Ensure exception if result actually underflows.
13948         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13949         (__erff): Scale by 16 instead of 8 in potentially underflowing
13950         case.  Ensure exception if result actually underflows.
13951         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13952         (efx8): Remove variable.
13953         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13954         case.  Ensure exception if result actually underflows.
13955         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13956         (efx8): Remove variable.
13957         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13958         case.  Ensure exception if result actually underflows.
13959         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13960         (efx8): Remove variable.
13961         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13962         case.  Ensure exception if result actually underflows.
13963         * math/auto-libm-test-in: Add more tests of erf.
13964         * math/auto-libm-test-out: Regenerated.
13966 2014-05-14  Andreas Schwab  <schwab@suse.de>
13968         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13969         Remove code conditionalized on USE___THREAD.
13971         * config.h.in (HAVE_PT_CHOWN): Define as 0.
13972         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13973         not definedness.
13975 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13977         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13978         Define unconditionally.
13979         (__ASSUME_O_CLOEXEC): Likewise.
13980         (__ASSUME_SOCK_CLOEXEC): Likewise.
13981         (__ASSUME_IN_NONBLOCK): Likewise.
13982         (__ASSUME_PIPE2): Likewise.
13983         (__ASSUME_EVENTFD2): Likewise.
13984         (__ASSUME_SIGNALFD4): Likewise.
13985         (__ASSUME_DUP3): Likewise.
13986         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13987         (__ASSUME_DUP3): Do not define.
13988         (__ASSUME_EVENTFD2): Likewise.
13989         (__ASSUME_IN_NONBLOCK): Likewise.
13990         (__ASSUME_O_CLOEXEC): Likewise.
13991         (__ASSUME_PIPE2): Likewise.
13992         (__ASSUME_SIGNALFD4): Likewise.
13993         (__ASSUME_SOCK_CLOEXEC): Likewise.
13994         (__ASSUME_UTIMES): Undefine.
13995         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13996         (__ASSUME_UTIMES): Do not define.
13997         (__ASSUME_O_CLOEXEC): Likewise.
13998         (__ASSUME_SOCK_CLOEXEC): Likewise.
13999         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14000         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14001         0x020621].
14002         (__ASSUME_PIPE2): Likewise.
14003         (__ASSUME_EVENTFD2): Likewise.
14004         (__ASSUME_SIGNALFD4): Likewise.
14005         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14006         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14007         Do not define.
14008         (__ASSUME_EVENTFD2): Likewise.
14009         (__ASSUME_SIGNALFD4): Likewise.
14010         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14011         (__ASSUME_32BITUIDS): Likewise.
14012         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14013         (__ASSUME_IPC64): Likewise.
14014         (__ASSUME_ST_INO_64_BIT): Likewise.
14015         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14016         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14017         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14018         (__ASSUME_UTIMES): Do not define.
14019         (__ASSUME_PSELECT): Likewise.
14020         (__ASSUME_PPOLL): Likewise.
14021         (__ASSUME_O_CLOEXEC): Likewise.
14022         (__ASSUME_SOCK_CLOEXEC): Likewise.
14023         (__ASSUME_IN_NONBLOCK): Likewise.
14024         (__ASSUME_PIPE2): Likewise.
14025         (__ASSUME_EVENTFD2): Likewise.
14026         (__ASSUME_SIGNALFD4): Likewise.
14027         (__ASSUME_DUP3): Likewise.
14028         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14029         (__ASSUME_UTIMES): Likewise.
14030         (__ASSUME_O_CLOEXEC): Likewise.
14031         (__ASSUME_SOCK_CLOEXEC): Likewise.
14032         (__ASSUME_IN_NONBLOCK): Likewise.
14033         (__ASSUME_PIPE2): Likewise.
14034         (__ASSUME_EVENTFD2): Likewise.
14035         (__ASSUME_SIGNALFD4): Likewise.
14036         (__ASSUME_DUP3): Likewise.
14037         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14038         (__ASSUME_UTIMES): Likewise.
14039         (__ASSUME_O_CLOEXEC): Likewise.
14040         (__ASSUME_SOCK_CLOEXEC): Likewise.
14041         (__ASSUME_IN_NONBLOCK): Likewise.
14042         (__ASSUME_PIPE2): Likewise.
14043         (__ASSUME_EVENTFD2): Likewise.
14044         (__ASSUME_SIGNALFD4): Likewise.
14045         (__ASSUME_DUP3): Likewise.
14046         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14047         Likewise.
14048         (__ASSUME_UTIMES): Likewise.
14049         (__ASSUME_EVENTFD2): Likewise.
14050         (__ASSUME_SIGNALFD4): Likewise.
14051         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14052         (__ASSUME_O_CLOEXEC): Likewise.
14053         (__ASSUME_SOCK_CLOEXEC): Likewise.
14054         (__ASSUME_IN_NONBLOCK): Likewise.
14055         (__ASSUME_PIPE2): Likewise.
14056         (__ASSUME_EVENTFD2): Likewise.
14057         (__ASSUME_SIGNALFD4): Likewise.
14058         (__ASSUME_DUP3): Likewise.
14059         (__ASSUME_UTIMES): Undefine.
14061         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14062         feclearexcept.  Remove symbol versioning code.
14063         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
14064         symbol versioning code.
14065         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
14066         symbol versioning code.
14067         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14068         feupdateenv.  Remove symbol versioning code.
14069         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14070         fegetexceptflag.  Remove symbol versioning code.
14071         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14072         fesetexceptflag.  Remove symbol versioning code.
14073         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14074         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
14075         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14076         (__posix_fadvise64_l32): Remove prototype.
14077         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14078         code.
14080 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14082         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14083         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14084         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14085         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14087 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
14089         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14090         current working directory
14092 2014-05-13  Roland McGrath  <roland@hack.frob.com>
14094         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14095         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14096         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14097         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14098         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14099         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14100         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14101         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14102         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14103         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14104         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14105         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14106         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14107         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14108         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14109         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14110         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14111         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14112         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14113         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14114         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14115         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14116         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14117         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14118         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14119         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14120         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14121         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14122         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14123         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14124         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14125         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14126         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14127         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14128         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14129         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14130         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14131         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14132         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14133         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14134         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14135         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14137         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14138         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14140         * sysdeps/unix/sysv/linux/arm/Makefile
14141         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14142         Add rt-aeabi_unwind_cpp_pr1.
14143         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14144         Add nptl-aeabi_unwind_cpp_pr1.
14145         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14146         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14147         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14148         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14149         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14150         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14152         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14153         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14154         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14155         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14157         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14158         Deconditionalize the code that was previously under [RESET_PID].
14159         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14161         * sysdeps/generic/exit-thread.h: New file.
14162         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14163         * include/unistd.h (__exit_thread): Remove declaration.
14164         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14165         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14166         * csu/libc-start.c: Include <exit-thread.h>.
14167         (LIBC_START_MAIN): Pass no argument to __exit_thread.
14168         * nptl/pthread_create.c: Include <exit-thread.h>.
14169         (start_thread): Call __exit_thread in place of __exit_thread_inline.
14170         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14171         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14172         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14173         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14174         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14175         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14176         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14177         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14178         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14179         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14180         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14181         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14182         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14183         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14184         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14185         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14187 2014-05-13  Andreas Schwab  <schwab@suse.de>
14189         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14191 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
14193         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14194         (__ASSUME_UTIMES): Do not condition on kernel version.
14195         (__ASSUME_PSELECT): Define unconditionally.
14196         (__ASSUME_PPOLL): Likewise.
14197         (__ASSUME_ATFCTS): Likewise.
14198         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14199         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14200         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14201         (__ASSUME_UTIMENSAT): Define unconditionally.
14202         (__ASSUME_PRIVATE_FUTEX): Likewise.
14203         (__ASSUME_FALLOCATE): Likewise.
14204         (__ASSUME_O_CLOEXEC): Likewise.
14205         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14206         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14207         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14208         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14209         (__ASSUME_IN_NONBLOCK): Likewise.
14210         (__ASSUME_PIPE2): Likewise.
14211         (__ASSUME_EVENTFD2): Likewise.
14212         (__ASSUME_SIGNALFD4): Likewise.
14213         (__ASSUME_DUP3): Likewise.
14214         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14215         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14216         (__ASSUME_AT_RANDOM): Likewise.
14217         (__ASSUME_PREADV): Likewise.
14218         (__ASSUME_PWRITEV): Likewise.
14219         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14220         (__ASSUME_F_GETOWN_EX): Define unconditionally.
14221         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14222         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14223         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14224         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14225         (__ASSUME_O_CLOEXEC): Define unconditionally.
14226         (__ASSUME_PSELECT): Do not undefine conditionally.
14227         (__ASSUME_PPOLL): Likewise.
14228         (__ASSUME_ATFCTS): Likewise.
14229         (__ASSUME_SET_ROBUST_LIST): Likewise.
14230         (__ASSUME_UTIMENSAT): Likewise.
14231         (__ASSUME_FDATASYNC): Define unconditionally.
14232         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14233         (__ASSUME_SIGFRAME_V2): Likewise.
14234         )__ASSUME_EVENTFD2): Likewise.
14235         (__ASSUME_SIGNALFD4): Likewise.
14236         (__ASSUME_PSELECT): Do not undefine conditionally.
14237         (__ASSUME_PPOLL): Likewise.
14238         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14239         (__ASSUME_PSELECT): Define unconditionally.
14240         (__ASSUME_PPOLL): Likewise.
14241         (__ASSUME_O_CLOEXEC): Likewise.
14242         (__ASSUME_SOCK_CLOEXEC): Likewise.
14243         (__ASSUME_IN_NONBLOCK): Likewise.
14244         (__ASSUME_PIPE2): Likewise.
14245         (__ASSUME_EVENTFD2): Likewise.
14246         (__ASSUME_SIGNALFD4): Likewise.
14247         (__ASSUME_DUP3): Likewise.
14248         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14249         (__ASSUME_O_CLOEXEC): Likewise.
14250         (__ASSUME_SOCK_CLOEXEC): Likewise.
14251         (__ASSUME_IN_NONBLOCK): Likewise.
14252         (__ASSUME_PIPE2): Likewise.
14253         (__ASSUME_EVENTFD2): Likewise.
14254         (__ASSUME_SIGNALFD4): Likewise.
14255         (__ASSUME_DUP3): Likewise.
14256         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14257         (__ASSUME_EVENTFD2): Likewise.
14258         (__ASSUME_SIGNALFD4): Likewise.
14259         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14261 2014-05-12  Andreas Schwab  <schwab@suse.de>
14263         [BZ #16932]
14264         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14265         (_nss_nis_gethostbyname4_r): Return error if item length is larger
14266         than maximum RPC packet size.
14267         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14268         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14269         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14270         (_nss_nis_getservbyport_r): Likewise.
14272 2014-05-12  Will Newton  <will.newton@linaro.org>
14274         * malloc/Makefile (tests): Add tst-mallopt.
14275         * malloc/tst-mallopt.c: New file.
14277 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14279         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14280         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14282 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14284         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14285         (tst-tlsmod6.so): Likewise.
14287 2014-05-09  Roland McGrath  <roland@hack.frob.com>
14289         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14291 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
14293         [BZ #16064]
14294         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14295         and <dl-procinfo.h>.
14296         (__fegetenv): Save SSE state in envp->__eip if supported.
14297         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14298         envp->__eip if supported.
14299         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14300         and <dl-procinfo.h>.
14301         (__fesetenv): Always set __eip, __cs_selector, __opcode,
14302         __data_offset and __data_selector in environment to 0.  Set SSE
14303         state if supported.
14304         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14305         test-fenv-sse.
14306         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14307         -mfpmath=sse.
14308         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14310 2014-05-09  Will Newton  <will.newton@linaro.org>
14312         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14313         and libc_relro_required for ARM.
14314         * sysdeps/arm/preconfigure: Regenerate.
14316 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
14317             Stefan Liebler  <stli@linux.vnet.ibm.com>
14319         * config.make.in (enable-lock-elision): New Makefile variable.
14320         * configure.ac: Likewise.
14321         * configure: Regenerate.
14322         * sysdeps/s390/configure.ac:
14323         Add check for gcc transactions support.
14324         * sysdeps/s390/configure: Regenerate.
14325         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14326         Build elision files if enabled.
14327         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14328         Add lock elision support for s390.
14329         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14330         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14331         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14332         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14333         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14334         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14335         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14336         Likewise.
14337         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14338         Likewise.
14339         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14340         Likewise.
14341         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14342         Likewise.
14343         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14344         (__lll_timedlock_elision, __lll_lock_elision)
14345         (__lll_unlock_elision, __lll_trylock_elision)
14346         (lll_timedlock_elision, lll_lock_elision)
14347         (lll_unlock_elision, lll_trylock_elision): Add.
14348         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14349         (pthread_mutex_t): Add lock elision support for s390.
14351 2014-05-14  Wilco  <wdijkstr@arm.com>
14353         * sysdeps/arm/fclrexcpt.c: Cleanup.
14354         * sysdeps/arm/fedisblxcpt.c: Cleanup.
14355         * sysdeps/arm/feenablxcpt.c: Cleanup.
14356         * sysdeps/arm/fegetenv.c: Cleanup.
14357         * sysdeps/arm/fegetexcept.c: Cleanup.
14358         * sysdeps/arm/fegetround.c: Cleanup.
14359         * sysdeps/arm/feholdexcpt.c: Cleanup.
14360         * sysdeps/arm/fesetenv.c: Cleanup.
14361         * sysdeps/arm/fesetround.c: Cleanup.
14362         * sysdeps/arm/feupdateenv.c: Cleanup.
14363         * sysdeps/arm/fgetexcptflg.c: Cleanup.
14364         * sysdeps/arm/fraiseexcpt.c: Cleanup.
14365         * sysdeps/arm/fsetexcptflg.c: Cleanup.
14366         * sysdeps/arm/ftestexcept.c: Cleanup.
14367         * sysdeps/arm/get-rounding-mode.h: Cleanup.
14368         * sysdeps/arm/setfpucw.c: Cleanup.
14370 2014-05-09  Will Newton  <will.newton@linaro.org>
14372         * sysdeps/arm/armv7/strcmp.S: New file.
14373         * NEWS: Mention addition of ARMv7 optimized strcmp.
14375 2014-05-08  Roland McGrath  <roland@hack.frob.com>
14377         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14378         look for %.ac rather than %.in.
14380         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14381         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14382         * sysdeps/mach/hurd/configure: Regenerated.
14383         * sysdeps/unix/sysv/linux/configure: Regenerated.
14385         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14387 2014-05-07  Steve Ellcey  <sellcey@mips.com>
14389         [BZ# 16922]
14390         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14391         (LONG_SUB): Ditto.
14392         (PTR_SUB): Ditto.
14394 2014-05-07  Andreas Schwab  <schwab@suse.de>
14396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14397         when skipping over non-matching result from nscd.
14399 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
14401         [BZ #16876]
14402         * nptl/sockperf.c (client): Check socket return value.
14404         [BZ #16877]
14405         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14406         nscd security class.
14408 2014-05-06  Roland McGrath  <roland@hack.frob.com>
14410         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14411         * sysdeps/arm/unwind.h: ... here.
14413 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
14415         [BZ# 16916]
14416         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
14417         Define.
14419 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14421         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
14422         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
14423         multiarch strncpy for PPC64.
14424         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
14425         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
14426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
14427         multiarch optimizations.
14428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14429         (__libc_ifunc_impl_list): Likewise.
14430         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
14431         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
14432         multiarch stpncpy for PPC64.
14433         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
14434         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
14436 2014-05-06  Andreas Schwab  <schwab@suse.de>
14438         [BZ #16912]
14439         * gmon/mcount.c (_MCOUNT_DECL): Use
14440         atomic_compare_and_exchange_bool_acq instead of
14441         catomic_compare_and_exchange_bool_acq.
14443 2014-05-05  Roland McGrath  <roland@hack.frob.com>
14445         * elf/Makefile (others, install-bin): Remove pldd.
14446         (pldd-modules): Variable removed.
14447         ($(objpfx)pldd): Target removed.
14448         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
14449         (others, install-bin): Append pldd here.
14450         ($(objpfx)pldd): New target.
14452         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
14453         to 0, so the first #if test emitted later doesn't see it undefined.
14454         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
14455         * sysdeps/gnu/errlist.c: Regenerated.
14457 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
14460         [libc_hidden_builtin_def]: Define to empty value.
14461         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
14462         [libc_hidden_builtin_def]: Likewise.
14463         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
14464         [libc_hidden_builtin_def]: Likewise.
14465         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
14466         [libc_hidden_builtin_def]: Likewise.
14467         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
14468         __redirect_memcpy and define ifunc as default hidden symbol.
14469         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
14470         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
14472 2014-05-04  Adam Conrad  <adconrad@0c3.net>
14474         * locale/iso-4217.def: Reintroduce XDR currency.
14476 2014-05-04  Allan McRae  <allan@archlinux.org>
14478         * po/eo.po: Update Esperanto translation from translation project.
14480 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
14482         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
14483         and FEATURE_INDEX_MAX to 1.
14484         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
14486 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14488         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
14489         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
14490         * iconvdata/big5.c (ONE_DIRECTION): Define.
14491         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
14492         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
14493         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
14494         * iconvdata/cp932.c (ONE_DIRECTION): Define.
14495         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
14496         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
14497         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
14498         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
14499         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
14500         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
14501         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
14502         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
14503         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
14504         * iconvdata/gbk.c (ONE_DIRECTION): Define.
14505         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
14506         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
14507         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
14508         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
14509         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
14510         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
14511         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
14512         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
14513         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
14514         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
14515         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
14516         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
14517         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
14518         * iconvdata/iso646.c (ONE_DIRECTION): Define.
14519         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
14520         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
14521         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
14522         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
14523         * iconvdata/johab.c (ONE_DIRECTION): Define.
14524         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
14525         * iconvdata/sjis.c (ONE_DIRECTION): Define.
14526         * iconvdata/t.61.c (ONE_DIRECTION): Define.
14527         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
14528         * iconvdata/tscii.c (ONE_DIRECTION): Define.
14529         * iconvdata/uhc.c (ONE_DIRECTION): Define.
14530         * iconvdata/unicode.c (ONE_DIRECTION): Define.
14531         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
14532         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
14533         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
14535 2014-05-01  Roland McGrath  <roland@hack.frob.com>
14537         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
14538         (_IO_JUMPS_OFFSET): Define to 0.
14540         * nptl/sysdeps/pthread/bits/libc-lock.h
14541         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14542         (__libc_lock_define_initialized_recursive): Always define using
14543         initializer.  Modern compilers treat uninitialized (implicit zero) and
14544         explicit zero initializers the same (i.e. put the datum in bss).
14546 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14548         * nscd/nscd-client.h: Include <string.h>.
14550 2014-05-01  David S. Miller  <davem@davemloft.net>
14552         [BZ #16885]
14553         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
14554         multiple zero bytes exist at the end of a string.
14555         Reported by Aurelien Jarno <aurelien@aurel32.net>
14557         * string/test-strcmp.c (check): Add explicit test for situations where
14558         there are multiple zero bytes after the first.
14560 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
14562         [BZ #16890]
14563         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
14564         when compiling wprintf.
14565         * stdio-common/tstdiomisc.c (t3): New function.
14566         (main): Call it.
14568 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14570         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
14571         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
14572         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
14573         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
14575 2014-05-01  Steve Ellcey  <sellcey@mips.com>
14577         * stdlib/longlong.h: Updated from GCC.
14579 2014-05-01  Will Newton  <will.newton@linaro.org>
14580             Bernard Ogden  <bernie.ogden@linaro.org>
14582         * NEWS: Update fixed bug list.
14584         [BZ #15119]
14585         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
14587 2014-04-30  David S. Miller  <davem@davemloft.net>
14589         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
14590         (libc_feholdexcept_setround_sparc_ctx): New function.
14591         (libc_fesetenv_sparc_ctx): Likewise.
14592         (libc_feupdateenv_sparc_ctx): Likewise.
14593         (libc_feholdsetround_sparc_ctx): Likewise.
14594         (libc_feholdexcept_setround_ctx): Define.
14595         (libc_feholdexcept_setroundf_ctx): Likewise.
14596         (libc_feholdexcept_setroundl_ctx): Likewise.
14597         (libc_fesetenv_ctx): Likewise.
14598         (libc_fesetenvf_ctx): Likewise.
14599         (libc_fesetenvl_ctx): Likewise.
14600         (libc_feupdateenv_ctx): Likewise.
14601         (libc_feupdateenvf_ctx): Likewise.
14602         (libc_feupdateenvl_ctx): Likewise.
14603         (libc_feresetround_ctx): Likewise.
14604         (libc_feresetroundf_ctx): Likewise.
14605         (libc_feresetroundl_ctx): Likewise.
14606         (libc_feholdsetround_ctx): Likewise.
14607         (libc_feholdsetroundf_ctx): Likewise.
14608         (libc_feholdsetroundl_ctx): Likewise.
14610         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14611         with __USE_GNU instead of XOPEN cpp guards.
14613         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
14614         0.
14616         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
14617         with XOPEN cpp guards.
14619 2014-04-30  Julian Brown  <julian@codesourcery.com>
14621         [BZ #16888]
14622         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
14623         handling.
14625 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
14627         [BZ #9894]
14628         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14629         Change to 2.6.32.
14630         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
14631         * sysdeps/unix/sysv/linux/configure: Regenerated.
14632         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
14633         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
14634         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
14635         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
14636         * README: Update reference to required Linux kernel version.
14637         * manual/install.texi (Linux): Update reference to required Linux
14638         kernel headers version.
14639         * INSTALL: Regenerated.
14641         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
14642         header inclusion.
14643         [POSIX] (limits.h): Likewise.
14644         [POSIX] (math.h): Likewise.
14645         [POSIX] (sys/wait.h): Likewise.
14646         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
14647         function.
14648         [POSIX] (stddef.h): Do not allow header inclusion.
14650 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14652         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
14654 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
14656         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
14657         Return immediately after lll_futex_wake.
14659 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14661         [BZ #16791]
14662         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14663         structure.
14664         (datahead_init_pos): Call datahead_init_common early.
14665         (datahead_init_neg): Likewise.
14667         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14668         datahead_init_neg): New functions.
14669         * nscd/aicache.c (addhstaiX): Use them.
14670         * nscd/grpcache.c (cache_addgr): Likewise.
14671         * nscd/hstcache.c (cache_addhst): Likewise.
14672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14673         * nscd/netgroupcache.c (do_notfound): Likewise.
14674         (addgetnetgrentX): Likewise.
14675         (addinnetgrX): Likewise.
14676         * nscd/pwdcache.c (cache_addpw): Likewise.
14677         * nscd/servicescache.c (cache_addserv): Likewise.
14679 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14680             Atsushi Onoe  <atsushi@onoe.org>
14682         [BZ #14308]
14683         [BZ #12994]
14684         [BZ #13651]
14685         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14686         one response is valid.
14687         * resolv/res_send.c (send_dg): Check for validity of other
14688         response if the current response is a referral.
14690 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14692         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14694 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14696         [BZ #16823]
14697         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14698         Always divide by positive zero when computing -Inf result.
14699         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14700         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14702 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14704         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14705         FPSCR if value do not change.
14706         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14707         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14708         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14709         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14710         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14711         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14712         function.
14714 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14716         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14717         * sysdeps/unix/sysv/linux/hppa: Move directory from
14718         ports/systeps/unix/sysv/linux/hppa.
14719         * README: Update listing for hppa-*-linux-gnu.
14721 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14723         [BZ #16754]
14724         * manual/stdio.texi (Hook functions): Fix types of stream hook
14725         functions.
14726         [BZ #16854]
14727         * socket/sys/socket.h: Fix typo in comment.
14729 2014-04-28  Wilco  <wdijkstr@arm.com>
14731         * sysdeps/arm/fenv_private.h: New file.
14732         * sysdeps/arm/math_private.h: New file.
14733         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14735 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14737         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14738         with __int128_t.
14739         (La_x86_64_retval): Likewise.
14741 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14743         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14744         fpsr if value didn't change.
14745         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14746         to fpcr if value didn't change.
14747         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14748         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14749         fpsr or fpcr if value didn't change.
14750         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14751         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14752         fpcr if value didn't change.
14753         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14754         to fpsr if value didn't change.
14756 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14758         * nptl/tst-sem3.c: Use test-skeleton.c
14759         (main): Rename to do_test.  Use return instead of
14760         exit.
14761         * nptl/tst-sem4.c: Use test-skeleton.c
14762         (main): Rename to do_test.
14764 2014-04-22  David S. Miller  <davem@davemloft.net>
14766         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14767         (struct sigaction): New struct member __glibc_reserved0, change
14768         type of sa_flags to int.
14770 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14772         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14773         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14775 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14777         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14778         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14780 2014-04-22  Will Newton  <will.newton@linaro.org>
14781             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14783         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14784         (__longjmp): Add longjmp and longjmp_target SystemTap
14785         probes.
14786         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14787         (__sigsetjmp): Add setjmp SystemTap probe.
14789 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14791         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14792         match manual order.
14794 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14796         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14798         * sysdeps/powerpc/fpu/fenv_private.h
14799         (libc_feholdexcept_setroundl_ctx): Define to
14800         libc_feholdexcept_setround_ppc_ctx.
14801         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14802         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14803         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14804         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14806 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14808         * sysdeps/aarch64/math-tests.h: New file.
14810 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14812         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14813         New.
14814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14815         Check and set bit_AVX2_Usable.
14816         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14817         macro.
14818         (bit_AVX2): Likewise.
14819         (index_AVX2_Usable): Likewise.
14820         (CPUID_AVX2): Likewise.
14821         (HAS_AVX2): Likewise.
14823 2014-04-17  Will Newton  <will.newton@linaro.org>
14825         * manual/setjmp.texi (System V contexts): Add note that
14826         calling setcontext on a context created by a call to a
14827         signal handler is undefined.  Update text to note that
14828         setcontext from a signal handler is possible but not
14829         recommended.
14831         [BZ #16629]
14832         * stdlib/tst-setcontext.c: Include signal.h.
14833         (main): Check that the signal stack before and
14834         after swapcontext is the same.
14836         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14837         Re-implement to restore registers in user code and avoid
14838         rt_sigreturn system call.
14840 2014-04-17  Wilco  <wdijkstr@arm.com>
14842         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14843         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14844         * math/test-fenv.c: Skip exception trap tests on targets which only
14845         support non-stop mode.
14847 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14848             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14850         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14851         (libc_feholdsetround_aarch64_ctx)
14852         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14853         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14854         (libc_feresetround_ctx, libc_feresetroundf_ctx)
14855         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14856         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14857         (libc_feresetround_noexl_ctx): Define.
14859 2014-04-16  Richard Henderson  <rth@redhat.com>
14861         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14863         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14864         unwind tables.
14866         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14867         const from the non-libc, non-ldso copy.
14869         * sysdeps/alpha/libm-test-ulps: Regenerate.
14871 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
14872             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14874         * sysdeps/aarch64/fpu/math_private.h: New file.
14876 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14878         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14880 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
14882         [BZ #16275]
14883         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14884         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14885         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14886         Intel MPX bound registers before _dl_profile_fixup.
14887         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14888         registers after _dl_profile_fixup.  Save and restore bound
14889         registers bnd0/bnd1 when calling _dl_call_pltexit.
14890         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14891         (LR_BND_OFFSET): Likewise.
14892         (LRV_BND0_OFFSET): Likewise.
14893         (LRV_BND1_OFFSET): Likewise.
14895 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14897         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14898         to...
14899         * sysdeps/mach/hurd/i386/tls.h: ... here.
14900         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14901         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14902         fields.
14904 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14906         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14908 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14910         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14912 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14914         [BZ #14770]
14915         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14916         * sysdeps/s390/configure: Regenerate.
14918         [BZ #16824]
14919         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14920         Set round-to-nearest internally to reduce error accumulation.
14922 2014-04-16  Alan Modra  <amodra@gmail.com>
14924         [BZ #16740]
14925         [BZ #16619]
14926         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14927         * math/libm-test.inc (frexp_test_data): Add tests.
14928         * NEWS: Update fixed bug list.
14930 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14932         * benchtests/Makefile: Depend on libraries in build directory.
14933         (bench-math): Separate out math tests.
14934         (bench-pthread): Separate out pthread tests.
14935         (bench): Include math and pthread tests.
14937 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
14939         [BZ #16831]
14940         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14941         _dl_debug_initialize.
14943         * configure.ac: Remove SELinux header check.
14944         * configure: Regenerate.
14945         * nscd/selinux.c (perms): Array of const char* to permission names.
14946         (nscd_request_avc_has_perm): Call security_deny_unknown to find
14947         default policy. Call string_to_security_class and string_to_av_perm to
14948         translate strings. Enforce default policy and call avs_has_perm with
14949         results of translated strings.
14951 2014-04-13  David S. Miller  <davem@davemloft.net>
14953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14955 2014-04-12  Allan McRae  <allan@archlinux.org>
14957         [BZ #16838]
14958         * manual/string.texi (Collation Functions): Fix qsort argument
14959         order in example.
14960         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14962 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
14964         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14965         Make the test a no-op if there are no exceptions defined.
14967 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14969         * elf/Makefile (tests): make tst-dlopen-aout conditional on
14970         enable-hardcoded-path-in-tests
14972 2014-04-11  Will Newton  <will.newton@linaro.org>
14974         * benchtests/Makefile (extra-objs): Add json-lib.o.
14975         (bench-func): Tidy up JSON output.
14976         * benchtests/bench-skeleton.c: Include json-lib.h.
14977         (main): Use JSON library functions to do output of
14978         benchmark results.
14979         * benchtests/bench-timing-type.c (main): Output the
14980         timing type simply, leaving formatting to the user.
14981         * benchtests/json-lib.c: New file.
14982         * benchtests/json-lib.h: Likewise.
14984 2014-04-11  Torvald Riegel  <triegel@redhat.com>
14986         [BZ #15215]
14987         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14988         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
14989         memory barriers.  Add comments.
14990         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14991         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14992         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14993         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14994         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14995         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14997 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14999         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15000         * sysdeps/s390/s390-64/configure.ac: ... this ...
15001         * sysdeps/s390/configure.ac: ... to here.
15002         * sysdeps/s390/s390-32/configure: Delete file.
15003         * sysdeps/s390/s390-64/configure: Delete file.
15004         * sysdeps/s390/configure: Regenerate.
15006 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
15008         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15010 2014-04-11  Will Newton  <will.newton@linaro.org>
15012         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15013         to zero if it is not defined elsewhere.  (mtrim): Test
15014         the value of MALLOC_DEBUG with #if rather than #ifdef.
15016 2014-04-10 Torvald Riegel  <triegel@redhat.com>
15018         * benchtests/pthread_once-inputs: New file.
15019         * benchtests/pthread_once-source.c: New file.
15020         * benchtests/README: Update documentation.
15022 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
15023             H.J. Lu  <hongjiu.lu@intel.com>
15025         [BZ #16275]
15026         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15027         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15028         * sysdeps/x86_64/configure: Regenerated.
15029         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15030         macro.
15031         (REGISTER_SAVE_RAX): Likewise.
15032         (REGISTER_SAVE_RCX): Likewise.
15033         (REGISTER_SAVE_RDX): Likewise.
15034         (REGISTER_SAVE_RSI): Likewise.
15035         (REGISTER_SAVE_RDI): Likewise.
15036         (REGISTER_SAVE_R8): Likewise.
15037         (REGISTER_SAVE_R9): Likewise.
15038         (REGISTER_SAVE_BND0): Likewise.
15039         (REGISTER_SAVE_BND1): Likewise.
15040         (REGISTER_SAVE_BND2): Likewise.
15041         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
15042         bound registers when calling _dl_fixup.
15044 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15046         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
15047         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15048         of its definition.
15049         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15050         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15051         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15052         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15053         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15054         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15055         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15057 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
15059         [BZ #15514]
15060         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15061         pathconf(_PC_NAME_MAX).
15063 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15065         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15066         Remove macro usage.
15067         (__PTHREAD_SPINS): Move definition to ...
15068         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15069         (__PTHREAD_SPINS): ... here.
15070         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15071         (__PTHREAD_SPIN): Likewise.
15072         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15073         (__PTHREAD_SPIN): Likewise.
15074         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15075         (__PTHREAD_SPIN): Likewise.
15076         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15077         (__PTHREAD_SPIN): Likewise.
15078         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15079         (__PTHREAD_SPIN): Likewise.
15080         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15081         (__PTHREAD_SPIN): Likewise.
15082         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15083         (__PTHREAD_SPIN): Likewise.
15084         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15085         (__PTHREAD_SPIN): Likewise.
15086         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15087         (__PTHREAD_SPIN): Likewise.
15088         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15089         (__PTHREAD_SPIN): Likewise.
15090         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15091         (__PTHREAD_SPIN): Likewise.
15092         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15093         (__PTHREAD_SPIN): Likewise.
15095         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15096         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15097         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15098         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15099         imply folder.
15100         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15101         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15102         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15103         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15104         correct imply path.
15105         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15106         strlen symbol for non multi-arch builds.
15107         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15108         missing hidden_def and weak_alias.
15110 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
15112         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15114 2014-04-07  Will Newton  <will.newton@linaro.org>
15116         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15117         and contents.  [!_LIBC] Remove #ifndef and contents.
15118         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
15119         * string/memccpy.c (__memccpy): Use ANSI prototype.
15120         * string/memfrob.c (memfrob): Likewise.
15121         * string/strcoll.c (STRCOLL): Likewise.
15122         * string/strlen.c (strlen): Likewise.
15123         * string/strtok.c (STRTOK): Likewise.
15124         * string/strcat.c: Remove unused #include of memcopy.h.
15125         (strcat): Use ANSI prototype.
15126         * string/strchr.c: Remove unused #include of memcopy.h.
15127         (strchr): Use ANSI prototype.
15128         * string/strcmp.c: Remove unused #include of memcopy.h.
15129         (strcmp): Use ANSI prototype.
15130         * string/strcpy.c: Remove unused #include of memcopy.h.
15131         (strcpy): Use ANSI prototype.
15133 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15135         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15136         * config.make.in (config-extra-cppflags): Set it from
15137         libc_extra_cppflags.
15138         * configure.ac (libc_extra_cflags): Make it accumulate over
15139         configure fragments.
15140         (libc_extra_cppflags): New flag.
15141         * configure. Regenerate.
15142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15143         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15144         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
15145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15147         [BZ #16815]
15148         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15149         result for FE_DOWNWARD rounding mode.
15150         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15151         Likewise.
15152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15154 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
15156         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15157         in function argument name.
15159 2014-04-03  David Svoboda  <svoboda@cert.org>
15161         [BZ #5666]
15162         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15163         explicitly.
15165 2014-04-03  Roland McGrath  <roland@hack.frob.com>
15167         * elf/dl-unmap-segments.h: New file.
15168         * sysdeps/generic/ldsodefs.h
15169         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15170         * elf/dl-close.c: Include <dl-unmap-segments.h>.
15171         * elf/dl-fptr.c: Likewise.
15172         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15173         * sysdeps/aarch64/tlsdesc.c: Likewise.
15174         * sysdeps/arm/tlsdesc.c: Likewise.
15175         * sysdeps/i386/tlsdesc.c: Likewise.
15176         * sysdeps/tile/dl-runtime.c: Likewise.
15177         * sysdeps/x86_64/tlsdesc.c: Likewise.
15178         * elf/dl-load.h: New file.
15179         * elf/dl-load.c: Include it.
15180         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15181         Macros moved to dl-load.h.
15182         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15183         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15184         Use _dl_unmap_segments in place of __munmap.
15185         Break out segment-mapping loop into ...
15186         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15188 2014-04-03  Will Newton  <will.newton@linaro.org>
15190         * elf/dl-lookup.c (do_lookup_x): Remove comment
15191         referring to nested function and move variable
15192         declarations down to before first use.
15194 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
15196         [BZ #16799]
15197         [BZ #16800]
15198         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15199         with 0 numerator.
15200         * math/s_catanf.c (__catanf): Likewise.
15201         * math/s_catanh.c (__catanh): Likewise.
15202         * math/s_catanhf.c (__catanhf): Likewise.
15203         * math/s_catanhl.c (__catanhl): Likewise.
15204         * math/s_catanl.c (__catanl): Likewise.
15205         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15206         by positive zero when computing -Inf result.
15207         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15208         (catanh_test): Likewise.
15209         * sysdeps/i386/fpu/libm-test-ulps: Update.
15210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15212         [BZ #16789]
15213         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15214         instead of using underflowing value in computing result.
15215         * math/s_clog10.c (__clog10): Likewise.
15216         * math/s_clog10f.c (__clog10f): Likewise.
15217         * math/s_clog10l.c (__clog10l): Likewise.
15218         * math/s_clogf.c (__clogf): Likewise.
15219         * math/s_clogl.c (__clogl): Likewise.
15220         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15221         (clog10_test): Likewise.
15222         * sysdeps/i386/fpu/libm-test-ulps: Update.
15223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15225 2014-04-02  Alan Modra  <amodra@gmail.com>
15227         [BZ #16739]
15228         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15229         output when value is near a power of two.  Use int64_t for lx and
15230         remove casts.  Use decimal rather than hex exponent constants.
15231         Don't use long double multiplication when double will suffice.
15232         * math/libm-test.inc (nextafter_test_data): Add tests.
15233         * NEWS: Add 16739 and 16786 to bug list.
15235         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15237         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15239 2014-04-01  Will Newton  <will.newton@linaro.org>
15241         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15242         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
15244 2014-04-01  Florian Weimer  <fweimer@redhat.com>
15246         [BZ #13347]
15247         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15248         * nptl/tst-setuid2.c: New file.
15249         * nptl/Makefile (xtests): Add tst-setuid2.
15251 2014-04-01  Alan Modra  <amodra@gmail.com>
15253         [BZ #16786]
15254         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15256 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15258         [BZ #6803]
15259         [BZ #6804]
15260         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15261         set errno as appropriate.
15262         * math/w_scalbf.c (__scalbf): Likewise.
15263         * math/w_scalbl.c (__scalbl): Likewise.
15264         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15265         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15266         * math/libm-test.inc (scalb_test_data): Add errno expectations.
15267         Add more NaN tests.
15269         [BZ #16349]
15270         * math/w_atan2.c: Include <errno.h>.
15271         (__atan2): Set errno for result underflowing to zero.
15272         * math/w_atan2f.c: Include <errno.h>.
15273         (__atan2f): Set errno for result underflowing to zero.
15274         * math/w_atan2l.c: Include <errno.h>.
15275         (__atan2l): Set errno for result underflowing to zero.
15276         * math/auto-libm-test-in: Don't allow missing errno for some atan2
15277         tests.
15278         * math/auto-libm-test-out: Regenerated.
15280 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15282         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15283         Encode instruction correctly in little endian.
15284         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15285         Likewise.
15286         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15287         Likewise.
15288         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15289         Likewise.
15290         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15291         Likewise.
15293 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
15295         [BZ #9894]
15296         * sysdeps/unix/sysv/linux/kernel-features.h
15297         [__sparc__ && !__arch64__ && !__sparc_v9__]
15298         (__ASSUME_SET_ROBUST_LIST): Do not define.
15299         [__sparc__ && !__arch64__ && !__sparc_v9__]
15300         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15301         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15302         Likewise.
15303         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15304         (__ASSUME_FUTEX_LOCK_PI): Undefine.
15305         (__ASSUME_REQUEUE_PI): Likewise.
15306         (__ASSUME_SET_ROBUST_LIST): Likewise.
15307         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15308         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15309         Undefine.
15310         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15311         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15312         Likewise.
15313         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15314         Likewise.
15315         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15316         Likewise.
15317         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15318         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15319         Undefine.
15320         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15321         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15322         Likewise.
15324         [BZ #16648]
15325         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15326         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15327         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15329 2014-03-31  Will Newton  <will.newton@linaro.org>
15331         * benchtests/Makefile (bench): Add ffs and ffsll to list
15332         of tests.
15333         * benchtests/ffs-inputs: New file.
15334         * benchtests/ffsll-inputs: Likewise.
15336 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
15338         [BZ #16770]
15339         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15340         too large before casting to int.
15341         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15342         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15343         * math/libm-test.inc (scalb_test_data): Add more tests.
15345 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
15347         * benchtests/Makefile (DETAILED_OPT): New make option.
15348         (bench-func): Run benchmark program with -d if DETAILED_OPT is
15349         set.
15350         * benchtests/bench-skeleton.c: Include stdbool.h.
15351         (main): Store and print timings per input.
15352         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15353         member to each argument value.
15354         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15355         (_print_arg_data): Initialize per-input timing to 0.
15357         * benchtests/Makefile (timing-type): New binary.
15358         (bench-clean): Also remove bench-timing-type.
15359         (bench): New target for timing-type.
15360         (bench-func): Print output in JSON format.
15361         * benchtests/bench-skeleton.c (main): Print output in JSON
15362         format.
15363         * benchtests/bench-timing-type.c: New file.
15364         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15365         (TIMING_PRINT_STATS): Remove.
15366         * benchtests/scripts/bench.py (_print_arg_data): Store variant
15367         name separately.
15369         * benchtests/bench-modf.c: Remove.
15370         * benchtests/modf-inputs: New inputs file.
15372 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
15374         [BZ #16362]
15375         * math/s_clog10.c (M_PI_LOG10E): New macro.
15376         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15377         imaginary parts are 0.
15378         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15379         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15380         imaginary parts are 0.
15381         * math/s_clog10l.c (M_PI_LOG10El): New macro.
15382         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15383         imaginary parts are 0.
15384         * math/libm-test.inc (clog10_test_data): Update expected results
15385         for when real and imaginary parts are 0.
15387 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
15389         * elf/dl-load.c: Finish conversion of __builtin_expect into
15390         __glibc_{un}likely.
15392 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
15394         [BZ #16348]
15395         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15396         1+x for argument with exponent below -67.
15397         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15398         Likewise.
15399         * math/auto-libm-test-in: Add more tests of exp.
15400         * math/auto-libm-test-out: Regenerated.
15402 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15404         [BZ #16759]
15405         * inet/getnetgrent_r.c (get_nonempty_val): New function.
15406         (nscd_getnetgrent): Use it.
15408         [BZ #16760]
15409         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15410         of stpcpy.
15412 2014-03-27  Andi Kleen  <ak@linux.intel.com>
15414         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15415         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15416         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15417         (lll_robust_unlock): Remove out of line section. Use cfi
15418         intrinsics.
15419         (LLL_STUB_UNWIND_INFO*): Remove.
15420         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
15421         (lll_robust_lock, lll_cond_lock, lll_timedlock)
15422         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
15423         (lll_robust_unlock): Remove out of line section. Use cfi
15424         intrinsics.
15425         (LLL_STUB_UNWIND_INFO*): Remove.
15427 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15429         [BZ #16758]
15430         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
15431         blank values.
15433 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15435         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
15437 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
15439         [BZ #16198]
15440         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
15441         fnstenv.
15442         * math/test-fenv-preserve.c: New file.
15443         * math/Makefile (tests): Add test-fenv-preserve.
15445 2014-03-26  Will Newton <will.newton@linaro.org>
15447         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
15449 2014-03-25  Roland McGrath  <roland@hack.frob.com>
15451         * scripts/versionlist.awk: Partition the version sets and emit all
15452         GLIBC_* (sorted) before all others (sorted).
15454 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15456         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
15457         GLIBC_2.2.5 version.
15459 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15461         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
15462         calls.
15464         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
15465         previous change.
15467         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15469 2014-03-25  Andreas Schwab  <schwab@suse.de>
15471         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
15472         label to be used after in6ailist is initialized.
15474 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15476         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15477         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15479 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
15481         [BZ #16357]
15482         [BZ #16599]
15483         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
15484         min_plus_half.
15485         (fp_formats): Update initializers.
15486         (init_fp_formats): Initialize new field.
15487         (output_for_one_input_case): Allow underflow for results up to
15488         min_plus_half.
15489         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
15490         * math/auto-libm-test-in: Don't mark some underflows from asin and
15491         atanh as spurious.
15492         * math/auto-libm-test-out: Regenerated.
15493         * sysdeps/i386/fpu/libm-test-ulps: Update.
15494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15496 2014-03-25  Andreas Schwab  <schwab@suse.de>
15498         * libio/Makefile (tst-ftell-partial-wide-ENV)
15499         (tst-ftell-active-handler-ENV): Define.
15501 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
15503         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
15505 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15507         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
15509 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15511         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
15512         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15513         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15515 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
15517         [BZ #16634]
15518         * elf/dl-load.c (open_verify): Add mode parameter.
15519         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
15520         (open_path): Change from boolean 'secure' to complete flag 'mode'
15521         (_dl_map_object): Adjust.
15522         * elf/Makefile (tests): Add tst-dlopen-aout.
15523         * elf/tst-dlopen-aout.c: New test.
15525 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
15527         [BZ #16714]
15528         * sysdeps/unix/sysv/linux/s390/bits/stat.h
15529         (struct stat): Rename member pad0 to __glibc_reserved0.
15531         [BZ #16712]
15532         * sysdeps/s390/s390-32/bits/wordsize.h
15533         (__WORDSIZE32_SIZE_ULONG): New define.
15534         * sysdeps/s390/s390-64/bits/wordsize.h
15535         (__WORDSIZE32_SIZE_ULONG): Likewise.
15536         * sysdeps/generic/stdint.h (SIZE_MAX):
15537         Define as UL if __WORDSIZE32_SIZE_ULONG.
15539         [BZ #16713]
15540         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
15541         (__glibc_reserved0): New variable.
15542         (sa_flags): Change type to int.
15544         * posix/Makefile (before-compile): Use += before-compile instead
15545         of a :=.
15547         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15548         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
15550 2014-03-20  Andreas Schwab  <schwab@suse.de>
15552         [BZ #16743]
15553         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
15554         non-matching result from nscd.
15556 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15558         * scripts/bench.py: Moved to ...
15559         * benchtests/scripts/bench.py: ... here.
15560         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
15562 2014-03-24  Andreas Schwab  <schwab@suse.de>
15564         [BZ #16002]
15565         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
15566         alloca_account and account alloca use for struct in6ailist.
15568 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
15570         [BZ #16284]
15571         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
15572         rounding mode to recompute results that overflow to infinity or
15573         underflow to zero.
15574         * math/auto-libm-test-in: Don't mark tests as expected to fail for
15575         bug 16284.
15576         * math/auto-libm-test-out: Regenerated.
15577         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
15578         (ccosh_test): Likewise.
15579         (csin_test_data): Use plus_oflow.
15580         (csin_test): Use ALL_RM_TEST.
15581         (csinh_test_data): Use plus_oflow.
15582         (csinh_test): Use ALL_RM_TEST.
15583         * sysdeps/i386/fpu/libm-test-ulps: Update.
15584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15586 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
15588         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
15589         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
15590         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
15592         [BZ #16731]
15593         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
15594         when x - 1 is zero.
15595         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
15596         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
15597         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
15598         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
15599         argument is 1.
15600         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
15601         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
15602         zero.
15603         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
15604         * sysdeps/i386/fpu/libm-test-ulps: Update.
15605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15607 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15609         * scripts/bench.pl: Remove file.
15610         * scripts/bench.py: New benchmark script.
15611         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
15612         * benchtests/README: Mention python dependency.
15613         * scripts/pylintrc: New file.
15614         * scripts/pylint: New file.
15616         * bits/mathdef.h: Use #ifdef instead of #if.
15617         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
15618         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15619         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
15620         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15621         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
15622         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
15624 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15625             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15627         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
15628         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
15629         and strpbrk-ppc64 objects.
15630         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15631         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
15632         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
15633         multiarch strpbrk for POWER7.
15634         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
15635         multiarch strpbrk for PPC64.
15636         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
15637         ifunc selector.
15638         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
15639         strpbrk for POWER7.
15641 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15643         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
15644         (atan_test): Likewise.
15645         (atanh_test_data): Use NO_TEST_INLINE for two tests.
15646         (atanh_test): Use ALL_RM_TEST.
15647         (atan2_test_data): Likewise.
15648         (cabs_test): Likewise.
15649         (cacosh_test): Likewise.
15650         (carg_test): Likewise.
15651         (casin_test): Likewise.
15652         (casinh_test): Likewise.
15653         (cbrt_test): Likewise.
15654         (csqrt_test): Likewise.
15655         (erf_test): Likewise.
15656         (erfc_test): Likewise.
15657         (pow10_test): Likewise.
15658         (exp2_test): Likewise.
15659         (hypot_test): Likewise.
15660         (j0_test): Likewise.
15661         (j1_test): Likewise.
15662         (lgamma_test): Likewise.
15663         (gamma_test): Likewise.
15664         (sincos_test): Likewise.
15665         (tanh_test): Likewise.
15666         (y0_test): Likewise.
15667         (y1_test): Likewise.
15668         * sysdeps/i386/fpu/libm-test-ulps: Update.
15669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15671 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15673         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15674         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15675         and strcspn-ppc64 objects.
15676         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15677         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15678         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15679         multiarch strcspn for POWER7.
15680         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15681         multiarch strcspn for PPC64.
15682         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15683         ifunc selector.
15684         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15685         strcspn for POWER7.
15687 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15689         * math/gen-libm-test.pl (generate_testfile): Expect only function
15690         name as argument to AUTO_TESTS_* and pass results for all rounding
15691         modes to parse_args.
15692         (parse_auto_input): Separate inputs of automatic tests from
15693         outputs before storing in %auto_tests.
15694         * math/libm-test.inc (acos_test_data): Update call to
15695         AUTO_TESTS_f_f.
15696         (acos_test): Use ALL_RM_TEST.
15697         (acos_tonearest_test_data): Remove.
15698         (acos_test_tonearest): Likewise.
15699         (acos_towardzero_test_data): Likewise.
15700         (acos_test_towardzero): Likewise.
15701         (acos_downward_test_data): Likewise.
15702         (acos_test_downward): Likewise.
15703         (acos_upward_test_data): Likewise.
15704         (acos_test_upward): Likewise.
15705         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15706         (asin_test_data): Likewise.
15707         (asin_test): Use ALL_RM_TEST.
15708         (asin_tonearest_test_data): Remove.
15709         (asin_test_tonearest): Likewise.
15710         (asin_towardzero_test_data): Likewise.
15711         (asin_test_towardzero): Likewise.
15712         (asin_downward_test_data): Likewise.
15713         (asin_test_downward): Likewise.
15714         (asin_upward_test_data): Likewise.
15715         (asin_test_upward): Likewise.
15716         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15717         (atan_test_data): Likewise.
15718         (atanh_test_data): Likewise.
15719         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15720         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15721         (carg_test_data): Likewise.
15722         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15723         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15724         (ccosh_test_data): Likewise.
15725         (cexp_test_data): Likewise.
15726         (clog_test_data): Likewise.
15727         (clog10_test_data): Likewise.
15728         (cos_test_data): Update call to AUTO_TESTS_f_f.
15729         (cos_test): Use ALL_RM_TEST.
15730         (cos_tonearest_test_data): Remove.
15731         (cos_test_tonearest): Likewise.
15732         (cos_towardzero_test_data): Likewise.
15733         (cos_test_towardzero): Likewise.
15734         (cos_downward_test_data): Likewise.
15735         (cos_test_downward): Likewise.
15736         (cos_upward_test_data): Likewise.
15737         (cos_test_upward): Likewise.
15738         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15739         (cosh_test): Use ALL_RM_TEST.
15740         (cosh_tonearest_test_data): Remove.
15741         (cosh_test_tonearest): Likewise.
15742         (cosh_towardzero_test_data): Likewise.
15743         (cosh_test_towardzero): Likewise.
15744         (cosh_downward_test_data): Likewise.
15745         (cosh_test_downward): Likewise.
15746         (cosh_upward_test_data): Likewise.
15747         (cosh_test_upward): Likewise.
15748         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15749         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15750         (ctan_test_data): Likewise.
15751         (ctan_test): Use ALL_RM_TEST.
15752         (ctan_tonearest_test_data): Remove.
15753         (ctan_test_tonearest): Likewise.
15754         (ctan_towardzero_test_data): Likewise.
15755         (ctan_test_towardzero): Likewise.
15756         (ctan_downward_test_data): Likewise.
15757         (ctan_test_downward): Likewise.
15758         (ctan_upward_test_data): Likewise.
15759         (ctan_test_upward): Likewise.
15760         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15761         (ctanh_test): Use ALL_RM_TEST.
15762         (ctanh_tonearest_test_data): Remove.
15763         (ctanh_test_tonearest): Likewise.
15764         (ctanh_towardzero_test_data): Likewise.
15765         (ctanh_test_towardzero): Likewise.
15766         (ctanh_downward_test_data): Likewise.
15767         (ctanh_test_downward): Likewise.
15768         (ctanh_upward_test_data): Likewise.
15769         (ctanh_test_upward): Likewise.
15770         (erf_test_data): Update call to AUTO_TESTS_f_f.
15771         (erfc_test_data): Likewise.
15772         (exp_test_data): Likewise.
15773         (exp_test): Use ALL_RM_TEST.
15774         (exp_tonearest_test_data): Remove.
15775         (exp_test_tonearest): Likewise.
15776         (exp_towardzero_test_data): Likewise.
15777         (exp_test_towardzero): Likewise.
15778         (exp_downward_test_data): Likewise.
15779         (exp_test_downward): Likewise.
15780         (exp_upward_test_data): Likewise.
15781         (exp_test_upward): Likewise.
15782         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15783         (exp10_test): Use ALL_RM_TEST.
15784         (exp10_tonearest_test_data): Remove.
15785         (exp10_test_tonearest): Likewise.
15786         (exp10_towardzero_test_data): Likewise.
15787         (exp10_test_towardzero): Likewise.
15788         (exp10_downward_test_data): Likewise.
15789         (exp10_test_downward): Likewise.
15790         (exp10_upward_test_data): Likewise.
15791         (exp10_test_upward): Likewise.
15792         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15793         (expm1_test_data): Likewise.
15794         (expm1_test): Use ALL_RM_TEST.
15795         (expm1_tonearest_test_data): Remove.
15796         (expm1_test_tonearest): Likewise.
15797         (expm1_towardzero_test_data): Likewise.
15798         (expm1_test_towardzero): Likewise.
15799         (expm1_downward_test_data): Likewise.
15800         (expm1_test_downward): Likewise.
15801         (expm1_upward_test_data): Likewise.
15802         (expm1_test_upward): Likewise.
15803         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15804         (fma_test): Use ALL_RM_TEST.
15805         (fma_towardzero_test_data): Remove.
15806         (fma_test_towardzero): Likewise.
15807         (fma_downward_test_data): Likewise.
15808         (fma_test_downward): Likewise.
15809         (fma_upward_test_data): Likewise.
15810         (fma_test_upward): Likewise.
15811         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15812         (j0_test_data): Update call to AUTO_TESTS_f_f.
15813         (j1_test_data): Likewise.
15814         (jn_test_data): Update call to AUTO_TESTS_if_f.
15815         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15816         (log_test_data): Update call to AUTO_TESTS_f_f.
15817         (log10_test_data): Likewise.
15818         (log1p_test_data): Likewise.
15819         (log2_test_data): Likewise.
15820         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15821         (pow_tonearest_test_data): Likewise.
15822         (sin_test_data): Update call to AUTO_TESTS_f_f.
15823         (sin_test): Use ALL_RM_TEST.
15824         (sin_tonearest_test_data): Remove.
15825         (sin_test_tonearest): Likewise.
15826         (sin_towardzero_test_data): Likewise.
15827         (sin_test_towardzero): Likewise.
15828         (sin_downward_test_data): Likewise.
15829         (sin_test_downward): Likewise.
15830         (sin_upward_test_data): Likewise.
15831         (sin_test_upward): Likewise.
15832         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15833         (sinh_test_data): Update call to AUTO_TESTS_f_f.
15834         (sinh_test): Use ALL_RM_TEST.
15835         (sinh_tonearest_test_data): Remove.
15836         (sinh_test_tonearest): Likewise.
15837         (sinh_towardzero_test_data): Likewise.
15838         (sinh_test_towardzero): Likewise.
15839         (sinh_downward_test_data): Likewise.
15840         (sinh_test_downward): Likewise.
15841         (sinh_upward_test_data): Likewise.
15842         (sinh_test_upward): Likewise.
15843         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15844         (sqrt_test): Use ALL_RM_TEST.
15845         (sqrt_tonearest_test_data): Remove.
15846         (sqrt_test_tonearest): Likewise.
15847         (sqrt_towardzero_test_data): Likewise.
15848         (sqrt_test_towardzero): Likewise.
15849         (sqrt_downward_test_data): Likewise.
15850         (sqrt_test_downward): Likewise.
15851         (sqrt_upward_test_data): Likewise.
15852         (sqrt_test_upward): Likewise.
15853         (tan_test_data): Update call to AUTO_TESTS_f_f.
15854         (tan_test): Use ALL_RM_TEST.
15855         (tan_tonearest_test_data): Remove.
15856         (tan_test_tonearest): Likewise.
15857         (tan_towardzero_test_data): Likewise.
15858         (tan_test_towardzero): Likewise.
15859         (tan_downward_test_data): Likewise.
15860         (tan_test_downward): Likewise.
15861         (tan_upward_test_data): Likewise.
15862         (tan_test_upward): Likewise.
15863         (tanh_test_data): Update call to AUTO_TESTS_f_f.
15864         (tgamma_test_data): Likewise.
15865         (y0_test_data): Likewise.
15866         (y1_test_data): Likewise.
15867         (yn_test_data): Update call to AUTO_TESTS_if_f.
15868         (main): Do not call removed functions.
15870 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15872         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15873         (ldexp_test_data): Remove.
15874         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
15875         scalbn_test_data.
15876         (scalb_test): Use ALL_RM_TEST.
15878 2014-03-19  Andreas Schwab  <schwab@suse.de>
15880         * nscd/nscd.service: Also invalidate netgroup cache on reload.
15882 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15884         [BZ #16649]
15885         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15886         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15887         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15888         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15889         (__ASSUME_PREADV): Undefine.
15890         (__ASSUME_PWRITEV): Likewise.
15892 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15894         * bits/mman-linux.h: Add comment about non-Linux use.
15895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15896         bits/mman-linux.h resting place.
15898         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15899         * bits/mman-linux.h: ... here.
15901 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15903         * conform/conformtest.pl: Add standard definition when calling C
15904         preprocessor on data files.
15905         (checknamespace): Remove unused variable.
15907 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15909         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15910         minus_oflow, plus_uflow and minus_uflow in expected results.
15911         * math/libm-test.inc (scalbn_test_data): Add more tests of
15912         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
15913         minus_uflow.
15914         (scalbn_test): Use ALL_RM_TEST.
15915         (scalbln_test_data): Add more tests of negative arguments.  Use
15916         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15917         (scalbln_test): Use ALL_RM_TEST.
15919 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15921         * scripts/abilist.awk: Ignore symbols marked with .hidden.
15923 2014-03-18  Will Newton  <will.newton@linaro.org>
15925         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15926         inaccurate comment.
15928 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15930         * Makerules [!subdir] (check-abi): Exit with error status if a
15931         test failed.
15933 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15935         * math/libm-test.inc (nearbyint_test_data): Include all tests used
15936         for rint.  Include results for all rounding modes.
15937         (nearbyint_test): Use ALL_RM_TEST.
15938         (rint_test_data): Include all tests used for nearbyint.
15940 2014-03-17  Will Newton  <will.newton@linaro.org>
15942         * nptl/sysdeps/pthread/pthread.h: Revert previous
15943         change.
15945         * sysdeps/generic/ldsodefs.h: Revert previous
15946         change.
15948         * libio/genops.c: Revert previous change.
15949         * libio/libioP.h: Likewise.
15950         * stdio-common/vfprintf.c: Likewise.
15952         * sysdeps/generic/math_private.h: Revert previous
15953         change.
15955         * sysdeps/generic/math_private.h: Check whether
15956         HAVE_RM_CTX is defined with #ifdef rather
15957         than #if.
15959         * argp/argp-fmtstream.h: Check whether
15960         __STRICT_ANSI__ is defined with #ifdef rather
15961         than #if.
15962         * argp/argp.h: Likewise.
15964         * libio/genops.c: Check whether
15965         _IO_JUMPS_OFFSET is defined with #ifdef rather
15966         than #if.
15967         * libio/libioP.h: Likewise.
15968         * stdio-common/vfprintf.c: Likewise.
15970         * sysdeps/generic/ldsodefs.h: Check whether
15971         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15972         than #if.
15974         * nptl/sysdeps/pthread/pthread.h: Check
15975         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15976         its value.
15978 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15980         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15981         setting O_APPEND.
15982         * libio/tst-ftell-active-handler.c (do_append_test): Add a
15983         test case.
15985         [BZ #16680]
15986         * libio/fileops.c (_IO_file_open): Seek to end of file but
15987         don't cache the offset.
15988         (get_file_offset): Remove function.
15989         (do_ftell): Use cached offset when available.
15990         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15991         don't cache the offset.
15992         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15993         case.
15994         (do_one_test): Call it.
15995         (do_ftell_test): Fix up expected old offset for a+ mode.
15996         * libio/wfileops.c (do_ftell_wide): Used cached offset when
15997         available.
15999         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16000         up test status with function return status.
16001         (do_write_test): Likewise.
16002         (do_append_test): Likewise.
16004         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16005         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16006         Remove.
16008 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
16010         * math/gen-libm-test.pl (parse_args): Handle results specified for
16011         each rounding mode separately.
16012         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16013         tests and results from lrint_tonearest_test_data,
16014         lrint_towardzero_test_data, lrint_downward_test_data and
16015         lrint_upward_test_data.
16016         (lrint_test): Use ALL_RM_TEST.
16017         (lrint_tonearest_test_data): Remove.
16018         (lrint_test_tonearest): Likewise.
16019         (lrint_towardzero_test_data): Likewise.
16020         (lrint_test_towardzero): Likewise.
16021         (lrint_downward_test_data): Likewise.
16022         (lrint_test_downward): Likewise.
16023         (lrint_upward_test_data): Likewise.
16024         (lrint_test_upward): Likewise.
16025         (llrint_test_data): Merge in per-rounding-mode tests and results
16026         from llrint_tonearest_test_data, llrint_towardzero_test_data,
16027         llrint_downward_test_data and llrint_upward_test_data.
16028         (llrint_test): Use ALL_RM_TEST.
16029         (llrint_tonearest_test_data): Remove.
16030         (llrint_test_tonearest): Likewise.
16031         (llrint_towardzero_test_data): Likewise.
16032         (llrint_test_towardzero): Likewise.
16033         (llrint_downward_test_data): Likewise.
16034         (llrint_test_downward): Likewise.
16035         (llrint_upward_test_data): Likewise.
16036         (llrint_test_upward): Likewise.
16037         (rint_test_data): Merge in per-rounding-mode tests and results
16038         from rint_tonearest_test_data, rint_towardzero_test_data,
16039         rint_downward_test_data and rint_upward_test_data.  Add
16040         per-rounding-mode results for tests not in those arrays.
16041         (rint_test): Use ALL_RM_TEST.
16042         (rint_tonearest_test_data): Remove.
16043         (rint_test_tonearest): Likewise.
16044         (rint_towardzero_test_data): Likewise.
16045         (rint_test_towardzero): Likewise.
16046         (rint_downward_test_data): Likewise.
16047         (rint_test_downward): Likewise.
16048         (rint_upward_test_data): Likewise.
16049         (rint_test_upward): Likewise.
16050         (main): Don't call removed functions.
16052 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16054         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16055         "Compiled on ..." crapola.  It is anti-useful.
16057 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
16059         * scripts/evaluate-test.sh: Handle fourth argument to determine
16060         whether test run should stop on failure.
16061         * Makeconfig (stop-on-test-failure): New variable.
16062         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16063         $(stop-on-test-failure).
16064         * Makefile (tests): Give a summary of results from testing and
16065         exit with failure status if they include an ERROR or FAIL.
16066         (xtests): Likewise.
16067         * manual/install.texi (Configuring and compiling): Mention
16068         stop-on-test-failure=y.
16069         * INSTALL: Regenerated.
16071 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16073         * scripts/versionlist.awk: New file.
16074         * Makerules [$(build-shared) = yes]
16075         (postclean-generated): Add Versions.def, not Versions.def.v and
16076         Versions.def.v.i.
16077         ($(common-objpfx)Versions.def.v.i): Target removed.
16078         ($(common-objpfx)Versions.def): New target.
16079         ($(common-objpfx)Versions.all): Depend on that rather that
16080         $(common-objpfx)Versions.def.v.
16081         * Versions.def: File removed.
16083         * Makeconfig (+gccwarn): Add -Wundef.
16084         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16085         a dl-sysdep.h breaking its contract.
16086         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16087         * include/stackinfo.h: New file.
16088         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16089         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16090         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16091         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16092         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16093         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16094         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16095         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16096         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16097         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16098         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16099         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16100         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16101         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16102         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16104 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16106         [BZ #16707]
16107         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16108         implementation.
16109         * math/libm-test.inc (round_test_data): Add more tests.
16111         [BZ #16706]
16112         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16113         implementation.
16114         * math/libm-test.inc (nearbyint_test_data): Add more tests.
16116         [BZ #16701]
16117         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16118         implementation.
16119         * math/libm-test.inc (ceil_test_data): Add more tests.
16121         * math/libm-test.inc (trunc_test_data): Add more tests related to
16122         BZ#16414.
16124 2014-03-14  Roland McGrath  <roland@hack.frob.com>
16126         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16127         with #if rather than #ifdef.
16128         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16130 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
16132         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16133         first.  Disable AVX-512 GCC support if assembler doesn't support
16134         it.
16135         * sysdeps/x86_64/configure: Regenerated.
16137 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
16139         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16140         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16141         (__old_pthread_attr_setstack): Likewise.
16142         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16143         [!_STACK_GROWS_DOWN]: Likewise.
16145 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
16147         * config.make.in (have-bash2): Delete.
16148         * configure.ac (libc_cv_have_bash2): Delete.
16149         * configure: Regenerate.
16150         * elf/Makefile (common-ldd-rewrite): Rename to ...
16151         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
16152         (sh-ldd-rewrite): Delete.
16153         (bash-ldd-rewrite): Delete.
16154         (have-bash2): Delete checks.
16155         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16156         ldd-rewrite.
16158         * config.make.in (have-ksh): Delete.
16159         (KSH): Delete.
16160         * configure.ac (libc_cv_have_ksh): Delete.
16161         * configure: Regenerate.
16163         * elf/Makefile: Delete $(have-ksh) check.
16164         ($(objpfx)sotruss): Change KSH to BASH.
16165         * elf/sotruss.ksh: Rename to ...
16166         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
16167         function style to match POSIX.  Drop ksh vim mode setting.
16169         * manual/time.texi (Specifying the Time Zone with TZ): Change
16170         Tuesday to Thursday.
16172         * debug/tst-longjmp_chk2.c: Update header comment.
16173         (stackoverflow_handler): Add comment.  Call assert on pass value.
16175 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
16177         [BZ #16194]
16178         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16179         (HAVE_AVX512_ASM_SUPPORT): Likewise.
16180         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16181         (La_x86_64_vector): Add zmm.
16182         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16183         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16184         ($(objpfx)tst-audit10): New target.
16185         ($(objpfx)tst-audit10.out): Likewise.
16186         (tst-audit10-ENV): New.
16187         (AVX512-CFLAGS): Likewise.
16188         (CFLAGS-tst-audit10.c): Likewise.
16189         (CFLAGS-tst-auditmod10a.c): Likewise.
16190         (CFLAGS-tst-auditmod10b.c): Likewise.
16191         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16192         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16193         * sysdeps/x86_64/configure: Regenerated.
16194         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16195         AVX-512 zmm register support.
16196         (_dl_x86_64_save_sse): Likewise.
16197         (_dl_x86_64_restore_sse): Likewise.
16198         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16199         size vector registers.
16200         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16201         (ZMM_SIZE): Likewise.
16202         * sysdeps/x86_64/tst-audit10.c: New file.
16203         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16204         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16206 2014-03-13  Roland McGrath  <roland@hack.frob.com>
16208         * configure.ac (HAVE_EHDR_START): New check.
16209         * configure: Regenerated.
16210         * config.h.in (HAVE_EHDR_START): New #undef.
16211         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16212         assuming the lowest-addressed segment maps the start of the file.
16214 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
16216         * INSTALL: Regenerated.
16218 2014-03-13  Will Newton  <will.newton@linaro.org>
16220         * manual/setjmp.texi (System V contexts): Improve
16221         clarity and grammar of documentation.
16223 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16225         [BZ #16381]
16226         * elf/Makefile (tests): Add tst-pie2.
16227         (tests-pie): Add tst-pie2.
16228         * elf/tst-pie2.c: New file.
16229         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16230         for ET_EXEC.
16231         * elf/rtld.c (map_doit): Load executable as lt_executable.
16232         (dl_main): Likewise.
16234 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
16236         [BZ #16642]
16237         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16238         (__ASSUME_PSELECT): Undefine.
16240 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16242         [BZ #16689]
16243         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16244         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16245         static build.
16246         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16247         selector for static builds.
16249 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16251         [BZ #16695]
16252         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16253         key in the buffer.
16255 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16257         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16258         IFUNC selector for static builds.
16260 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
16262         * sysdeps/mips/math_private.h [__mips_hard_float]
16263         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16264         libc_feresetround_mips_ctx.
16265         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16266         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16267         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16269         [BZ #16677]
16270         * math/s_nextafter.c (__nextafter): Do not return value from
16271         overflowing computation.
16272         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16273         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16274         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16275         Likewise.
16276         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16277         Likewise.
16278         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16279         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16281 2014-03-11  Roland McGrath  <roland@hack.frob.com>
16283         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16284         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16285         Move sfi_sp use from the load-multiple (that no longer sets sp) to
16286         the new mov targetting sp.
16288 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16290         [BZ #16683]
16291         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16292         Define it for static builds as well.
16293         (NO_BZERO_IMPL): Likewise.
16295 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16297         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16298         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16299         multiarch strspn for PPC64.
16300         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16301         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16302         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16303         (__libc_ifunc_impl_list): Likewise.
16304         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16305         multiarch optimizations
16306         * string/strspn.c (strspn): Using macro to redefine symbol name.
16308 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16309             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16311         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16312         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16313         multiarch strncat for PPC64.
16314         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16315         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16317         (__libc_ifunc_impl_list): Likewise.
16318         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16319         multiarch optimizations
16321 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16323         [BZ #16639]
16324         * nscd/nscd.service: Make service type forking.
16326 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16328         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16329         sign in non default rounding modes.
16330         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16332 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
16334         * math/libm-test.inc (ALL_RM_TEST): New macro.
16335         (ceil_test): Use ALL_RM_TEST.
16336         (cimag_test): Likewise.
16337         (conj_test): Likewise.
16338         (copysign_test): Likewise.
16339         (cproj_test): Likewise.
16340         (creal_test): Likewise.
16341         (fabs_test): Likewise.
16342         (floor_test): Likewise.
16343         (fmax_test): Likewise.
16344         (fmin_test): Likewise.
16345         (fmod_test): Likewise.
16346         (fpclassify_test): Likewise.
16347         (frexp_test): Likewise.
16348         (ilogb_test): Likewise.
16349         (isfinite_test): Likewise.
16350         (finite_test): Likewise.
16351         (isgreater_test): Likewise.
16352         (isgreaterequal_test): Likewise.
16353         (isinf_test): Likewise.
16354         (isless_test): Likewise.
16355         (islessequal_test): Likewise.
16356         (islessgreater_test): Likewise.
16357         (isnan_test): Likewise.
16358         (isnormal_test): Likewise.
16359         (issignaling_test): Likewise.
16360         (isunordered_test): Likewise.
16361         (logb_test): Likewise.
16362         (logb_downward_test_data): Remove.
16363         (logb_test_downward): Likewise.
16364         (lround_test): Use ALL_RM_TEST.
16365         (llround_test): Likewise.
16366         (modf_test): Likewise.
16367         (nexttoward_test): Likewise.
16368         (remainder_test): Likewise.
16369         (drem_test): Likewise.
16370         (remainder_tonearest_test_data): Likewise.
16371         (remainder_test_tonearest): Likewise.
16372         (drem_test_tonearest): Likewise.
16373         (remainder_towardzero_test_data): Likewise.
16374         (remainder_test_towardzero): Likewise.
16375         (drem_test_towardzero): Likewise.
16376         (remainder_downward_test_data): Likewise.
16377         (remainder_test_downward): Likewise.
16378         (drem_test_downward): Likewise.
16379         (remainder_upward_test_data): Likewise.
16380         (remainder_test_upward): Likewise.
16381         (drem_test_upward): Likewise.
16382         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
16383         (round_test): Use ALL_RM_TEST.
16384         (signbit_test): Likewise.
16385         (trunc_test): Likewise.
16386         (significand_test): Likewise.
16387         (main): Don't call removed functions.
16389 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16391         [BZ #16674]
16392         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16393         || __USE_XOPEN2K8].
16394         (ILL_ILLOPN): Likewise.
16395         (ILL_ILLADR): Likewise.
16396         (ILL_ILLTRP): Likewise.
16397         (ILL_PRVOPC): Likewise.
16398         (ILL_PRVREG): Likewise.
16399         (ILL_COPROC): Likewise.
16400         (ILL_BADSTK): Likewise.
16401         (FPE_INTDIV): Likewise.
16402         (FPE_INTOVF): Likewise.
16403         (FPE_FLTDIV): Likewise.
16404         (FPE_FLTOVF): Likewise.
16405         (FPE_FLTUND): Likewise.
16406         (FPE_FLTRES): Likewise.
16407         (FPE_FLTINV): Likewise.
16408         (FPE_FLTSUB): Likewise.
16409         (SEGV_MAPERR): Likewise.
16410         (SEGV_ACCERR): Likewise.
16411         (BUS_ADRALN): Likewise.
16412         (BUS_ADRERR): Likewise.
16413         (BUS_OBJERR): Likewise.
16414         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16415         (TRAP_TRACE): Likewise.
16416         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16417         __USE_XOPEN2K8].
16418         (CLD_KILLED): Likewise.
16419         (CLD_DUMPED): Likewise.
16420         (CLD_TRAPPED): Likewise.
16421         (CLD_STOPPED): Likewise.
16422         (CLD_CONTINUED): Likewise.
16423         (POLL_IN): Likewise.
16424         (POLL_OUT): Likewise.
16425         (POLL_MSG): Likewise.
16426         (POLL_ERR): Likewise.
16427         (POLL_PRI): Likewise.
16428         (POLL_HUP): Likewise.
16429         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
16430         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 ||
16456         __USE_XOPEN2K8].
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/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 ||
16494         __USE_XOPEN2K8].
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/ia64/bits/siginfo.h (ILL_ILLOPC):
16507         Likewise.
16508         (ILL_ILLOPN): Likewise.
16509         (ILL_ILLADR): Likewise.
16510         (ILL_ILLTRP): Likewise.
16511         (ILL_PRVOPC): Likewise.
16512         (ILL_PRVREG): Likewise.
16513         (ILL_COPROC): Likewise.
16514         (ILL_BADSTK): Likewise.
16515         (ILL_BADIADDR): Likewise.
16516         (ILL_BREAK): Likewise.
16517         (FPE_INTDIV): Likewise.
16518         (FPE_INTOVF): Likewise.
16519         (FPE_FLTDIV): Likewise.
16520         (FPE_FLTOVF): Likewise.
16521         (FPE_FLTUND): Likewise.
16522         (FPE_FLTRES): Likewise.
16523         (FPE_FLTINV): Likewise.
16524         (FPE_FLTSUB): Likewise.
16525         (FPE_DECOVF): Likewise.
16526         (FPE_DECDIV): Likewise.
16527         (FPE_DECERR): Likewise.
16528         (FPE_INVASC): Likewise.
16529         (FPE_INVDEC): Likewise.
16530         (SEGV_MAPERR): Likewise.
16531         (SEGV_ACCERR): Likewise.
16532         (SEGV_PSTKOVF): Likewise.
16533         (BUS_ADRALN): Likewise.
16534         (BUS_ADRERR): Likewise.
16535         (BUS_OBJERR): Likewise.
16536         (BUS_MCEERR_AR): Likewise.
16537         (BUS_MCEERR_AO): Likewise.
16538         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16539         (TRAP_TRACE): Likewise.
16540         (TRAP_BRANCH): Likewise.
16541         (TRAP_HWBKPT): Likewise.
16542         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16543         __USE_XOPEN2K8].
16544         (CLD_KILLED): Likewise.
16545         (CLD_DUMPED): Likewise.
16546         (CLD_TRAPPED): Likewise.
16547         (CLD_STOPPED): Likewise.
16548         (CLD_CONTINUED): Likewise.
16549         (POLL_IN): Likewise.
16550         (POLL_OUT): Likewise.
16551         (POLL_MSG): Likewise.
16552         (POLL_ERR): Likewise.
16553         (POLL_PRI): Likewise.
16554         (POLL_HUP): Likewise.
16555         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
16556         (ILL_ILLOPN): Likewise.
16557         (ILL_ILLADR): Likewise.
16558         (ILL_ILLTRP): Likewise.
16559         (ILL_PRVOPC): Likewise.
16560         (ILL_PRVREG): Likewise.
16561         (ILL_COPROC): Likewise.
16562         (ILL_BADSTK): Likewise.
16563         (FPE_INTDIV): Likewise.
16564         (FPE_INTOVF): Likewise.
16565         (FPE_FLTDIV): Likewise.
16566         (FPE_FLTOVF): Likewise.
16567         (FPE_FLTUND): Likewise.
16568         (FPE_FLTRES): Likewise.
16569         (FPE_FLTINV): Likewise.
16570         (FPE_FLTSUB): Likewise.
16571         (SEGV_MAPERR): Likewise.
16572         (SEGV_ACCERR): Likewise.
16573         (BUS_ADRALN): Likewise.
16574         (BUS_ADRERR): Likewise.
16575         (BUS_OBJERR): Likewise.
16576         (BUS_MCEERR_AR): Likewise.
16577         (BUS_MCEERR_AO): Likewise.
16578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16579         (TRAP_TRACE): Likewise.
16580         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16581         __USE_XOPEN2K8].
16582         (CLD_KILLED): Likewise.
16583         (CLD_DUMPED): Likewise.
16584         (CLD_TRAPPED): Likewise.
16585         (CLD_STOPPED): Likewise.
16586         (CLD_CONTINUED): Likewise.
16587         (POLL_IN): Likewise.
16588         (POLL_OUT): Likewise.
16589         (POLL_MSG): Likewise.
16590         (POLL_ERR): Likewise.
16591         (POLL_PRI): Likewise.
16592         (POLL_HUP): Likewise.
16593         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
16594         (ILL_ILLOPN): Likewise.
16595         (ILL_ILLADR): Likewise.
16596         (ILL_ILLTRP): Likewise.
16597         (ILL_PRVOPC): Likewise.
16598         (ILL_PRVREG): Likewise.
16599         (ILL_COPROC): Likewise.
16600         (ILL_BADSTK): Likewise.
16601         (FPE_INTDIV): Likewise.
16602         (FPE_INTOVF): Likewise.
16603         (FPE_FLTDIV): Likewise.
16604         (FPE_FLTOVF): Likewise.
16605         (FPE_FLTUND): Likewise.
16606         (FPE_FLTRES): Likewise.
16607         (FPE_FLTINV): Likewise.
16608         (FPE_FLTSUB): Likewise.
16609         (SEGV_MAPERR): Likewise.
16610         (SEGV_ACCERR): Likewise.
16611         (BUS_ADRALN): Likewise.
16612         (BUS_ADRERR): Likewise.
16613         (BUS_OBJERR): Likewise.
16614         (BUS_MCEERR_AR): Likewise.
16615         (BUS_MCEERR_AO): Likewise.
16616         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16617         (TRAP_TRACE): Likewise.
16618         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16619         __USE_XOPEN2K8].
16620         (CLD_KILLED): Likewise.
16621         (CLD_DUMPED): Likewise.
16622         (CLD_TRAPPED): Likewise.
16623         (CLD_STOPPED): Likewise.
16624         (CLD_CONTINUED): Likewise.
16625         (POLL_IN): Likewise.
16626         (POLL_OUT): Likewise.
16627         (POLL_MSG): Likewise.
16628         (POLL_ERR): Likewise.
16629         (POLL_PRI): Likewise.
16630         (POLL_HUP): Likewise.
16631         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
16632         (ILL_ILLOPN): Likewise.
16633         (ILL_ILLADR): Likewise.
16634         (ILL_ILLTRP): Likewise.
16635         (ILL_PRVOPC): Likewise.
16636         (ILL_PRVREG): Likewise.
16637         (ILL_COPROC): Likewise.
16638         (ILL_BADSTK): Likewise.
16639         (FPE_INTDIV): Likewise.
16640         (FPE_INTOVF): Likewise.
16641         (FPE_FLTDIV): Likewise.
16642         (FPE_FLTOVF): Likewise.
16643         (FPE_FLTUND): Likewise.
16644         (FPE_FLTRES): Likewise.
16645         (FPE_FLTINV): Likewise.
16646         (FPE_FLTSUB): Likewise.
16647         (SEGV_MAPERR): Likewise.
16648         (SEGV_ACCERR): Likewise.
16649         (BUS_ADRALN): Likewise.
16650         (BUS_ADRERR): Likewise.
16651         (BUS_OBJERR): Likewise.
16652         (BUS_MCEERR_AR): Likewise.
16653         (BUS_MCEERR_AO): Likewise.
16654         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16655         (TRAP_TRACE): Likewise.
16656         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16657         __USE_XOPEN2K8].
16658         (CLD_KILLED): Likewise.
16659         (CLD_DUMPED): Likewise.
16660         (CLD_TRAPPED): Likewise.
16661         (CLD_STOPPED): Likewise.
16662         (CLD_CONTINUED): Likewise.
16663         (POLL_IN): Likewise.
16664         (POLL_OUT): Likewise.
16665         (POLL_MSG): Likewise.
16666         (POLL_ERR): Likewise.
16667         (POLL_PRI): Likewise.
16668         (POLL_HUP): Likewise.
16669         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16670         (ILL_ILLOPN): Likewise.
16671         (ILL_ILLADR): Likewise.
16672         (ILL_ILLTRP): Likewise.
16673         (ILL_PRVOPC): Likewise.
16674         (ILL_PRVREG): Likewise.
16675         (ILL_COPROC): Likewise.
16676         (ILL_BADSTK): Likewise.
16677         (ILL_DBLFLT): Likewise.
16678         (ILL_HARDWALL): Likewise.
16679         (FPE_INTDIV): Likewise.
16680         (FPE_INTOVF): Likewise.
16681         (FPE_FLTDIV): Likewise.
16682         (FPE_FLTOVF): Likewise.
16683         (FPE_FLTUND): Likewise.
16684         (FPE_FLTRES): Likewise.
16685         (FPE_FLTINV): Likewise.
16686         (FPE_FLTSUB): Likewise.
16687         (SEGV_MAPERR): Likewise.
16688         (SEGV_ACCERR): Likewise.
16689         (BUS_ADRALN): Likewise.
16690         (BUS_ADRERR): Likewise.
16691         (BUS_OBJERR): Likewise.
16692         (BUS_MCEERR_AR): Likewise.
16693         (BUS_MCEERR_AO): Likewise.
16694         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16695         (TRAP_TRACE): Likewise.
16696         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16697         __USE_XOPEN2K8].
16698         (CLD_KILLED): Likewise.
16699         (CLD_DUMPED): Likewise.
16700         (CLD_TRAPPED): Likewise.
16701         (CLD_STOPPED): Likewise.
16702         (CLD_CONTINUED): Likewise.
16703         (POLL_IN): Likewise.
16704         (POLL_OUT): Likewise.
16705         (POLL_MSG): Likewise.
16706         (POLL_ERR): Likewise.
16707         (POLL_PRI): Likewise.
16708         (POLL_HUP): Likewise.
16709         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16710         (ILL_ILLOPN): Likewise.
16711         (ILL_ILLADR): Likewise.
16712         (ILL_ILLTRP): Likewise.
16713         (ILL_PRVOPC): Likewise.
16714         (ILL_PRVREG): Likewise.
16715         (ILL_COPROC): Likewise.
16716         (ILL_BADSTK): Likewise.
16717         (FPE_INTDIV): Likewise.
16718         (FPE_INTOVF): Likewise.
16719         (FPE_FLTDIV): Likewise.
16720         (FPE_FLTOVF): Likewise.
16721         (FPE_FLTUND): Likewise.
16722         (FPE_FLTRES): Likewise.
16723         (FPE_FLTINV): Likewise.
16724         (FPE_FLTSUB): Likewise.
16725         (SEGV_MAPERR): Likewise.
16726         (SEGV_ACCERR): Likewise.
16727         (BUS_ADRALN): Likewise.
16728         (BUS_ADRERR): Likewise.
16729         (BUS_OBJERR): Likewise.
16730         (BUS_MCEERR_AR): Likewise.
16731         (BUS_MCEERR_AO): Likewise.
16732         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16733         (TRAP_TRACE): Likewise.
16734         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16735         __USE_XOPEN2K8].
16736         (CLD_KILLED): Likewise.
16737         (CLD_DUMPED): Likewise.
16738         (CLD_TRAPPED): Likewise.
16739         (CLD_STOPPED): Likewise.
16740         (CLD_CONTINUED): Likewise.
16741         (POLL_IN): Likewise.
16742         (POLL_OUT): Likewise.
16743         (POLL_MSG): Likewise.
16744         (POLL_ERR): Likewise.
16745         (POLL_PRI): Likewise.
16746         (POLL_HUP): Likewise.
16747         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16748         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16750         [BZ #16670]
16751         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16752         before #include of <time.h>.
16753         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16754         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16755         (test-xfail-UNIX98/sched.h/conform): Likewise.
16757 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16759         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16760         error absence of trapping exception support.
16761         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16763 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16765         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16766         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16767         * timezone/Makefile (testdata): Move definition above include of
16768         Rules.
16769         (test-zones): New variable.
16770         (tests-special): Add zone files.
16771         (build-testdata): Use $(evaluate-test).
16773         * elf/Makefile (tests-special): Rename tests to end with .out.
16774         ($(objpfx)noload-mem): Likewise.
16775         ($(objpfx)tst-leaks1-mem): Likewise.
16776         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16777         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16778         $(objpfx)test-iconvconfig.out.
16779         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16780         set -e inside subshell and redirect output to file.
16781         * iconvdata/Makefile (generated): Rename tests to end with .out.
16782         Correct type.
16783         (tests-special): Rename tests to end with .out.
16784         ($(objpfx)mtrace-tst-loading): Likewise.
16785         * intl/Makefile (generated): Likewise.
16786         (tests-special): Likewise.
16787         ($(objpfx)mtrace-tst-gettext): Likewise.
16788         * misc/Makefile (generated): Likewise.
16789         (tests-special): Likewise.
16790         ($(objpfx)tst-error1-mem): Likewise.
16791         * nptl/Makefile (tests-special): Likewise.
16792         ($(objpfx)tst-stack3-mem): Likewise.
16793         (generated): Likewise.
16794         * posix/Makefile (generated): Likewise.
16795         (tests-special): Likewise.
16796         (xtests-special): Likewise.
16797         ($(objpfx)tst-fnmatch-mem): Likewise.
16798         ($(objpfx)bug-regex2-mem): Likewise.
16799         ($(objpfx)bug-regex14-mem): Likewise.
16800         ($(objpfx)bug-regex21-mem): Likewise.
16801         ($(objpfx)bug-regex31-mem): Likewise.
16802         ($(objpfx)tst-vfork3-mem): Likewise.
16803         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16804         ($(objpfx)tst-pcre-mem): Likewise.
16805         ($(objpfx)tst-boost-mem): Likewise.
16806         ($(objpfx)bug-ga2-mem): Likewise.
16807         ($(objpfx)bug-glob2-mem): Likewise.
16808         * resolv/Makefile (generate): Likewise.
16809         (tests-special): Likewise.
16810         (xtests-special): Likewise.
16811         (generated): Likewise.
16812         ($(objpfx)mtrace-tst-leaks): Likewise.
16813         ($(objpfx)mtrace-tst-leaks2): Likewise.
16815         * scripts/merge-test-results.sh: New file.
16816         * Makefile (tests-special-notdir): New variable.
16817         (tests): Run merge-test-results.sh.
16818         (xtests): Likewise.
16819         * Rules (tests-special-notdir): New variable.
16820         (xtests-special-notdir): Likewise.
16821         (tests): Run merge-test-results.sh
16822         (xtests): Likewise.
16824         * Makeconfig (test-xfail-name): New variable.
16825         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16826         compute variable name for expected failures.
16827         * conform/Makefile (conformtest-headers-data): New variable.
16828         (conformtest-standards): Likewise.
16829         (conformtest-headers-ISO): Likewise.
16830         (conformtest-headers-ISO99): Likewise.
16831         (conformtest-headers-ISO11): Likewise.
16832         (conformtest-headers-POSIX): Likewise.
16833         (conformtest-headers-XPG3): Likewise.
16834         (conformtest-headers-XPG4): Likewise.
16835         (conformtest-headers-UNIX98): Likewise.
16836         (conformtest-headers-XOPEN2K): Likewise.
16837         (conformtest-headers-POSIX2008): Likewise.
16838         (conformtest-headers-XOPEN2K8): Likewise.
16839         (conformtest-header-list-base): Likewise.
16840         (conformtest-header-list-tests): Likewise.
16841         (conformtest-header-base): Likewise.
16842         (conformtest-header-tests): Likewise.
16843         (tests-special): Add $(conformtest-header-list-tests).  If
16844         [$(fast-check) && !$(cross-compiling)], add
16845         $(conformtest-header-tests) instead of
16846         $(objpfx)run-conformtest.out.
16847         (generated): Add $(conformtest-header-list-base).  If
16848         [$(fast-check) && !$(cross-compiling)], add
16849         $(conformtest-header-base).  Remove previous setting.
16850         ($(conformtest-header-list-tests)): New target.
16851         (test-xfail-run-conformtest): Remove variable.
16852         ($(objpfx)run-conformtest.out): Remove target.
16853         (test-xfail-ISO11/complex.h/conform): New variable.
16854         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16855         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16856         (test-xfail-XPG3/varargs.h/conform): Likewise.
16857         (test-xfail-XPG4/varargs.h/conform): Likewise.
16858         (test-xfail-UNIX98/varargs.h/conform): Likewise.
16859         (test-xfail-XPG4/ndbm.h/conform): Likewise.
16860         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16861         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16862         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16863         (test-xfail-XPG3/fcntl.h/conform): Likewise.
16864         (test-xfail-XPG3/ftw.h/conform): Likewise.
16865         (test-xfail-XPG3/grp.h/conform): Likewise.
16866         (test-xfail-XPG3/langinfo.h/conform): Likewise.
16867         (test-xfail-XPG3/limits.h/conform): Likewise.
16868         (test-xfail-XPG3/pwd.h/conform): Likewise.
16869         (test-xfail-XPG3/search.h/conform): Likewise.
16870         (test-xfail-XPG3/signal.h/conform): Likewise.
16871         (test-xfail-XPG3/stdio.h/conform): Likewise.
16872         (test-xfail-XPG3/stdlib.h/conform): Likewise.
16873         (test-xfail-XPG3/string.h/conform): Likewise.
16874         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16875         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16876         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16877         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16878         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16879         (test-xfail-XPG3/sys/types.h/conform): Likewise.
16880         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16881         (test-xfail-XPG3/termios.h/conform): Likewise.
16882         (test-xfail-XPG3/time.h/conform): Likewise.
16883         (test-xfail-XPG3/unistd.h/conform): Likewise.
16884         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16885         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16886         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16887         (test-xfail-XPG4/netdb.h/conform): Likewise.
16888         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16889         (test-xfail-XPG4/signal.h/conform): Likewise.
16890         (test-xfail-XPG4/stdio.h/conform): Likewise.
16891         (test-xfail-XPG4/stdlib.h/conform): Likewise.
16892         (test-xfail-XPG4/stropts.h/conform): Likewise.
16893         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16894         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16895         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16896         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16897         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16898         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16899         (test-xfail-XPG4/sys/time.h/conform): Likewise.
16900         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16901         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16902         (test-xfail-XPG4/termios.h/conform): Likewise.
16903         (test-xfail-XPG4/ucontext.h/conform): Likewise.
16904         (test-xfail-XPG4/unistd.h/conform): Likewise.
16905         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16906         (test-xfail-POSIX/sched.h/conform): Likewise.
16907         (test-xfail-POSIX/signal.h/conform): Likewise.
16908         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16909         (test-xfail-POSIX/tar.h/conform): Likewise.
16910         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16911         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16912         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16913         (test-xfail-UNIX98/netdb.h/conform): Likewise.
16914         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16915         (test-xfail-UNIX98/sched.h/conform): Likewise.
16916         (test-xfail-UNIX98/signal.h/conform): Likewise.
16917         (test-xfail-UNIX98/stdio.h/conform): Likewise.
16918         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16919         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16920         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16921         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16922         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16923         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16924         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16925         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16926         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16927         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16928         (test-xfail-UNIX98/unistd.h/conform): Likewise.
16929         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16930         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16931         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16932         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16933         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16934         (test-xfail-XOPEN2K/math.h/conform): Likewise.
16935         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16936         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16937         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16938         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16939         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16940         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16941         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16942         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16943         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16944         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16945         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16946         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16947         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16948         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16949         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16950         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16951         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16952         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16953         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16954         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16955         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16956         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16957         (test-xfail-POSIX2008/signal.h/conform): Likewise.
16958         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16959         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16960         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16961         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16962         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16963         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16964         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16965         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16966         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16967         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16968         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16969         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16970         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16971         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16972         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16973         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16974         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16975         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16976         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16977         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16978         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16979         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16980         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16981         (conformtest-cc-flags): Likewise.
16982         ($(conformtest-header-tests): New target.
16983         * conform/check-header-lists.sh: New file.
16984         * conform/run-conformtest.sh: Remove.
16986         * conform/conformtest.pl: Allow ' and \ in values given for
16987         constants.
16988         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16989         inclusion.
16990         [POSIX] (sys/types.h): Likewise.
16991         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16992         inclusion.
16993         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16994         inclusion.
16995         * conform/data/signal.h-data (SIGIO): Remove expectation.
16996         [XPG3] (SIGBUS): Do not expect.
16997         [POSIX || XPG3] (SIGPOLL): Likewise.
16998         [POSIX || XPG3] (SIGPROF): Likewise.
16999         [POSIX || XPG3] (SIGSYS): Likewise.
17000         [XPG3] (SIGTRAP): Likewise.
17001         [POSIX || XPG3] (SIGURG): Likewise.
17002         [POSIX || XPG3] (SIGVTALRM): Likewise.
17003         [POSIX || XPG3] (SIGXCPU): Likewise.
17004         [POSIX || XPG3] (SIGXFSZ): Likewise.
17005         [POSIX] (SA_SIGINFO): Expect.
17006         [XPG3] (siginfo_t): Do not expect type or contents.
17007         [POSIX] (si_pid): Do not expect element.
17008         [POSIX] (si_uid): Likewise.
17009         [POSIX] (si_addr): Likewise.
17010         [POSIX] (si_status): Likewise.
17011         [POSIX] (si_band): Likewise.
17012         [XPG4] (si_value): Likewise.
17013         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17014         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17015         [POSIX || XPG3] (ILL_ILLADR): Likewise.
17016         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17017         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17018         [POSIX || XPG3] (ILL_PRVREG): Likewise.
17019         [POSIX || XPG3] (ILL_COPROC): Likewise.
17020         [POSIX || XPG3] (ILL_BADSTK): Likewise.
17021         [POSIX || XPG3] (FPE_INTDIV): Likewise.
17022         [POSIX || XPG3] (FPE_INTOVF): Likewise.
17023         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17024         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17025         [POSIX || XPG3] (FPE_FLTUND): Likewise.
17026         [POSIX || XPG3] (FPE_FLTRES): Likewise.
17027         [POSIX || XPG3] (FPE_FLTINV): Likewise.
17028         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17029         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17030         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17031         [POSIX || XPG3] (BUS_ADRALN): Likewise.
17032         [POSIX || XPG3] (BUS_ADRERR): Likewise.
17033         [POSIX || XPG3] (BUS_OBJERR): Likewise.
17034         [POSIX || XPG3] (CLD_EXITED): Likewise.
17035         [POSIX || XPG3] (CLD_KILLED): Likewise.
17036         [POSIX || XPG3] (CLD_DUMPED): Likewise.
17037         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17038         [POSIX || XPG3] (CLD_STOPPED): Likewise.
17039         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17040         [POSIX || XPG3] (POLL_IN): Likewise.
17041         [POSIX || XPG3] (POLL_OUT): Likewise.
17042         [POSIX || XPG3] (POLL_MSG): Likewise.
17043         [POSIX || XPG3] (POLL_ERR): Likewise.
17044         [POSIX || XPG3] (POLL_PRI): Likewise.
17045         [POSIX || XPG3] (POLL_HUP): Likewise.
17046         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17047         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17048         (SIG*): Do not allow.
17049         [XPG3] (si_*): Likewise.
17050         [XPG3] (SI_*): Likewise.
17051         [XPG3 || XPG4] (sigev_*): Likewise.
17052         [XPG3 || XPG4] (SIGEV_*): Likewise.
17053         [XPG3 || XPG4] (sival_*): Likewise.
17054         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17055         [POSIX || XPG3] (BUS_*): Likewise.
17056         [POSIX || XPG3] (CLD_*): Likewise.
17057         [POSIX || XPG3] (FPE_*): Likewise.
17058         [POSIX || XPG3] (ILL_*): Likewise.
17059         [POSIX || XPG3] (POLL_*): Likewise.
17060         [POSIX || XPG3] (SEGV_*): Likewise.
17061         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17062         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17063         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17064         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17065         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17066         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17067         Specify type and value.
17068         (TVERSLEN): Likewise.
17069         (REGTYPE): Likewise.
17070         (AREGTYPE): Likewise.
17071         (LNKTYPE): Likewise.
17072         (SYMTYPE): Likewise.
17073         (CHRTYPE): Likewise.
17074         (BLKTYPE): Likewise.
17075         (DIRTYPE): Likewise.
17076         (FIFOTYPE): Likewise.
17077         (CONTTYPE): Likewise.
17078         (TSUID): Likewise.
17079         (TSGID): Likewise.
17080         (TSVTX): Likewise.
17081         (TUREAD): Likewise.
17082         (TUWRITE): Likewise.
17083         (TUEXEC): Likewise.
17084         (TGREAD): Likewise.
17085         (TGWRITE): Likewise.
17086         (TGEXEC): Likewise.
17087         (TOREAD): Likewise.
17088         (TOWRITE): Likewise.
17089         (TOEXEC): Likewise.
17090         [POSIX] (TSVTX): Expect constant.
17092 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
17094         * Makefile (tests): Change dependencies to ....
17095         (tests-special): ... additions to this variable.
17096         (tests): Depend on $(tests-special).
17097         * Makerules (check-abi-list): New variable.
17098         (check-abi): Depend on $(check-abi-list).
17099         [$(subdir) = elf] (tests-special): Add
17100         $(objpfx)check-abi-libc.out.
17101         [$(build-shared) = yes && subdir] (tests-special): Add
17102         $(check-abi-list).
17103         [$(build-shared) = yes && subdir] (tests): Do not depend on
17104         check-abi.
17105         * Rules (tests): Depend on $(tests-special).
17106         (xtests): Depend on $(xtests-special).
17107         * catgets/Makefile (tests): Change dependencies to ....
17108         (tests-special): ... additions to this variable.
17109         * conform/Makefile (tests): Change dependencies to ....
17110         (tests-special): ... additions to this variable.
17111         * elf/Makefile (tests): Change dependencies to ....
17112         (tests-special): ... additions to this variable.
17113         * grp/Makefile (tests): Change dependencies to ....
17114         (tests-special): ... additions to this variable.
17115         * iconv/Makefile (xtests): Change dependencies to ....
17116         (xtests-special): ... additions to this variable.
17117         * iconvdata/Makefile (tests): Change dependencies to ....
17118         (tests-special): ... additions to this variable.
17119         * intl/Makefile (tests): Change dependencies to ....
17120         (tests-special): ... additions to this variable.  Also add
17121         $(objpfx)tst-gettext.out.
17122         * io/Makefile (tests): Change dependencies to ....
17123         (tests-special): ... additions to this variable.
17124         * libio/Makefile (tests): Change dependencies to ....
17125         (tests-special): ... additions to this variable.
17126         * malloc/Makefile (tests): Change dependencies to ....
17127         (tests-special): ... additions to this variable.
17128         * misc/Makefile (tests): Change dependencies to ....
17129         (tests-special): ... additions to this variable.
17130         * nptl/Makefile (tests): Change dependencies to ....
17131         (tests-special): ... additions to this variable.
17132         * nptl_db/Makefile (tests): Change dependencies to ....
17133         (tests-special): ... additions to this variable.
17134         * posix/Makefile (tests): Change dependencies to ....
17135         (tests-special): ... additions to this variable.
17136         (xtests): Change dependencies to ....
17137         (xtests-special): ... additions to this variable.
17138         * resolv/Makefile (tests): Change dependencies to ....
17139         (tests-special): ... additions to this variable.
17140         (xtests): Change dependencies to ....
17141         (xtests-special): ... additions to this variable.
17142         * stdio-common/Makefile (tests): Change dependencies to ....
17143         (tests-special): ... additions to this variable.
17144         (do-tst-unbputc): Remove target.
17145         (do-tst-printf): Likewise.
17146         * stdlib/Makefile (tests): Change dependencies to ....
17147         (tests-special): ... additions to this variable.
17148         * string/Makefile (tests): Change dependencies to ....
17149         (tests-special): ... additions to this variable.
17150         * sysdeps/x86/Makefile (tests): Change dependencies to ....
17151         (tests-special): ... additions to this variable.
17153         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17154         whole file.
17155         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17156         whole file.
17157         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17158         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17160         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17161         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17162         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17163         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17164         * conform/data/libgen.h-data [XPG3]: Likewise.
17165         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17166         * conform/data/ndbm.h-data [XPG3]: Likewise.
17167         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17168         * conform/data/netdb.h-data [XPG3]: Likewise.
17169         * conform/data/netinet/in.h-data [XPG3]: Likewise.
17170         * conform/data/poll.h-data [XPG3]: Likewise.
17171         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17172         * conform/data/strings.h-data [XPG3]: Likewise.
17173         * conform/data/stropts.h-data [XPG3]: Likewise.
17174         * conform/data/sys/mman.h-data [XPG3]: Likewise.
17175         * conform/data/sys/resource.h-data [XPG3]: Likewise.
17176         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17177         Likewise.
17178         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17179         * conform/data/sys/time.h-data [XPG3]: Likewise.
17180         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17181         * conform/data/sys/uio.h-data [XPG3]: Likewise.
17182         * conform/data/sys/un.h-data [XPG3]: Likewise.
17183         * conform/data/syslog.h-data [XPG3]: Likewise.
17184         * conform/data/ucontext.h-data [XPG3]: Likewise.
17185         * conform/data/utmpx.h-data [XPG3]: Likewise.
17186         * conform/data/varargs.h-data [UNIX98]: Enable file.
17188         * manual/Makefile (INSTALL_INFO): Remove variable setting.
17190         * math/libm-test.inc (struct test_f_f_data): Move expected results
17191         into structure for each rounding mode.
17192         (struct test_ff_f_data): Likewise.
17193         (struct test_ff_f_data_nexttoward): Likewise.
17194         (struct test_fi_f_data): Likewise.
17195         (struct test_fl_f_data): Likewise.
17196         (struct test_if_f_data): Likewise.
17197         (struct test_fff_f_data): Likewise.
17198         (struct test_c_f_data): Likewise.
17199         (struct test_f_f1_data): Likewise.
17200         (struct test_fF_f1_data): Likewise.
17201         (struct test_ffI_f1_data): Likewise.
17202         (struct test_c_c_data): Likewise.
17203         (struct test_cc_c_data): Likewise.
17204         (struct test_f_i_data): Likewise.
17205         (struct test_ff_i_data): Likewise.
17206         (struct test_f_l_data): Likewise.
17207         (struct test_f_L_data): Likewise.
17208         (struct test_fFF_11_data): Likewise.
17209         (RM_): New macro.
17210         (RM_FE_DOWNWARD): Likewise.
17211         (RM_FE_TONEAREST): Likewise.
17212         (RM_FE_TOWARDZERO): Likewise.
17213         (RM_FE_UPWARD): Likewise.
17214         (RUN_TEST_LOOP_f_f): Update references to expected results.
17215         (RUN_TEST_LOOP_2_f): Likewise.
17216         (RUN_TEST_LOOP_fff_f): Likewise.
17217         (RUN_TEST_LOOP_c_f): Likewise.
17218         (RUN_TEST_LOOP_f_f1): Likewise.
17219         (RUN_TEST_LOOP_fF_f1): Likewise.
17220         (RUN_TEST_LOOP_fI_f1): Likewise.
17221         (RUN_TEST_LOOP_ffI_f1): Likewise.
17222         (RUN_TEST_LOOP_c_c): Likewise.
17223         (RUN_TEST_LOOP_cc_c): Likewise.
17224         (RUN_TEST_LOOP_f_i): Likewise.
17225         (RUN_TEST_LOOP_f_i_tg): Likewise.
17226         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17227         (RUN_TEST_LOOP_f_b): Likewise.
17228         (RUN_TEST_LOOP_f_b_tg): Likewise.
17229         (RUN_TEST_LOOP_f_l): Likewise.
17230         (RUN_TEST_LOOP_f_L): Likewise.
17231         (RUN_TEST_LOOP_fFF_11): Likewise.
17232         * math/gen-libm-test.pl (parse_args): Output four copies of
17233         expected results for each test.
17235         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17236         (__ASSUME_UTIMES): Remove.
17237         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17238         (__ASSUME_UTIMES): Likewise.
17240         * math/gen-auto-libm-tests.c: Update comment on output format.
17241         (output_for_one_input_case): Generate before-rounding and
17242         after-rounding information as conditions on output flags not
17243         floating-point format.
17244         * math/auto-libm-test-out: Regenerated.
17245         * math/gen-libm-test.pl (cond_value): New function.
17246         (or_cond_value): Use cond_value.
17247         (generate_testfile): Handle conditional exceptions.
17249 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
17251         * math/libm-test.inc (max_valid_error): New variable.
17252         (init_max_error): Take new argument specifying whether function
17253         results are exactly determined.  Set max_valid_error and bound
17254         other variables for errors based on this argument.
17255         (set_max_error): Do not record results above max_valid_error.
17256         (check_float_internal): Only accept errors of up to 0.5ulps if
17257         also at most max_valid_error.
17258         (START): Take new argument EXACT and pass it to init_max_error.
17259         (acos_test): Update call to START.
17260         (acos_test_tonearest): Likewise.
17261         (acos_test_towardzero): Likewise.
17262         (acos_test_downward): Likewise.
17263         (acos_test_upward): Likewise.
17264         (acosh_test): Likewise.
17265         (asin_test): Likewise.
17266         (asin_test_tonearest): Likewise.
17267         (asin_test_towardzero): Likewise.
17268         (asin_test_downward): Likewise.
17269         (asin_test_upward): Likewise.
17270         (asinh_test): Likewise.
17271         (atan_test): Likewise.
17272         (atanh_test): Likewise.
17273         (atan2_test): Likewise.
17274         (cabs_test): Likewise.
17275         (cacos_test): Likewise.
17276         (cacosh_test): Likewise.
17277         (carg_test): Likewise.
17278         (casin_test): Likewise.
17279         (casinh_test): Likewise.
17280         (catan_test): Likewise.
17281         (catanh_test): Likewise.
17282         (cbrt_test): Likewise.
17283         (ccos_test): Likewise.
17284         (ccosh_test): Likewise.
17285         (ceil_test): Likewise.
17286         (cexp_test): Likewise.
17287         (cimag_test): Likewise.
17288         (clog_test): Likewise.
17289         (clog10_test): Likewise.
17290         (conj_test): Likewise.
17291         (copysign_test): Likewise.
17292         (cos_test): Likewise.
17293         (cos_test_tonearest): Likewise.
17294         (cos_test_towardzero): Likewise.
17295         (cos_test_downward): Likewise.
17296         (cos_test_upward): Likewise.
17297         (cosh_test): Likewise.
17298         (cosh_test_tonearest): Likewise.
17299         (cosh_test_towardzero): Likewise.
17300         (cosh_test_downward): Likewise.
17301         (cosh_test_upward): Likewise.
17302         (cpow_test): Likewise.
17303         (cproj_test): Likewise.
17304         (creal_test): Likewise.
17305         (csin_test): Likewise.
17306         (csinh_test): Likewise.
17307         (csqrt_test): Likewise.
17308         (ctan_test): Likewise.
17309         (ctan_test_tonearest): Likewise.
17310         (ctan_test_towardzero): Likewise.
17311         (ctan_test_downward): Likewise.
17312         (ctan_test_upward): Likewise.
17313         (ctanh_test): Likewise.
17314         (ctanh_test_tonearest): Likewise.
17315         (ctanh_test_towardzero): Likewise.
17316         (ctanh_test_downward): Likewise.
17317         (ctanh_test_upward): Likewise.
17318         (erf_test): Likewise.
17319         (erfc_test): Likewise.
17320         (exp_test): Likewise.
17321         (exp_test_tonearest): Likewise.
17322         (exp_test_towardzero): Likewise.
17323         (exp_test_downward): Likewise.
17324         (exp_test_upward): Likewise.
17325         (exp10_test): Likewise.
17326         (exp10_test_tonearest): Likewise.
17327         (exp10_test_towardzero): Likewise.
17328         (exp10_test_downward): Likewise.
17329         (exp10_test_upward): Likewise.
17330         (pow10_test): Likewise.
17331         (exp2_test): Likewise.
17332         (expm1_test): Likewise.
17333         (expm1_test_tonearest): Likewise.
17334         (expm1_test_towardzero): Likewise.
17335         (expm1_test_downward): Likewise.
17336         (expm1_test_upward): Likewise.
17337         (fabs_test): Likewise.
17338         (fdim_test): Likewise.
17339         (floor_test): Likewise.
17340         (fma_test): Likewise.
17341         (fma_test_towardzero): Likewise.
17342         (fma_test_downward): Likewise.
17343         (fma_test_upward): Likewise.
17344         (fmax_test): Likewise.
17345         (fmin_test): Likewise.
17346         (fmod_test): Likewise.
17347         (fpclassify_test): Likewise.
17348         (frexp_test): Likewise.
17349         (hypot_test): Likewise.
17350         (ilogb_test): Likewise.
17351         (isfinite_test): Likewise.
17352         (finite_test): Likewise.
17353         (isgreater_test): Likewise.
17354         (isgreaterequal_test): Likewise.
17355         (isinf_test): Likewise.
17356         (isless_test): Likewise.
17357         (islessequal_test): Likewise.
17358         (islessgreater_test): Likewise.
17359         (isnan_test): Likewise.
17360         (isnormal_test): Likewise.
17361         (issignaling_test): Likewise.
17362         (isunordered_test): Likewise.
17363         (j0_test): Likewise.
17364         (j1_test): Likewise.
17365         (jn_test): Likewise.
17366         (ldexp_test): Likewise.
17367         (lgamma_test): Likewise.
17368         (gamma_test): Likewise.
17369         (lrint_test): Likewise.
17370         (lrint_test_tonearest): Likewise.
17371         (lrint_test_towardzero): Likewise.
17372         (lrint_test_downward): Likewise.
17373         (lrint_test_upward): Likewise.
17374         (llrint_test): Likewise.
17375         (llrint_test_tonearest): Likewise.
17376         (llrint_test_towardzero): Likewise.
17377         (llrint_test_downward): Likewise.
17378         (llrint_test_upward): Likewise.
17379         (log_test): Likewise.
17380         (log10_test): Likewise.
17381         (log1p_test): Likewise.
17382         (log2_test): Likewise.
17383         (logb_test): Likewise.
17384         (logb_test_downward): Likewise.
17385         (lround_test): Likewise.
17386         (llround_test): Likewise.
17387         (modf_test): Likewise.
17388         (nearbyint_test): Likewise.
17389         (nextafter_test): Likewise.
17390         (nexttoward_test): Likewise.
17391         (pow_test): Likewise.
17392         (pow_test_tonearest): Likewise.
17393         (pow_test_towardzero): Likewise.
17394         (pow_test_downward): Likewise.
17395         (pow_test_upward): Likewise.
17396         (remainder_test): Likewise.
17397         (drem_test): Likewise.
17398         (remainder_test_tonearest): Likewise.
17399         (drem_test_tonearest): Likewise.
17400         (remainder_test_towardzero): Likewise.
17401         (drem_test_towardzero): Likewise.
17402         (remainder_test_downward): Likewise.
17403         (drem_test_downward): Likewise.
17404         (remainder_test_upward): Likewise.
17405         (drem_test_upward): Likewise.
17406         (remquo_test): Likewise.
17407         (rint_test): Likewise.
17408         (rint_test_tonearest): Likewise.
17409         (rint_test_towardzero): Likewise.
17410         (rint_test_downward): Likewise.
17411         (rint_test_upward): Likewise.
17412         (round_test): Likewise.
17413         (scalb_test): Likewise.
17414         (scalbn_test): Likewise.
17415         (scalbln_test): Likewise.
17416         (signbit_test): Likewise.
17417         (sin_test): Likewise.
17418         (sin_test_tonearest): Likewise.
17419         (sin_test_towardzero): Likewise.
17420         (sin_test_downward): Likewise.
17421         (sin_test_upward): Likewise.
17422         (sincos_test): Likewise.
17423         (sinh_test): Likewise.
17424         (sinh_test_tonearest): Likewise.
17425         (sinh_test_towardzero): Likewise.
17426         (sinh_test_downward): Likewise.
17427         (sinh_test_upward): Likewise.
17428         (sqrt_test): Likewise.
17429         (sqrt_test_tonearest): Likewise.
17430         (sqrt_test_towardzero): Likewise.
17431         (sqrt_test_downward): Likewise.
17432         (sqrt_test_upward): Likewise.
17433         (tan_test): Likewise.
17434         (tan_test_tonearest): Likewise.
17435         (tan_test_towardzero): Likewise.
17436         (tan_test_downward): Likewise.
17437         (tan_test_upward): Likewise.
17438         (tanh_test): Likewise.
17439         (tgamma_test): Likewise.
17440         (trunc_test): Likewise.
17441         (y0_test): Likewise.
17442         (y1_test): Likewise.
17443         (yn_test): Likewise.
17444         (significand_test): Likewise.
17446         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
17447         individual tests in comment.
17448         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
17449         (prev_max_error): New variable.
17450         (prev_real_max_error): Likewise.
17451         (prev_imag_max_error): Likewise.
17452         (compare_ulp_data): Don't refer to test names in comment.
17453         (find_test_ulps): Remove function.
17454         (find_function_ulps): Likewise.
17455         (find_complex_function_ulps): Likewise.
17456         (init_max_error): Take function name as argument.  Look up ulps
17457         for that function.
17458         (print_ulps): Remove function.
17459         (print_max_error): Use prev_max_error instead of calling
17460         find_function_ulps.
17461         (print_complex_max_error): Use prev_real_max_error and
17462         prev_imag_max_error instead of calling find_complex_function_ulps.
17463         (check_float_internal): Take max_ulp parameter instead of calling
17464         find_test_ulps.  Don't call print_ulps.
17465         (check_float): Update call to check_float_internal.
17466         (check_complex): Update calls to check_float_internal.
17467         (START): Pass argument to init_max_error.
17468         * math/gen-libm-test.pl (%results): Don't include "kind"
17469         information.
17470         (parse_ulps): Don't handle ulps of individual tests.
17471         (print_ulps_file): Likewise.
17472         (output_ulps): Likewise.
17473         * math/README.libm-test: Update.
17474         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
17475         individual tests.
17476         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
17477         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
17478         * sysdeps/arm/libm-test-ulps: Likewise.
17479         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
17480         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
17481         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
17482         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
17483         * sysdeps/microblaze/libm-test-ulps: Likewise.
17484         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
17485         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17486         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
17487         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
17488         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
17489         * sysdeps/sh/libm-test-ulps: Likewise.
17490         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
17491         * sysdeps/tile/libm-test-ulps: Likewise.
17492         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17494 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
17496         * math/libm-test.inc (print_complex_max_error): Check separately
17497         whether real and imaginary errors are within allowed range and
17498         pass 0 to print_complex_function_ulps instead of value within
17499         allowed range.
17501 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17503         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
17504         formatting.
17505         (get_handles_fopen): Likewise.
17506         (do_write_test): Likewise.
17508         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
17510         * libio/fileops.c (do_ftell): Use cached offset when
17511         available.
17512         * libio/iofwide.c (do_ftell_wide): Likewise.
17513         * libio/iofdopen.c (_IO_new_fdopen): Don't use
17514         _IO_file_attach.
17515         * libio/wfileops.c (_IO_fwide): Don't cache offset.
17517         [BZ #16532]
17518         * libio/libioP.h (get_file_offset): New function.
17519         * libio/fileops.c (get_file_offset): Likewise.
17520         (do_ftell): Likewise.
17521         (_IO_new_file_seekoff): Split out ftell logic.
17522         * libio/wfileops.c (do_ftell_wide): Likewise.
17523         (_IO_wfile_seekoff): Split out ftell logic.
17524         * libio/tst-ftell-active-handler.c: New test case.
17525         * libio/Makefile (tests): Add it.
17527 2014-03-03  Roland McGrath  <roland@hack.frob.com>
17529         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
17530         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
17532 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17534         [BZ #16639]
17535         * nscd/connections.c (nscd_init): Call do_exit.
17536         (start_threads): Call do_exit and notify_parent.
17537         (begin_drop_privileges): Call do_exit.
17538         (finish_drop_privileges): Likewise.
17539         * nscd/selinux.c (preserve_capabilities): Likewise.
17540         (install_real_capabilities): Likewise.
17541         (nscd_selinux_enabled): Likewise.
17542         (avc_create_thread): Likewise.
17543         (avc_alloc_lock): Likewise.
17544         (nscd_avc_init): Likewise.
17545         * nscd/nscd.c (parent_fd): New static variable.
17546         (main): Create a pipe between parent and child processes.
17547         Skip closing parent_fd.
17548         (monitor_child): New function.
17549         (do_exit): Likewise.
17550         (notify_parent): Likewise.
17551         * nscd/nscd.h (notify_parent): Likewise.
17552         (do_exit): Likewise.
17554 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
17556         * malloc/malloc.c (__libc_calloc): Revert last change.
17558 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17562 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17564         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
17565         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
17566         implementation.
17567         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17568         (__libc_ifunc_impl_list): Likewise.
17569         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
17570         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
17571         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
17572         * string/strrchr.c: Define STRRCHR.
17574 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
17576         * benchtest/bench-strtok.c (simple_strtok): Delete.
17577         (strtok_string): Use as benchmark.
17578         * string/strtok (STRTOK): New macro.
17580 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
17582         * manual/threads.texi: Add header and standard comments to all
17583         functions.
17585         * elf/dl-lookup.c (check_match): New function.
17586         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
17587         (do_lookup_x): Remove nested function check_match. Use non-nested
17588         function check_match.
17590 2014-02-28  Roland McGrath  <roland@hack.frob.com>
17592         * csu/Makefile (generated, before-compile): Use += rather than =.
17593         * catgets/Makefile (generated, generated-dirs): Likewise.
17594         * debug/Makefile (generated): Likewise.
17595         * dlfcn/Makefile (generated): Likewise.
17596         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
17597         * iconvdata/Makefile (before-compile, generated): Likewise.
17598         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
17599         * libio/Makefile (generated): Likewise.
17600         * malloc/Makefile (generated): Likewise.
17601         * manual/Makefile (generated, generated-dirs): Likewise.
17602         * misc/Makefile (generated): Likewise.
17603         * posix/Makefile (generated): Likewise.
17604         * resolv/Makefile (generated): Likewise.
17605         * sunrpc/Makefile (generated, generated-dirs): Likewise.
17606         * timezone/Makefile (generated, generated-dirs): Likewise.
17608         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
17610 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17612         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17613         power8 implementation.
17614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
17615         file: POWER8 llround ifunc implementation.
17616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
17617         (__lllround): Add POWER8 implementation.
17618         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
17619         POWER8 llround implementation.
17621         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
17622         power8 implementation.
17623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
17624         file: POWER8 llrint ifunc implementation.
17625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
17626         Add POWER8 implementation.
17627         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
17628         POWER8 llrint implementation.
17630         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
17631         power8 implementation.
17632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
17633         file: POWER8 finite ifunc implementation.
17634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
17635         Add POWER8 implementation.
17636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
17637         Likewise.
17638         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
17639         POWER8 finite implementation.
17640         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
17642         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
17643         power8 implementation.
17644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
17645         file: POWER8 isinf ifunc implementation.
17646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
17647         POWER8 implementation.
17648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
17649         Likewise.
17650         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
17651         isinf implementation.
17652         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
17654         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
17655         (INIT_ARCH): Add hwcap2 initialization.
17656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17657         power8 implementation.
17658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17659         file: POWER8 isnan ifunc implementation.
17660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17661         POWER8 implementation.
17662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17663         Likewise.
17664         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17665         isnan implementation.
17666         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17668 2014-02-27  Joey Ye  <joey.ye@arm.com>
17670         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17671         (_FP_NANFRAC_Q): Set to zero.
17673 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17675         [BZ #16623]
17676         * math/auto-libm-test-in: New test inputs.
17677         * math/auto-libm-test-out: Regenerate.
17678         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17679         and DA.
17680         (__cos): Likewise.
17681         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17683 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17685         * scripts/evaluate-test.sh: Take new argument indicating whether
17686         failure is expected.
17687         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17688         indicating whether failure is expected.
17689         * conform/Makefile (test-xfail-run-conformtest): New variable.
17690         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17691         level.
17692         * posix/Makefile (test-xfail-annexc): New variable.
17693         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17695 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17697         * argp/Makefile: Include Makeconfig immediately after defining
17698         subdir.
17699         * assert/Makefile: Likewise.
17700         * benchtests/Makefile: Likewise.
17701         * catgets/Makefile: Likewise.
17702         * conform/Makefile: Likewise.
17703         * crypt/Makefile: Likewise.
17704         * csu/Makefile: Likewise.
17705         (all): Remove target.
17706         * ctype/Makefile: Include Makeconfig immediately after defining
17707         subdir.
17708         * debug/Makefile: Likewise.
17709         * dirent/Makefile: Likewise.
17710         * dlfcn/Makefile: Likewise.
17711         * gmon/Makefile: Likewise.
17712         * gnulib/Makefile: Likewise.
17713         * grp/Makefile: Likewise.
17714         * gshadow/Makefile: Likewise.
17715         * hesiod/Makefile: Likewise.
17716         * hurd/Makefile: Likewise.
17717         (all): Remove target.
17718         * iconvdata/Makefile: Include Makeconfig immediately after
17719         defining subdir.
17720         * inet/Makefile: Likewise.
17721         * intl/Makefile: Likewise.
17722         * io/Makefile: Likewise.
17723         * libio/Makefile: Likewise.
17724         (all): Remove target.
17725         * locale/Makefile: Include Makeconfig immediately after defining
17726         subdir.
17727         * login/Makefile: Likewise.
17728         * mach/Makefile: Likewise.
17729         (all): Remove target.
17730         * malloc/Makefile: Include Makeconfig immediately after defining
17731         subdir.
17732         (all): Remove target.
17733         * manual/Makefile: Include Makeconfig immediately after defining
17734         subdir.
17735         * math/Makefile: Likewise.
17736         * misc/Makefile: Likewise.
17737         * nis/Makefile: Likewise.
17738         * nss/Makefile: Likewise.
17739         * po/Makefile: Likewise.
17740         (all): Remove target.
17741         * posix/Makefile: Include Makeconfig immediately after defining
17742         subdir.
17743         * pwd/Makefile: Likewise.
17744         * resolv/Makefile: Likewise.
17745         * resource/Makefile: Likewise.
17746         * rt/Makefile: Likewise.
17747         * setjmp/Makefile: Likewise.
17748         * shadow/Makefile: Likewise.
17749         * signal/Makefile: Likewise.
17750         * socket/Makefile: Likewise.
17751         * soft-fp/Makefile: Likewise.
17752         * stdio-common/Makefile: Likewise.
17753         * stdlib/Makefile: Likewise.
17754         * streams/Makefile: Likewise.
17755         * string/Makefile: Likewise.
17756         * sunrpc/Makefile: Likewise.
17757         (all): Remove target.
17758         * sysvipc/Makefile: Include Makeconfig immediately after defining
17759         subdir.
17760         * termios/Makefile: Likewise.
17761         * time/Makefile: Likewise.
17762         * timezone/Makefile: Likewise.
17763         (all): Remove target.
17764         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17765         subdir.
17766         * wctype/Makefile: Likewise.
17768 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17770         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17771         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17772         (libc_feholdexcept_setround_mips): Ditto.
17773         (libc_feholdsetround): New.
17774         (libc_feholdsetroundf): New.
17775         (libc_feholdsetroundl): New.
17776         (libc_feupdateenv_test_mips): New.
17777         (libc_feupdateenv_test): New.
17778         (libc_feupdateenv_testf): New.
17779         (libc_feupdateenv_testl): New.
17780         (libc_feresetround): New.
17781         (libc_feresetroundf): New.
17782         (libc_feresetroundl): New.
17783         (libc_fetestexcept_mips): New.
17784         (libc_fetestexcept): New.
17785         (libc_fetestexceptf): New.
17786         (libc_fetestexceptl): New.
17787         (HAVE_RM_CTX): New.
17788         (libc_feholdexcept_setround_mips_ctx): New.
17789         (libc_feholdexcept_setround_ctx): New.
17790         (libc_feholdexcept_setroundf_ctx): New.
17791         (libc_feholdexcept_setroundl_ctx): New.
17792         (libc_fesetenv_mips_ctx): New.
17793         (libc_fesetenv_ctx): New.
17794         (libc_fesetenv_ctxf): New.
17795         (libc_fesetenv_ctxl): New.
17796         (libc_feupdateenv_mips_ctx): New.
17797         (libc_feupdateenv_ctx): New.
17798         (libc_feupdateenvf_ctx): New.
17799         (libc_feupdateenvl_ctx): New.
17800         (libc_feholdsetround_mips_ctx): New.
17801         (libc_feholdsetround_ctx): New.
17802         (libc_feholdsetroundf_ctx): New.
17803         (libc_feholdsetroundl_ctx): New.
17804         (libc_feresetround_mips_ctx): New.
17805         (libc_feresetround_ctx): New.
17806         (libc_feresetroundf_ctx): New.
17807         (libc_feresetroundl_ctx): New.
17809 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17811         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17813         * manual/ipc.texi: New file.
17814         * manual/Makefile (chapters): Add ipc.
17815         * manual/job.texi: Add "Inter-Process Communication" to next.
17816         * manual/process.texi: Add "Inter-Process Communication" to prev.
17818 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17822 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17824         * malloc/malloc.c (__libc_calloc): Simplify implementation.
17826         * manual/arith.texi: Fix spaces after sentences.
17827         * manual/charset.texi: Likewise.
17828         * manual/errno.texi: Likewise.
17829         * manual/install.texi: Likewise.
17830         * manual/llio.texi: Likewise.
17831         * manual/locale.texi: Likewise.
17832         * manual/maint.texi: Likewise.
17833         * manual/math.texi: Likewise.
17834         * manual/memory.texi: Likewise.
17835         * manual/message.texi: Likewise.
17836         * manual/probes.texi: Likewise.
17837         * manual/resource.texi: Likewise.
17838         * manual/signal.texi: Likewise.
17839         * manual/socket.texi: Likewise.
17840         * manual/stdio.texi: Likewise.
17841         * manual/string.texi: Likewise.
17842         * manual/time.texi: Likewise.
17843         * manual/users.texi: Likewise.
17845 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
17847         [BZ #16632]
17848         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17849         _DEFAULT_SOURCE is defined.
17851 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
17852             Carlos O'Donell  <carlos@redhat.com>
17854         [BZ #16613]
17855         * elf/dl-tls.c (_dl_count_modids): New function.
17856         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17857         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17858         audit library and increment generation counter.
17859         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17860         * elf/tst-audit9.c: New file.
17861         * elf/tst-auditmod9a.c: New file.
17862         * elf/tst-auditmod9b.c: New file.
17863         * elf/Makefile: Add rules to build and run tst-audit9.
17865 2014-02-25  Florian Weimer  <fweimer@redhat.com>
17867         [BZ #15347]
17868         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17870 2014-02-25  Will Newton  <will.newton@linaro.org>
17872         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17873         (__longjmp): Restore sp and lr before restoring callee
17874         saved registers.  Add longjmp and longjmp_target
17875         SystemTap probe point.
17876         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17877         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17878         Define to zero to match jmpbuf layout.
17879         * sysdeps/arm/setjmp.S: Include stap-probe.h.
17880         (__sigsetjmp): Save sp and lr before saving callee
17881         saved registers.  Add setjmp SystemTap probe point.
17883 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17885         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17887 2014-02-24  Andreas Schwab  <schwab@suse.de>
17889         [BZ #15804]
17890         * elf/pldd.c (wait_for_ptrace_stop): New function.
17891         (main): Call it after attaching.
17893 2014-02-22  Roland McGrath  <roland@hack.frob.com>
17895         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17896         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17897         Versions files is now verboten.
17898         * hurd/Versions (libc: GLIBC_2.0):
17899         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17900         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17901         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17902         * mach/Versions: Likewise.
17904         * csu/Versions: Remove unused %include.
17905         * resolv/Versions: Likewise.
17907 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
17909         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17910         ($(objpfx)check-local-headers.out): Likewise.
17911         ($(objpfx)begin-end-check.out): Likewise.
17912         * Makerules (check-abi-%.out): Likewise.
17913         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17914         ($(objpfx)test2.cat): Likewise.
17915         ($(objpfx)de/libc.cat): Likewise.
17916         ($(objpfx)test-gencat.out): Likewise.
17917         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17918         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17919         ($(objpfx)noload-mem): Likewise.
17920         ($(objpfx)tst-pathopt.out): Likewise.
17921         ($(objpfx)tst-rtld-load-self.out): Likewise.
17922         ($(objpfx)tst-array1-cmp.out): Likewise.
17923         ($(objpfx)tst-array1-static-cmp.out): Likewise.
17924         ($(objpfx)tst-array2-cmp.out): Likewise.
17925         ($(objpfx)tst-array3-cmp.out): Likewise.
17926         ($(objpfx)tst-array4-cmp.out): Likewise.
17927         ($(objpfx)tst-array5-cmp.out): Likewise.
17928         ($(objpfx)tst-array5-static-cmp.out): Likewise.
17929         ($(objpfx)check-textrel.out): Likewise.
17930         ($(objpfx)check-execstack.out): Likewise.
17931         ($(objpfx)check-localplt.out): Likewise.
17932         ($(objpfx)order2-cmp.out): Likewise.
17933         ($(objpfx)tst-leaks1-mem): Likewise.
17934         ($(objpfx)tst-leaks1-static-mem): Likewise.
17935         ($(objpfx)tst-initorder-cmp.out): Likewise.
17936         ($(objpfx)tst-initorder2-cmp.out): Likewise.
17937         ($(objpfx)tst-unused-dep.out): Likewise.
17938         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17939         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17940         * iconv/Makefile (test-iconvconfig): Likewise.
17941         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17942         ($(objpfx)iconv-test.out): Likewise.
17943         ($(objpfx)tst-tables.out): Likewise.
17944         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17945         ($(objpfx)tst-gettext.out): Likewise.
17946         ($(objpfx)tst-translit.out): Likewise.
17947         ($(objpfx)tst-gettext2.out): Likewise.
17948         ($(objpfx)tst-gettext4.out): Likewise.
17949         ($(objpfx)tst-gettext6.out): Likewise.
17950         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17951         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17952         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17953         ($(objpfx)tst-fopenloc-mem.out): Likewise.
17954         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17955         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17956         * posix/Makefile ($(objpfx)globtest.out): Likewise.
17957         ($(objpfx)wordexp-tst.out): Likewise.
17958         ($(objpfx)annexc.out): Likewise.
17959         ($(objpfx)tst-fnmatch-mem): Likewise.
17960         ($(objpfx)bug-regex2-mem): Likewise.
17961         ($(objpfx)bug-regex14-mem): Likewise.
17962         ($(objpfx)bug-regex21-mem): Likewise.
17963         ($(objpfx)bug-regex31-mem): Likewise.
17964         ($(objpfx)tst-vfork3-mem): Likewise.
17965         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17966         ($(objpfx)tst-pcre-mem): Likewise.
17967         ($(objpfx)tst-boost-mem): Likewise.
17968         ($(objpfx)tst-getconf.out): Likewise.
17969         ($(objpfx)bug-ga2-mem): Likewise.
17970         ($(objpfx)bug-glob2-mem): Likewise.
17971         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17972         ($(objpfx)mtrace-tst-leaks2): Likewise.
17973         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17974         ($(objpfx)tst-printf.out): Likewise.
17975         ($(objpfx)tst-setvbuf1.out): Likewise.
17976         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17977         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17978         ($(objpfx)tst-fmtmsg.out): Likewise.
17979         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17980         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17982         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17983         * bits/sigaction.h [__USE_MISC]: Likewise.
17984         * bits/waitstatus.h: Update #endif comments.
17985         * ctype/ctype.h: Likewise.
17986         * dirent/dirent.h: Likewise.
17987         [__USE_MISC]: Remove redundant conditionals.
17988         * grp/grp.h: Update #endif comments.
17989         [__USE_GNU]: Remove redundant conditionals.
17990         [__USE_MISC]: Likewise.
17991         * inet/netinet/in.h [__USE_GNU]: Likewise.
17992         * io/sys/stat.h [__USE_MISC]: Likewise.
17993         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17994         * libio/bits/stdio.h: Update #endif comments.
17995         [__USE_MISC]: Remove redundant conditionals.
17996         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17997         * libio/stdio.h: Update #endif comments.
17998         [__USE_MISC]: Remove redundant conditionals.
17999         * math/bits/math-finite.h [__USE_MISC]: Likewise.
18000         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18001         * math/math.h: Update #else and #endif comments.
18002         [__USE_MISC]: Remove redundant conditionals.
18003         * misc/sys/uio.h: Update #endif comments.
18004         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18005         * posix/glob.h [__USE_MISC]: Likewise.
18006         * posix/sys/types.h: Update #endif comments.
18007         [__USE_MISC]: Remove redundant conditionals.
18008         * posix/sys/wait.h: Update #endif comments.
18009         [__USE_MISC]: Remove redundant conditionals.
18010         * posix/unistd.h: Update #endif comments.
18011         [__USE_MISC]: Remove redundant conditionals.
18012         * pwd/pwd.h [__USE_GNU]: Likewise.
18013         [__USE_MISC]: Likewise.
18014         * resolv/netdb.h [__USE_GNU]: Likewise.
18015         * signal/signal.h: Update #endif comments.
18016         [__USE_MISC]: Remove redundant conditionals.
18017         * stdlib/stdlib.h: Update #else and #endif comments.
18018         [__USE_MISC]: Remove redundant conditionals.
18019         [__USE_GNU]: Likewise.
18020         * string/bits/string2.h [__USE_MISC]: Likewise.
18021         * string/string.h: Update #endif comments.
18022         [__USE_MISC]: Remove redundant conditionals.
18023         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18024         Likewise.
18025         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18026         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18027         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18028         Likewise.
18029         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18030         Likewise.
18031         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18032         comments.
18033         [__USE_MISC]: Remove redundant conditionals.
18034         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18035         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18036         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18037         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18038         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18039         Likewise.
18040         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18041         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18042         Likewise.
18043         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18044         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18045         Likewise.
18046         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18047         Likewise.
18048         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18049         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18050         Likewise.
18051         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18052         Likewise.
18053         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18054         * sysdeps/x86/bits/string.h: Update #endif comments.
18055         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18056         conditionals.
18057         * time/sys/time.h: Update #endif comments.
18058         * time/time.h: Likewise.
18059         [__USE_MISC]: Remove redundant conditionals.
18061 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
18063         [BZ #16600]
18064         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18066 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
18068         * Versions.def (librt): Add GLIBC_2.17.
18070 2014-02-21  Adam Conrad  <adconrad@0c3.net>
18072         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18073         synonym for _SYS_AUXV_H to allow direct inclusion.
18074         * sysdeps/sparc/bits/hwcap.h: Likewise.
18075         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18076         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18077         * sysdeps/sparc/sysdep.h: Likewise.
18079 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18081         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18083 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18085         * benchtests/bench-strrchr.c: Print length instead of position.
18087 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
18089         [BZ #16611]
18090         * sysdeps/unix/sysv/linux/kernel-features.h
18091         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18092         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18093         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18094         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18095         Likewise.
18096         [__i386__ || __powerpc__ || __sh__ || __sparc__]
18097         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18098         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18099         (__ASSUME_SENDMMSG): Define instead of using previous
18100         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18101         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18102         (__ASSUME_SENDMMSG_SYSCALL): Define.
18103         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18104         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18105         Likewise.
18106         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18107         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18108         Likewise.
18109         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18110         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18111         Likewise.
18112         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18113         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18114         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18115         [__ASSUME_SENDMMSG]: Change conditionals to
18116         [__ASSUME_SENDMMSG_SOCKETCALL].
18117         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18118         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18119         Define.
18120         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18121         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18122         Likewise.
18123         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18124         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18125         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18126         [!__ASSUME_SENDMMSG]: Change conditional to
18127         [!__ASSUME_SENDMMSG_SOCKETCALL].
18128         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18129         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18130         Define.
18132         [BZ #16610]
18133         * sysdeps/unix/sysv/linux/kernel-features.h
18134         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18135         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18136         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18137         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18138         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18139         [__i386__ || __sparc__]
18140         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18141         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18142         (__ASSUME_RECVMMSG): Define instead of using previous
18143         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18144         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18145         (__ASSUME_RECVMMSG_SYSCALL): Define.
18146         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18147         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18148         Likewise.
18149         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18150         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18151         Likewise.
18152         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18153         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18154         Likewise.
18155         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18156         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18157         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18158         [__ASSUME_RECVMMSG]: Change condition to
18159         [__ASSUME_RECVMMSG_SOCKETCALL].
18160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18161         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18162         Define.
18163         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18164         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18165         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18166         Likewise.
18167         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18168         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18169         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18170         [!__ASSUME_RECVMMSG]: Change condition to
18171         [!__ASSUME_RECVMMSG_SOCKETCALL].
18172         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18173         (__ASSUME_RECVMMSG_SYSCALL): Define.
18175         [BZ #16609]
18176         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18177         __powerpc__ || __s390__ || __sh__ || __sparc__]
18178         (__ASSUME_SOCKETCALL): Define.
18179         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18180         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18181         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18182         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18183         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18184         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18185         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18186         (__ASSUME_ACCEPT4): Define instead of using previous
18187         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18188         __powerpc__ || __sparc__ || __s390__)] condition.
18189         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18190         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18191         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18192         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18193         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18194         [!__ASSUME_ACCEPT4]: Change condition to
18195         [!__ASSUME_ACCEPT4_SOCKETCALL].
18196         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18197         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
18198         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18199         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18200         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18201         __ASSUME_ACCEPT4_SYSCALL.
18202         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18203         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18204         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18205         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18206         __ASSUME_ACCEPT4_SYSCALL.
18207         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18208         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18209         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18210         [__ASSUME_ACCEPT4]: Change condition to
18211         [__ASSUME_ACCEPT4_SOCKETCALL].
18212         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18213         (__ASSUME_SOCKETCALL): Define.
18214         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18215         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18216         (__ASSUME_SOCKETCALL): Define.
18217         (__ASSUME_ACCEPT4): Remove.
18218         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18219         Define.
18220         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18221         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18222         Likewise.
18223         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18224         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18226         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18227         macro.
18228         (HWCAP_ARM_LPAE): Likewise.
18229         (HWCAP_ARM_EVTSTRM): Likewise.
18230         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18231         Add vpfd32, lpae and evtstrm.
18232         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18233         Increase to 22.
18235 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
18237         * math/auto-libm-test-in: Add tests of clog10.
18238         * math/auto-libm-test-out: Regenerated.
18239         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18240         * sysdeps/i386/fpu/libm-test-ulps: Update.
18241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18243 2014-02-18  Andreas Schwab  <schwab@suse.de>
18245         [BZ #16574]
18246         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18247         Store non-zero if the second buffer was newly allocated.
18248         (send_dg): Likewise.
18249         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18250         to send_vc and send_dg.
18251         (res_nsend): Pass NULL for ansp2_malloced.
18252         * resolv/res_query.c (__libc_res_nquery): Add parameter
18253         answerp2_malloced and pass it down to __libc_res_nsend.
18254         (res_nquery): Pass additional NULL to __libc_res_nquery.
18255         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18256         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
18257         second answer buffer if answerp2_malloced was set.
18258         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18259         (__libc_res_nquerydomain): Add parameter
18260         answerp2_malloced and pass it down to __libc_res_nquery.
18261         (res_nquerydomain): Pass additional NULL to
18262         __libc_res_nquerydomain.
18263         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18264         additional NULL to __libc_res_nsend and __libc_res_nquery.
18265         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18266         additional NULL to __libc_res_nsearch.
18267         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
18268         parameter of __libc_res_nsearch to check for separately allocated
18269         second buffer.
18270         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18271         __libc_res_nquery.
18272         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18273         additional NULL to __libc_res_nquery.
18274         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18275         __libc_res_nsearch.
18276         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18277         * include/resolv.h: Update prototypes of __libc_res_nquery,
18278         __libc_res_nsearch, __libc_res_nsend.
18280 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
18282         * math/auto-libm-test-in: Add tests of fma.
18283         * math/auto-libm-test-out: Regenerated.
18284         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18285         (fma_towardzero_test_data): Likewise.
18286         (fma_downward_test_data): Likewise.
18287         (fma_upward_test_data): Likewise.
18288         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18289         mpc_mode.
18290         (rounding_modes): Add values for new field.
18291         (func_calc_method): Add value mpfr_fff_f.
18292         (func_calc_desc): Add mpfr_fff_f union field.
18293         (test_function): Add field exact_args.
18294         (FUNC): Add macro argument EXACT_ARGS.
18295         (FUNC_mpfr_f_f): Update call to FUNC.
18296         (FUNC_mpfr_f_f): Likewise.
18297         (FUNC_mpfr_ff_f): Likewise.
18298         (FUNC_mpfr_if_f): Likewise.
18299         (FUNC_mpc_c_f): Likewise.
18300         (FUNC_mpc_c_c): Likewise.
18301         (test_functions): Add fma.  Update calls to FUNC.
18302         (handle_input_arg): Add argument exact_args.
18303         (add_test): Update call to handle_input_arg.
18304         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
18305         (output_for_one_input_case): Update call to calc_generic_results.
18306         Recalculate exact zero results in each rounding mode.
18308         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18309         non-negative before setting low bit.
18310         * math/auto-libm-test-in: Mark one asin test possibly having
18311         spurious underflow.
18312         * math/auto-libm-test-out: Regenerated.
18313         * sysdeps/i386/fpu/libm-test-ulps: Update.
18314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18316 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
18318         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18319         * sysdeps/unix/sysv/linux/microblaze: Move directory from
18320         ports/sysdeps/unix/sysv/linux/microblaze.
18321         * README: Add missing listing for microblaze*-*-linux-gnu.
18323 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
18325         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18326         duplicate code
18328 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
18330         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18331         * sysdeps/unix/sysv/linux/ia64: Move directory from
18332         ports/sysdeps/unix/sysv/linux/ia64.
18333         * README: Update listing for ia64-*-linux-gnu.
18335 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
18336             Joseph Myers  <joseph@codesourcery.com>
18338         * Makeconfig (test-name): New variable.
18339         (evaluate-test): Likewise.
18340         * Makerules (do-test-clean): Remove .test-result files.
18341         (common-mostlyclean): Likewise.
18342         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18343         * scripts/evaluate-test.sh: New file.
18345 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
18347         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18348         separate $(objpfx)tst-fopenloc-cmp.out and
18349         $(objpfx)tst-fopenloc-mem.out targets.
18350         (tests): Update dependencies.
18351         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18352         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18353         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18354         (tst-rxspencer-no-utf8-ARGS): New variable.
18355         (tst-rxspencer-no-utf8-ENV): Likewise.
18356         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18357         instead of $(objpfx)tst-rxspencer-mem.
18358         ($(objpfx)tst-rxspencer-mem): Change target to
18359         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
18360         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18361         * posix/tst-rxspencer-no-utf8.c: New file.
18363         * elf/Makefile ($(objpfx)order.out): Remove rule.
18364         [$(run-built-tests) = yes] (tests): Depend on
18365         $(objpfx)order-cmp.out.
18366         ($(objpfx)order-cmp.out): New rule.
18367         [$(run-built-tests) = yes] (tests): Depend on
18368         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18369         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18370         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18371         $(objpfx)tst-array5-static-cmp.out.
18372         ($(objpfx)tst-array1.out): Remove rule.
18373         ($(objpfx)tst-array1-cmp.out): New rule.
18374         ($(objpfx)tst-array1-static.out): Remove rule.
18375         ($(objpfx)tst-array1-static-cmp.out): New rule.
18376         ($(objpfx)tst-array2.out): Remove rule.
18377         ($(objpfx)tst-array2-cmp.out): New rule.
18378         ($(objpfx)tst-array3.out): Remove rule.
18379         ($(objpfx)tst-array3-cmp.out): New rule.
18380         ($(objpfx)tst-array4.out): Remove rule.
18381         ($(objpfx)tst-array4-cmp.out): New rule.
18382         ($(objpfx)tst-array5.out): Remove rule.
18383         ($(objpfx)tst-array5-cmp.out): New rule.
18384         ($(objpfx)tst-array5-static.out): Remove rule.
18385         ($(objpfx)tst-array5-static-cmp.out): New rule.
18386         [$(run-built-tests) = yes] (tests): Depend on
18387         $(objpfx)order2-cmp.out.
18388         ($(objpfx)order2.out): Remove rule.
18389         ($(objpfx)order2-cmp.out): New rule.
18390         ($(objpfx)tst-initorder.out): Remove rule.
18391         [$(run-built-tests) = yes] (tests): Depend on
18392         $(objpfx)tst-initorder-cmp.out.
18393         ($(objpfx)tst-initorder-cmp.out): New rule.
18394         ($(objpfx)tst-initorder2.out): Remove rule.
18395         [$(run-built-tests) = yes] (tests): Depend on
18396         $(objpfx)tst-initorder2-cmp.out.
18397         ($(objpfx)tst-initorder2-cmp.out): New rule.
18398         [$(run-built-tests) = yes] (tests): Depend on
18399         $(objpfx)tst-unused-dep-cmp.out.
18400         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18401         ($(objpfx)tst-unused-dep-cmp.out): New rule.
18402         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18403         on $(objpfx)tst-setvbuf1-cmp.out.
18404         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18405         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18406         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18407         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18408         ($(objpfx)tst-svc.out): Remove rule.
18409         ($(objpfx)tst-svc-cmp.out): New rule.
18411 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
18413         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18414         * ctype/ctype.h [__USE_MISC]: Likewise.
18415         * dirent/dirent.h [__USE_MISC]: Likewise.
18416         * grp/grp.h [__USE_MISC]: Likewise.
18417         * io/fcntl.h [__USE_MISC]: Likewise.
18418         * io/sys/stat.h [__USE_MISC]: Likewise.
18419         * libio/stdio.h [__USE_MISC]: Likewise.
18420         * posix/unistd.h [__USE_MISC]: Likewise.
18421         * pwd/pwd.h [__USE_MISC]: Likewise.
18422         * stdlib.h [__USE_MISC]: Likewise.
18423         * string/bits/string2.h [__USE_MISC]: Likewise.
18424         * string/string.h [__USE_MISC]: Likewise.
18425         * time/time.h [__USE_MISC]: Likewise.
18427 2014-02-13  Andreas Schwab  <schwab@suse.de>
18429         [BZ #16574]
18430         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
18431         second answer buffer if it was separately allocated.
18433 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
18435         * sysdeps/mips/math-tests.h: Include <features.h>.
18436         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18437         (ROUNDING_TESTS_long_double): Do not define.
18438         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
18439         (EXCEPTION_TESTS_long_double): Likewise.
18440         * sysdeps/mips/mips64/libm-test-ulps: Update.
18442         * include/features.h (__USE_BSD): Remove macro definitions.
18443         (__USE_SVID): Likewise.
18444         (_BSD_SOURCE): Likewise.
18445         (_SVID_SOURCE): Likewise.
18446         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
18447         from definition of _DEFAULT_SOURCE.
18448         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
18449         [_DEFAULT_SOURCE].
18450         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
18451         * bits/mman.h [__USE_BSD]: Likewise.
18452         * bits/termios.h [__USE_BSD]: Likewise.
18453         * bits/waitstatus.h [__USE_BSD]: Likewise.
18454         * ctype/ctype.h [__USE_SVID]: Likewise.
18455         * dirent/dirent.h [__USE_BSD]: Likewise.
18456         * grp/grp.h [__USE_SVID]: Likewise.
18457         [__USE_BSD]: Likewise.
18458         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
18459         * io/fcntl.h [__USE_BSD]: Likewise.
18460         * io/ftw.h [__USE_BSD]: Likewise.
18461         * io/sys/stat.h [__USE_BSD]: Likewise.
18462         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
18463         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
18464         * libio/stdio.h [__USE_SVID]: Likewise.
18465         [__USE_BSD]: Likewise.
18466         * math/math.h [__USE_SVID]: Likewise.
18467         [__USE_BSD]: Likewise.
18468         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
18469         * misc/bits/syslog.h [__USE_BSD]: Likewise.
18470         * misc/search.h [__USE_SVID]: Likewise.
18471         * misc/sys/mman.h [__USE_BSD]: Likewise.
18472         * misc/sys/syslog.h [__USE_BSD]: Likewise.
18473         * misc/sys/uio.h [__USE_BSD]: Likewise.
18474         * posix/bits/unistd.h [__USE_BSD]: Likewise.
18475         * posix/glob.h [__USE_BSD]: Likewise.
18476         * posix/regex.h [__USE_BSD]: Likewise.
18477         * posix/sys/types.h [__USE_BSD]: Likewise.
18478         [__USE_SVID]: Likewise.
18479         * posix/sys/utsname.h [__USE_SVID]: Likewise.
18480         * posix/sys/wait.h [__USE_BSD]: Likewise.
18481         [__USE_SVID]: Likewise.
18482         * posix/unistd.h [__USE_BSD]: Likewise.
18483         [__USE_SVID]: Likewise.
18484         * pwd/pwd.h [__USE_SVID]: Likewise.
18485         * resolv/netdb.h [__USE_BSD]: Likewise.
18486         * setjmp/setjmp.h [__USE_BSD]: Likewise.
18487         * signal/signal.h [__USE_BSD]: Likewise.
18488         [__USE_SVID]: Likewise.
18489         * socket/sys/socket.h [__USE_BSD]: Likewise.
18490         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
18491         * stdlib/stdlib.h [__USE_BSD]: Likewise.
18492         [__USE_SVID]: Likewise.
18493         * string/bits/string2.h [__USE_BSD]: Likewise.
18494         [__USE_SVID]: Likewise.
18495         * string/bits/string3.h [__USE_BSD]: Likewise.
18496         * string/endian.h [__USE_BSD]: Likewise.
18497         * string/string.h [__USE_SVID]: Likewise.
18498         [__USE_BSD]: Likewise.
18499         * string/strings.h [__USE_BSD]: Likewise.
18500         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
18501         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
18502         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
18503         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
18504         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
18505         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
18506         Likewise.
18507         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
18508         Likewise.
18509         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
18510         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
18511         Likewise.
18512         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
18513         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
18514         Likewise.
18515         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
18516         Likewise.
18517         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
18518         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
18519         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
18520         Likewise.
18521         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
18522         Likewise.
18523         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
18524         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
18525         * termios/termios.h [__USE_BSD]: Likewise.
18526         * time/sys/time.h [__USE_BSD]: Likewise.
18527         * time/time.h [__USE_BSD]: Likewise.
18528         [__USE_SVID]: Likewise.
18530         * Makefile (subdir_targets): Remove subdir_lint.out.
18532         * stdio-common/Makefile (do-tst-unbputc): Remove target.
18533         (do-tst-printf): Likewise.
18534         (tests): Depend directly on $(objpfx)tst-unbputc.out and
18535         $(objpfx)tst-printf.out.
18537         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
18539         * Makerules (check-abi-%): Change target to
18540         $(objpfx)check-abi-%.out.
18541         (check-abi target): Update dependencies.
18542         (check-abi-pattern variable): Redirect output of diff to $@.
18543         (check-abi variable): Likewise.
18544         * elf/Makefile (check-abi): Update dependencies.
18546         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
18547         unused.
18548         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
18549         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
18550         subnormal range.
18551         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
18552         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
18553         value has largest subnormal exponent.
18554         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
18555         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
18556         * sysdeps/aarch64/soft-fp/sfp-machine.h
18557         (_FP_TININESS_AFTER_ROUNDING): New macro.
18558         * sysdeps/alpha/soft-fp/sfp-machine.h
18559         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18560         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18561         Likewise.
18562         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
18563         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18564         * sysdeps/mips/soft-fp/sfp-machine.h
18565         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18566         * sysdeps/powerpc/soft-fp/sfp-machine.h
18567         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18568         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18569         Likewise.
18570         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18571         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18572         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18573         (_FP_TININESS_AFTER_ROUNDING): Likewise.
18574         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
18575         Likewise.
18577 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
18579         [BZ #16545]
18580         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
18581         model 1.
18583 2014-02-12  Richard Henderson  <rth@redhat.com>
18585         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
18586         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
18587         * sysdeps/unix/sysv/linux/alpha: Move directory from
18588         ports/sysdeps/unix/sysv/linux/alpha.
18589         * README: Update listing for alpha-*-linux-gnu.
18591 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
18593         * include/features.h: Update comment documenting feature test
18594         macros.
18595         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
18596         _DEFAULT_SOURCE.
18597         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
18598         (_SVID_SOURCE): Likewise.
18599         (_DEFAULT_SOURCE): Update description of default features.
18600         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
18601         with _GNU_SOURCE.
18602         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
18603         (S_ISVTX): Likewise.
18604         * manual/math.texi (Mathematical Constants): Likewise.
18605         * manual/signal.texi (Interrupted Primitives): Likewise.
18606         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
18607         * math/test-matherr.c (_SVID_SOURCE): Do not define.
18608         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
18609         Don't refer to _SVID_SOURCE in warning text.
18611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18613         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
18614         already defined.
18615         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
18616         * sysdeps/mips/dl-lookup.c: Remove.
18617         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
18619 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18621         [BZ #16447]
18622         * math/auto-libm-test-in: Add testcase for expl.
18623         * math/auto-libm-test-out: Regenerate.
18624         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
18625         calculation of unsafe.
18626         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
18628 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
18630         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
18631         * sysdeps/unix/sysv/linux/aarch64: Move directory from
18632         ports/sysdeps/unix/sysv/linux/aarch64.
18633         * README: Update listing for aarch64*-*-linux-gnu.
18635 2014-02-11  Will Newton  <will.newton@linaro.org>
18637         * manual/probes.texi (Mathematical Function Probes): Use
18638         "triggered" instead of "hit".
18640         * manual/probes.texi (Internal Probes): Add documentation
18641         of setjmp, longjmp and longjmp_target probes.
18643         * include/stap-probe.h: Add comment about probe argument
18644         format.
18646         * malloc/mtrace.c (attribute_hidden): Remove unused macro
18647         definition.  (tr_where, tr_freehook, tr_mallochook,
18648         tr_reallochook, tr_memalignhook): Use ANSI protoype.
18650 2014-02-11  David S. Miller  <davem@davemloft.net>
18652         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
18653         processing int_tests.
18655 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
18657         * sysdeps/mips: Move directory from ports/sysdeps/mips.
18658         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18659         * sysdeps/unix/sysv/linux/mips: Move directory from
18660         ports/sysdeps/unix/sysv/linux/mips.
18661         * README: Update listing for mips-*-linux-gnu and
18662         mips64-*-linux-gnu.
18664 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18666         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18667         * sysdeps/unix/sysv/linux/m68k: Move directory from
18668         ports/sysdeps/unix/sysv/linux/m68k.
18669         * README: Update listing for m68k-*-linux-gnu.
18671 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18673         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18674         * sysdeps/unix/sysv/linux/generic: Move directory from
18675         ports/sysdeps/unix/sysv/linux/generic.
18676         * sysdeps/unix/sysv/linux/tile: Move directory from
18677         ports/sysdeps/unix/sysv/linux/tile.
18678         * README: Update listing for tile*-*-linux-gnu.
18680 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18682         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18683         __builtin_expect.
18684         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18685         * catgets/open_catalog.c (__open_catalog): Likewise.
18686         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18687         * debug/confstr_chk.c: Likewise.
18688         * debug/fread_chk.c (__fread_chk): Likewise.
18689         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18690         * debug/getgroups_chk.c: Likewise.
18691         * debug/mbsnrtowcs_chk.c: Likewise.
18692         * debug/mbsrtowcs_chk.c: Likewise.
18693         * debug/mbstowcs_chk.c: Likewise.
18694         * debug/memcpy_chk.c: Likewise.
18695         * debug/memmove_chk.c: Likewise.
18696         * debug/mempcpy_chk.c: Likewise.
18697         * debug/memset_chk.c: Likewise.
18698         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18699         * debug/strcat_chk.c (__strcat_chk): Likewise.
18700         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18701         * debug/strncat_chk.c (__strncat_chk): Likewise.
18702         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18703         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18704         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18705         * debug/wcpncpy_chk.c: Likewise.
18706         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18707         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18708         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18709         * debug/wcsncpy_chk.c: Likewise.
18710         * debug/wcsnrtombs_chk.c: Likewise.
18711         * debug/wcsrtombs_chk.c: Likewise.
18712         * debug/wcstombs_chk.c: Likewise.
18713         * debug/wmemcpy_chk.c: Likewise.
18714         * debug/wmemmove_chk.c: Likewise.
18715         * debug/wmempcpy_chk.c: Likewise.
18716         * debug/wmemset_chk.c: Likewise.
18717         * dirent/scandirat.c (SCANDIRAT): Likewise.
18718         * dlfcn/dladdr1.c (dladdr1): Likewise.
18719         * dlfcn/dladdr.c (dladdr): Likewise.
18720         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18721         * dlfcn/dlerror.c (__dlerror): Likewise.
18722         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18723         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18724         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18725         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18726         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18727         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18728         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18729         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18730         Likewise.
18731         * elf/dl-conflict.c: Likewise.
18732         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18733         * elf/dl-dst.h: Likewise.
18734         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18735         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18736         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18737         * elf/dl-init.c (call_init, _dl_init): Likewise.
18738         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18739         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18740         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18741         Likewise.
18742         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18743         Likewise.
18744         * elf/dl-minimal.c (__libc_memalign): Likewise.
18745         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18746         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18747         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18748         * elf/dl-sym.c (do_sym): Likewise.
18749         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18750         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18751         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18752         * elf/dl-writev.h (_dl_writev): Likewise.
18753         * elf/ldconfig.c (search_dir): Likewise.
18754         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18755         (dl_main): Likewise.
18756         * elf/setup-vdso.h (setup_vdso): Likewise.
18757         * grp/compat-initgroups.c (compat_call): Likewise.
18758         * grp/fgetgrent.c (fgetgrent): Likewise.
18759         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18760         * grp/putgrent.c (putgrent): Likewise.
18761         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18762         Likewise.
18763         * hurd/hurdinit.c: Likewise.
18764         * iconvdata/8bit-gap.c (struct): Likewise.
18765         * iconvdata/ansi_x3.110.c : Likewise.
18766         * iconvdata/big5.c : Likewise.
18767         * iconvdata/big5hkscs.c : Likewise.
18768         * iconvdata/cp1255.c: Likewise.
18769         * iconvdata/cp1258.c : Likewise.
18770         * iconvdata/cp932.c : Likewise.
18771         * iconvdata/euc-cn.c: Likewise.
18772         * iconvdata/euc-jisx0213.c : Likewise.
18773         * iconvdata/euc-jp.c: Likewise.
18774         * iconvdata/euc-jp-ms.c : Likewise.
18775         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18776         * iconvdata/gb18030.c : Likewise.
18777         * iconvdata/gbbig5.c (const): Likewise.
18778         * iconvdata/gbgbk.c: Likewise.
18779         * iconvdata/gbk.c : Likewise.
18780         * iconvdata/ibm1364.c : Likewise.
18781         * iconvdata/ibm930.c : Likewise.
18782         * iconvdata/ibm932.c: Likewise.
18783         * iconvdata/ibm933.c : Likewise.
18784         * iconvdata/ibm935.c : Likewise.
18785         * iconvdata/ibm937.c : Likewise.
18786         * iconvdata/ibm939.c : Likewise.
18787         * iconvdata/ibm943.c: Likewise.
18788         * iconvdata/iso_11548-1.c: Likewise.
18789         * iconvdata/iso-2022-cn.c : Likewise.
18790         * iconvdata/iso-2022-cn-ext.c : Likewise.
18791         * iconvdata/iso-2022-jp-3.c: Likewise.
18792         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18793         * iconvdata/iso-2022-kr.c : Likewise.
18794         * iconvdata/iso646.c (gconv_end): Likewise.
18795         * iconvdata/iso_6937-2.c : Likewise.
18796         * iconvdata/iso_6937.c : Likewise.
18797         * iconvdata/iso8859-1.c: Likewise.
18798         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18799         * iconvdata/shift_jisx0213.c : Likewise.
18800         * iconvdata/sjis.c : Likewise.
18801         * iconvdata/t.61.c : Likewise.
18802         * iconvdata/tcvn5712-1.c : Likewise.
18803         * iconvdata/tscii.c: Likewise.
18804         * iconvdata/uhc.c : Likewise.
18805         * iconvdata/unicode.c (gconv_end): Likewise.
18806         * iconvdata/utf-16.c (gconv_end): Likewise.
18807         * iconvdata/utf-32.c (gconv_end): Likewise.
18808         * iconvdata/utf-7.c (base64): Likewise.
18809         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18810         * iconv/gconv_close.c (__gconv_close): Likewise.
18811         * iconv/gconv_open.c (__gconv_open): Likewise.
18812         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18813         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18814         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18815         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18816         (ucs4le_internal_loop_single): Likewise.
18817         * iconv/iconv.c (iconv): Likewise.
18818         * iconv/iconv_close.c: Likewise.
18819         * iconv/loop.c (SINGLE): Likewise.
18820         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18821         * include/atomic.h: Likewise.
18822         * inet/inet6_option.c (option_alloc): Likewise.
18823         * intl/bindtextdom.c (set_binding_values): Likewise.
18824         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18825         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18826         * intl/localealias.c (read_alias_file): Likewise.
18827         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18828         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18829         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18830         * libio/fmemopen.c (fmemopen): Likewise.
18831         * libio/iofgets.c (_IO_fgets): Likewise.
18832         * libio/iofgets_u.c (fgets_unlocked): Likewise.
18833         * libio/iofgetws.c (fgetws): Likewise.
18834         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18835         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18836         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18837         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18838         * locale/findlocale.c (_nl_find_locale): Likewise.
18839         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18840         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18841         Likewise.
18842         * locale/setlocale.c (setlocale): Likewise.
18843         * login/programs/pt_chown.c (main): Likewise.
18844         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18845         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18846         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18847         (mmap, mmap64, mremap, munmap): Likewise.
18848         * math/e_exp2l.c: Likewise.
18849         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18850         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18851         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18852         * math/s_catan.c (__catan): Likewise.
18853         * math/s_catanf.c (__catanf): Likewise.
18854         * math/s_catanh.c (__catanh): Likewise.
18855         * math/s_catanhf.c (__catanhf): Likewise.
18856         * math/s_catanhl.c (__catanhl): Likewise.
18857         * math/s_catanl.c (__catanl): Likewise.
18858         * math/s_ccosh.c (__ccosh): Likewise.
18859         * math/s_ccoshf.c (__ccoshf): Likewise.
18860         * math/s_ccoshl.c (__ccoshl): Likewise.
18861         * math/s_cexp.c (__cexp): Likewise.
18862         * math/s_cexpf.c (__cexpf): Likewise.
18863         * math/s_cexpl.c (__cexpl): Likewise.
18864         * math/s_clog10.c (__clog10): Likewise.
18865         * math/s_clog10f.c (__clog10f): Likewise.
18866         * math/s_clog10l.c (__clog10l): Likewise.
18867         * math/s_clog.c (__clog): Likewise.
18868         * math/s_clogf.c (__clogf): Likewise.
18869         * math/s_clogl.c (__clogl): Likewise.
18870         * math/s_csin.c (__csin): Likewise.
18871         * math/s_csinf.c (__csinf): Likewise.
18872         * math/s_csinh.c (__csinh): Likewise.
18873         * math/s_csinhf.c (__csinhf): Likewise.
18874         * math/s_csinhl.c (__csinhl): Likewise.
18875         * math/s_csinl.c (__csinl): Likewise.
18876         * math/s_csqrt.c (__csqrt): Likewise.
18877         * math/s_csqrtf.c (__csqrtf): Likewise.
18878         * math/s_csqrtl.c (__csqrtl): Likewise.
18879         * math/s_ctan.c (__ctan): Likewise.
18880         * math/s_ctanf.c (__ctanf): Likewise.
18881         * math/s_ctanh.c (__ctanh): Likewise.
18882         * math/s_ctanhf.c (__ctanhf): Likewise.
18883         * math/s_ctanhl.c (__ctanhl): Likewise.
18884         * math/s_ctanl.c (__ctanl): Likewise.
18885         * math/w_pow.c: Likewise.
18886         * math/w_powf.c: Likewise.
18887         * math/w_powl.c: Likewise.
18888         * math/w_scalb.c (sysv_scalb): Likewise.
18889         * math/w_scalbf.c (sysv_scalbf): Likewise.
18890         * math/w_scalbl.c (sysv_scalbl): Likewise.
18891         * misc/error.c (error_tail): Likewise.
18892         * misc/pselect.c (__pselect): Likewise.
18893         * nis/nis_callback.c (__nis_create_callback): Likewise.
18894         * nis/nis_call.c (__nisfind_server): Likewise.
18895         * nis/nis_creategroup.c (nis_creategroup): Likewise.
18896         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18897         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18898         * nis/nis_getservlist.c (nis_getservlist): Likewise.
18899         * nis/nis_lookup.c (nis_lookup): Likewise.
18900         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18901         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18902         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18903         * nis/nis_xdr.c (xdr_endpoint): Likewise.
18904         * nis/nss_compat/compat-grp.c (getgrent_next_file)
18905         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18906         * nis/nss_compat/compat-initgroups.c (add_group)
18907         (internal_getgrent_r): Likewise.
18908         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18909         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18910         * nis/nss_compat/compat-spwd.c (getspent_next_file)
18911         (internal_getspnam_r): Likewise.
18912         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18913         (_nss_nis_getaliasbyname_r): Likewise.
18914         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18915         (_nss_nis_getntohost_r): Likewise.
18916         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18917         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18918         (_nss_nis_getgrgid_r): Likewise.
18919         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18920         (internal_nis_gethostent_r, internal_gethostbyname2_r)
18921         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18922         (_nss_nis_gethostbyname4_r): Likewise.
18923         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18924         (initgroups_netid): Likewise.
18925         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18926         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18927         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18928         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18929         (_nss_nis_getprotobynumber_r): Likewise.
18930         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18931         (_nss_nis_getsecretkey): Likewise.
18932         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18933         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18934         (_nss_nis_getpwuid_r): Likewise.
18935         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18936         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18937         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18938         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18939         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18940         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18941         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18942         Likewise.
18943         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18944         (_nss_nisplus_getntohost_r): Likewise.
18945         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18946         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18947         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18948         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18949         Likewise.
18950         * nis/nss_nisplus/nisplus-initgroups.c
18951         (_nss_nisplus_initgroups_dyn): Likewise.
18952         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18953         (_nss_nisplus_getnetbyaddr_r): Likewise.
18954         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18955         (_nss_nisplus_getprotobynumber_r): Likewise.
18956         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18957         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18958         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18959         Likewise.
18960         * nis/nss_nisplus/nisplus-service.c
18961         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18962         (_nss_nisplus_getservbyport_r): Likewise.
18963         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18964         (_nss_nisplus_getspnam_r): Likewise.
18965         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18966         Likewise.
18967         * nscd/aicache.c (addhstaiX): Likewise.
18968         * nscd/cache.c (cache_search, prune_cache): Likewise.
18969         * nscd/connections.c (register_traced_file, send_ro_fd)
18970         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18971         (main_loop_epoll): Likewise.
18972         * nscd/grpcache.c (addgrbyX): Likewise.
18973         * nscd/hstcache.c (addhstbyX): Likewise.
18974         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18975         * nscd/mem.c (gc, mempool_alloc): Likewise.
18976         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18977         (addinnetgrX): Likewise.
18978         * nscd/nscd-client.h (__nscd_acquire_maplock)
18979         (__nscd_drop_map_ref): Likewise.
18980         * nscd/nscd_getai.c (__nscd_getai): Likewise.
18981         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18982         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18983         Likewise.
18984         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18985         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18986         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18987         (__nscd_get_map_ref): Likewise.
18988         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18989         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18990         Likewise.
18991         * nscd/pwdcache.c (addpwbyX): Likewise.
18992         * nscd/selinux.c (preserve_capabilities): Likewise.
18993         * nscd/servicescache.c (addservbyX): Likewise.
18994         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18995         * posix/fnmatch.c (fnmatch): Likewise.
18996         * posix/getopt.c (_getopt_internal_r): Likewise.
18997         * posix/glob.c (glob, glob_in_dir): Likewise.
18998         * posix/wordexp.c (exec_comm_child): Likewise.
18999         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19000         (getanswer_r, gaih_getanswer_slice): Likewise.
19001         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19002         * resolv/res_init.c: Likewise.
19003         * resolv/res_mkquery.c (res_nmkquery): Likewise.
19004         * resolv/res_query.c (__libc_res_nquery): Likewise.
19005         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19006         Likewise.
19007         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19008         * stdio-common/perror.c (perror): Likewise.
19009         * stdio-common/printf_fp.c (___printf_fp): Likewise.
19010         * stdio-common/tmpnam.c (tmpnam): Likewise.
19011         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19012         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
19013         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19014         Likewise.
19015         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19016         * stdlib/putenv.c (putenv): Likewise.
19017         * stdlib/setenv.c (__add_to_environ): Likewise.
19018         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19019         * stdlib/strtol_l.c (INTERNAL): Likewise.
19020         * string/memmem.c (memmem): Likewise.
19021         * string/strerror.c (strerror): Likewise.
19022         * string/strnlen.c (__strnlen): Likewise.
19023         * string/test-memmem.c (simple_memmem): Likewise.
19024         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19025         * sunrpc/pm_getport.c (__get_socket): Likewise.
19026         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19027         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
19028         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19029         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
19030         Likewise.
19031         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19032         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19033         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19034         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19035         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
19036         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19037         Likewise.
19038         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19039         Likewise.
19040         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19041         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19042         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19043         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19044         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19045         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19046         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19047         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19048         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19049         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19050         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19051         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19052         Likewise.
19053         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19054         Likewise.
19055         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19056         Likewise.
19057         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19058         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19059         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19060         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19061         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19062         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19063         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19064         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19065         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19066         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19067         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19068         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19069         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19070         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19071         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19072         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19073         Likewise.
19074         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19075         Likewise.
19076         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19077         Likewise.
19078         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19079         Likewise.
19080         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19081         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19082         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19083         Likewise.
19084         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19085         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19086         * sysdeps/posix/opendir.c (__opendirat): Likewise.
19087         * sysdeps/posix/sleep.c: Likewise.
19088         * sysdeps/posix/tempname.c: Likewise.
19089         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19090         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19091         Likewise.
19092         * sysdeps/powerpc/powerpc32/dl-machine.h
19093         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
19094         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19095         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19096         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19097         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19098         Likewise.
19099         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
19100         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19101         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19102         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19103         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19104         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19105         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19106         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19107         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19108         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
19109         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19110         (elf_machine_lazy_rel): Likewise.
19111         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
19112         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19113         (elf_machine_lazy_rel): Likewise.
19114         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19115         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19116         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19117         * sysdeps/unix/grantpt.c (grantpt): Likewise.
19118         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19119         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19120         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19121         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19122         Likewise.
19123         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19124         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19125         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19126         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19127         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19128         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19129         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19130         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19131         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19132         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19133         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19134         Likewise.
19135         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19136         (__posix_fallocate64_l64): Likewise.
19137         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19138         (posix_fallocate): Likewise.
19139         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19140         Likewise.
19141         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
19142         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19143         (getifaddrs_internal): Likewise.
19144         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19145         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19146         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19147         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19148         * sysdeps/unix/sysv/linux/posix_fallocate64.c
19149         (__posix_fallocate64_l64): Likewise.
19150         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19151         Likewise.
19152         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
19153         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19154         (__get_clockfreq): Likewise.
19155         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19156         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19157         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19158         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19159         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19160         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19161         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19162         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19163         Likewise.
19164         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19165         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19166         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19167         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19168         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19169         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19170         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19171         Likewise.
19172         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19173         (posix_fallocate): Likewise.
19174         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19175         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19176         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
19177         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19178         (elf_machine_rela, elf_machine_rela_relative)
19179         (elf_machine_lazy_rel): Likewise.
19180         * time/asctime.c (asctime_internal): Likewise.
19181         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19182         * time/tzset.c (__tzset_parse_tz): Likewise.
19183         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19184         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19185         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19186         * wcsmbs/wcsmbsload.h: Likewise.
19188         [BZ #15894]
19189         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19191         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19192         (arena_get2): Remove THREAD_STATS conditionals.
19193         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19194         (__malloc_stats, int): Likewise.
19196 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
19198         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19199         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
19201         * manual/setjmp.texi: Fix typos/grammar errors.
19203         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19204         Only return early when n is <= 0.  Delete unused return statement.
19206         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19207         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19208         * debug/tst-longjmp_chk3.c: New file.
19210         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19211         (test_main): Replace code with set_fortify_handler call.
19212         * debug/test-strcpy_chk.c: Likewise.
19213         * debug/tst-chk1.c: Likewise.
19214         * debug/tst-longjmp_chk.c: Likewise.
19215         * test-skeleton.c: Include fcntl.h & paths.h
19216         (set_fortify_handler): Define.
19218         * debug/tst-longjmp_chk.c: Add header comment and include
19219         ../test-skeleton.c.
19220         (do_test): Mark static.
19221         (TEST_FUNCTION): Define.
19223         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19224         (IP_PMTUDISC_INTERFACE): Likewise.
19225         (IP_MULTICAST_IF): Likewise.
19226         (IP_MULTICAST_TTL): Likewise.
19227         (IP_MULTICAST_LOOP): Likewise.
19228         (IP_ADD_MEMBERSHIP): Likewise.
19229         (IP_DROP_MEMBERSHIP): Likewise.
19230         (IP_UNBLOCK_SOURCE): Likewise.
19231         (IP_BLOCK_SOURCE): Likewise.
19232         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19233         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19234         (IP_MSFILTER): Likewise.
19235         (MCAST_JOIN_GROUP): Likewise.
19236         (MCAST_BLOCK_SOURCE): Likewise.
19237         (MCAST_UNBLOCK_SOURCE): Likewise.
19238         (MCAST_LEAVE_GROUP): Likewise.
19239         (MCAST_JOIN_SOURCE_GROUP): Likewise.
19240         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19241         (MCAST_MSFILTER): Likewise.
19242         (IP_MULTICAST_ALL): Likewise.
19243         (IP_UNICAST_IF): Likewise.
19245         * timezone/Makefile: Delete $(have-ksh) check.
19246         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19247         * timezone/tzselect.ksh: Add +x mode bits.
19249         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19250         (ANON_INODE_FS_MAGIC): Likewise.
19251         (BDEVFS_MAGIC): Likewise.
19252         (BINFMTFS_MAGIC): Likewise.
19253         (BTRFS_TEST_MAGIC): Likewise.
19254         (CRAMFS_MAGIC_WEND): Likewise.
19255         (DEBUGFS_MAGIC): Likewise.
19256         (ECRYPTFS_SUPER_MAGIC): Likewise.
19257         (EXT3_SUPER_MAGIC): Likewise.
19258         (EXT4_SUPER_MAGIC): Likewise.
19259         (FUTEXFS_SUPER_MAGIC): Likewise.
19260         (HOSTFS_SUPER_MAGIC): Likewise.
19261         (HUGETLBFS_MAGIC): Likewise.
19262         (MINIX3_SUPER_MAGIC): Likewise.
19263         (MTD_INODE_FS_MAGIC): Likewise.
19264         (NILFS_SUPER_MAGIC): Likewise.
19265         (OPENPROM_SUPER_MAGIC): Likewise.
19266         (PIPEFS_MAGIC): Likewise.
19267         (PSTOREFS_MAGIC): Likewise.
19268         (QNX6_SUPER_MAGIC): Likewise.
19269         (RAMFS_MAGIC): Likewise.
19270         (REISERFS_SUPER_MAGIC_STRING): Likewise.
19271         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19272         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19273         (SECURITYFS_MAGIC): Likewise.
19274         (SELINUX_MAGIC): Likewise.
19275         (SMACK_MAGIC): Likewise.
19276         (SOCKFS_MAGIC): Likewise.
19277         (SQUASHFS_MAGIC): Likewise.
19278         (STACK_END_MAGIC): Likewise.
19279         (TMPFS_MAGIC): Likewise.
19280         (USBDEVICE_SUPER_MAGIC): Likewise.
19281         (V9FS_MAGIC): Likewise.
19282         (XENFS_SUPER_MAGIC): Likewise.
19283         (CRAMFS_MAGIC): Fix typo in comment.
19284         (EXT2_SUPER_MAGIC): Update comment.
19285         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19287 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
19289         * sysdeps/arm: Move directory from ports/sysdeps/arm.
19290         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19291         * sysdeps/unix/sysv/linux/arm: Move directory from
19292         ports/sysdeps/unix/sysv/linux/arm.
19293         * README: Update listing for arm-*-linux-gnueabi.
19295         * README: Remove mention of am33.
19297 2014-02-07  Roland McGrath  <roland@hack.frob.com>
19299         * bits/sigset.h (__sigemptyset): Use a statement expression rather
19300         than the comma operator, to avoid "rhs of comma has no effect"
19301         compiler warnings.
19302         (__sigfillset, __sigandset, __sigorset): Likewise.
19303         * include/signal.h (__sigemptyset): Likewise.
19304         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19306 2014-02-07  Allan McRae  <allan@archlinux.org>
19308         * version.h (RELEASE): Set to "development".
19309         (VERSION): Set to "2.19.90"
19310         * NEWS: Add 2.20 section.
19312 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
19314         [BZ #16529]
19315         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19317 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
19319         * manual/contrib.texi: Update entry for Carlos O'Donell,
19320         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19322 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
19324         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19326         * sysdeps/unix/sysv/linux/kernel-features.h
19327         [__LINUX_KERNEL_VERSION >= 0x020621]
19328         (__ASSUME_PROC_PID_TASK_COMM): Define.
19330 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19332         [BZ #16398]
19333         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19334         conversion when destination buffer does not have enough space.
19335         * libio/tst-ftell-partial-wide.c: New test case.
19336         * libio/Makefile (tests): Add tst-ftell-partial-wide.
19338         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19339         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
19340         Leonard and Allan McRae.
19342 2014-02-04  David S. Miller  <davem@davemloft.net>
19344         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19345         32-bit.
19347 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19350         New file
19351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19352         New file
19353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19354         New file.
19355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19356         New file.
19357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19358         New file.
19359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19360         New file.
19361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19362         New file.
19363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19364         New file.
19365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19366         New file.
19367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19368         New file.
19369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19370         New file.
19371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19372         New file.
19373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19374         New file.
19376 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19378         * nptl/shlib-versions: Change powerpc*le start to 2.17.
19379         * shlib-versions: Likewise.
19381 2014-02-04  Roland McGrath  <roland@hack.frob.com>
19382             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19384         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19385         (abilist-pattern): New variable, set to %-le.abilist.
19387         * Makerules (abilist-pattern): New variable.
19388         (vpath): Use $(abilist-pattern) in place of %.abilist.
19389         (check-abi-% pattern rule): Likewise.
19390         (check-abi, update-abi): Likewise.
19392 2014-02-04  Eric Wong  <normalperson@yhbt.net>
19394         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19396 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
19398         * manual/startup.texi: Add next, previous, and top entries for
19399         the `Program Arguments' and `Environment Variables' nodes.
19401 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
19403         * manual/macros.texi: Add comments before MTASC-safety macros.
19405         * manual/users.texi: Document MTASC-safety properties.
19407         * manual/threads.texi (pthread_key_create, pthread_key_delete)
19408         (pthread_getspecific, pthread_setspecific): Format with
19409         @deftypefun, and add @safety note.
19410         * manual/signal.texi: Move comments that analyze the above
19411         functions to their home place.
19413 2014-02-03  Allan McRae  <allan@archlinux.org>
19415         * po/sl.po: Update Slovenian translation from translation project.
19417 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
19419         * manual/time.texi (timegm): Add missing blank after @c.
19420         Reported by Joseph Myers <joseph@codesourcery.com>.
19422 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
19424         * manual/check-safety.sh: New.
19425         * manual/Makefile ($(objpfx)stamp-summary): Run it.
19427         * manual/terminal.texi: Document MTASC-safety properties.
19429         * manual/filesys.texi: Document MTASC-safety properties.
19431         * manual/errno.texi: Document MTASC-safety properties.
19433         * manual/intro.texi: Document safety identifiers and
19434         conditionals.
19436         * manual/string.texi (wcstok): Fix prototype.
19437         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
19439         * manual/time.texi: Document MTASC-safety properties.
19441         * manual/string.texi: Document MTASC-safety properties.
19443         * manual/threads.texi: Document MTASC-safety properties.
19445         * manual/stdio.texi: Document MTASC-safety properties.
19447         * manual/syslog.texi: Document MTASC-safety properties.
19449         * manual/sysinfo.texi: Document MTASC-safety properties.
19451         * manual/startup.texi: Document MTASC-safety properties.
19453         * manual/socket.texi: Document MTASC-safety properties.
19455         * manual/signal.texi: Document MTASC-safety properties.
19457 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
19459         * manual/setjmp.texi: Document MTASC-safety properties.
19461         * manual/search.texi: Document MTASC-safety properties.
19463         * manual/resource.texi: Document MTASC-safety properties.
19465         * manual/process.texi: Document MTASC-safety properties.
19467         * manual/platform.texi: Document MTASC-safety properties.
19469         * manual/pipe.texi: Document MTASC-safety properties.
19471         * manual/pattern.texi: Document MTASC-safety properties.
19473         * manual/message.texi: Document MTASC-safety properties.
19475         [BZ #12751]
19476         * manual/memory.texi: Document MTASC-safety properties.
19478         * manual/math.texi: Document MTASC-safety properties.
19480         * manual/locale.texi: Document MTASC-safety properties.
19482         * manual/llio.texi: Document MTASC-safety properties.
19484         * manual/libdl.texi: New.
19486         * manual/lang.texi: Document MTASC-safety properties.
19488         * manual/job.texi: Document MTASC-safety properties.
19490         * manual/getopt.texi: Document MTASC-safety properties.
19492         * manual/ctype.texi: Document MTASC-safety properties.
19494 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
19496         [BZ #16046]
19497         * csu/libc-tls.c (static_map): Remove variable.
19498         (__libc_setup_tls): Use main executable's link map for TLS data.
19499         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
19500         casing for LM_ID_BASE and GL(dl_nns).
19501         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
19502         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
19503         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
19504         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
19505         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
19506         member.
19507         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
19508         l_phnum members.
19510 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
19512         * manual/debug.texi: Document MTASC-safety properties.
19514 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
19516         [BZ #16510]
19517         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
19518         of __x86_64__ when disabling x87 inline functions.
19520 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
19522         * manual/charset.texi: Document MTASC-safety properties.
19524         * manual/crypt.texi: Document MTASC-safety properties.
19526         * manual/conf.texi: Document MTASC-safety properties.
19528         * manual/arith.texi: Document MTASC-safety properties.
19530         * manual/argp.texi: Document MTASC-safety properties.
19532         * manual/macros.texi: Introduce macros to document multi
19533         thread, asynchronous signal and asynchronous cancellation
19534         safety properties.
19535         * manual/intro.texi: Introduce the properties themselves.
19537 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19539         * sysdeps/sh/sh4/Makefile: New file.
19541 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
19543         * math/gen-libm-test.pl ($srcdir): New variable.
19544         ($auto_input): Use it.
19546 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19548         [BZ #16506]
19549         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
19550         access beyond array bounds when parsing netgroups file.
19552         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
19553         the old buffer before realloc.
19555 2014-01-27  Allan McRae  <allan@archlinux.org>
19557         * po/fr.po: Update French translation from translation project.
19559 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19561         * sysdeps/sh/libm-test-ulps: Regenerate.
19563 2014-01-24  David S. Miller  <davem@davemloft.net>
19565         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
19567 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19569         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
19570         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
19572 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19574         [BZ #16474]
19575         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
19576         string pointers after reallocation.
19578 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19580         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
19581         __SH4A__ instead of __SH_FPU_ANY__.
19583 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19585         * sysdeps/sh/fpu_control.h: New file.
19586         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
19587         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
19588         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
19589         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
19590         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
19591         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
19592         * sysdeps/sh/sys/ucontext.h: Remove.
19593         * sysdeps/sh/sys: Remove directory.
19595 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19597         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
19598         s390/sys/ucontext.h.
19599         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
19600         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
19602 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
19604         [BZ #15605]
19605         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
19607 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19609         [BZ#16431]
19610         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19611         Adjust the vDSO correctly for internal calls.
19612         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
19614 2014-01-20  Allan McRae  <allan@archlinux.org>
19616         * po/ca.po: Update Catalan translation from translation project.
19618 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
19620         * sysdeps/s390/sotruss-lib.c: New file.
19622 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19624         [BZ#16430]
19625         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
19626         (__GI___gettimeofday): Alias for a different internal symbol to avoid
19627         local calls issues by not having a PLT stub required for IFUNC calls.
19628         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
19630 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
19632         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
19633         * math/test-fpucw-static.c: Likewise.
19635 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19637         [BZ #16453]
19638         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
19640 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19642         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
19643         implementation for powerpc.
19645 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
19647         [BZ #14782]
19648         * sysdeps/posix/system.c (__libc_system): Do not enable
19649         asynchronous cancellation.
19651 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19653         [BZ #16427]
19654         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
19655         handling only for numbers special also in the IEEE case.
19657 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19659         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19661 2014-01-11  Allan McRae  <allan@archlinux.org>
19663         * po/bg.po: Update Bulgarian translation from translation project.
19665         * po/de.po: Update German translation from translation project.
19667 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19669         * sysdeps/generic/gcc-compat.h: New file.
19671 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19673         * benchtests/asin-inputs: Correct slow inputs.
19674         * benchtests/acos-inputs: Likewise.
19676 2014-01-10  Allan McRae  <allan@archlinux.org>
19678         * po:sv.po: Update Swedish translation from translation project.
19680         * po/vi.po: Update Vietnamese translation from translation project.
19682         * po/eo.po: Update Esperanto translation from translation project.
19684         * po/cs.po: Update Czech translation from translation project.
19686         * po/nl.po: Update Dutch translation from translation project.
19688         * po/pl.po: Update Polish translation from translation project.
19690         * po/ru.po: Update Russian translation from translation project.
19692         * po/uk.po: Update Ukrainian translation from translation project.
19694 2014-01-08  Brooks Moses  <bmoses@google.com>
19696         * elf/dl-load.c: Fix comment typo.
19698 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19700         * po/header.pot: Rename to...
19701         * po/pot.header: ... this.
19702         * po/Makefile: Use pot.header.
19704 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19705             Maxim Kuvyrkov  <maxim@kugelworks.com>
19707         [BZ #16394]
19708         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19709         SRC and DEST against LEN.
19711 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19713         [BZ #16414]
19714         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19715         implementation.
19716         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19718 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19720         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19722 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19724         [BZ #16408]
19725         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19726         for large positive arguments.
19728 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19730         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19732         * math/auto-libm-test-in: Mark various tests with
19733         xfail-rounding:ldbl-128ibm.
19734         * math/auto-libm-test-out: Regenerated.
19736         [BZ #16407]
19737         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19738         Increase overflow threshold.
19740 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19742         [BZ #14286]
19743         * stdio-common/vfprintf.c: Check for integer overflow.
19745 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19747         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19748         the first argument and return value of __tls_get_addr_internal.
19750 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19752         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19753         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19755 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19757         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19758         * sysdeps/s390/rtld-global-offsets.sym: New file.
19759         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19760         GLIBC_2.19 symbol.
19761         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19762         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19763         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19764         ... this.
19765         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19766         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19767         ... this.
19768         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19769         Regenerate.
19770         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19771         Regenerate.
19772         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19773         halfs of GPRs for high_gprs contexts.
19774         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19775         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19776         field.
19777         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19778         uc_flags field.
19779         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19780         64 bit versions:
19781         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19782         for high GPRs (uc_high_gprs) and for future extensions
19783         (__reserved).
19784         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19785         for future extensions (__reserved).
19786         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19787         64 bit versions:
19788         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19789         SC_HIGHGPRS offset definition.
19790         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19791         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19793         * Versions.def: Add GLIBC_2.19 for libpthread.
19794         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19795         siglongjmp for libpthread with GLIBC_2.19 symver.
19796         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19797         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19798         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19799         * sysdeps/s390/__longjmp.c: New file.
19800         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19801         * sysdeps/s390/longjmp.c: New file.
19802         * sysdeps/s390/setjmp.S: New file.
19803         * sysdeps/s390/sigjmp.S: New file.
19804         * sysdeps/s390/v1-longjmp.c: New file.
19805         * sysdeps/s390/v1-setjmp.h: New file.
19806         * sysdeps/s390/v1-sigjmp.c: New file.
19807         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19808         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19809         GLIBC_2.19 version.
19810         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19811         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19812         versioned symbols for ____longjmp_chk.
19813         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19814         Likewise.
19815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19816         Regenerate.
19817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19818         Regenerate.
19819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19820         Regenerate.
19821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19822         Regenerate.
19823         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19824         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19825         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19826         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19827         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19828         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19829         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19830         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19831         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19832         * sysdeps/s390/rtld-__longjmp.c: New file.
19833         * sysdeps/s390/rtld-setjmp.S: New file.
19835 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
19837         [BZ #16400]
19838         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19839         Return -__logl (x) for small positive arguments without evaluating
19840         a polynomial.
19842 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
19844         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19845         Rename to ...
19846         (__ptrace_peeksiginfo_args): ... this.
19847         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19848         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19849         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19851 2014-01-06  Allan McRae  <allan@archlinux.org>
19853         * inet/netinet/in.h: Fix typo in comment.
19855 2014-01-05  Andreas Jaeger  <aj@suse.de>
19857         * sysdeps/i386/fpu/libm-test-ulps: Update.
19859 2014-01-05  Allan McRae  <allan@archlinux.org>
19861         * po/libc.pot: Regenerated.
19863         * malloc/memusagestat.c: Fix gettext call formatting.
19865 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
19867         * nscd/nscd.c: Improve usage() output.
19869 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
19871         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19872         * sysdeps/unix/sysv/linux/configure: Regenerated.
19873         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19874         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19876 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19878         [BZ #16390]
19879         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19880         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19882 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19884         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19885         extra tokens at end of #undef directive.
19886         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19887         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19888         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19890 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19892         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19894         * math/auto-libm-test-in: Mark various tests with
19895         xfail-rounding:ldbl-128ibm.
19896         * math/auto-libm-test-out: Regenerated.
19898 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
19900         [BZ #16386]
19901         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19902         numbers with subnormal high part when calculating exponent.
19904         [BZ #16385]
19905         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19906         fabs.
19908         [BZ #16384]
19909         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19910         M_LN2l.
19911         (__ieee754_acoshl): Use __log1pl not __log1p.
19913 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
19915         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19916         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19917         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19918         (grow_heap, heap_trim, _int_new_arena, get_free_list)
19919         (reused_arena, arena_get2): Convert to GNU style.
19920         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19921         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19922         (memalign_check, __malloc_set_state): Likewise.
19923         * malloc/mallocbug.c (main): Likewise.
19924         * malloc/malloc.c (__malloc_assert, malloc_init_state)
19925         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19926         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19927         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19928         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19929         (__posix_memalign, malloc_info): Likewise.
19930         * malloc/malloc.h: Likewise.
19931         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19932         (mallochook, memalignhook, reallochook, mabort): Likewise.
19933         * malloc/mcheck.h: Likewise.
19934         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19935         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19936         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19937         * malloc/morecore.c (__default_morecore): Likewise.
19938         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19939         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19940         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19941         (print_and_abort): Likewise.
19942         * malloc/obstack.h: Likewise.
19943         * malloc/set-freeres.c (__libc_freeres): Likewise.
19944         * malloc/tst-mallocstate.c (main): Likewise.
19945         * malloc/tst-mtrace.c (main): Likewise.
19946         * malloc/tst-realloc.c (do_test): Likewise.
19948 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19950         [BZ #16366]
19951         * nscd/netgroupcache.c (do_notfound): New function.
19952         (addgetnetgrentX): Use it.
19954         [BZ # 16365]
19955         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19956         NSS_STATUS_NOTFOUND.
19958 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
19960         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19963 2014-01-01  Allan McRae  <allan@archlinux.org>
19965         * scripts/update-copyrights: Update configure input file suffix.
19967         * NEWS: Update copyright year.
19968         * catgets/gencat.c: Likewise.
19969         * csu/version.c: Likewise.
19970         * debug/catchsegv.sh: Likewise.
19971         * debug/pcprofiledump.c: Likewise.
19972         * debug/xtrace.sh: Likewise.
19973         * elf/ldconfig.c: Likewise.
19974         * elf/ldd.bash.in: Likewise.
19975         * elf/pldd.c: Likewise.
19976         * elf/sotruss.ksh: Likewise.
19977         * elf/sprof.c: Likewise.
19978         * iconv/iconv_prog.c: Likewise.
19979         * iconv/iconvconfig.c: Likewise.
19980         * locale/programs/locale.c: Likewise.
19981         * locale/programs/localedef.c: Likewise.
19982         * login/programs/pt_chown.c: Likewise.
19983         * malloc/memusage.sh: Likewise.
19984         * malloc/memusagestat.c: Likewise.
19985         * malloc/mtrace.pl: Likewise.
19986         * manual/libc.texinfo: Likewise.
19987         * nscd/nscd.c: Likewise.
19988         * nss/getent.c: Likewise.
19989         * nss/makedb.c: Likewise.
19990         * posix/getconf.c: Likewise.
19991         * scripts/test-installation.pl: Likewise.
19993         * All files with FSF copyright notices: Update copyright dates
19994         using scripts/update-copyrights.
19995         * intl/plural.c: Regenerated.
19996         * locale/programs/charmap-kw.h: Likewise.
19997         * locale/programs/locfile-kw.h: Likewise.
19999 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
20001         * sysdeps/unix/sysv/linux/configure: Regenerated.
20002         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20003         the linux/fanotify.h header.
20004         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20005         HAVE_LINUX_FANOTIFY_H is defined.
20007 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20009         * benchtests/cos-inputs: New inputs.
20010         * benchtests/sin-inputs: Likewise.
20012         * benchtests/atan-inputs: New inputs. Fix name of multiple
20013         precision fallback inputs.
20015         * benchtests/atanh-inputs: New inputs.
20016         * benchtests/tanh-inputs: Likewise.
20018         * benchtests/acosh-inputs: New inputs.
20019         * benchtests/asinh-inputs: Likewise.
20021         * benchtests/cosh-inputs: New inputs.
20022         * benchtests/sinh-inputs: Likewise.
20024         * benchtests/acos-inputs: Add more inputs.
20025         * benchtests/asin-inputs: Likewise.
20027 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
20029         [BZ #16375]
20030         * manual/arith.texi: Fix spelling.
20031         * manual/charset.texi: Likewise.
20032         * manual/errno.texi: Likewise.
20033         * manual/filesys.texi: Likewise.
20034         * manual/lang.texi: Likewise.
20035         * manual/llio.texi: Likewise.
20036         * manual/locale.texi: Likewise.
20037         * manual/message.texi: Likewise.
20038         * manual/resource.texi: Likewise.
20039         * manual/search.texi: Likewise.
20040         * manual/setjmp.texi: Likewise.
20041         * manual/stdio.texi: Likewise.
20042         * manual/string.texi: Likewise.
20043         * manual/sysinfo.texi: Likewise.
20044         * manual/time.texi: Likewise.
20046 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
20048         * po/sl.po: New file.
20050 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
20052         * .gitignore: Add core/.gdbinit/.gdb_history.
20054 2013-12-27  Allan McRae  <allan@archlinux.org>
20056         [BZ #16369]
20057         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20058         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20060 2013-12-24  Brooks Moses  <bmoses@google.com>
20062         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20063         all compilers that claim C++98 compliance, not just GCC.
20064         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20065         Likewise.
20067 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20069         * NEWS: Restore accidentally deleted bug-fix entries.
20071 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
20072             Ondřej Bílka  <neleai@seznam.cz>
20074         [BZ #15073]
20075         * malloc/malloc.c (_int_free): Perform sanity check only if we
20076         have_lock.
20078 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
20080         [BZ #12986]
20081         * manual/stdio.texi (String Input Conversions): Clarify that character
20082         classes are not supported.
20084 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20088 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
20090         [BZ #16337]
20091         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20092         Calculate results for small negative arguments directly rather
20093         than using reflection formula with special underflow handling.
20095         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20096         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20097         sysdeps/unix/bsd/bsd4.4/syscalls.list.
20098         (fchflags): Likewise.
20099         (revoke): Likewise.
20100         (setlogin): Likewise.
20101         (sigaltstack): Likewise.
20102         (wait4): Likewise.
20103         (sigblock): Remove.
20104         (sigsetmask): Likewise.
20105         (wait3): Likewise.
20106         (waitpid): Likewise.
20107         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20108         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20109         file.
20110         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20111         * sysdeps/unix/bsd/Makefile: ... here.
20112         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20113         * sysdeps/unix/bsd/Versions: ... here.
20114         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20115         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20116         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20117         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20118         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20119         * sysdeps/unix/bsd/sigblock.c: ... here.
20120         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20121         * sysdeps/unix/bsd/sigsetmask.c: ... here.
20122         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20123         * sysdeps/unix/bsd/sigvec.c: ... here.
20124         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20125         * sysdeps/unix/bsd/tcdrain.c: ... here.
20126         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20127         * sysdeps/unix/bsd/tcgetattr.c: ... here.
20128         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20129         * sysdeps/unix/bsd/tcsetattr.c: ... here.
20130         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20131         * sysdeps/unix/bsd/wait.c: ... here.
20132         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20133         * sysdeps/unix/bsd/wait3.c: ... here.
20134         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20135         * sysdeps/unix/bsd/waitpid.c: ... here.
20137 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
20139         [BZ #16356]
20140         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20141         round-to-nearest for [!USE_AS_EXPM1L].
20142         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20143         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
20144         more tests of exp and exp10.  Expect some exp10 tests to miss
20145         exceptions or fail in directed rounding modes.
20146         * math/auto-libm-test-out: Regenerated.
20147         * math/libm-test.inc (exp10_tonearest_test_data): New array.
20148         (exp10_test_tonearest): New function.
20149         (exp10_towardzero_test_data): New array.
20150         (exp10_test_towardzero): New function.
20151         (exp10_downward_test_data): New array.
20152         (exp10_test_downward): New function.
20153         (exp10_upward_test_data): New array.
20154         (exp10_test_upward): New function.
20155         (main): Call the new functions.
20156         * sysdeps/i386/fpu/libm-test-ulps: Update.
20157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20159 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
20161         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20162         asinh, atan, atan2, atanh, cbrt, cos and cosh.
20163         * math/auto-libm-test-out: Regenerated.
20164         * math/libm-test.inc (acosh_test_data): Add more tests.
20165         (atanh_test_data): Likewise.
20166         (ceil_test_data): Likewise.
20167         (copysign_test_data): Likewise.
20168         * sysdeps/i386/fpu/libm-test-ulps: Update.
20169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20171         * timezone/checktab.awk: Update from tzcode 2013i.
20172         * timezone/private.h: Likewise.
20173         * timezone/scheck.c: Likewise.
20174         * timezone/tzfile.h: Likewise.
20175         * timezone/tzselect.ksh: Likewise.
20176         * timezone/zdump.c: Likewise.
20177         * timezone/zic.c: Likewise.
20179         * math/auto-libm-test-in: Add tests of cpow.
20180         * math/auto-libm-test-out: Regenerated.
20181         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
20182         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20183         mpc_cc_c.
20184         (func_calc_desc): Add mpc_cc_c union field.
20185         (test_functions): Add cpow.
20186         (special_fill_2pi): New function.
20187         (special_real_inputs): Add 2pi.
20188         (calc_generic_results): Handle mpc_cc_c.
20189         * sysdeps/i386/fpu/libm-test-ulps: Update.
20190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20192         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20193         csqrt, ctan and ctanh.
20194         * math/auto-libm-test-out: Regenerated.
20195         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20196         (TEST_COND_x86): Likewise.
20197         (ccos_test_data): Use AUTO_TESTS_c_c.
20198         (ccosh_test_data): Likewise.
20199         (cexp_test_data): Likewise.
20200         (clog_test_data): Likewise.
20201         (csqrt_test_data): Likewise.
20202         (ctan_test_data): Likewise.
20203         (ctan_tonearest_test_data): Likewise.
20204         (ctan_towardzero_test_data): Likewise.
20205         (ctan_downward_test_data): Likewise.
20206         (ctan_upward_test_data): Likewise.
20207         (ctanh_test_data): Likewise.
20208         (ctanh_tonearest_test_data): Likewise.
20209         (ctanh_towardzero_test_data): Likewise.
20210         (ctanh_downward_test_data): Likewise.
20211         (ctanh_upward_test_data): Likewise.
20212         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20213         mpc_c_c.
20214         (func_calc_desc): Add mpc_c_c union field.
20215         (FUNC_mpc_c_c): New macro.
20216         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20217         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20218         ctanh.
20219         (special_fill_min_subnorm_p120): New function.
20220         (special_real_inputs): Add min_subnorm_p120.
20221         (calc_generic_results): Handle mpc_c_c.
20222         * sysdeps/i386/fpu/libm-test-ulps: Update.
20223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20225 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
20227         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20228         (do_sin_slow): New functions.
20229         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20230         (cslow2, csloww1, csloww2): Use the new functions.
20232         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20233         Use M to change sign of result instead of X.  Assume X is
20234         positive.
20235         (csloww1): Likewise.
20236         (__sin): Adjust.
20237         (__cos): Adjust.
20239         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20240         arguments A and DA.
20241         (__sin): Adjust.
20242         (__cos): Likewise.
20244         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20245         (__cos): Likewise.
20246         (sloww1): Don't adjust sign of DX.
20247         (csloww1): Likewise.
20248         (sloww2): Use X directly and don't adjust sign of DX.
20249         (csloww2): Likewise.
20251 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20253         * math/auto-libm-test-in: Add tests of cabs and carg.
20254         * math/auto-libm-test-out: Regenerated.
20255         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20256         (carg_test_data): Likewise.
20257         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20258         mpc_c_f.
20259         (func_calc_desc): Add mpc_c_f union field.
20260         (test_functions): Add cabs and carg.
20261         (calc_generic_results): Handle mpc_c_f.
20263         * sysdeps/powerpc/powerpc32/libgcc-compat.S
20264         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20265         as a macro and a compat symbol.
20266         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20267         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20268         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20269         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20270         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20271         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20272         not use .hidden.
20273         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20274         Likewise.
20275         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20276         Likewise.
20277         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20278         Likewise.
20279         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20280         Likewise.
20281         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20282         Likewise.
20283         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20284         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20285         from GLIBC_2.3.2.
20287 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20291 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20293         * manual/texinfo.tex: Update to version 2013-11-26.10 with
20294         trailing whitespace removed.
20295         * scripts/config.guess: Update to version 2013-11-29.
20296         * scripts/config.sub: Update to version 2013-10-01.
20298         * math/auto-libm-test-in: Add tests of sincos.
20299         * math/auto-libm-test-out: Regenerated.
20300         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20301         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20302         mpfr_f_11.
20303         (func_calc_desc): Add mpfr_f_11 union field.
20304         (test_functions): Add sincos.
20305         (calc_generic_results): Handle mpfr_f_11.
20306         * sysdeps/i386/fpu/libm-test-ulps: Update.
20307         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20309 2013-12-19  Andreas Schwab  <schwab@suse.de>
20311         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20312         CALL_MCOUNT.
20313         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20314         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20315         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20317 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
20319         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20320         * sysdeps/i386/fpu/libm-test-ulps: Update.
20321         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20323         [BZ #16293]
20324         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20325         round-to-nearest mode when using frndint.
20326         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20327         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20328         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20329         Likewise.
20330         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
20331         sinh test to fail.
20332         * math/auto-libm-test-out: Regenerated.
20333         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20334         (TEST_COND_x86): Likewise.
20335         (expm1_tonearest_test_data): New array.
20336         (expm1_test_tonearest): New function.
20337         (expm1_towardzero_test_data): New array.
20338         (expm1_test_towardzero): New function.
20339         (expm1_downward_test_data): New array.
20340         (expm1_test_downward): New function.
20341         (expm1_upward_test_data): New array.
20342         (expm1_test_upward): New function.
20343         (main): Run the new test functions.
20344         * sysdeps/i386/fpu/libm-test-ulps: Update.
20345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20347         * include/features.h: Update comment documenting feature test
20348         macros.  Mention _DEFAULT_SOURCE in comment.
20349         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20350         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20351         _BSD_SOURCE and _SVID_SOURCE.
20352         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20353         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20354         !_SVID_SOURCE]: Likewise.
20355         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20356         (__USE_POSIX_IMPLICITLY): Define.
20357         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20358         (_POSIX_SOURCE): Undefine and redefine.
20359         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20360         (_POSIX_C_SOURCE): Likewise.
20361         * manual/creature.texi (_DEFAULT_SOURCE): Document.
20362         (Feature Test Macros): Update documentation of default features.
20364 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20366         * benchtests/Makefile: Add bench-strtok.
20367         * benchtests/bench-strtok.c: New file: strtok benchtest.
20369 2013-12-19  Allan McRae  <allan@archlinux.org>
20371         * manual/install.texi: Suppress menu for plain text output.
20372         * INSTALL: Regenerated.
20374 2013-12-18  Brooks Moses  <bmoses@google.com>
20376         [BZ #15846]
20377         * misc/getauxval.c: Include errno.h.
20378         (__getauxval): Set errno to ENOENT if the requested type is not
20379         found.
20380         * misc/sys/auxv.h (getauxval): Document that it may set errno;
20381         don't declare with __attribute_const__.
20382         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20383         * manual/startup.texi: Document that getauxval sets errno.
20385 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20387         * math/auto-libm-test-in: Add tests of jn and yn.
20388         * math/auto-libm-test-out: Regenerated.
20389         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20390         (yn_test_data): Likewise.
20391         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20392         mpfr_if_f.
20393         (func_calc_desc): Add mpfr_if_f union field.
20394         (FUNC_mpfr_if_f): New macro.
20395         (test_functions): Add jn and yn.
20396         (calc_generic_results): Assert type of second input for
20397         mpfr_ff_f.  Handle mpfr_if_f.
20398         (output_for_one_input_case): Disable all checking for arguments
20399         fitting floating-point types in case of an integer argument.
20400         * sysdeps/i386/fpu/libm-test-ulps: Update.
20401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20404         Don't expect fegetround reference in libm.so.
20406 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20408         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20409         $(config-cflags-nofma).
20411 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
20413         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20414         * math/auto-libm-test-out: Regenerated.
20416         [BZ #16338]
20417         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
20418         to determine exponent and adjust argument to have exponent of -1.
20419         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
20420         log2.
20421         * math/auto-libm-test-out: Regenerated.
20422         * sysdeps/i386/fpu/libm-test-ulps: Update.
20423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20425 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
20427         * manual/probes.texi: Remove cases when per-thread arenas are
20428         disabled.
20430 2013-12-18  Andreas Schwab  <schwab@suse.de>
20432         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
20433         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
20434         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
20435         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
20436         * sysdeps/i386/i686/multiarch/Makefile: Update.
20437         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
20439 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20441         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
20442         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
20444 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
20446         [BZ #15968]
20447         Support TZ transition times < 00:00:00.
20448         This is needed for version-3 tz-format files; it supports time
20449         stamps past 2037 for America/Godthab (the only entry in the tz
20450         database for which this change is relevant).
20451         * manual/time.texi (TZ Variable): Document transition times
20452         from -167:59:59 through -00:00:01.
20453         * time/tzset.c (tz_rule): Time of day is now signed.
20454         (__tzset_parse_tz): Parse negative time of day.
20456         Document TZ transition times >= 25:00:00.
20457         * manual/time.texi (TZ Variable): Document transition times from
20458         25:00:00 through 167:59:59.  These are already supported, and this
20459         support will help with version-3 tz-format files.
20461         * manual/time.texi (TZ Variable): Modernize North America example
20462         to reflect current (i.e., 2007-and-later) daylight saving rules.
20464         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
20466 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20468         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
20469         * sysdeps/unix/bsd/bits/stat.h: Likewise.
20470         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
20471         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20472         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
20473         * sysdeps/unix/bsd/bsdstat.h: Likewise.
20474         * sysdeps/unix/bsd/clock.c: Likewise.
20475         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
20476         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
20477         * sysdeps/unix/bsd/init-posix.c: Likewise.
20478         * sysdeps/unix/bsd/poll.c: Likewise.
20479         * sysdeps/unix/bsd/ptsname.c: Likewise.
20480         * sysdeps/unix/bsd/seekdir.c: Likewise.
20481         * sysdeps/unix/bsd/setegid.c: Likewise.
20482         * sysdeps/unix/bsd/seteuid.c: Likewise.
20483         * sysdeps/unix/bsd/setgid.c: Likewise.
20484         * sysdeps/unix/bsd/setrgid.c: Likewise.
20485         * sysdeps/unix/bsd/setruid.c: Likewise.
20486         * sysdeps/unix/bsd/setsid.c: Likewise.
20487         * sysdeps/unix/bsd/setuid.c: Likewise.
20488         * sysdeps/unix/bsd/sigaction.c: Likewise.
20489         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
20490         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
20491         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
20492         * sysdeps/unix/bsd/telldir.c: Likewise.
20493         * sysdeps/unix/bsd/times.c: Likewise.
20494         * sysdeps/unix/bsd/usleep.c: Likewise.
20496         * misc/Makefile (install-lib): Remove libbsd-compat.a.
20497         ($(objpfx)libbsd-compat.a): Remove rule.
20499         * include/features.h (__FAVOR_BSD): Do not define.
20500         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
20501         features conflicting with POSIX.
20502         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
20503         (_BSD_SOURCE): Remove description of not being a subset of other
20504         feature test macros.
20505         * manual/job.texi (getpgrp): Do not document BSD version.
20506         (getpgid): Do not document by reference to BSD getpgrp.
20507         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
20508         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
20509         * signal/signal.h [__FAVOR_BSD]: Likewise.
20510         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
20511         instead of making contents conditional on [__FAVOR_BSD].
20512         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
20514 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20518 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
20520         [BZ #16314]
20521         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
20522         values below 2**-450, not 2**-500.
20523         * math/auto-libm-test-in: Don't allow spurious underflow from
20524         hypot.
20525         * math/auto-libm-test-out: Regenerated.
20527         [BZ #16316]
20528         [BZ #16330]
20529         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
20530         values of ha and hb and sort them after adjusting subnormal
20531         arguments.
20532         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20533         Likewise.
20534         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
20535         values of ea and eb and sort them after adjusting subnormal
20536         arguments.
20537         * math/auto-libm-test-in: Do not expect some hypot tests of
20538         subnormals to fail.  Add more hypot tests.
20539         * math/auto-libm-test-out: Regenerated.
20541 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20543         [BZ #13304]
20544         * sysdeps/sh/s_fma.c: New file.
20545         * sysdeps/sh/s_fmaf.c: New file.
20546         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
20547         version.
20548         * sysdeps/sh/Implies: Add sh/soft-fp.
20550 2013-12-16  Roland McGrath  <roland@hack.frob.com>
20552         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
20553         level of indirection to members `objname', `errstring', `malloced'.
20554         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
20555         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
20556         it as the __longjmp argument (just pass 1 instead).
20557         (_dl_catch_error): Initialize C with argument pointers and address of
20558         volatile local ERRCODE rather than copying values out of C at return.
20560 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
20562         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
20563         * math/auto-libm-test-out: Regenerated.
20564         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
20565         (hypot_test_data): Likewise.
20566         (pow_test_data): Likewise.
20567         (pow_tonearest_test_data): Likewise.
20568         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20569         mpfr_ff_f.
20570         (func_calc_desc): Add mpfr_ff_f union field.
20571         (FUNC_mpfr_ff_f): New macro.
20572         (test_functions): Add atan2, hypot and pow.
20573         (special_fill_min): New function.
20574         (special_fill_minus_min): Likewise.
20575         (special_fill_min_subnorm): Likewise.
20576         (special_fill_minus_min_subnorm): Likewise.
20577         (special_real_inputs): Add min, -min, min_subnorm and
20578         -min_subnorm.
20579         (calc_generic_results): Handle mpfr_ff_f.
20580         * sysdeps/i386/fpu/libm-test-ulps: Update.
20581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20583 2013-12-16  Will Newton  <will.newton@linaro.org>
20585         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
20586         (Aligned Memory Blocks): Add documentation for aligned_alloc
20587         and suggest it as an alternative to posix_memalign.
20588         (Hooks for Malloc): Document __memalign_hook is also called
20589         for aligned_alloc.  (Summary of Malloc): Add summary for
20590         aligned alloc.  Document __memalign_hook is also called
20591         for aligned_alloc.
20593 2013-12-16  Will Newton  <will.newton@linaro.org>
20595         * manual/memory.texi (Malloc Examples): Clarify default
20596         alignment documentation.  Suggest posix_memalign rather
20597         than memalign or valloc.
20598         (Aligned Memory Blocks): Remove suggestion to use memalign
20599         or valloc.  Remove obsolete comment about BSD.
20600         Document memalign errno values and mark the function obsolete.
20601         Document posix_memalign returned error codes.  Mark valloc
20602         as obsolete.  (Hooks for Malloc): __memalign_hook is also
20603         called for posix_memalign and valloc.
20604         (Summary of Malloc): Add posix_memalign to function summary.
20605         __memalign_hook is also called for posix_memalign and valloc.
20607 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20609         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
20610         TAYLOR_SIN.
20611         (__sin): Adjust.
20612         (__cos): Likewise.
20613         (sloww): Use mynumber union.  Expand ternary operator into
20614         if-else statements.
20615         (cslow): use mynumber union.
20617 2013-12-16  Allan McRae  <allan@archlinux.org>
20619         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
20620         * configure: Regenerated.
20622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
20624         [BZ #14120]
20625         * configure.ac: Added --enable-maintainer-mode. Check for
20626         autoconf when enabled.
20627         * configure: Regenerated.
20629         * nscd/nscd.service: New file.
20630         * nscd/nscd.tmpfiles: New file.
20632 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
20634         [BZ #12100]
20635         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
20636         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
20637         * sysdeps/x86_64/multiarch/strstr.c: ... here.
20638         (strstr): Add __strstr_sse2_unaligned ifunc.
20639         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
20640         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
20641         (strcasestr): Remove __strcasestr_sse42 ifunc.
20642         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
20643         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20646 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20648         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
20649         * sysdeps/sh/bits/fenv.h: ... here.
20650         * sysdeps/sh/sh4/fpu/bits: Remove directory.
20652 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20654         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
20656         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
20657         hypotf multiarch implementations.
20658         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20659         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20660         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20661         multiarch hypot for PPC64.
20662         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20663         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20664         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20665         multiarch hypotf for PPC64.
20667         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20668         modff multiarch implementations.
20669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20672         multiarch modf for PPC64.
20673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20676         multiarch modff for PPC64.
20678         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20679         and logl multiarch implementations.
20680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20683         multiarch logb for PPC64.
20684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20687         multiarch logb for PPC64.
20688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20690         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20691         multiarch logb for PPC64.
20693         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20694         isinff multiarch implementation.
20695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20696         file.
20697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20699         multiarch isinf for PPC64.
20700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20701         file.
20702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20703         multiarch isinff for PPC64.
20705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20706         finitef multiarch implementation.
20707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20708         file.
20709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20711         multiarch finite for PPC64.
20712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20713         file.
20714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20715         multiarch finitef for PPC64.
20717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20718         lrint multiarch implementation.
20719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20720         file.
20721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20723         multiarch llrint for PPC64.
20724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20725         multiarch lrint for PPC64.
20727         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20728         copysignf multiarch implementation.
20729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20730         file.
20731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20732         file.
20733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20734         multiarch copysign for PPC64.
20735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20736         multiarch copysignf for PPC64.
20738         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20739         multiarch implementation.
20740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20741         file.
20742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20743         file.
20744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20745         file.
20746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20747         file.
20748         multiarch llround for PPC64.
20749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20750         multiarch trunc for PPC64.
20751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20752         multiarch truncf for PPC64.
20754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20755         multiarch implementation.
20756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20757         file.
20758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20759         file.
20760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20761         file.
20762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20763         file.
20764         multiarch llround for PPC64.
20765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20766         multiarch round for PPC64.
20767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20768         multiarch roundf for PPC64.
20770         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20771         multiarch implementation.
20772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20773         file.
20774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20775         file.
20776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20777         file.
20778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20779         file.
20780         multiarch llround for PPC64.
20781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20782         multiarch floor for PPC64.
20783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20784         multiarch floorf for PPC64.
20786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20787         multiarch implementation.
20788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20789         file.
20790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20791         file.
20792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20793         file.
20794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20795         file.
20796         multiarch llround for PPC64.
20797         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20798         multiarch ceil for PPC64.
20799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20800         multiarch ceilf for PPC64.
20802         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20803         multiarch implementation.
20804         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20805         file.
20806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20807         file.
20808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20809         file.
20810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20811         multiarch llround for PPC64.
20812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20813         multiarch lround for PPC64.
20815         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20816         multiarch implementation.
20817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20818         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20820         file.
20821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20824         multiarch isnan for PPC64.
20825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20826         multiarch isnanf for PPC64.
20828         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20829         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20830         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20831         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20832         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20835         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20836         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20837         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20838         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20841         multiarch implementations.
20842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20843         (__libc_ifunc_impl_list): Likewise.
20844         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20845         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20846         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20847         multiarch stpcpy for PPC64.
20849         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20850         multiarch implementations.
20851         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20852         (__libc_ifunc_impl_list): Likewise.
20853         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20854         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20855         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20856         multiarch strcpy for PPC64.
20858         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20859         redefine function name.
20860         (_wordcopy_fwd_dest_aligned): Likewise.
20861         (_wordcopy_bwd_aligned): Likewise.
20862         (_wordcopy_bwd_dest_aligned): Likewise.
20863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20864         multiarch implementations.
20865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20866         (__libc_ifunc_impl_list): Likewise.
20867         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20868         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20869         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20870         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20871         multiarch wcscpy for PPC64.
20873         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20874         multiarch implementations.
20875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20876         (__libc_ifunc_impl_list): Likewise.
20877         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20878         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20879         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20880         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20881         multiarch wcscpy for PPC64.
20883         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20884         multiarch implementations.
20885         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20886         (__libc_ifunc_impl_list): Likewise.
20887         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20888         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20889         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20890         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20891         multiarch wcsrchr for PPC64.
20893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20894         multiarch implementations.
20895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20896         (__libc_ifunc_impl_list): Likewise.
20897         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20898         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20899         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20900         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20901         multiarch wcschr for PPC64.
20903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20904         multiarch implementations.
20905         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20906         (__libc_ifunc_impl_list): Likewise.
20907         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20908         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20909         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20910         multiarch strchrnul for PPC64.
20912         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20913         implementations.
20914         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20915         (__libc_ifunc_impl_list): Likewise.
20916         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20917         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20918         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20919         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20920         strchr for PPC64.
20922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20923         implementations.
20924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20925         (__libc_ifunc_impl_list): Likewise.
20926         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20927         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20928         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20929         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20930         strncmp for PPC64.
20932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20933         multiarch implementations.
20934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20935         (__libc_ifunc_impl_list): Likewise.
20936         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20937         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20938         strncasecmp for PPC64.
20939         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20940         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20941         multiarch strncasecmp_l for PPC64.
20943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20944         multiarch implementations.
20945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20946         (__libc_ifunc_impl_list): Likewise.
20947         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20948         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20949         multiarch strcasecmp for PPC64.
20950         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20951         file.
20952         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20953         multiarch strcasecmp_l for PPC64.
20955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20956         implementations.
20957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20958         (__libc_ifunc_impl_list): Likewise.
20959         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20960         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20961         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20962         strnlen for PPC64.
20964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20965         implementations.
20966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20967         (__libc_ifunc_impl_list): Likewise.
20968         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20969         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20970         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20971         strlen for PPC64.
20973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20974         implementations.
20975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20976         (__libc_ifunc_impl_list): Likewise.
20977         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20978         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20979         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20980         rawmemrchr for PPC64.
20982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20983         implementation.
20984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20985         (__libc_ifunc_impl_list): Likewise.
20986         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20987         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20988         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20989         memrchr for PPC64.
20991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20992         implementation.
20993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20994         (__libc_ifunc_impl_list): Likewise.
20995         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20996         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20997         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20998         memchr for PPC64.
21000         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21001         implementation.
21002         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21003         (__libc_ifunc_impl_list): Likewise.
21004         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21005         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21006         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21007         mempcpy for PPC64.
21009         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21010         avoid cretion of __bzero symbol.
21011         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21012         Likewise.
21013         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21014         Likewise.
21015         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21016         Likewise.
21017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21018         multiarch implementations.
21019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21020         (__libc_ifunc_impl_list): Likewise.
21021         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21022         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21023         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21024         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21025         bzero for PPC32.
21026         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21027         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21028         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21029         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21030         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21031         memset for PPC64.
21032         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21034         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21035         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21036         implementations.
21037         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21038         (__libc_ifunc_impl_list): Likewise.
21039         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21040         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21041         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21042         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21043         memcmp for PPC64.
21045         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21046         multiarch for POWER/PPC64.
21047         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21048         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21049         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21050         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21051         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21052         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21053         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21054         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21055         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21056         memcpy for PPC64.
21058         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21059         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21060         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21061         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21062         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21063         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21064         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21065         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21066         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21067         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21068         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21069         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21070         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21071         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21072         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21081 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21083         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21085 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21087         * benchtests/Makefile (bench): Add exp2 and log2.
21088         (LDLIBS-bench-exp2): Add -lm.
21089         (LDLIBS-bench-log2): Likewise.
21090         * benchtests/exp2-inputs: New inputs file.
21091         * benchtests/log2-inputs: New inputs file.
21092         * benchtests/log-inputs: Add new inputs.
21093         * benchtests/tan-inputs: Likewise.
21095 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21097         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21098         definition...
21099         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21100         (csloww2): ... from here.
21102         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21103         instead of structures.
21104         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21105         (POLYNOMIAL): Likewise.
21106         (TAYLOR_SLOW): Likewise.
21107         (__sin): Likewise.
21108         (__cos): Likewise.
21109         (slow1): Likewise.
21110         (slow2): Likewise.
21111         (sloww): Likewise.
21112         (sloww1); Likewise.
21113         (sloww2): Likewise.
21114         (bsloww1): Likewise.
21115         (bsloww2): Likewise.
21116         (cslow2): Likewise.
21117         (csloww): Likewise.
21118         (csloww1): Likewise.
21119         (csloww2): Likewise.
21121 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
21123         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
21124         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21125         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
21126         * malloc/hooks.c (realloc_check): Likewise.
21128         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21129         * malloc/arena.c: Remove PER_THREAD conditional.
21130         [!PER_THREAD]: Remove code.
21131         (ptmalloc_unlock_all2): Likewise.
21132         (ptmalloc_init): Likewise.
21133         (_int_new_arena): Likewise.
21134         (arena_get2): Likewise.
21135         * malloc/hooks.c (__malloc_get_state): Likewise.
21136         (__malloc_set_state): Likewise.
21137         * malloc/malloc.c: Likewise.
21138         (struct malloc_state): Likewise.
21139         (struct malloc_par): Likewise.
21140         (__libc_realloc): Likewise.
21141         (__libc_mallopt): Likewise.
21143 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21145         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21147 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
21149         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21150         macro to a function.  Check for zero perturb_byte.
21151         (_int_malloc, _int_free): Remove zero perturb_byte checks.
21153         * malloc/malloc.c: (force_reg): Remove.
21154         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21155         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
21156         force_reg by atomic_forced_read.
21157         * malloc/arena.c (ptmalloc_init): Likewise.
21158         * malloc/hooks.c (top_check): Likewise.
21160 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21162         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21164 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
21166         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21168 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
21170         * math/auto-libm-test-in: Add tests of lgamma.
21171         * math/auto-libm-test-out: Regenerated.
21172         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21173         (M_LOG_2_SQRT_PIl): Likewise.
21174         (lgamma_test_data): Use AUTO_TESTS_f_f1.
21175         * math/gen-auto-libm-tests.c (func_calc_method): Add value
21176         mpfr_f_f1.
21177         (func_calc_desc): Add mpfr_f_f1 union field.
21178         (ARGS1): New macro.
21179         (ARGS2): Likewise.
21180         (ARGS3): Likewise.
21181         (ARGS4): Likewise.
21182         (RET1): Likewise.
21183         (RET2): Likewise.
21184         (CALC): Likewise.
21185         (FUNC): Likewise.
21186         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21187         (test_functions): Add lgamma.
21188         (calc_generic_results): Handle mpfr_f_f1.
21189         * sysdeps/i386/fpu/libm-test-ulps: Update.
21190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21192 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21194         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21195         __mpn_add_n for PowerPC64/POWER7.
21196         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21197         __mpn_sub_n for PowerPC64/POWER7.
21199         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21200         __mpn_addmul_1 for PowerPC64.
21201         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21202         __mpn_submul_1 for PowerPC64.
21203         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21204         for PowerPC64.
21205         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21206         for PowerPC64.
21208 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
21210         [BZ #15089]
21211         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21213 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21215         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21217         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21218         add multiarch folders.
21219         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21220         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21221         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21222         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21223         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21224         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21225         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21226         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21227         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21228         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21229         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21238         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21240         New file.
21241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21242         New file.
21243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21244         multiarch __ieee754_hypot for PowerPC32.
21245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21246         New file.
21247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21248         New file.
21249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21250         multiarch __ieee754_hypotf for PowerPC32.
21252         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21253         long_double_symbol only if __logbl is defined.
21254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21255         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21257         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21258         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21259         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21260         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21261         path for implementation.
21262         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21263         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21265         logb, and logbl multiarch implementations for PowerPC32.
21266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21267         file.
21268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21269         file.
21270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21271         multiarch logb for PowerPC32.
21272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21273         file.
21274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21275         file.
21276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21277         multiarch logbf for PowerPC32.
21278         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21280         file.
21281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21282         multiarch logbl implementation for PowerPC32.
21284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21285         and modff multiarch implementations.
21286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21287         New file.
21288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21289         New file.
21290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21291         multiarch modf for PowerPC32.
21292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21293         New file.
21294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21295         New file.
21296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21297         multiarch modff for PowerPC32.
21299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21300         and lrintf multiarch implementations.
21301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21302         New file.
21303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21304         New file.
21305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21306         multiarch lrint for PowerPC32.
21307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21308         file: multiarch lrintf for PowerPC32.
21310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21311         and lroundf multiarch implementations.
21312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21313         New file.
21314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21315         New file.
21316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21317         New file.
21318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21319         multiarch lround for PowerPC32.
21320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21321         file: multiarch lroundf for PowerPC32.
21323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21324         copysign and copysignf multiarch implementations.
21325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21326         New file.
21327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21328         New file.
21329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21330         file: multiarch copysign for PowerPC32.
21331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21332         file: multiarch copysignf for PowerPC32.
21334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21335         and truncf multiarch implementations.
21336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21337         New file.
21338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21339         file.
21340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21341         multiarch trunc for PowerPC32.
21342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21343         New file.
21344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21345         New file.
21346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21347         multiarch truncf for PowerPC32.
21349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21350         and roundf multiarch implementations.
21351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21352         New file.
21353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21354         file.
21355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21356         multiarch round for PowerPC32.
21357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21358         New file.
21359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21360         New file.
21361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21362         multiarch roundf for PowerPC32.
21364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21365         and floorf multiarch implementations.
21366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21367         New file.
21368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21369         file.
21370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21371         multiarch floor for PowerPC32.
21372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21373         New file.
21374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21375         New file.
21376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21377         multiarch floorf for PowerPC32.
21379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21380         and ceilf multiarch implementations.
21381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21382         New file.
21383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21384         file.
21385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21386         multiarch ceil for PowerPC32.
21387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21388         New file.
21389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21390         file.
21391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21392         multiarch ceilf for PowerPC32.
21394         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21395         is defined.
21396         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21397         FINITEF is defined.
21398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21399         and finitef multiarch implementations.
21400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21401         New file.
21402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21403         file.
21404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21405         multiarch finite for PowerPC32.
21406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21407         New file.
21408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21409         file: multiarch finitef for PowerPC32.
21411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21412         and isinff multiarch implementations.
21413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21414         file.
21415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
21416         file.
21417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
21418         multiarch isinf for PowerPC32.
21419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
21420         New file.
21421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
21422         multiarch isinff for PowerPC32.
21424         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
21425         alias when __isnan is defined.
21426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
21427         and isnanf multiarch implementations.
21428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
21429         file.
21430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
21431         file.
21432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
21433         file.
21434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
21435         file.
21436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
21437         multiarch isnan for PowerPC32.
21438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
21439         New file.
21440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
21441         New file.
21442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
21443         multiarch isnanf for PowerPC32.
21445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
21446         and sqrtf multiarch implementations.
21447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
21448         file.
21449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
21450         file.
21451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
21452         multiarch sqrt for PowerPC32.
21453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
21454         file.
21455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
21456         file.
21457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
21458         multiarch sqrtf for PowerPC32.
21460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
21461         and llroundf multiarch implementations.
21462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
21463         New file.
21464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
21465         New file.
21466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
21467         New file.
21468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
21469         file: multiarch llround for PowerPC32.
21470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
21471         file: multiarch llroundf for PowerPC32.
21473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
21474         multiarch PowerPC32 fpu implementations.
21475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
21476         New file.
21477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
21478         New file.
21479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
21480         multiarch llrint for PowerPC32.
21481         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
21482         New file.
21483         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
21484         New file.
21485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
21486         file.
21488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
21490         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
21491         file.
21492         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
21493         file.
21494         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
21495         file.
21496         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
21497         multiarch wordcopy for PPC32.
21498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21499         wordcopy objects.
21500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21501         (__libc_ifunc_impl_list): Likewise.
21502         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
21503         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
21504         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
21505         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
21506         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
21507         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
21509         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
21510         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
21511         file.
21512         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
21513         file.
21514         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
21515         file.
21516         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
21517         multiarch wcscpy for PPC32.
21518         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
21519         multiarch objects.
21520         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21521         (__libc_ifunc_impl_list): Likewise.
21522         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21523         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21524         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
21525         sysdeps/powerpc/power6/wcscpy.c.
21527         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
21528         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
21529         file.
21530         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
21531         file.
21532         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
21533         file.
21534         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
21535         multiarch wcsrchr for PPC32.
21536         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21537         multiarch objects.
21538         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21539         (__libc_ifunc_impl_list): Likewise.
21540         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
21541         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
21542         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
21543         sysdeps/powerpc/power6/wcsrchr.c.
21545         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
21546         file.
21547         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
21548         file.
21549         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
21550         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
21551         multiarch wcschr for PPc32.
21552         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
21553         multiarch objects.
21554         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21555         (__libc_ifunc_impl_list): Likewise.
21556         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
21557         * sysdeps/powerpc/power6/wcschr.c: ... to here.
21558         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
21559         sysdeps/powerpc/power6/wcschr.c.
21561         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
21562         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
21563         file.
21564         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
21565         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
21566         file: multiarch strchr for PPC32.
21567         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
21568         multiarch objects.
21569         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21570         (__libc_ifunc_impl_list): Likewise.
21572         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
21573         name.
21574         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
21575         file.
21576         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
21577         file.
21578         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
21579         multiarch strchrnul for PPC32.
21580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
21581         multiarch objects.
21582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21583         (__libc_ifunc_impl_list): Likewise.
21585         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
21586         file.
21587         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
21588         multiarch strncasecmp for PPC32.
21589         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
21590         file.
21591         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
21592         multiarch strncasecmp_l for PPC32.
21593         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
21594         strncasecmp multiarch objects.
21595         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21596         (__libc_ifunc_impl_list): Likewise.
21598         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
21599         file.
21600         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
21601         multiarch strncasecmp for PPC32.
21602         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
21603         New file.
21604         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
21605         multiarch strcasecmp_l for PPC32.
21606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
21607         multiarch objects.
21608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21609         (__libc_ifunc_impl_list): Likewise.
21611         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
21612         file.
21613         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
21614         file.
21615         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
21616         multiarch strncmp for PPC32.
21617         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
21618         multiarch objects.
21619         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21620         (__libc_ifunc_impl_list): Likewise.
21622         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
21623         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
21624         file.
21625         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
21626         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21627         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
21628         multiarch objects.
21629         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21630         (__libc_ifunc_impl_list): Likewise.
21632         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
21633         file.
21634         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
21635         file.
21636         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
21637         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
21638         multiarch objects.
21639         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21640         (__libc_ifunc_impl_list): Likewise.
21642         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
21643         file.
21644         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
21645         file.
21646         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
21647         multiarch rawmemchr for PPC32.
21648         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
21649         multiarch objects.
21650         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21651         (__libc_ifunc_impl_list): Likewise.
21653         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
21654         file.
21655         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
21656         file.
21657         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21658         file: memrchr multiarch for PPC32.
21659         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21660         multiarch objects.
21661         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21662         (__libc_ifunc_impl_list): Likewise.
21664         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21665         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21666         file.
21667         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21668         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21669         multiarch memchr for PPC32.
21670         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21671         multiarch objects.
21672         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21673         (__libc_ifunc_impl_list): Likewise.
21675         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21676         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21677         file.
21678         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21679         file.
21680         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21681         file: multiarch mempcpy for PPC32.
21682         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21683         multiarch objects.
21684         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21685         (__libc_ifunc_impl_list): Likewise.
21687         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21688         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21689         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21690         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21691         multiarch bzero for PPC32.
21692         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21693         file.
21694         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21695         file.
21696         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21697         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21698         file: multiarch memset for PPC32.
21699         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21701         memset multiarch objects.
21702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21703         (__libc_ifunc_impl_list): Likewise.
21705         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21706         file.
21707         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21708         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21709         memcmp for PPC32.
21710         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
21712         multiarch objects.
21713         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21714         (__libc_ifunc_impl_list): Likewise.
21716         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
21717         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21718         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21719         file.
21720         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21721         file.
21722         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21723         file.
21724         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21725         multiarch memcpy for PPC32.
21726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21727         multiarch objects.
21728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21729         (__libc_ifunc_impl_list): Likewise.
21731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21732         support multiarch for POWER/PPC32.
21733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21734         Likewise.
21735         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21737         Implies file to make multiarch folder appers before the fpu and
21738         default folder for power4 configuration.
21740 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21742         * scripts/bench.pl: Append volatile keyword to type.
21744 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21746         * sysdeps/sh/sotruss-lib.c: New file.
21747         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21749 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21751         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21753 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21755         [BZ #6810]
21756         * math/w_tgamma.c: Include <errno.h>.
21757         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21758         * math/w_tgammaf.c: Include <errno.h>.
21759         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21760         * math/w_tgammal.c: Include <errno.h>.
21761         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21762         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21763         underflow.  Add more tgamma tests.
21764         * math/auto-libm-test-out: Regenerated.
21765         * sysdeps/i386/fpu/libm-test-ulps: Update.
21766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21768         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21769         sin, sinh, tan, tanh, tgamma, y0 and y1.
21770         * math/auto-libm-test-out: Regenerated.
21771         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21772         (TEST_COND_x86): Likewise.
21773         (M_E2l): Remove macro.
21774         (M_E3l): Likewise.
21775         (M_2_SQRT_PIl): Likewise.
21776         (M_SQRT_PIl): Likewise.
21777         (M_1_DIV_El): Likewise.
21778         (log_test_data): Use AUTO_TESTS_f_f.
21779         (log10_test_data): Likewise.
21780         (log1p_test_data): Likewise.
21781         (log2_test_data): Likewise.
21782         (sin_test_data): Likewise.
21783         (sin_tonearest_test_data): Likewise.
21784         (sin_towardzero_test_data): Likewise.
21785         (sin_downward_test_data): Likewise.
21786         (sin_upward_test_data): Likewise.
21787         (sinh_test_data): Likewise.
21788         (sinh_tonearest_test_data): Likewise.
21789         (sinh_towardzero_test_data): Likewise.
21790         (sinh_downward_test_data): Likewise.
21791         (sinh_upward_test_data): Likewise.
21792         (tan_test_data): Likewise.
21793         (tan_tonearest_test_data): Likewise.
21794         (tan_towardzero_test_data): Likewise.
21795         (tan_downward_test_data): Likewise.
21796         (tan_upward_test_data): Likewise.
21797         (tanh_test_data): Likewise.
21798         (tgamma_test_data): Likewise.
21799         (y0_test_data): Likewise.
21800         (y1_test_data): Likewise.
21801         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21802         (special_real_inputs): Add pi/4.
21803         * sysdeps/i386/fpu/libm-test-ulps: Update.
21804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21806 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21808         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21809         "longjmp_target" static probes.
21810         (__longjmp): Rename to __longjmp_symbol.
21811         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21812         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21813         on which longjmp to generate.
21814         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21815         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21816         probe.
21817         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21818         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21819         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21820         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21821         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21822         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21824         __longjmp_symbol based on which __longjmp to generate.
21825         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21826         probe.
21827         (setjmp): Rename to setjmp_symbol.
21828         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21829         (_setjmp): Rename to _setjmp_symbol.
21830         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21831         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21832         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21833         which setjmp to generate.
21834         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21835         "longjmp_target" static probes.
21837 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21839         * benchtests/README: Add note about output arguments.
21840         * benchtests/bench-sincos.c: Remove file.
21841         * benchtests/sincos-inputs: New file.
21842         * scripts/bench.pl: Identify output arguments and define
21843         static variables for them.
21845         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21847         [BZ #15941]
21848         * Makefile (INSTALL): Add install-plain.texi as the primary
21849         dependency.
21850         * manual/install-plain.texi: New file.
21851         * manual/install.texi: Include node directive only for
21852         non-plaintext output.
21854 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
21856         * stdlib/longlong.h: Update from GCC.
21858         [BZ #6807]
21859         [BZ #15901]
21860         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21861         * math/w_j0f.c (y0f): Likewise.
21862         * math/w_j0l.c (__y0l): Likewise.
21863         * math/w_j1.c (y1): Likewise.
21864         * math/w_j1f.c (y1f): Likewise.
21865         * math/w_j1l.c (__y1l): Likewise
21866         * math/w_jn.c (yn): Likewise.
21867         * math/w_jnf.c (ynf): Likewise.
21868         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21869         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
21870         value for Bessel function domain errors outside _SVID_ mode.
21871         Adjust sign of return value for yn (negative integer, 0).
21872         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21873         by zero in return for negative x and set sign appropriately for
21874         negative n.
21875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21876         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21877         * math/libm-test.inc (y0_test_data): Add more tests and adjust
21878         expectations in error cases.
21879         (y1_test_data): Likewise.
21880         (yn_test_data): Likewise.
21881         * sysdeps/i386/fpu/libm-test-ulps: Update.
21882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21884 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21886         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21887         "64" to "64-v1".  Add "64-v2".
21888         (abi-64-options): Rename to ...
21889         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
21890         (abi-64-condition): Rename to ...
21891         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
21892         (abi-64-ld-soname): Rename to ...
21893         (abi-64-v1-ld-soname): ... this.
21894         (abi-64-v2-options): Define.
21895         (abi-64-v2-condition): Likewise.
21896         (abi-64-v2-ld-soname): Likewise.
21897         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21898         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21903 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21904             Alan Modra  <amodra@gmail.com>
21906         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21907         New versions for use with the ELFv2 ABI.
21908         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21909         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21910         declaration.
21911         (struct La_ppc64v2_retval): Likewise.
21912         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21913         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21914         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21915         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21916         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21917         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21918         Do not save or restore CR.
21919         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21920         (_dl_profile_resolve): Do no save or restore CR.  Support extended
21921         return values for ELFv2 ABI.  Fix location of FPR return registers.
21922         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21923         updated values for _CALL_ELF == 2.
21924         (La_regs, La_retval, int_retval): Likewise.
21926 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21928         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21929         (FRAME_MIN_SIZE_PARM): Likewise.
21930         (FRAME_BACKCHAIN): Likewise.
21931         (FRAME_CR_SAVE): Likewise.
21932         (FRAME_LR_SAVE): Likewise.
21933         (FRAME_TOC_SAVE): Likewise.
21934         (FRAME_PARM_SAVE): Likewise.
21935         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21936         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21937         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21938         (call_mcount_parm_offset): New macro.
21939         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21940         (PROF): Use symbolic stack frame offsets.
21941         (TAIL_CALL_SYSCALL_ERROR): Likewise.
21942         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21943         Redefine in terms of FRAME_MIN_SIZE.
21944         (_dl_runtime_resolve): Use symbolic stack frame offsets.
21945         (_dl_profile_resolve): Likewise.  Update comment.
21946         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21947         symbols stack frame offsets.
21948         (__sigsetjmp): Likewise.
21949         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21950         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21951         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21952         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21955         (FRAME_BACKCHAIN): Remove.
21956         (FRAME_CR_SAVE): Likewise.
21957         (FRAME_LR_SAVE): Likewise.
21958         (FRAME_COMPILER_DW): Likewise.
21959         (FRAME_LINKER_DW): Likewise.
21960         (FRAME_TOC_SAVE): Likewise.
21961         (FRAME_PARM_SAVE): Likewise.
21962         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21963         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21964         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21966         (CHECK_SP): Use symbolic stack frame offsets.
21967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21968         zone" instead of caller's parameter save area for temp storage.
21969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21970         Likewise.  Also, use symbolic stack frame offsets.
21971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21972         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21973         our own stack frame instead of the caller's.
21974         (__socket): Use symbolic stack frame offsets.
21976 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21977             Alan Modra  <amodra@gmail.com>
21979         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21980         Define.
21981         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21982         (PPC64_LOCAL_ENTRY_OFFSET): Define.
21983         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21984         New function.
21985         (elf_machine_fixup_plt): Call it.
21986         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
21987         reloc arguments.
21988         (elf_machine_rela): Update call to elf_machine_plt_conflict.
21989         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21990         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21991         r2 before calling target.
21993 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21994             Alan Modra  <amodra@gmail.com>
21996         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21997         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21998         versions of macros to support ELFv2 ABI.
21999         (LOCALENTRY): New macro.
22000         (ENTRY, EALIGN): Use it.
22001         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22002         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22003         fall through into ENTRY entry point.
22004         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22005         Only define if _CALL_ELF != 2.
22007         (elf_machine_matches_host): Verify ABI version matches.
22008         (RTLD_START): Use LOCALENTRY.
22009         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22010         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22011         (PLT_ENTRY_WORDS): New macro.
22012         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22013         (elf_machine_runtime_setup): Support ELFv2 ABI.
22014         (elf_machine_fixup_plt): Likewise.
22015         (elf_machine_plt_conflict): Likewise.
22016         (resolve_ifunc): Likewise.
22017         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22018         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22019         Likewise.
22020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22021         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22023         (makecontext): Support ELFv2 ABI.
22024         * elf/elf.h (EF_PPC64_ABI): Define.
22026 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22028         * sysdeps/powerpc/powerpc64/sysdep.h
22029         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22030         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22031         (ENTRY) [ASSEMBLER]: ... but instead here ...
22032         (EALIGN) [ASSEMBLER]: ... and here.
22033         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22034         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22035         (ENTRY_2) [!ASSEMBLER]: Use it.
22036         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22037         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
22038         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22039         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
22040         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22042         Use PPC64_LOAD_FUNCPTR.
22044         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22046 2013-12-04  Alan Modra  <amodra@gmail.com>
22048         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22049         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22050         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22051         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22053         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22054         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22055         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22056         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22057         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22058         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22060 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
22062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22063         (__makecontext): Fix incorrect CFI when backtracing out of
22064         context created via makecontext.
22065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22066         (__setcontext): Fix incorrect CFI during switch to new context.
22067         (__novec_setcontext): Likewise.
22069 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22071         [BZ #4772]
22072         * time/strptime_l.c (__strptime_internal): Allow modifiers
22073         in strptime.
22074         * time/tst-strptime.c (day_tests): Add testcase.
22076 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22078         * scripts/bench.pl: Skip over blank lines.
22080 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22082         [BZ #926]
22083         * manual/time.texi (Calendar Time): Clarify what timezone functions
22084         use.
22086 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22088         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22090 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
22092         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22093         implementation.
22094         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22095         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22096         * debug/memset_chk.c (__memset_chk): Likewise.
22097         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22098         * debug/strncpy_chk.c: Likewise.
22100 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22102         [BZ #15268]
22103         [BZ #15425]
22104         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22105         (__ieee754_exp): For possibly underflowing results, check size of
22106         result and force underflow exception if required.
22107         * math/auto-libm-test-in: Add more tests of exp.
22108         * math/auto-libm-test-out: Regenerated.
22109         * sysdeps/i386/fpu/libm-test-ulps: Update.
22110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22112         [BZ #16283]
22113         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22114         * math/w_exp2f.c (__exp2f): Likewise.
22115         * math/w_exp2l.c (__exp2l): Likewise.
22116         * math/auto-libm-test-in: Do not allow missing errno on exp2
22117         underflow.
22118         * math/auto-libm-test-out: Regenerated.
22120 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
22122         [BZ #16274]
22123         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22124         handle filename validation.
22125         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22126         (do_open): Delete.
22128 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
22130         [BZ #6786]
22131         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22132         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22133         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22134         <float.h>.
22135         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22136         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22137         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22138         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22139         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22140         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22141         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22142         * math/auto-libm-test-in: Don't allow missing errno from erfc.
22143         Add more erfc tests.
22144         * math/auto-libm-test-out: Regenerated.
22145         * sysdeps/i386/fpu/libm-test-ulps: Update.
22146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22148         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22149         exp2, expm1, j0 and j1.
22150         * math/auto-libm-test-out: Regenerated.
22151         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22152         (erfc_test_data): Likewise.
22153         (exp_test_data): Likewise.
22154         (exp_tonearest_test_data): Likewise.
22155         (exp_towardzero_test_data): Likewise.
22156         (exp_downward_test_data): Likewise.
22157         (exp_upward_test_data): Likewise.
22158         (exp10_test_data): Likewise.
22159         (exp2_test_data): Likewise.
22160         (expm1_test_data): Likewise.
22161         (j0_test_data): Likewise.
22162         (j1_test_data): Likewise.
22163         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22164         (input_flag_type): Add flag_xfail_rounding.
22165         (input_flags): Add xfail-rounding.
22166         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22167         (output_for_one_input_case): Handle flag_xfail_rounding.
22168         * sysdeps/i386/fpu/libm-test-ulps: Update.
22169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22171 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
22173         [BZ #16289]
22174         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22175         division by 0.
22177 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22179         [BZ #16195]
22180         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22181         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22182         (STAP_PROBE0): New macro.
22183         (STAP_PROBE1): Likewise.
22184         (STAP_PROBE2): Likewise.
22185         (STAP_PROBE3): Likewise.
22186         (STAP_PROBE4): Likewise.
22188 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
22190         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22192 2013-12-02  Steve Ellcey  <sellcey@mips.com>
22194         * benchtests/Makefile (bench): Add sqrt.
22195         (LDLIBS-bench-sqrt): New.
22196         * benchtests/sqrt-input: New.
22198 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
22200         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22201         (GAIH_EAI): Likewise.
22202         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22203         (gaih_inet): Likewise.
22204         (getaddrinfo): Don't use GAIH_EAI.
22206         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22207         (struct gaih): Remove definition.
22209 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22211         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22212         Use HERRNOP directly.
22214 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22218 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
22220         * math/gen-auto-libm-tests.c (test_functions): Add more
22221         single-argument functions.
22222         (special_fill_pi_2): New function.
22223         (special_fill_minus_pi_2): Likewise.
22224         (special_fill_pi_6): Likewise.
22225         (special_fill_minus_pi_6): Likewise.
22226         (special_fill_pi_3): Likewise.
22227         (special_fill_2pi_3): Likewise.
22228         (special_fill_e): Likewise.
22229         (special_fill_1_e): Likewise.
22230         (special_fill_e_minus_1): Likewise.
22231         (special_real_inputs): Add more special inputs.
22232         (output_for_one_input_case): Do not require ERANGE on underflow to
22233         zero if round-to-nearest result does not underflow to zero, unless
22234         exact results required.
22235         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22236         atan, atanh, cbrt, cos and cosh.
22237         * math/auto-libm-test-out: Regenerated.
22238         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22239         (acos_tonearest_test_data): Likewise.
22240         (acos_towardzero_test_data): Likewise.
22241         (acos_downward_test_data): Likewise.
22242         (acos_upward_test_data): Likewise.
22243         (acosh_test_data): Likewise.
22244         (asin_test_data): Likewise.
22245         (asin_tonearest_test_data): Likewise.
22246         (asin_towardzero_test_data): Likewise.
22247         (asin_upward_test_data): Likewise.
22248         (asinh_test_data): Likewise.
22249         (atan_test_data): Likewise.
22250         (atanh_test_data): Likewise.
22251         (cbrt_test_data): Likewise.
22252         (cos_test_data): Likewise.
22253         (cos_tonearest_test_data): Likewise.
22254         (cos_towardzero_test_data): Likewise.
22255         (cos_downward_test_data): Likewise.
22256         (cos_upward_test_data): Likewise.
22257         (cosh_test_data): Likewise.
22258         (cosh_tonearest_test_data): Likewise.
22259         (cosh_towardzero_test_data): Likewise.
22260         (cosh_downward_test_data): Likewise.
22261         (cosh_upward_test_data): Likewise.
22262         * sysdeps/i386/fpu/libm-test-ulps: Update.
22263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22265 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
22267         [BZ #6787]
22268         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22269         * math/w_exp10f.c (__exp10f): Likewise.
22270         * math/w_exp10l.c (__exp10l): Likewise.
22271         * math/libm-test.inc (exp10_test_data): Add more tests and expect
22272         errno settings in existing tests.
22274         [BZ #14032]
22275         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22276         precision control set to double precision.
22277         * sysdeps/i386/fpu/w_sqrt.c: New file.
22278         * math/auto-libm-test-in: Add more tests.
22279         * math/auto-libm-test-out: Update.
22281         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22282         (sqrt_test_tonearest): New function.
22283         (sqrt_towardzero_test_data): New variable.
22284         (sqrt_test_towardzero): New function.
22285         (sqrt_downward_test_data): New variable.
22286         (sqrt_test_downward): New function.
22287         (sqrt_upward_test_data): New variable.
22288         (sqrt_test_upward): New function.
22289         (main): Call the new functions.
22291         * math/gen-auto-libm-tests.c: New file.
22292         * math/auto-libm-test-in: Likewise.
22293         * math/auto-libm-test-out: New generated file.
22294         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22295         variables.
22296         (%beautify): Add generated representations of zero.
22297         (top level): Set $auto_input and call parse_auto_input.
22298         (beautify): Remove trailing "f" from hex float constants.
22299         (parse_args): Handle XFAIL_TEST.
22300         (convert_condition): New function.
22301         (or_value): Likewise.
22302         (or_cond_value): Likewise.
22303         (generate_testfile): Handle AUTO_TESTS_* lines.
22304         (parse_auto_input): New function.
22305         * math/libm-test.inc (XFAIL_TEST): New macro.
22306         (ERRNO_UNCHANGED): Update value.
22307         (ERRNO_EDOM): Likewise.
22308         (ERRNO_ERANGE): Likewise.
22309         (IGNORE_RESULT): Likewise.
22310         (TEST_COND_flt_32): New macro.
22311         (TEST_COND_dbl_64): Likewise.
22312         (TEST_COND_ldbl_96_intel): Likewise.
22313         (TEST_COND_ldbl_96_m68k): Likewise.
22314         (TEST_COND_ldbl_128): Likewise.
22315         (TEST_COND_ldbl_128ibm): Likewise.
22316         (TEST_COND_long32): Likewise.
22317         (TEST_COND_long64): Likewise.
22318         (TEST_COND_before_rounding): Likewise.
22319         (TEST_COND_after_rounding): Likewise.
22320         (enable_test): Handle XFAIL_TEST flag.
22321         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22322         with finite results.
22323         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22324         auto-libm-test-out.
22326 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22327             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22329         [BZ #16214]
22330         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22331         __tls_get_addr_internal instead of __tls_get_offset in order to
22332         avoid GOT pointer dependency.  Make rtld export
22333         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22334         __tls_get_addr since we are a __tls_get_offset platform.
22335         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22336         GOT pointer being set up before.
22337         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22339 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
22341         * manual/math.texi (Errors in Math Functions): Document accuracy
22342         goals.
22344         [BZ #15004]
22345         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22346         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22347         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22348         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22349         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22350         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22351         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22352         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22353         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22354         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22355         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22356         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22357         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22358         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22359         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22360         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22362         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22363         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22364         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22365         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22366         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22367         Likewise.
22368         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22369         Likewise.
22370         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22371         Likewise.
22372         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22373         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22374         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22375         atomic-feupdateenv and flt-rounds.
22376         * sysdeps/powerpc/nofpu/Versions (libc): Add
22377         __atomic_feholdexcept, __atomic_feclearexcept,
22378         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22379         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22380         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22381         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22382         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22383         here.
22384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22385         Update.
22387         * manual/arith.texi (FP Exceptions): Document that exceptions may
22388         not be raised when matherr is used.
22389         (Math Error Reporting): Document overflow in directed rounding
22390         modes.  Document that errno may not be set when finite values are
22391         returned on overflow.  Document intent to set errno on underflow
22392         only for underflow to zero.
22394         [BZ #16271]
22395         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22396         round-to-nearest then adjust result for other rounding modes.
22397         * include/fenv.h (fegetround): Use libm_hidden_proto.
22398         * math/fegetround.c (fegetround): Use libm_hidden_def.
22399         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22400         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22401         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22402         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22403         Likewise.
22404         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22405         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22406         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22407         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22409 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22411         [BZ #16077]
22412         * nss/Versions (libnss_files): Add
22413         _nss_files_gethostbyname3_r.
22414         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22415         New function.
22416         (HOST_DB_LOOKUP): Remove macro.
22417         (_nss_files_gethostbyname_r): Implement function without the
22418         HOST_DB_LOOKUP macro.
22419         (_nss_files_gethostbyname2_r): Likewise.
22421 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
22423         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
22425 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
22427         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
22428         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
22429         warning.
22431 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22433         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
22434         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
22435         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22436         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
22437         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
22438         __fe_nomask_env_priv and attribute_hidden.
22439         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
22440         (libc_feupdateenv_test_ppc): Likewise.
22441         (libc_feresetround_ppc): Likewise.
22442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22443         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
22444         compat_symbol macro.
22445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22446         (__fe_nomask_env): Likewise.
22447         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
22449 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22451         * string/Makefile: Remove ifunc tests.
22452         * string/test-string.h: Define TEST_IFUNC.
22453         * string/test-bcopy-ifunc.c: Remove.
22454         * string/test-bzero-ifunc.c: Likewise.
22455         * string/test-memccpy-ifunc.c: Likewise.
22456         * string/test-memchr-ifunc.c: Likewise.
22457         * string/test-memcmp-ifunc.c: Likewise.
22458         * string/test-memcpy-ifunc.c: Likewise.
22459         * string/test-memmem-ifunc.c: Likewise.
22460         * string/test-memmove-ifunc.c: Likewise.
22461         * string/test-mempcpy-ifunc.c: Likewise.
22462         * string/test-memrchr-ifunc.c: Likewise.
22463         * string/test-memset-ifunc.c: Likewise.
22464         * string/test-rawmemchr-ifunc.c: Likewise.
22465         * string/test-stpcpy-ifunc.c: Likewise.
22466         * string/test-stpncpy-ifunc.c: Likewise.
22467         * string/test-strcasecmp-ifunc.c: Likewise.
22468         * string/test-strcasestr-ifunc.c: Likewise.
22469         * string/test-strcat-ifunc.c: Likewise.
22470         * string/test-strchr-ifunc.c: Likewise.
22471         * string/test-strchrnul-ifunc.c: Likewise.
22472         * string/test-strcmp-ifunc.c: Likewise.
22473         * string/test-strcpy-ifunc.c: Likewise.
22474         * string/test-strcspn-ifunc.c: Likewise.
22475         * string/test-strlen-ifunc.c: Likewise.
22476         * string/test-strncasecmp-ifunc.c: Likewise.
22477         * string/test-strncat-ifunc.c: Likewise.
22478         * string/test-strncmp-ifunc.c: Likewise.
22479         * string/test-strncpy-ifunc.c: Likewise.
22480         * string/test-strnlen-ifunc.c: Likewise.
22481         * string/test-strpbrk-ifunc.c: Likewise.
22482         * string/test-strrchr-ifunc.c: Likewise.
22483         * string/test-strspn-ifunc.c: Likewise.
22484         * string/test-strstr-ifunc.c: Likewise.
22486 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22488         * benchtests/Makefile: Remove ifunc tests.
22489         * benchtests/bench-string.h: Define TEST_IFUNC.
22490         * benchtests/bench-bcopy-ifunc.c: Remove.
22491         * benchtests/bench-bzero-ifunc.c: Likewise.
22492         * benchtests/bench-memccpy-ifunc.c: Likewise.
22493         * benchtests/bench-memchr-ifunc.c: Likewise.
22494         * benchtests/bench-memcmp-ifunc.c: Likewise.
22495         * benchtests/bench-memcpy-ifunc.c: Likewise.
22496         * benchtests/bench-memmem-ifunc.c: Likewise.
22497         * benchtests/bench-memmove-ifunc.c: Likewise.
22498         * benchtests/bench-mempcpy-ifunc.c: Likewise.
22499         * benchtests/bench-memrchr-ifunc.c: Likewise.
22500         * benchtests/bench-memset-ifunc.c: Likewise.
22501         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
22502         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
22503         * benchtests/bench-stpcpy-ifunc.c: Likewise.
22504         * benchtests/bench-stpncpy-ifunc.c: Likewise.
22505         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
22506         * benchtests/bench-strcasestr-ifunc.c: Likewise.
22507         * benchtests/bench-strcat-ifunc.c: Likewise.
22508         * benchtests/bench-strchr-ifunc.c: Likewise.
22509         * benchtests/bench-strchrnul-ifunc.c: Likewise.
22510         * benchtests/bench-strcmp-ifunc.c: Likewise.
22511         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
22512         * benchtests/bench-strcpy-ifunc.c: Likewise.
22513         * benchtests/bench-strcspn-ifunc.c: Likewise.
22514         * benchtests/bench-strlen-ifunc.c: Likewise.
22515         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
22516         * benchtests/bench-strncat-ifunc.c: Likewise.
22517         * benchtests/bench-strncmp-ifunc.c: Likewise.
22518         * benchtests/bench-strncpy-ifunc.c: Likewise.
22519         * benchtests/bench-strnlen-ifunc.c: Likewise.
22520         * benchtests/bench-strpbrk-ifunc.c: Likewise.
22521         * benchtests/bench-strrchr-ifunc.c: Likewise.
22522         * benchtests/bench-strsep-ifunc.c: Likewise.
22523         * benchtests/bench-strspn-ifunc.c: Likewise.
22524         * benchtests/bench-strstr-ifunc.c: Likewise.
22526 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22528         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
22530 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
22532         * resolv/netdb.h: Use __glibc_reserved instead __unused.
22533         * rt/aio.h: Likewise.
22534         * sysdeps/gnu/bits/utmp.h: Likewise.
22535         * sysdeps/gnu/bits/utmpx.h: Likewise.
22536         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
22537         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
22538         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
22539         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
22540         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
22541         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
22542         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
22543         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
22544         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
22545         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
22546         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
22547         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
22548         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
22549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
22550         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22551         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
22552         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
22553         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
22554         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
22555         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
22556         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
22557         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
22558         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
22559         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
22560         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
22561         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22562         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
22563         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
22564         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
22565         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
22566         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
22567         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
22568         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
22569         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
22570         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
22571         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
22572         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
22573         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
22574         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
22575         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
22576         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
22577         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22579 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
22581         [BZ #16245]
22582         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
22583         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
22585 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
22587         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
22588         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
22589         Likewise.
22591 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22593         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
22594         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
22595         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
22596         (__fesetround): Remove define.
22597         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
22598         rounding and exceptions handling.
22599         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
22600         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
22601         (__fe_nomask_env): Likewise.
22602         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
22603         __fegetround instead of fegetround.
22604         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22605         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
22607 2013-11-21  Roland McGrath  <roland@hack.frob.com>
22609         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
22610         it's there.
22612         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
22614 2013-11-21  Meador Inge  <meadori@codesourcery.com>
22616         [BZ #11157]
22617         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
22618         (encrypt_r): Likewise.
22619         * malloc/obstack.h (obstack_free): Likewise.
22620         * posix/unistd.h (encrypt): Likewise.
22622 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
22624         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
22625         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
22626         DL_CALL_DT_FINI() that call the functions directly.
22627         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
22628         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
22629         * elf/dl-fini.c: Likewise.
22631 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
22633         * malloc/hooks.c (memalign_check): Add alignment rounding.
22634         * malloc/malloc.c (_mid_memalign): New function.
22635         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
22636         Implement by calling _mid_memalign.
22637         * manual/probes.texi (Memory Allocation Probes): Remove
22638         memory_valloc_retry and memory_pvalloc_retry.
22640 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22642         * locale/programs/locarchive.c (open_archive): Add const
22643         qualifier to ARCHIVEFNAME and copy default fname to
22644         DEFAULT_FNAME.
22646         [BZ #15601]
22647         * libio/tst-widetext.input: Rename Oriya to Odia.
22648         * locale/iso-639.def: Likewise.
22650         * manual/probes.texi (Mathematical Function Probes): Add
22651         documentation for sin, cos, asin and acos probes.
22652         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
22653         (__sin32): Add slowasin probe.
22654         (__cos32): Add slowacos probe.
22655         (__mpsin): Add slowsin probe.
22656         (__mpcos): Add slowcos probe.
22658 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22660         [BZ #15483]
22661         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22662         thread-local __sim_exceptions_thread and global
22663         __sim_exceptions_global.
22664         (__sim_disabled_exceptions): Change to thread-local
22665         __sim_disabled_exceptions_thread and global
22666         __sim_disabled_exceptions_global.
22667         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22668         and global __sim_round_mode_global.
22669         (__simulate_exceptions): Use thread-local floating-point state and
22670         set global state from it as needed.
22671         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22672         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22673         __sim_round_mode_thread.
22674         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22675         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22676         and global __sim_exceptions_global.
22677         (__sim_disabled_exceptions): Change to thread-local
22678         __sim_disabled_exceptions_thread and global
22679         __sim_disabled_exceptions_global.
22680         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22681         and global __sim_round_mode_global.
22682         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22683         (SIM_SET_GLOBAL): Likewise.
22684         * sysdeps/powerpc/soft-fp/sfp-machine.h
22685         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22686         __sim_round_mode_thread.
22687         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22688         __sim_disabled_exceptions_thread.
22689         (__sim_exceptions): Change to __sim_exceptions_thread.
22690         (__sim_disabled_exceptions): Change to
22691         __sim_disabled_exceptions_thread.
22692         (__sim_round_mode): Change to __sim_round_mode_thread.
22693         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22694         thread-local floating-point state and set global state from it as
22695         needed.
22696         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22697         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22698         (__sim_disabled_exceptions): Remove extern declaration.
22699         (feenableexcept): Use thread-local floating-point state and set
22700         global state from it as needed.
22701         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22702         extern declaration.
22703         (__sim_disabled_exceptions): Likewise.
22704         (__sim_round_mode): Likewise.
22705         (__fegetenv): Use thread-local floating-point state.
22706         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22707         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22708         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22709         floating-point state and set global state from it as needed.
22710         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22711         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22712         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22713         Likewise.
22714         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22715         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22716         Likewise.
22717         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22718         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22719         Use __sim_round_mode_thread.
22720         * math/test-fenv-tls.c: New file.
22721         * math/Makefile (tests): Add test-fenv-tls.
22722         ($(objpfx)test-fenv-tls): Depend on
22723         $(common-objpfx)nptl/libpthread.so.
22725 2013-11-19  Andreas Schwab  <schwab@suse.de>
22727         * locale/programs/locale.c (show_info): Decode wordarray elements.
22728         * locale/categories.def (LC_MONETARY): Add element for
22729         _NL_MONETARY_CRNCYSTR.
22730         * locale/C-monetary.c (conversion_rate): New variable.
22731         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22732         element.
22734 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22736         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22737         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22739 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22741         * elf/Makefile (tst-auxv): New test.
22742         * elf/tst-auxv.c: New
22743         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22745 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22747         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22748         (hidden_proto): Caller changed.
22749         (hidden_tls_proto): New macro.
22750         (libc_hidden_tls_proto): Likewise.
22751         (rtld_hidden_tls_proto): Likewise.
22752         (libm_hidden_tls_proto): Likewise.
22753         (libresolv_hidden_tls_proto): Likewise.
22754         (librt_hidden_tls_proto): Likewise.
22755         (libdl_hidden_tls_proto): Likewise.
22756         (libnss_files_hidden_tls_proto): Likewise.
22757         (libnsl_hidden_tls_proto): Likewise.
22758         (libnss_nisplus_hidden_tls_proto): Likewise.
22759         (libutil_hidden_tls_proto): Likewise.
22761 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22763         [BZ #10253]
22764         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22765         (decompose_rpath): Defer expansion to fillin_rpath.
22766         (_dl_init_paths): Pass linkmap to fillin_rpath.
22768 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22770         * benchtests/Makefile: Add strsep.
22771         * benchtests/bench-strsep.c: New file: strsep benchtest.
22772         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22774 2013-11-18  Andreas Schwab  <schwab@suse.de>
22776         * locale/programs/locale.c (show_info) [case byte]: Check for
22777         '\377' instead of '\177'.
22778         * locale/C-monetary.c (not_available): Always use "\377".
22779         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22780         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22781         detect unavailable sign_posn locale elements.
22782         * locale/localeconv.c (__localeconv): For grouping and
22783         mon_grouping handle "\177" and "\377" like no grouping.
22784         (INT_ELEM): New macro.  Use it to set all numeric members.
22785         * locale/programs/ld-monetary.c (monetary_read)
22786         <tok_mon_grouping>: Normalize single -1 to the empty string.
22787         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22788         Likewise.
22790 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22792         [BZ #16055]
22793         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22794         when we match (nil).
22795         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22797 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22799         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22800         (NO_TEST_INLINE): Update value.
22801         (ERRNO_UNCHANGED): Likewise.
22802         (ERRNO_EDOM): Likewise.
22803         (ERRNO_ERANGE): Likewise.
22804         (IGNORE_RESULT): Likewise.
22805         (check_float_internal): Check signs of NaN results if
22806         TEST_NAN_SIGN used.
22807         (check_complex): Pass TEST_NAN_SIGN flag through to second
22808         check_float_internal call.
22809         (copysign_test_data): Add tests with quiet NaNs as second
22810         argument.  Use TEST_NAN_SIGN.
22811         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22812         TEST_NAN_SIGN.
22813         (signbit_test_data): Add tests of quiet NaN argument.
22814         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22816         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22817         $ignore_result.
22818         (parse_args): Handle function results specified as IGNORE.
22819         * math/libm-test.inc (IGNORE_RESULT): New macro.
22820         (check_float_internal): Do not check numerical result if flag
22821         IGNORE_RESULT set.
22822         (check_complex): Pass through IGNORE_RESULT to second
22823         check_float_internal call.
22824         (check_int): Do not check numerical result if flag IGNORE_RESULT
22825         set.
22826         (check_long): Likewise.
22827         (check_bool): Likewise.
22828         (check_longlong): Likewise.
22829         (lrint_test_data): Add tests of infinite and NaN arguments.
22830         (lrint_tonearest_test_data): Likewise.
22831         (lrint_towardzero_test_data): Likewise.
22832         (lrint_downward_test_data): Likewise.
22833         (lrint_upward_test_data): Likewise.
22834         (llrint_test_data): Likewise.
22835         (llrint_tonearest_test_data): Likewise.
22836         (llrint_towardzero_test_data): Likewise.
22837         (llrint_downward_test_data): Likewise.
22838         (llrint_upward_test_data): Likewise.
22839         (lround_test_data): Likewise.
22840         (llround_test_data): Likewise.
22842         * math/libm-test.inc (NO_TEST_INLINE): New macro.
22843         (ERRNO_UNCHANGED): Update value.
22844         (ERRNO_EDOM): Likewise.
22845         (ERRNO_ERANGE): Likewise.
22846         (NO_TEST_INLINE_FLOAT): New macro.
22847         (NO_TEST_INLINE_DOUBLE): Likewise.
22848         (enable_test): New function.
22849         (RUN_TEST_f_f): Check enable_test before running test.
22850         (RUN_TEST_2_f): Likewise.
22851         (RUN_TEST_fff_f): Likewise.
22852         (RUN_TEST_c_f): Likewise.
22853         (RUN_TEST_f_f1): Likewise.
22854         (RUN_TEST_fF_f1): Likewise.
22855         (RUN_TEST_fI_f1): Likewise.
22856         (RUN_TEST_ffI_f1): Likewise.
22857         (RUN_TEST_c_c): Likewise.
22858         (RUN_TEST_cc_c): Likewise.
22859         (RUN_TEST_f_i): Likewise.
22860         (RUN_TEST_f_i_tg): Likewise.
22861         (RUN_TEST_ff_i_tg): Likewise.
22862         (RUN_TEST_f_b): Likewise.
22863         (RUN_TEST_f_b_tg): Likewise.
22864         (RUN_TEST_f_l): Likewise.
22865         (RUN_TEST_f_L): Likewise.
22866         (RUN_TEST_fFF_11): Likewise.
22867         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22868         conditionals.
22869         (cosh_test_data): Likewise.
22870         (exp_test_data): Likewise.
22871         (expm1_test_data): Likewise.
22872         (hypot_test_data): Likewise.
22873         (pow_test_data): Likewise.
22874         (sinh_test_data): Likewise.
22875         (tanh_test_data): Likewise.
22876         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22877         flags argument.
22879         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22880         tests with quiet NaN input and output.
22881         (acosh_test_data): Likewise.
22882         (asin_test_data): Likewise.
22883         (asinh_test_data): Likewise.
22884         (atan_test_data): Likewise.
22885         (atanh_test_data): Likewise.
22886         (atan2_test_data): Likewise.
22887         (cbrt_test_data): Likewise.
22888         (cos_test_data): Likewise.
22889         (cosh_test_data): Likewise.
22890         (erf_test_data): Likewise.
22891         (erfc_test_data): Likewise.
22892         (exp_test_data): Likewise.
22893         (exp10_test_data): Likewise.
22894         (exp2_test_data): Likewise.
22895         (expm1_test_data): Likewise.
22896         (hypot_test_data): Likewise.
22897         (j0_test_data): Likewise.
22898         (j1_test_data): Likewise.
22899         (jn_test_data): Likewise.
22900         (lgamma_test_data): Likewise.
22901         (log_test_data): Likewise.
22902         (log10_test_data): Likewise.
22903         (log1p_test_data): Likewise.
22904         (log2_test_data): Likewise.
22905         (pow_test_data): Likewise.
22906         (scalb_test_data): Likewise.
22907         (sin_test_data): Likewise.
22908         (sincos_test_data): Likewise.
22909         (sinh_test_data): Likewise.
22910         (tan_test_data): Likewise.
22911         (tanh_test_data): Likewise.
22912         (tgamma_test_data): Likewise.
22913         (y0_test_data): Likewise.
22914         (y1_test_data): Likewise.
22915         (yn_test_data): Likewise.
22917         [BZ #16167]
22918         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22919         argument being NaN and avoid computations with second argument in
22920         that case.
22921         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22922         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22923         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22925 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
22927         * locale/iso-639.def: Add Chitwani Tharu (the).
22929 2013-11-14  Andreas Schwab  <schwab@suse.de>
22931         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22932         word instead of empty string.
22934 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22937         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22939         (__fe_nomask_env): Likewise.
22941 2013-11-13  Steve Ellcey  <sellcey@mips.com>
22943         * benchtests/bench-timing.h: Include time.h.
22945 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
22947         [BZ #15997]
22948         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22949         to 3.4.0 for x32.
22950         * sysdeps/unix/sysv/linux/configure: Regenerated.
22952 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
22954         [BZ #16151]
22955         * stdlib/strtod_l.c (round_and_return): Do not consider
22956         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22957         exponent one less than half the least subnormal exponent.
22958         * stdlib/test-strtod-round-data: Add more tests.
22959         * stdlib/tst-strtod-round.c (tests): Regenerated.
22961 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22963         [BZ #14143]
22964         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22965         (__fe_mask_env): Likewise.
22966         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22967         libm_hidden_proto and add function prototype.
22968         (__fe_mask_env): Add function prototype.
22969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22970         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22972         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22974         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22976 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22978         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22979         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22981 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22983         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22984         of htab_find_slot().
22986 2013-11-11  David S. Miller  <davem@davemloft.net>
22988         [BZ #16150]
22989         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22990         symbol in the non-vis3 case in static builds.
22991         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22992         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22993         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22994         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22996 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
22998         [BZ #387]
22999         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23000         it is empty.
23002 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23004         * benchtests/Makefile: Add bench-strtod.
23005         * benchtests/bench-strtod.c: New file: strtod benchtest
23007 2013-11-11  Andreas Schwab  <schwab@suse.de>
23009         [BZ #16153]
23010         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23011         terminating NUL in key length.
23013 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23015         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23016         Add artificial ODP entry for vDSO symbol for PPC64.
23017         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23018         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23020 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
23022         [BZ #15374]
23023         * nss/getent.c (services_keys): Recognize services starting with digit.
23025 2013-11-06  David S. Miller  <davem@davemloft.net>
23027         [BZ #15985]
23028         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23029         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23031 2013-11-06  Will Newton  <will.newton@linaro.org>
23033         * manual/memory.texi (Malloc Examples): Remove register
23034         keyword from examples.
23036 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
23038         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
23040 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
23042         [BZ #6981]
23043         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23044         depending on [__GCC_IEC_559 > 0].
23045         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23046         depending on [__GCC_IEC_559_COMPLEX > 0].
23048 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
23050         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23051         to iso-639.def.
23053 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
23055         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23057 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
23059         [BZ #16112]
23060         * malloc/malloc (malloc_info): Do not handle first bin as
23061         special case.
23063 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
23065         * locale/iso-639.def: Add Central Nahuatl (nhn).
23067 2013-11-01  Bruno Haible  <bruno@clisp.org>
23069         [BZ #7003]
23070         * manual/math.texi (BSD Random): Specify range upper bound as
23071         in POSIX.
23073 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
23075         * locale/iso-639.def: Add Meadow Mari (mhr).
23077 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
23079         [BZ #14752], [BZ #15763]
23080         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23081         Validate name.
23082         * rt/tst_shm.c: Add test for escaping directory.
23084 2013-10-31  Andreas Schwab  <schwab@suse.de>
23086         [BZ #15917]
23087         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23088         followed by 'x' as part of digit sequence.
23089         * stdio-common/tst-sscanf.c (double_tests2): New tests.
23091 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23093         [BZ #16037]
23094         * configure.ac: allow GNU Make 4.0 and greater.
23095         * configure: Regenerated.
23097 2013-10-30  Will Newton  <will.newton@linaro.org>
23099         [BZ #16038]
23100         * malloc/hooks.c (memalign_check): Limit alignment to the
23101         maximum representable power of two.
23102         * malloc/malloc.c (__libc_memalign): Likewise.
23103         * malloc/tst-memalign.c (do_test): Add test for very
23104         large alignment values.
23105         * malloc/tst-posix_memalign.c (do_test): Likewise.
23107 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23109         [BZ #11087]
23110         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23111         (munmap_chunk): Likewise.
23112         (mremap_chunk): Likewise.
23114 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
23116         [BZ #15799]
23117         * stdlib/div.c (div): Remove obsolete code.
23118         * stdlib/ldiv.c (ldiv): Likewise.
23119         * stdlib/lldiv.c (lldiv): Likewise.
23121 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23123         [BZ #16071]
23124         * nss/nss_files/files-XXX.c (get_contents_ret): New
23125         enumerator.
23126         (get_contents): New function.
23127         (internal_getent): Use it.  Expand size of LINEBUFLEN.
23129 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
23131         * configure.in: Moved to ...
23132         * configure.ac: ... here. Change reference to configure.in
23133         to configure.ac.
23134         * sysdeps/arm/preconfigure.ac: ... here.
23135         configure.in to configure.ac.
23136         * sysdeps/gnu/configure.in: Moved to ...
23137         * sysdeps/gnu/configure.ac: ... here.
23138         * sysdeps/i386/configure.in: Moved to ...
23139         * sysdeps/i386/configure.ac: ... here.
23140         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23141         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23142         * sysdeps/mach/configure.in: Moved to ...
23143         * sysdeps/mach/configure.ac: ... here.
23144         * sysdeps/mach/hurd/configure.in: Moved to ...
23145         * sysdeps/mach/hurd/configure.ac: ... here.
23146         * sysdeps/powerpc/configure.in: Moved to ...
23147         * sysdeps/powerpc/configure.ac: ... here.
23148         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23149         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23150         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23151         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23152         * sysdeps/s390/s390-32/configure.in: Moved to ...
23153         * sysdeps/s390/s390-32/configure.ac: ... here.
23154         * sysdeps/s390/s390-64/configure.in: Moved to ...
23155         * sysdeps/s390/s390-64/configure.ac: ... here.
23156         * sysdeps/sh/configure.in: Moved to ...
23157         * sysdeps/sh/configure.ac: ... here.
23158         * sysdeps/sparc/configure.in: Moved to ...
23159         * sysdeps/sparc/configure.ac: ... here.
23160         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23161         * sysdeps/unix/sysv/linux/configure.ac: ... here.
23162         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23163         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23164         * sysdeps/x86_64/configure.in: Moved to ...
23165         * sysdeps/x86_64/configure.ac: ... here.
23166         * sysdeps/x86_64/preconfigure.in: Moved to ...
23167         * sysdeps/x86_64/preconfigure.ac: ... here.
23168         * aclocal.m4: Change reference to configure.in to configure.ac.
23169         * config.h.in: Likewise.
23170         * manual/install.texi: Likewise.
23171         * manual/maint.texi: Likewise.
23172         * Makefile: Likewise.
23173         * malloc/Makefile: Likewise.
23174         * nscd/Makefile: Likewise.
23175         * Makeconfig: Change reference to configure.in and
23176         preconfigure.in to configure.ac and preconfigure.ac
23177         respectively.
23178         * INSTALL: Regenerated.
23179         * configure: Likewise.
23180         * sysdeps/gnu/configure: Likewise.
23181         * sysdeps/i386/configure: Likewise.
23182         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23183         * sysdeps/mach/configure: Likewise.
23184         * sysdeps/mach/hurd/configure: Likewise.
23185         * sysdeps/powerpc/configure: Likewise.
23186         * sysdeps/powerpc/powerpc32/configure: Likewise.
23187         * sysdeps/powerpc/powerpc64/configure: Likewise.
23188         * sysdeps/s390/s390-32/configure: Likewise.
23189         * sysdeps/s390/s390-64/configure: Likewise.
23190         * sysdeps/sh/configure: Likewise.
23191         * sysdeps/sparc/configure: Likewise.
23192         * sysdeps/unix/sysv/linux/configure: Likewise.
23193         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23194         * sysdeps/x86_64/configure: Likewise.
23195         * sysdeps/x86_64/preconfigure: Likewise.
23197 2013-10-29  Andreas Schwab  <schwab@suse.de>
23199         * stdio-common/Makefile (tst-swscanf-ENV): Define.
23201 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23203         * benchtests/pow-inputs: Add new inputs.
23205         * benchtests/exp-inputs: Add new inputs.
23207         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23208         conditional check for return value.
23209         (__cos32): Likewise.
23211 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23213         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23214         to provide a boost for large inputs with word alignment.
23215         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23216         implementation based on optimized PPC64 strcpy.
23217         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23218         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23219         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23220         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23222 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23224         [BZ #2801]
23225         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23227 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23229         [BZ #14876]
23230         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23231         * time/tst-strptime.c (day_tests): Add testcase.
23233 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
23235         [BZ #14029]
23236         * manual/pattern.texi: Acknowledge that fnmatch can fail.
23238 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
23240         [BZ #16074]
23241         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23242         MAP_FAILED on error.
23244 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
23246         [BZ #16072]
23247         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23248         heap for large requests.
23250 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
23252         [BZ #9954]
23253         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23254         result if the result has no associated interface.
23255         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23256         interface for all 127.X.Y.Z addresses.
23258 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
23260         * locale/iso-639.def: Add Ligurian (lij)
23262 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
23264         [BZ #15825]
23265         * sunrpc/rpc_main.c: Document rpcgen -5.
23267 2013-10-19  Michael Stahl  <mstahl@redhat.com>
23269         * elf/rtld.c (do_preload): Print the reason why preloading failed.
23271 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23273         [BZ #10278]
23274         * posix/glob.c: Match only directories when trailing slash is present.
23275         * posix/tst-gnuglob.c (my_opendir): Do not open files.
23276         (main): Add testcase.
23278 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
23280         [BZ #15670]
23281         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23283 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
23285         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23286         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23287         AUTH_DES and cindex for FIPS 140-2.
23288         (DES Encryption): Add cindex FIPS 46-3.
23290         * locale/locarchive.h (struct locarhandle): Add fname.
23291         * locale/programs/localedef.c (main): Pass ARGV[remaining]
23292         if an optional argument was specified to --list-archive,
23293         otherwise NULL.
23294         * locale/programs/locarchive.c (show_archive_content): Take new
23295         argument fname and pass it via ah.fname to open_archive.
23296         * locale/programs/localedef.h: Update decl.
23297         (open_archive): If AH->fname is non-null, open that file
23298         rather than the default file name, and don't ignore ENOENT.
23299         (create_archive): Set AH.fname to NULL.
23300         (delete_locales_from_archive): Likewise.
23301         (add_locales_to_archive): Likewise.
23302         * locale/programs/locfile.c (write_all_categories): Likewise.
23304 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
23305             Aldy Hernandez  <aldyh@redhat.com>
23307         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23308         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23309         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23310         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23311         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23312         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23313         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23314         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23315         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23316         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23317         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23318         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23319         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23320         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23321         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23322         Likewise.
23323         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23324         Likewise.
23325         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23326         Likewise.
23327         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23328         Likewise.
23329         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23330         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23331         Likewise.
23332         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23333         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23334         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23335         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23336         Likewise.
23337         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23338         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23339         * sysdeps/powerpc/preconfigure: Likewise.
23340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23341         Likewise.
23342         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23343         Replace contents of file by #include of <fenv_libc.h>.
23344         * sysdeps/powerpc/soft-fp/sfp-machine.h
23345         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23346         and <sys/prctl.h>.
23347         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23348         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23349         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23350         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23351         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23352         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23353         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23354         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23355         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23356         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23357         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23358         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23360         Allow copysignl PLT reference to be missing.
23362 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
23363             Joseph Myers  <joseph@codesourcery.com
23365         [BZ #15948]
23366         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23367         single character.
23368         (add_to_tablewc): Assert sequence of wide characters is nonempty.
23370 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23372         * elf/tst-tls-dlinfo.c: Don't include tls.h.
23373         * elf/tst-tls1.c: Likewise.
23374         * elf/tst-tls10.h: Likewise.
23375         * elf/tst-tls14.c: Likewise.
23376         * elf/tst-tls2.c: Likewise.
23377         * elf/tst-tls3.c: Likewise.
23378         * elf/tst-tls4.c: Likewise.
23379         * elf/tst-tls5.c: Likewise.
23380         * elf/tst-tls6.c: Likewise.
23381         * elf/tst-tls7.c: Likewise.
23382         * elf/tst-tls8.c: Likewise.
23383         * elf/tst-tls9.c: Likewise.
23384         * elf/tst-tlsmod1.c: Likewise.
23385         * elf/tst-tlsmod13.c: Likewise.
23386         * elf/tst-tlsmod13a.c: Likewise.
23387         * elf/tst-tlsmod14a.c: Likewise.
23388         * elf/tst-tlsmod16a.c: Likewise.
23389         * elf/tst-tlsmod16b.c: Likewise.
23390         * elf/tst-tlsmod2.c: Likewise.
23391         * elf/tst-tlsmod3.c: Likewise.
23392         * elf/tst-tlsmod4.c: Likewise.
23393         * elf/tst-tlsmod5.c: Likewise.
23394         * elf/tst-tlsmod6.c: Likewise.
23396 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
23398         [BZ #12486]
23399         * malloc/malloc.c: remove checks for statistics.
23401 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23403         [BZ #15277]
23404         * inet/inet_net.c (inet_network): Detect additional invalid strings.
23405         * inet/tst-network.c: Add testcase.
23407 2013-10-17  Andreas Schwab  <schwab@suse.de>
23409         [BZ #15218]
23410         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23411         to determine canonical name.
23413 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
23415         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
23416         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
23417         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23418         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
23419         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23420         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
23421         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23422         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
23423         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
23424         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
23425         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23426         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
23427         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23428         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23429         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
23430         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
23431         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23432         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23433         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
23434         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
23435         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23436         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23437         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23438         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
23439         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
23440         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23441         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23442         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
23443         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23444         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
23445         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
23446         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23447         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
23448         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
23449         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
23450         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23451         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23452         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
23453         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
23454         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
23455         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
23456         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
23457         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
23458         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
23459         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
23460         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23461         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
23462         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
23463         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
23464         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
23465         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
23466         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
23467         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
23468         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
23469         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23470         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
23471         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23472         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
23474 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
23476         [BZ #16041]
23477         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
23478         make result into a quiet NaN.
23480 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
23482         * soft-fp/adddf3.c: Fix horizontal whitespace.
23483         * soft-fp/addsf3.c: Likewise.
23484         * soft-fp/addtf3.c: Likewise.
23485         * soft-fp/divdf3.c: Likewise.
23486         * soft-fp/divsf3.c: Likewise.
23487         * soft-fp/divtf3.c: Likewise.
23488         * soft-fp/double.h: Likewise.
23489         * soft-fp/eqdf2.c: Likewise.
23490         * soft-fp/eqsf2.c: Likewise.
23491         * soft-fp/eqtf2.c: Likewise.
23492         * soft-fp/extenddftf2.c: Likewise.
23493         * soft-fp/extended.h: Likewise.
23494         * soft-fp/extendsfdf2.c: Likewise.
23495         * soft-fp/extendsftf2.c: Likewise.
23496         * soft-fp/extendxftf2.c: Likewise.
23497         * soft-fp/fixdfdi.c: Likewise.
23498         * soft-fp/fixdfsi.c: Likewise.
23499         * soft-fp/fixdfti.c: Likewise.
23500         * soft-fp/fixsfdi.c: Likewise.
23501         * soft-fp/fixsfsi.c: Likewise.
23502         * soft-fp/fixsfti.c: Likewise.
23503         * soft-fp/fixtfdi.c: Likewise.
23504         * soft-fp/fixtfsi.c: Likewise.
23505         * soft-fp/fixtfti.c: Likewise.
23506         * soft-fp/fixunsdfdi.c: Likewise.
23507         * soft-fp/fixunsdfsi.c: Likewise.
23508         * soft-fp/fixunsdfti.c: Likewise.
23509         * soft-fp/fixunssfdi.c: Likewise.
23510         * soft-fp/fixunssfsi.c: Likewise.
23511         * soft-fp/fixunssfti.c: Likewise.
23512         * soft-fp/fixunstfdi.c: Likewise.
23513         * soft-fp/fixunstfsi.c: Likewise.
23514         * soft-fp/fixunstfti.c: Likewise.
23515         * soft-fp/floatdidf.c: Likewise.
23516         * soft-fp/floatdisf.c: Likewise.
23517         * soft-fp/floatditf.c: Likewise.
23518         * soft-fp/floatsidf.c: Likewise.
23519         * soft-fp/floatsisf.c: Likewise.
23520         * soft-fp/floatsitf.c: Likewise.
23521         * soft-fp/floattidf.c: Likewise.
23522         * soft-fp/floattisf.c: Likewise.
23523         * soft-fp/floattitf.c: Likewise.
23524         * soft-fp/floatundidf.c: Likewise.
23525         * soft-fp/floatundisf.c: Likewise.
23526         * soft-fp/floatunditf.c: Likewise.
23527         * soft-fp/floatunsidf.c: Likewise.
23528         * soft-fp/floatunsisf.c: Likewise.
23529         * soft-fp/floatunsitf.c: Likewise.
23530         * soft-fp/floatuntidf.c: Likewise.
23531         * soft-fp/floatuntisf.c: Likewise.
23532         * soft-fp/floatuntitf.c: Likewise.
23533         * soft-fp/fmadf4.c: Likewise.
23534         * soft-fp/fmasf4.c: Likewise.
23535         * soft-fp/fmatf4.c: Likewise.
23536         * soft-fp/gedf2.c: Likewise.
23537         * soft-fp/gesf2.c: Likewise.
23538         * soft-fp/getf2.c: Likewise.
23539         * soft-fp/ledf2.c: Likewise.
23540         * soft-fp/lesf2.c: Likewise.
23541         * soft-fp/letf2.c: Likewise.
23542         * soft-fp/muldf3.c: Likewise.
23543         * soft-fp/mulsf3.c: Likewise.
23544         * soft-fp/multf3.c: Likewise.
23545         * soft-fp/negdf2.c: Likewise.
23546         * soft-fp/negsf2.c: Likewise.
23547         * soft-fp/negtf2.c: Likewise.
23548         * soft-fp/op-1.h: Likewise.
23549         * soft-fp/op-2.h: Likewise.
23550         * soft-fp/op-4.h: Likewise.
23551         * soft-fp/op-8.h: Likewise.
23552         * soft-fp/op-common.h: Likewise.
23553         * soft-fp/quad.h: Likewise.
23554         * soft-fp/single.h: Likewise.
23555         * soft-fp/soft-fp.h: Likewise.
23556         * soft-fp/sqrtdf2.c: Likewise.
23557         * soft-fp/sqrtsf2.c: Likewise.
23558         * soft-fp/sqrttf2.c: Likewise.
23559         * soft-fp/subdf3.c: Likewise.
23560         * soft-fp/subsf3.c: Likewise.
23561         * soft-fp/subtf3.c: Likewise.
23562         * soft-fp/truncdfsf2.c: Likewise.
23563         * soft-fp/trunctfdf2.c: Likewise.
23564         * soft-fp/trunctfsf2.c: Likewise.
23565         * soft-fp/trunctfxf2.c: Likewise.
23566         * soft-fp/unorddf2.c: Likewise.
23567         * soft-fp/unordsf2.c: Likewise.
23568         * soft-fp/unordtf2.c: Likewise.
23570 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
23572         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
23573         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
23575 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
23577         * elf/dl-libc.c: Clear initfini list after freeing.
23579 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
23581         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
23582         * soft-fp/addsf3.c: Likewise.
23583         * soft-fp/addtf3.c: Likewise.
23584         * soft-fp/divdf3.c: Likewise.
23585         * soft-fp/divsf3.c: Likewise.
23586         * soft-fp/divtf3.c: Likewise.
23587         * soft-fp/double.h: Likewise.
23588         * soft-fp/eqdf2.c: Likewise.
23589         * soft-fp/eqsf2.c: Likewise.
23590         * soft-fp/eqtf2.c: Likewise.
23591         * soft-fp/extenddftf2.c: Likewise.
23592         * soft-fp/extended.h: Likewise.
23593         * soft-fp/extendsfdf2.c: Likewise.
23594         * soft-fp/extendsftf2.c: Likewise.
23595         * soft-fp/extendxftf2.c: Likewise.
23596         * soft-fp/fixdfdi.c: Likewise.
23597         * soft-fp/fixdfsi.c: Likewise.
23598         * soft-fp/fixdfti.c: Likewise.
23599         * soft-fp/fixsfdi.c: Likewise.
23600         * soft-fp/fixsfsi.c: Likewise.
23601         * soft-fp/fixsfti.c: Likewise.
23602         * soft-fp/fixtfdi.c: Likewise.
23603         * soft-fp/fixtfsi.c: Likewise.
23604         * soft-fp/fixtfti.c: Likewise.
23605         * soft-fp/fixunsdfdi.c: Likewise.
23606         * soft-fp/fixunsdfsi.c: Likewise.
23607         * soft-fp/fixunsdfti.c: Likewise.
23608         * soft-fp/fixunssfdi.c: Likewise.
23609         * soft-fp/fixunssfsi.c: Likewise.
23610         * soft-fp/fixunssfti.c: Likewise.
23611         * soft-fp/fixunstfdi.c: Likewise.
23612         * soft-fp/fixunstfsi.c: Likewise.
23613         * soft-fp/fixunstfti.c: Likewise.
23614         * soft-fp/floatdidf.c: Likewise.
23615         * soft-fp/floatdisf.c: Likewise.
23616         * soft-fp/floatditf.c: Likewise.
23617         * soft-fp/floatsidf.c: Likewise.
23618         * soft-fp/floatsisf.c: Likewise.
23619         * soft-fp/floatsitf.c: Likewise.
23620         * soft-fp/floattidf.c: Likewise.
23621         * soft-fp/floattisf.c: Likewise.
23622         * soft-fp/floattitf.c: Likewise.
23623         * soft-fp/floatundidf.c: Likewise.
23624         * soft-fp/floatundisf.c: Likewise.
23625         * soft-fp/floatunsidf.c: Likewise.
23626         * soft-fp/floatunsisf.c: Likewise.
23627         * soft-fp/floatuntidf.c: Likewise.
23628         * soft-fp/floatuntisf.c: Likewise.
23629         * soft-fp/floatuntitf.c: Likewise.
23630         * soft-fp/fmadf4.c: Likewise.
23631         * soft-fp/fmasf4.c: Likewise.
23632         * soft-fp/fmatf4.c: Likewise.
23633         * soft-fp/gedf2.c: Likewise.
23634         * soft-fp/gesf2.c: Likewise.
23635         * soft-fp/getf2.c: Likewise.
23636         * soft-fp/ledf2.c: Likewise.
23637         * soft-fp/lesf2.c: Likewise.
23638         * soft-fp/letf2.c: Likewise.
23639         * soft-fp/muldf3.c: Likewise.
23640         * soft-fp/mulsf3.c: Likewise.
23641         * soft-fp/multf3.c: Likewise.
23642         * soft-fp/negdf2.c: Likewise.
23643         * soft-fp/negsf2.c: Likewise.
23644         * soft-fp/negtf2.c: Likewise.
23645         * soft-fp/op-1.h: Likewise.
23646         * soft-fp/op-2.h: Likewise.
23647         * soft-fp/op-4.h: Likewise.
23648         * soft-fp/op-8.h: Likewise.
23649         * soft-fp/op-common.h: Likewise.
23650         * soft-fp/quad.h: Likewise.
23651         * soft-fp/single.h: Likewise.
23652         * soft-fp/soft-fp.h: Likewise.
23653         * soft-fp/sqrtdf2.c: Likewise.
23654         * soft-fp/sqrtsf2.c: Likewise.
23655         * soft-fp/sqrttf2.c: Likewise.
23656         * soft-fp/subdf3.c: Likewise.
23657         * soft-fp/subsf3.c: Likewise.
23658         * soft-fp/subtf3.c: Likewise.
23659         * soft-fp/truncdfsf2.c: Likewise.
23660         * soft-fp/trunctfdf2.c: Likewise.
23661         * soft-fp/trunctfsf2.c: Likewise.
23662         * soft-fp/trunctfxf2.c: Likewise.
23663         * soft-fp/unorddf2.c: Likewise.
23664         * soft-fp/unordsf2.c: Likewise.
23665         * soft-fp/unordtf2.c: Likewise.
23667 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23669         [BZ #15672]
23670         * misc/error.c (error_tail): Fix possible buffer overflow.
23672 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23674         [BZ #13028]
23675         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23676         address.
23678 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23680         [BZ #832]
23681         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23682         testing pipefail option.
23684 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23686         * soft-fp/double.h: Indent preprocessor directives inside #if.
23687         * soft-fp/extended.h: Likewise.
23688         * soft-fp/op-2.h: Likewise.
23689         * soft-fp/op-4.h: Likewise.
23690         * soft-fp/op-common.h: Likewise.
23691         * soft-fp/quad.h: Likewise.
23692         * soft-fp/single.h: Likewise.
23693         * soft-fp/soft-fp.h: Likewise.
23695 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23697         * iconv/iconv_prog.c: Fix typos.
23698         * stdio-common/psiginfo-data.h: Likewise.
23700 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23702         [BZ #15764]
23703         * locale/setlocale.c: Fix typo.
23705 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23707         [BZ #16036]
23708         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23709         signaling NaN arguments.
23710         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23711         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23713         [BZ #14910]
23714         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23715         unordered operands.
23716         * soft-fp/gesf2.c (__gesf2): Likewise.
23717         * soft-fp/getf2.c (__getf2): Likewise.
23718         * soft-fp/ledf2.c (__ledf2): Likewise.
23719         * soft-fp/lesf2.c (__lesf2): Likewise.
23720         * soft-fp/letf2.c (__letf2): Likewise.
23722         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23723         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23724         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23725         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23726         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23727         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23728         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23729         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23730         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23731         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23732         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23733         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23734         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23735         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23736         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23737         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23738         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23739         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23740         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23741         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23742         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23743         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23744         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23745         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23746         * soft-fp/floattidf.c (__floattidf): Likewise.
23747         * soft-fp/floattisf.c (__floattisf): Likewise.
23748         * soft-fp/floattitf.c (__floattitf): Likewise.
23749         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23750         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23751         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23752         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23753         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23754         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23755         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23756         * soft-fp/gesf2.c (__gesf2): Likewise.
23757         * soft-fp/getf2.c (__getf2): Likewise.
23758         * soft-fp/ledf2.c (__ledf2): Likewise.
23759         * soft-fp/lesf2.c (__lesf2): Likewise.
23760         * soft-fp/letf2.c (__letf2): Likewise.
23762         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23763         Undefine and redefine.
23764         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23765         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23766         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23767         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23768         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23769         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23770         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23771         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23772         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23773         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23774         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23775         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23776         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23777         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23778         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23780         [BZ #16032]
23781         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23782         without decrementing exponent if mantissa >= that for the
23783         denominator, not >.
23784         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23785         denominator, not >.  Decrement exponent in < case instead of
23786         incrementing in >= case.
23787         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23788         without decrementing exponent if mantissa >= that for the
23789         denominator, not >.
23791         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23792         computing saturated result for unsigned overflow.
23794 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23795             Jeff Law  <law@redhat.com>
23797         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23798         (atan2Mp): Add systemtap probe marker.
23799         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23800         (__ieee754_log): Add systemtap probe marker.
23801         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23802         (atanMp): Add systemtap probe marker.
23803         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23804         (tanMp): Add systemtap probe marker.
23805         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23806         (__slowexp): Add systemtap probe marker.
23807         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23808         (__slowpow): Add systemtap probe marker.
23809         * manual/probes.texi: Document probes.
23811 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23813         [BZ #15362]
23814         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23815         written.
23816         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23817         written.
23818         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23819         written to buffer but not flushed.
23820         * libio/iofwrite_u.c:  Likewise.
23821         * libio/iopadn.c:  Return bytes returned even if EOF was
23822         encountered.
23823         * libio/iowpadn.c:  Likewise.
23824         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23825         if _IO_padn does not write the whole buffer.
23826         [!COMPILE_WPRINTF] (PAD): Likewise.
23828 2013-10-10  David S. Miller  <davem@davemloft.net>
23830         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23831         directory block.
23833 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23835         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
23836         instead of FSF address.
23837         * soft-fp/fixdfti.c: Likewise.
23838         * soft-fp/fixsfti.c: Likewise.
23839         * soft-fp/fixtfti.c: Likewise.
23840         * soft-fp/fixunsdfti.c: Likewise.
23841         * soft-fp/fixunssfti.c: Likewise.
23842         * soft-fp/fixunstfti.c: Likewise.
23843         * soft-fp/floattidf.c: Likewise.
23844         * soft-fp/floattisf.c: Likewise.
23845         * soft-fp/floattitf.c: Likewise.
23846         * soft-fp/floatuntidf.c: Likewise.
23847         * soft-fp/floatuntisf.c: Likewise.
23848         * soft-fp/floatuntitf.c: Likewise.
23849         * soft-fp/trunctfxf2.c: Likewise.
23851         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
23852         * soft-fp/fixdfti.c: Likewise.
23853         * soft-fp/fixsfti.c: Likewise.
23854         * soft-fp/fixtfti.c: Likewise.
23855         * soft-fp/fixunsdfti.c: Likewise.
23856         * soft-fp/fixunssfti.c: Likewise.
23857         * soft-fp/fixunstfti.c: Likewise.
23858         * soft-fp/floattidf.c: Likewise.
23859         * soft-fp/floattisf.c: Likewise.
23860         * soft-fp/floattitf.c: Likewise.
23861         * soft-fp/floatuntidf.c: Likewise.
23862         * soft-fp/floatuntisf.c: Likewise.
23863         * soft-fp/floatuntitf.c: Likewise.
23864         * soft-fp/trunctfxf2.c: Likewise.
23866 2013-10-10  David S. Miller  <davem@davemloft.net>
23868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23870 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
23872         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23873         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23874         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23875         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23876         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23877         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23878         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23880         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23881         for NaNs before doing comparisons on argument.
23882         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23883         Likewise.
23885 2013-10-10  Will Newton  <will.newton@linaro.org>
23887         * malloc/hooks.c (memalign_check): Ensure the value of bytes
23888         passed to _int_memalign does not overflow.
23890 2013-10-10  Torvald Riegel  <triegel@redhat.com>
23892         * scripts/bench.pl: Add include-sources directive.
23893         * benchtests/README: Update documentation.
23895 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23897         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23898         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23899         instead of FP_INIT_ROUNDMODE.
23900         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23901         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23903         [BZ #16034]
23904         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
23905         copy class of input value.
23906         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
23907         not handle exceptions.
23908         * soft-fp/negsf2.c (__negsf2): Likewise.
23909         * soft-fp/negtf2.c (__negtf2): Likewise.
23910         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23912 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
23914         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23915         semicolon.  From Linux kernel.
23917 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
23919         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23921 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
23923         [BZ #156]
23924         * manual/socket.texi: Added statement about buffer
23925         for gethostbyname2_r.
23927 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
23929         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23930         Use .p2align directive instead, throughout.
23931         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23932         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23933         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23934         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23935         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23936         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23937         * sysdeps/x86_64/strchr.S: Likewise.
23938         * sysdeps/x86_64/strrchr.S: Likewise.
23940 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23942         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23944         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23946         * sysdeps/generic/math_private.h (__mpsin1): Remove
23947         declaration.
23948         (__mpcos1): Likewise.
23949         (__mpsin): New argument __range_reduce.
23950         (__mpcos): Likewise.
23951         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23952         (slow): Use __mpsin and __mpcos.
23953         (slow1): Likewise.
23954         (slow2): Likewise.
23955         (sloww): Likewise.
23956         (sloww1): Likewise.
23957         (sloww2): Likewise.
23958         (bsloww): Likewise.
23959         (bsloww1): Likewise.
23960         (bsloww2): Likewise.
23961         (cslow2): Likewise.
23962         (csloww): Likewise.
23963         (csloww1): Likewise.
23964         (csloww2): Likewise.
23965         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23966         range_reduce.  Merge in __mpsin1.
23967         (__mpcos): Likewise.
23968         (__mpsin1): Remove.
23969         (__mpcos1): Likewise.
23971 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
23973         * locale/loadlocale.c (_nl_intern_locale_data): Use
23974         LOCFILE_ALIGNED_P.
23975         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23976         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23977         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23978         obstack data is appropriately aligned.
23979         (obstack_int32_grow_fast): Likewise.
23980         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23981         * locale/programs/locfile.c (add_locale_uint32): Likewise.
23982         (add_locale_uint32_array): Likewise.
23984 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23986         * benchtests/Makefile: Remove ARGLIST and RET variables.
23987         ($(objpfx)bench-%.c): Pass only function name to the script.
23988         * benchtests/README: Update documentation.
23989         * benchtests/acos-inputs: Add new directives.
23990         * benchtests/acosh-inputs: Likewise.
23991         * benchtests/asin-inputs: Likewise.
23992         * benchtests/asinh-inputs: Likewise.
23993         * benchtests/atan-inputs: Likewise.
23994         * benchtests/atanh-inputs: Likewise.
23995         * benchtests/cos-inputs: Likewise.
23996         * benchtests/cosh-inputs: Likewise.
23997         * benchtests/exp-inputs: Likewise.
23998         * benchtests/log-inputs: Likewise.
23999         * benchtests/pow-inputs: Likewise.
24000         * benchtests/rint-inputs: Likewise.
24001         * benchtests/sin-inputs: Likewise.
24002         * benchtests/sinh-inputs: Likewise.
24003         * benchtests/tan-inputs: Likewise.
24004         * benchtests/tanh-inputs: Likewise.
24005         * scripts/bench.pl: Add support for new directives.
24007 2013-10-07  Alan Modra  <amodra@gmail.com>
24009         * README: Fix careless merge.
24011 2013-10-05  Alan Modra  <amodra@gmail.com>
24013         * NEWS: Mention powerpc64le support and bugs fixed.
24014         * README: Both big-endian and little-endian powerpc64 supported.
24016 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24018         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24019         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
24020         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24021         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24023 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
24025         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24026         match prototype.
24028 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
24030         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24031         Move -mhard-float appending from
24032         ports/sysdeps/powerpc/powerpc32/Makefile.
24033         [$(with-fp) = yes] (ASFLAGS): Likewise.
24034         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24035         * sysdeps/powerpc/nofpu: Move directory from
24036         ports/sysdeps/powerpc/nofpu.
24037         * sysdeps/powerpc/soft-fp: Move directory from
24038         ports/sysdeps/powerpc/soft-fp.
24039         * sysdeps/powerpc/powerpc32/405: Move directory from
24040         ports/sysdeps/powerpc/powerpc32/405.
24041         * sysdeps/powerpc/powerpc32/440: Move directory from
24042         ports/sysdeps/powerpc/powerpc32/440.
24043         * sysdeps/powerpc/powerpc32/464: Move directory from
24044         ports/sysdeps/powerpc/powerpc32/464.
24045         * sysdeps/powerpc/powerpc32/476: Move directory from
24046         ports/sysdeps/powerpc/powerpc32/476.
24047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24048         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24050         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24052         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24054         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24056         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24057         * README: Update for powerpc-*-linux-gnu software floating point
24058         support in libc.
24060         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24061         case to powerpc/powerpc32*.
24062         * sysdeps/unix/sysv/linux/configure: Regenerated.
24064         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24065         (_FPU_MASK_OM): Define as 0x04.
24066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24068         0x00c10080.
24069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24070         0x0000003c.
24071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24074         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24075         getcontext_e500.
24076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24077         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24078         setcontext_e500.
24079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24080         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24081         and setcontext_e500.
24083 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
24085         * locale/iso-3166.def: Update iso-1366.def and related occurrences
24087 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24089         * manual/threads.texi (Default Thread Attributes): Fix typo.
24091 2013-10-04  Will Newton  <will.newton@linaro.org>
24093         * malloc/Makefile: Add tst-memalign.
24094         * malloc/tst-memalign.c: New file.
24096         * malloc/tst-posix_memalign.c: Add comments.
24097         (do_test): Add comments and call free on all potentially
24098         allocated pointers. Add space after cast.
24100         * malloc/tst-pvalloc.c: Add comments.
24101         (do_test): Add comments and call free on all potentially
24102         allocated pointers. Remove duplicate check for NULL pointer.
24103         Add space after cast.
24105         * malloc/tst-valloc.c: Add comments.
24106         (do_test): Add comments and call free on all potentially
24107         allocated pointers. Remove duplicate check for NULL pointer.
24108         Add space after cast.
24110 2013-10-04  Alan Modra  <amodra@gmail.com>
24112         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24113         Use stdint types in rather than __attribute__((mode())).
24114         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24116 2013-10-04  Alan Modra  <amodra@gmail.com>
24118         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24119         Correct handling of unaligned relocs for little-endian.
24120         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24122 2013-10-04  Alan Modra  <amodra@gmail.com>
24124         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24125         * configure: Regenerate.
24126         * nptl/shlib-versions: Powerpc*le starts at 2.18.
24127         * shlib-versions: Likewise.
24129 2013-10-04  Alan Modra  <amodra@gmail.com>
24131         * string/tester.c (test_memrchr): Increment reported test cycle.
24133 2013-10-04  Alan Modra  <amodra@gmail.com>
24135         * string/test-memcpy.c (do_one_test): When reporting errors, print
24136         string address and don't overrun end of string.
24138 2013-10-04  Alan Modra  <amodra@gmail.com>
24140         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24141         insrdi.  Make better use of reg selection to speed exit slightly.
24142         Schedule entry path a little better.  Remove useless "are we done"
24143         checks on entry to main loop.  Handle wrapping around zero address.
24144         Correct main loop count.  Handle single left-over word from main
24145         loop inline rather than by using loop_small.  Remove extra word
24146         case in loop_small caused by wrong loop count.  Add little-endian
24147         support.
24148         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24149         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
24150         cache hint.
24151         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24152         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24153         support.  Avoid rlwimi.
24154         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24156 2013-10-04  Alan Modra  <amodra@gmail.com>
24158         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
24159         insrdi.  Formatting.
24160         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24161         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24162         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24163         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24164         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24165         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24167 2013-10-04  Alan Modra  <amodra@gmail.com>
24169         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24170         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24171         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24172         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24173         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24174         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24175         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24176         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24177         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
24178         use of regs.  Use power7 mtocrf.  Tidy function tails.
24180 2013-10-04  Alan Modra  <amodra@gmail.com>
24182         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24183         Formatting.  Consistently use rXXX register defines or rN defines.
24184         Use early exit labels that avoid restoring unused non-volatile regs.
24185         Make cr field use more consistent with rWORDn compares.  Rename
24186         regs used as shift registers for unaligned loop, using rN defines
24187         for short lifetime/multiple use regs.
24188         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24189         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
24190         addi 1,1,64 to pop stack frame.  Simplify return value code.
24191         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24193 2013-10-04  Alan Modra  <amodra@gmail.com>
24195         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24196         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
24197         rather than rlwimi.
24198         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24199         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24200         little-endian support.  Correct typos.
24201         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
24202         rather than rlwimi.
24203         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
24204         in loop and entry code to keep "and." results.
24205         (strchr): Add little-endian support.  Comment.  Move cntlzd
24206         earlier in tail.
24207         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24209 2013-10-04  Alan Modra  <amodra@gmail.com>
24211         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24212         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24213         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24214         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24216 2013-10-04  Alan Modra  <amodra@gmail.com>
24218         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24219         (rTMP): Define as r11.
24220         (strcmp): Add little-endian support.  Optimise tail.
24221         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24222         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24223         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24224         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24225         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24226         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24227         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24229 2013-10-04  Alan Modra  <amodra@gmail.com>
24231         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24232         little-endian support.  Remove unnecessary "are we done" tests.
24233         Handle "s" wrapping around zero and extremely large "size".
24234         Correct main loop count.  Handle single left-over word from main
24235         loop inline rather than by using small_loop.  Correct comments.
24236         Delete "zero" tail, use "end_max" instead.
24237         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24239 2013-10-04  Alan Modra  <amodra@gmail.com>
24241         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24242         support.  Don't branch over align.
24243         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24244         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24245         support.  Rearrange tmp reg use to suit.  Comment.
24246         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24248 2013-10-04  Alan Modra  <amodra@gmail.com>
24250         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24252 2013-10-04  Alan Modra  <amodra@gmail.com>
24254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24255         conditional form of branch and link when obtaining pc.
24256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24258 2013-10-04  Alan Modra  <amodra@gmail.com>
24260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24261         HIWORD/LOWORD.
24262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24265 2013-10-04  Alan Modra  <amodra@gmail.com>
24267         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24268         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24269         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24270         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24271         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24272         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24273         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24274         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24275         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24276         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24278 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24279             Alistair Popple <alistair@ozlabs.au.ibm.com>
24280             Alan Modra <amodra@gmail.com>
24282         [BZ #15723]
24283         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24284         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24285         _dl_hwcap access for little-endian.
24286         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
24287         destroy vmx regs when saving unaligned.
24288         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24289         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
24290         destroy vmx regs when saving unaligned.
24292 2013-10-04  Alan Modra  <amodra@gmail.com>
24294         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24295         Don't use a union to pack hi/low value.
24297 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24299         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24300         for little-endian.
24301         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24302         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24303         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24304         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24305         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24307 2013-10-04  Alan Modra  <amodra@gmail.com>
24309         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24310         constants to usual value for .cst8 section, and remove redundant
24311         high address load.
24312         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24313         constant for 0x1p52.  Load little-endian words of double from
24314         correct stack offsets.
24316 2013-10-04  Alan Modra  <amodra@gmail.com>
24318         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24319         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24320         words of double from correct stack offsets.
24321         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24322         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24323         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24324         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24325         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24326         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24327         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24328         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24329         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24330         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24331         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24332         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24333         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24334         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24335         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24336         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24337         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24339 2013-10-04  Alan Modra  <amodra@gmail.com>
24341         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24342         64-bit int/double union.
24343         (_FPU_SETCW): Likewise.
24344         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24345         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24347 2013-10-04  Alan Modra  <amodra@gmail.com>
24349         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24350         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24352 2013-10-04  Alan Modra  <amodra@gmail.com>
24354         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24355         use vector int constants.
24356         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24358 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24360         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24361         array with long long.
24362         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24363         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24364         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24365         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24366         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24367         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24368         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24369         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24370         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24371         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24372         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24373         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24374         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24376 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
24378         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24379         (__signbit): Likewise.  Correct for little-endian.
24380         (__signbitl): Call __signbit.
24381         (lrint): Correct for little-endian.
24382         (lrintf): Call lrint.
24384 2013-10-04  Alan Modra  <amodra@gmail.com>
24386         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24387         union 32-bit int array member with 64-bit int array.
24388         (t515, tm256): Double rather than long double.
24389         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24391 2013-10-04  Alan Modra  <amodra@gmail.com>
24393         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24394         Delete.
24395         (IEEE854_LONG_DOUBLE_BIAS): Delete.
24396         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24397         version of math_ldbl.h.
24399 2013-10-04  Alan Modra  <amodra@gmail.com>
24401         [BZ #15734], [BZ #15735]
24402         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24403         all uses of ieee875 long double macros and unions.  Simplify test
24404         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
24405         ldbl_extract_mantissa value for ix,iy exponents.  Properly
24406         normalize after ldbl_extract_mantissa, and don't add hidden bit
24407         already handled.  Don't treat low word of ieee854 mantissa like
24408         low word of IBM long double and mask off bit when testing for
24409         zero.
24410         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24411         all uses of ieee875 long double macros and unions.  Simplify tests
24412         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
24413         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
24414         two1022, instead use their values.  Recognise that tests for large
24415         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
24416         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
24417         Rewrite all uses of ieee875 long double macros and unions.  Simplify
24418         test for 0.0L and nan.  Correct negation.
24419         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
24420         ieee875 long double macros and unions.  Correct output for large
24421         magnitude x.  Correct absolute value calculation.
24422         (__erfcl): Likewise.
24423         * math/libm-test.inc: Add tests for errors discovered in IBM long
24424         double versions of fmodl, remainderl, erfl and erfcl.
24426 2013-10-04  Alan Modra  <amodra@gmail.com>
24428         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
24429         all uses of ieee854 long double macros and unions.  Simplify tests
24430         for long doubles that are fully specified by the high double.
24431         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
24432         Likewise.
24433         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
24434         Remove dead code too.
24435         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24436         (__ieee754_ynl): Likewise.
24437         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
24438         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
24439         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
24440         Remove dead code too.
24441         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
24442         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
24443         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
24444         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
24445         Simplify.
24446         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
24447         Simplify.
24448         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
24449         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
24450         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
24451         Comment on variable precision.
24452         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
24453         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24454         Likewise.
24455         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24456         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
24457         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
24458         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
24459         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
24461 2013-10-04  Alan Modra  <amodra@gmail.com>
24463         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
24464         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
24465         all uses of ieee854 long double macros and unions.
24466         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
24467         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24468         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
24469         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
24470         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
24471         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24472         Likewise.
24473         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
24474         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24475         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
24476         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24477         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
24478         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
24479         Simplify sign and nan test too.
24480         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
24481         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
24482         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
24483         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
24484         Likewise.
24485         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24486         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
24487         Likewise.
24488         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24489         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
24490         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
24491         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
24492         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
24493         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
24495 2013-10-04  Alan Modra  <amodra@gmail.com>
24497         * stdio-common/printf_size.c (__printf_size): Don't use
24498         union ieee854_long_double in fpnum union.
24499         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
24500         signbit macro to retrieve sign from long double.
24501         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
24502         retrieve sign from long double.
24503         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
24504         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
24505         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
24506         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
24507         * math/test-misc.c (main): Don't use union ieee854_long_double.
24509 2013-10-04  Alan Modra  <amodra@gmail.com>
24511         [BZ #15680]
24512         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
24513         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
24514         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
24515         calculation.  Remove unnecessary test for denormal exponent.
24516         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
24517         Correct handling of denormals.  Avoid undefined shift behaviour.
24518         Correct normalisation of low mantissa when low double is denormal.
24519         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
24520         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
24521         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
24522         Correct normalisation of low mantissa.  Test for overflow of high
24523         mantissa and normalise.
24524         (ldbl_nearbyint): Use more readable constant for two52.
24525         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
24526         (__mpn_construct_long_double): Fix test for overflow of high
24527         mantissa and correct normalisation.  Avoid undefined shift.
24529 2013-10-04  Alan Modra  <amodra@gmail.com>
24531         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24532         (union ibm_extended_long_double): Define as an array of ieee754_double.
24533         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
24534         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
24535         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
24536         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
24537         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24538         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
24539         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24540         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24541         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24542         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
24543         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
24545 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
24547         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
24548         page size instead of calling getpagesize.
24550         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
24551         (LOCFILE_ALIGN_MASK): Likewise.
24552         (LOCFILE_ALIGN_UP): Likewise.
24553         (LOCFILE_ALIGNED_P): Likewise.
24554         * locale/programs/ld-collate.c (collate_output): Use the new
24555         macros instead of __alignof__ (int32_t).
24556         * locale/weight.h (findidx): Likewise.
24558 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
24560         [BZ #431]
24561         * manual/string.texi: Fix strncat and wcsncat.
24563 2013-10-03  Brooks Moses  <bmoses@google.com>
24565         [BZ #15915]
24566         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
24567         * Makerules: ...here, and adjust associated comments.
24569 2013-10-02  Will Newton  <will.newton@linaro.org>
24571         * malloc/Makefile: Add tst-pvalloc.
24572         * malloc/tst-pvalloc.c: New file.
24574 2013-10-02  Will Newton  <will.newton@linaro.org>
24576         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
24577         improve test coverage.
24579 2013-10-02  Will Newton  <will.newton@linaro.org>
24581         * malloc/Makefile: Add tst-posix_memalign.
24582         * malloc/tst-posix_memalign.c: New file.
24584 2013-10-01  Eric Blake  <eblake@redhat.com>
24586         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
24587         Use __THROWNL rather than __THROW on static functions.
24589 2013-09-30  Petr Machata  <pmachata@redhat.com>
24591         * elf/elf.h (R_AARCH64_ABS16): New macro.
24592         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
24593         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
24594         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
24595         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
24596         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
24597         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
24598         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
24599         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
24600         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
24601         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
24602         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
24603         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
24604         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
24605         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
24606         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
24607         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
24608         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
24609         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
24610         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
24611         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
24612         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
24613         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
24614         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
24615         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
24616         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
24617         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
24618         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
24619         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
24620         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
24621         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
24622         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
24623         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
24624         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
24625         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
24626         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
24627         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
24628         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
24629         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
24630         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
24631         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
24632         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
24633         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
24634         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
24635         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
24636         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
24637         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
24638         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
24639         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
24640         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
24641         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
24642         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
24643         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
24644         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
24645         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
24646         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
24647         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
24648         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
24649         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
24650         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
24651         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
24652         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
24653         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
24654         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
24655         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
24656         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
24657         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
24658         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24659         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24660         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24661         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24662         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24663         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24664         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24665         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24666         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24667         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24668         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24669         (R_AARCH64_TLSDESC_LDR): Likewise.
24670         (R_AARCH64_TLSDESC_ADD): Likewise.
24671         (R_AARCH64_TLSDESC_CALL): Likewise.
24673 2013-09-30  Andreas Schwab  <schwab@suse.de>
24675         [BZ #15048]
24676         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24677         the nss database lookup.
24678         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24679         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24681 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24683         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24685 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24687         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24688         ${Bash-specific parameter/pattern/string} parameter expansion.
24689         * sysdeps/unix/make-syscalls.sh: Likewise.
24691 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24693         * sysdeps/sh/stackguard-macros.h: New file.
24695 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24697         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24698         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24699         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24700         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24701         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24702         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24704 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24706         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24707         Fix thread ID register.
24709 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24711         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24712         [POSIX || UNIX98]: Require rather than permitting all symbols from
24713         <time.h>.
24714         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24715         element of struct sched_param.
24716         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24717         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24718         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24719         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24720         constant.
24722 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24724         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24725         argument calculation.
24727 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24729         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24730         Expect macro.
24731         [POSIX] (pthread_attr_t): Do not require type.
24732         [POSIX] (pthread_cond_t): Likewise.
24733         [POSIX] (pthread_condattr_t): Likewise.
24734         [POSIX] (pthread_key_t): Likewise.
24735         [POSIX] (pthread_mutex_t): Likewise.
24736         [POSIX] (pthread_mutexattr_t): Likewise.
24737         [POSIX] (pthread_once_t): Likewise.
24738         [POSIX] (pthread_t): Likewise.
24739         [POSIX-based standards] (pthread_atfork): Expect function.
24741 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24742             Richard Sandiford  <richard@codesourcery.com>
24744         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24745         (swap_endianness_p): New extern variable.
24746         (set_big_endian): New inline function.
24747         (maybe_swap_uint32): Likewise.
24748         (maybe_swap_uint32_array): Likewise.
24749         (maybe_swap_uint32_obstack): Likewise.
24750         * locale/programs/locfile.c: Include <stdbool.h>.
24751         (swap_endianness_p): New variable.
24752         (add_locale_uint32): Call maybe_swap_uint32.
24753         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24754         (write_locale_data): Call maybe_swap_uint32_array.
24755         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24756         maybe_swap_uint32.
24757         (obstack_int32_grow_fast): Likewise.
24758         (output_weightwc): Call maybe_swap_uint32_obstack.
24759         (collate_output): Likewise.
24760         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24761         (OPT_LITTLE_ENDIAN): Likewise.
24762         (options): Add --little-endian and --big-endian options.
24763         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24764         * locale/programs/locarchive.c: Include "locfile.h".
24765         (GET): New macro.
24766         (SET): Likewise.
24767         (INC): Likewise.
24768         (create_archive): Use the new macros to access fields of
24769         structures directly mapped from or written to locale archives.
24770         (oldlocrecentcmp): Likewise.
24771         (enlarge_archive): Likewise.
24772         (insert_name): Likewise.
24773         (add_alias): Likewise.
24774         (add_locale): Likewise.
24775         (delete_locales_from_archive): Likewise.
24776         (show_archive_content): Likewise.
24777         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24778         locale data.
24780 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24782         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24783         http://www.gnu.org/doc/freemanuals.texi.
24784         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24786 2013-09-24  Will Newton  <will.newton@linaro.org>
24788         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24789         macro.
24791 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24793         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24794         unsigned char.
24796 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24798         * manual/threads.texi (POSIX Threads): Fix a typo.
24800 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24802         [BZ #14547]
24803         * string/tst-strcoll-overflow.c: New test case.
24804         * string/Makefile (xtests): Add tst-strcoll-overflow.
24805         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24806         cache if string sizes may cause integer overflow.
24808         [BZ #14547]
24809         * string/strcoll_l.c (coll_seq): New members rule, idx,
24810         save_idx and back_us.
24811         (get_next_seq_nocache): New function.
24812         (do_compare_nocache): New function.
24813         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24814         when malloc fails.
24816 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24818         [BZ #15754]
24819         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24820         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24821         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24823         [BZ #15754]
24824         * elf/Makefile (tests): Add tst-ptrguard1.
24825         (tests-static): Add tst-ptrguard1-static.
24826         (tst-ptrguard1-ARGS): Define.
24827         (tst-ptrguard1-static-ARGS): Define.
24828         * elf/tst-ptrguard1.c: New file.
24829         * elf/tst-ptrguard1-static.c: New file.
24830         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24831         * sysdeps/i386/stackguard-macros.h: Likewise.
24832         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24833         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24834         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24835         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24836         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24837         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24839 2013-09-23  Hector Marco  <hecmargi@upv.es>
24840             Ismael Ripoll  <iripoll@disca.upv.es>
24841             Carlos O'Donell  <carlos@redhat.com>
24843         [BZ #15754]
24844         * sysdeps/generic/stackguard-macros.h: Define
24845         __pointer_chk_guard_local and POINTER_CHK_GUARD.
24846         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24847         Define __pointer_chk_guard_local.
24848         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24849         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24851 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
24853         [BZ #15859]
24854         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24856 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
24858         * include/string.h (__ffs): Declare as hidden.
24859         * string/ffs.c (__ffs): Define as hidden.
24860         * sysdeps/i386/ffs.c (__ffs): Likewise.
24861         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24862         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24863         * sysdeps/s390/ffs.c (__ffs): Likewise.
24864         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24866 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
24868         * NEWS: Mention malloc probes.
24870         * malloc/arena.c (new_heap): New memory_heap_new probe.
24871         (grow_heap): New memory_heap_more probe.
24872         (shrink_heap): New memory_heap_less probe.
24873         (heap_trim): New memory_heap_free probe.
24874         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24875         (systrim): New memory_sbrk_less probe.
24876         * manual/probes.texi: Document them.
24878         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24879         * manual/probes.texi: Document it.
24881         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24882         (__libc_realloc): Add memory_realloc_retry probe.
24883         (__libc_memalign): Add memory_memalign_retry probe.
24884         (__libc_valloc): Add memory_valloc_retry probe.
24885         (__libc_pvalloc): Add memory_pvalloc_retry probe.
24886         (__libc_calloc): Add memory_calloc_retry probe.
24887         * manual/probes.texi: Document them.
24889         * malloc/arena.c (get_free_list): Add probe
24890         memory_arena_reuse_free_list.
24891         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24892         and memory_arena_reuse.
24893         (arena_get2) [!PER_THREAD]: Likewise.
24894         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24895         memory_arena_reuse_realloc.
24896         * manual/probes.texi: Document them.
24898         * malloc/malloc.c (__libc_free): Add
24899         memory_mallopt_free_dyn_thresholds probe.
24900         (__libc_mallopt): Add multiple memory_mallopt probes.
24901         * manual/probes.texi: Document them.
24903         * malloc/malloc.c: Include stap-probe.h.
24904         (__libc_mallopt): Add memory_mallopt probe.
24905         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24906         * manual/probes.texi: New.
24907         * manual/Makefile (chapters): Add probes.
24908         * manual/threads.texi: Set next node.
24910 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
24912         [BZ #15963, #13985]
24913         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24914         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24915         Add `Chinese' to `nan' entry name.
24917 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24919         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24920         (POLYNOMIAL): Likewise.
24921         (TAYLOR_SINCOS): Likewise.
24922         (TAYLOR_SLOW): Likewise.
24923         (__sin): Use TAYLOR_SINCOS.
24924         (__cos): Likewise.
24925         (slow): Use TAYLOR_SLOW.
24926         (sloww): Likewise.
24927         (bsloww): Likewise.
24928         (csloww): Likewise.
24930 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24932         * stdlib/strtod_l.c: Fix buffer overrun.
24934 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24936         * benchtests/Makefile (bench): Add sincos.
24937         * benchtests/bench-sincos.c: New file.
24939         * math/libm-test.inc (cos_test_data): New test inputs.
24940         (sin_test_data): Likewise.
24942         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24943         macro.
24944         (__sin): Use it.
24945         (__cos): Likewise.
24946         (slow1): Likewise.
24947         (slow2): Likewise.
24948         (sloww1): Likewise.
24949         (sloww2): Likewise.
24950         (bsloww1): Likewise.
24951         (bsloww2): Likewise.
24952         (cslow2): Likewise.
24953         (csloww1): Likewise.
24954         (csloww2): Likewise.
24956         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24957         function.
24958         (__sin): Use it.
24959         (__cos): Likewise.
24961         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24962         gotos.
24963         (__cos): Likewise.
24965 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
24967         * config.h.in (HAVE_MIPS_NAN2008): New macro.
24968         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24969         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24970         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24971         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24972         * elf/cache.c (print_entry): Handle the new cache flags.
24974 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24975             Aldy Hernandez  <aldyh@redhat.com>
24977         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24978         Change condition to [_SOFT_FLOAT].
24979         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24980         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24981         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24982         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24983         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24984         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24985         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24986         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24987         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24989         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24991         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24992         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24993         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24994         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24995         declaration.
24997 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24999         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25000         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25001         (__longjmp): Use LOAD_GP to load saved GPRs.
25002         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25003         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25004         (__sigsetjmp): Use SAVE_GP to save GPRs.
25006         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25007         Do not append -msoft-float.
25008         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25010 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
25012         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25014 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
25016         [BZ #15966]
25017         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25018         (_FPU_GETCW): Use initial "__" on variable and field names but not
25019         on macro parameter name.
25020         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
25021         parentheses around reference to macro parameter.
25023 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
25025         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25026         prototype.
25027         (ctype_startup): Use uint32_t in cast and sizeof for
25028         ctype->charnames.
25030 2013-09-11  Jia Liu  <proljc@gmail.com>
25032         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25033         __daddr_t_defined.
25034         [__FreeBSD__]: Likewise.
25036 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
25038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25039         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25040         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25041         (strchr): Remove __strchr_sse42 ifunc selection.
25042         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25043         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25045 2013-09-11  Will Newton  <will.newton@linaro.org>
25047         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25048         parameter to RES. Remove hardcoded 1000 value.
25049         * benchtests/bench-skeleton.c (main): Pass RES parameter
25050         to TIMING_INIT and multiply result by 1000.
25052 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25056 2013-09-11  Andreas Schwab  <schwab@suse.de>
25058         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25059         if not defined.
25060         (O_TMPFILE) [__USE_GNU]: Define.
25061         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25062         Define.
25064 2013-09-11  Will Newton  <will.newton@linaro.org>
25066         [BZ #15857]
25067         * malloc/malloc.c (__libc_memalign): Check the value of bytes
25068         does not overflow.
25070 2013-09-11  Will Newton  <will.newton@linaro.org>
25072         [BZ #15856]
25073         * malloc/malloc.c (__libc_valloc): Check the value of bytes
25074         does not overflow.
25076 2013-09-11  Will Newton  <will.newton@linaro.org>
25078         [BZ #15855]
25079         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25080         does not overflow.
25082 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
25084         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25085         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25086         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25087         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25088         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25090 2013-09-10  Allan McRae  <allan@archlinux.org>
25092         [BZ #15748]
25093         * manual/arith.texi (Parsing of Floats): Clarify
25094         cross-reference.
25096         [BZ #15849]
25097         * manual/install.texi (Running make install): Mention
25098         --enable-pt-chown.
25099         * INSTALL: Regenerated.
25101 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
25103         * csu/init-first.c (_init): Remove the !SHARED condition around
25104         FPU control word initialization.
25105         * elf/dl-support.c (_dl_fpu_control): New variable.
25106         (_dl_aux_init) <AT_FPUCW>: Initialize it.
25107         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25108         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25109         * math/test-fpucw-static.c: New file.
25110         * math/test-fpucw-ieee.c: New file.
25111         * math/test-fpucw-ieee-static.c: New file.
25112         * math/Makefile (tests): Add `test-fpucw-ieee' and
25113         `$(tests-static)'.
25114         (tests-static): New variable.
25115         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25116         dependency to...
25117         [($(build-shared),yes)]
25118         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25119         ... this.
25120         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25121         New dependency.
25123 2013-09-09  Allan McRae  <allan@archlinux.org>
25125         [BZ #15939]
25126         * manual/string.texi (Collation Functions): Fix typo in
25127         strcoll example.
25128         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25130         [BZ #15893]
25131         * stdlib/isomac.c (get_null_defines): Fix memory leak.
25133         [BZ #15892]
25134         * libio/memstream.c (open_memstream): Fix memory leak.
25135         * libio/wmemstream.c (open_wmemstream): Likewise.
25137         [BZ #15895]
25138         * nscd/netgroupcache.c: Fix nesting of ifdefs.
25140 2013-09-09  Will Newton  <will.newton@linaro.org>
25142         * malloc/Makefile: Add tst-realloc to tests.
25143         * malloc/tst-realloc.c: New file.
25145 2013-09-09  Allan McRae  <allan@archlinux.org>
25147         [BZ #15844]
25148         * COPYING: Update from GNU website to fix FSF address.
25149         * COPYING.LIB: Likewise.
25151 2013-09-06  David S. Miller  <davem@davemloft.net>
25153         * po/zh_TW.po: Update Chinese (traditional) translation from
25154         translation project.
25156 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
25157             Joseph Myers  <joseph@codesourcery.com>
25159         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25160         "localeinfo.h".
25161         (obstack_chunk_alloc): New macro.
25162         (obstack_chunk_free): Likewise.
25163         (record_offset): New function.
25164         (init_locale_data): Likewise.
25165         (align_locale_data): Likewise.
25166         (add_locale_empty): Likewise.
25167         (add_locale_raw_data): Likewise.
25168         (add_locale_raw_obstack): Likewise.
25169         (add_locale_string): Likewise.
25170         (add_locale_wstring): Likewise.
25171         (add_locale_uint32): Likewise.
25172         (add_locale_uint32_array): Likewise.
25173         (add_locale_char): Likewise.
25174         (start_locale_structure): Likewise.
25175         (end_locale_structure): Likewise.
25176         (start_locale_prelude): Likewise.
25177         (end_locale_prelude): Likewise.
25178         (write_locale_data): Take locale_file structure rather than an
25179         iovec.
25180         * locale/programs/locfile.h: Include "obstack.h".
25181         (struct locale_file): Change to store locale file contents instead
25182         of header.
25183         (init_locale_data): New prototype.
25184         (align_locale_data): Likewise.
25185         (add_locale_empty): Likewise.
25186         (add_locale_raw_data): Likewise.
25187         (add_locale_raw_obstack): Likewise.
25188         (add_locale_string): Likewise.
25189         (add_locale_wstring): Likewise.
25190         (add_locale_uint32): Likewise.
25191         (add_locale_uint32_array): Likewise.
25192         (add_locale_char): Likewise.
25193         (start_locale_structure): Likewise.
25194         (end_locale_structure): Likewise.
25195         (start_locale_prelude): Likewise.
25196         (end_locale_prelude): Likewise.
25197         (write_locale_data): Update prototype.
25198         * locale/programs/3level.h (struct TABLE): Remove result field.
25199         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25200         Use new locale_file interface.
25201         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25202         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25203         * locale/programs/ld-address.c (address_output): Use new
25204         locale_file interface.
25205         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25206         NO_ADD_LOCALE.
25207         (collate_finish): Don't call collseq_table_finalize.
25208         (collate_output): Use new locale_file interface.
25209         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25210         in file.
25211         (NO_FINALIZE): Change to NO_ADD_LOCALE.
25212         (TABLE): Move defines earlier in file.
25213         (ELEMENT): Likewise.
25214         (DEFAULT): Likewise.
25215         (wctrans_table_add): Move macro and inline function earlier in
25216         file.
25217         (struct wctype_table): Move type earlier in file.
25218         (add_locale_wctype_table): New static prototype.
25219         (struct locale_ctype_t): Use logical types instead of struct iovec
25220         pointers for members.
25221         (ctype_output): Use new locale_file interface.
25222         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
25223         new locale_file interface.
25224         (allocate_arrays): Update for use of new locale_file interface.
25225         * locale/programs/ld-identification.c (identification_output): Use
25226         new locale_file interface.
25227         * locale/programs/ld-measurement.c (measurement_output): Likewise.
25228         * locale/programs/ld-messages.c (messages_output): Likewise.
25229         * locale/programs/ld-monetary.c (monetary_output): Likewise.
25230         * locale/programs/ld-name.c (name_output): Likewise.
25231         * locale/programs/ld-numeric.c (numeric_output): Likewise.
25232         * locale/programs/ld-paper.c (paper_output): Likewise.
25233         * locale/programs/ld-telephone.c (telephone_output): Likewise.
25234         * locale/programs/ld-time.c (time_output): Likewise.
25236 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25238         * benchtests/Makefile: Add memrchr benchmark.
25239         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25240         benchmark as memrchr.
25241         * benchtests/bench-memrchr-ifunc.c: New file.
25242         * benchtests/bench-memrchr.c: New file.
25244 2013-09-06   Will Newton  <will.newton@linaro.org>
25246         * benchtests/Makefile (string-bench): Add memcpy.
25248 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
25249             Cong Wang  <amwang@redhat.com>
25251         [BZ #15850]
25252         * sysdeps/unix/sysv/linux/bits/in.h
25253         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25254         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25255         before __USE_KERNEL_IPV6_DEFS uses.
25256         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25257         IPPROTO_BEETPH.
25258         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25259         sockaddr_in6, or ipv6_mreq.
25261 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25263         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25264         memory access for final bytes in some large inputs.
25265         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25267 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25269         * string/test-memrchr.c: New file.
25270         * string/test-memrchr-ifunc.c: New file.
25271         * string/Makefile: Add new memrchr testcase.
25273 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
25275         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25276         fanotify_init returns EPERM.
25278 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25280         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25281         errors.
25282         (top level): Treat second token from macro or constant entries for
25283         allowed headers as allowed.
25284         * include/complex.h: Condition internal declarations on
25285         [!_ISOMAC].
25286         * include/fenv.h: Condition include of <stdbool.h> and internal
25287         declarations on [!_ISOMAC].
25289 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
25291         [BZ #15923]
25292         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25294 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
25296         * configure.in (--enable-versioning): Remove configure option.
25297         (libc_cv_asm_symver_directive): Remove configure test.
25298         (libc_cv_ld_version_script_option): Likewise.
25299         (VERSIONING): Remove variable and AC_SUBST.
25300         (DO_VERSIONING): Remove AC_DEFINE.
25301         * configure: Regenerated.
25302         * config.h.in (DO_VERSIONING): Remove macro.
25303         * Makerules [$(versioning) = yes]: Change conditionals to
25304         [$(build-shared) = yes].
25305         * config.make.in (versioning): Remove variable.
25306         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25307         [$(build-shared) = yes].
25308         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25309         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25310         * elf/Makefile [$(versioning) = yes]: Change conditionals to
25311         [$(build-shared) = yes].
25312         * extra-lib.mk [$(versioning) = yes]: Likewise.
25313         * hurd/Makefile [$(versioning) = yes]: Likewise.
25314         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25315         [SHARED].
25316         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25317         [SHARED].
25318         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25319         [SHARED && !NO_HIDDEN].
25320         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25321         [SHARED].
25322         [SHARED && DO_VERSIONING]: Likewise..
25323         * libio/Makefile [$(versioning) = yes]: Change conditionals to
25324         [$(build-shared) = yes].
25325         * manual/install.texi (--disable-versioning): Remove
25326         documentation.
25327         * INSTALL: Regenerated.
25328         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25329         to [SHARED].
25330         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25331         [$(build-shared) = yes].
25332         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25333         * sysdeps/i386/i686/multiarch/strstr-c.c
25334         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25335         [SHARED && !NO_HIDDEN].
25336         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25337         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25338         * sysdeps/powerpc/powerpc32/dl-machine.c
25339         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25340         * sysdeps/powerpc/powerpc32/sysdep.h
25341         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25342         to [SHARED && PIC && !NO_HIDDEN].
25343         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25344         conditional to [SHARED].
25346 2013-09-04   Will Newton  <will.newton@linaro.org>
25348         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25349         * benchtests/bench-string.h: Include bench-timing.h instead
25350         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25351         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25352         call to HP_TIMING_DIFF_INIT.
25353         * benchtests/bench-memccpy.c: Use bench-timing.h macros
25354         instead of hp-timing.h macros.
25355         * benchtests/bench-memchr.c: Likewise.
25356         * benchtests/bench-memcmp.c: Likewise.
25357         * benchtests/bench-memcpy.c: Likewise.
25358         * benchtests/bench-memmem.c: Likewise.
25359         * benchtests/bench-memmove.c: Likewise.
25360         * benchtests/bench-memset.c: Likewise.
25361         * benchtests/bench-rawmemchr.c: Likewise.
25362         * benchtests/bench-strcasecmp.c: Likewise.
25363         * benchtests/bench-strcasestr.c: Likewise.
25364         * benchtests/bench-strcat.c: Likewise.
25365         * benchtests/bench-strchr.c: Likewise.
25366         * benchtests/bench-strcmp.c: Likewise.
25367         * benchtests/bench-strcpy.c: Likewise.
25368         * benchtests/bench-strcpy_chk.c: Likewise.
25369         * benchtests/bench-strlen.c: Likewise.
25370         * benchtests/bench-strncasecmp.c: Likewise.
25371         * benchtests/bench-strncat.c: Likewise.
25372         * benchtests/bench-strncmp.c: Likewise.
25373         * benchtests/bench-strncpy.c: Likewise.
25374         * benchtests/bench-strnlen.c: Likewise.
25375         * benchtests/bench-strpbrk.c: Likewise.
25376         * benchtests/bench-strrchr.c: Likewise.
25377         * benchtests/bench-strspn.c: Likewise.
25378         * benchtests/bench-strstr.c: Likewise.
25380 2013-09-04  Will Newton  <will.newton@linaro.org>
25382         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25384 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
25386         [BZ #15427]
25387         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25388         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25389         * math/libm-test.inc (lgamma_test_data): Add more tests.
25390         * sysdeps/i386/fpu/libm-test-ulps: Update.
25391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25393 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
25395         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25396         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25397         Add ifunc.
25398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25399         Add strcmp-sse2-unaligned
25400         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25402 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25404         * Versions.def (libc): Add GLIBC_2.19.
25406 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
25408         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25409         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25411 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
25413         [BZ #14155]
25414         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25415         intermediate calculations in recurrence.
25416         (__ieee754_ynf): Likewise.
25417         * math/libm-test.inc (jn_test_data): Do not allow spurious
25418         underflow exception.  Add more tests.
25419         (yn_test_data): Add more tests.
25420         * sysdeps/i386/fpu/libm-test-ulps: Update.
25421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25423 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
25425         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
25427 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25429         * csu/init-first.c: Fix then/than typos.
25430         * locale/programs/ld-collate.c: Likewise.
25431         * locale/programs/linereader.h: Likewise.
25432         * manual/charset.texi: Likewise.
25433         * manual/filesys.texi: Likewise.
25434         * manual/stdio.texi: Likewise.
25435         * manual/string.texi: Likewise.
25436         * stdlib/fmtmsg.c: Likewise.
25437         * sysdeps/i386/stpncpy.S: Likewise.
25438         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25439         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25440         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25441         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25443 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
25445         * elf/dl-open.c: Fix typos.
25446         * iconvdata/gbbig5.c: Likewise.
25447         * iconvdata/iso-2022-jp.c: Likewise.
25448         * iconv/gconv_int.h: Likewise.
25449         * iconv/loop.c: Likewise.
25450         * nis/rpcsvc/nis.h: Likewise.
25451         * resolv/ns_name.c: Likewise.
25452         * stdio-common/vfscanf.c: Likewise.
25453         * streams/stropts.h: Likewise.
25454         * sunrpc/rpc_thread.c: Likewise.
25455         * sysdeps/i386/strpbrk.S: Likewise.
25456         * sysdeps/ieee754/k_standard.c: Likewise.
25457         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25458         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25459         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
25460         * sysdeps/mach/hurd/profil.c: Likewise.
25461         * sysdeps/s390/dl-procinfo.h: Likewise.
25462         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
25463         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
25464         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
25465         * sysdeps/x86_64/dl-trampoline.S: Likewise.
25466         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25468 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
25470         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
25471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
25473 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
25475         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
25476         aix specific files.
25477         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
25478         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
25479         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
25480         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
25481         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
25482         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
25483         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
25484         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
25486 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25487             Roland McGrath  <roland@hack.frob.com>
25489         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
25490         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
25492 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25494         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
25495         __executable_start symbol instead of _start.
25497 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
25499         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
25500         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
25501         Move macros to...
25502         * sysdeps/gnu/ldsodefs.h: ... this new file.
25504         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
25505         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
25506         instead of ELFOSABI_LINUX.
25508         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
25509         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
25510         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
25511         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
25512         Likewise.
25513         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
25514         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
25515         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
25516         Likewise.
25517         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25518         (ibm_extended_long_double): Add ieee_nan member.
25519         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
25520         (do_test): New function.
25522         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
25523         TEST_TRUNC.
25524         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
25525         functions, renamed from truncdfsf_test, trunctfsf_test,
25526         trunctfdf_test.
25527         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
25528         functions.
25529         (do_test): Run all these.
25531 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
25533         * argp/argp-help.c: Fix typos.
25534         * argp/argp-parse.c: Likewise.
25535         * debug/backtracesyms.c: Likewise.
25536         * elf/elf.h: Likewise.
25537         * malloc/malloc.c: Likewise.
25538         * nis/nis_print.c: Likewise.
25539         * resolv/res_comp.c: Likewise.
25540         * stdlib/stdlib.h: Likewise.
25541         * sunrpc/clnt_tcp.c: Likewise.
25542         * sunrpc/clnt_udp.c: Likewise.
25543         * sunrpc/clnt_unix.c: Likewise.
25544         * sysdeps/unix/bsd/ptsname.c: Likewise.
25545         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
25546         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
25547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
25548         Likewise.
25549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
25550         Likewise.
25551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25552         Likewise.
25553         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25555 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25557         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
25558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25560 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
25562         [BZ #15897]
25563         * dlfcn/Makefile (tests): Add bug-dl-leaf.
25564         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
25565         ($(objpfx)bug-dl-leaf): New rule.
25566         ($(objpfx)bug-dl-leaf.so): Likewise.
25567         ($(objpfx)bug-dl-leaf.out): Likewise.
25568         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
25569         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
25570         * dlfcn/bug-dl-leaf.c: New test.
25571         * dlfcn/bug-dl-leaf-lib.c: Likewise.
25572         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
25573         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
25574         (dlclose): Likewise.
25575         (dlmopen): Likewise.
25577 2013-08-27  Roland McGrath  <roland@hack.frob.com>
25579         * include/netdb.h [!_ISOMAC]:
25580         Don't include <tls.h>.
25581         (h_errno, __libc_h_errno): Move declaration and macros out of
25582         [_LIBC_REENTRANT].
25584         * include/resolv.h [_RESOLV_H_]:
25585         Don't include <tls.h>.
25586         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
25587         * resolv/res_libc.c: Don't include <tls.h>.
25588         (_res): Use __attribute__ ((nocommon)) in place of
25589         __attribute__ ((section (".bss"))).
25591         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
25592         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
25594         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
25596         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
25597         only under [SIOCGIFCONF && SIOCGIFNETMASK].
25599         * resolv/res_mkquery.c: Include <sys/time.h>.
25601         * inet/ifreq.c: Moved to ...
25602         * sysdeps/unix/ifreq.c: ... here.
25603         * inet/ifreq.c: New file, true stub version.
25605         * socket/sa_len.c: New file.
25606         * socket/Makefile (aux): Add it.
25607         * sysdeps/unix/sysv/linux/Makefile
25608         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
25609         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
25610         and #include <socket/sa_len.c>.
25611         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
25612         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
25614         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
25615         * bits/socket.h: ... here.
25617         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
25618         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
25619         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
25621 2013-08-27  Andreas Schwab  <schwab@suse.de>
25623         [BZ #15736]
25624         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
25625         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
25626         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
25627         * string/test-strcasecmp.c (test_main): Run tests in several
25628         locales.
25629         * string/test-strncasecmp.c (test_main): Likewise.
25631         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
25632         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
25633         to __strcasecmp_nonascii and __strncasecmp_nonascii.
25634         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
25635         (__strncasecmp_ssse3) [PIC]: Likewise.
25637 2013-08-26  Roland McGrath  <roland@hack.frob.com>
25639         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
25641         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
25642         instead of explicitly declaring xdecrypt.
25643         * nis/nss_nis/nis-publickey.c: Likewise.
25645 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25647         [BZ #15890]
25648         * nscd/aicache.c: Include res_hconf.h.
25649         (addhstaiX): Initialize res_hconf.
25651 2013-08-26  Andreas Schwab  <schwab@suse.de>
25653         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
25654         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
25656 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25658         * nscd/aicache.c (addhstaiX): Fix indentation.
25660 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25662         * configure.ac: Quote $build_pt_chown test.
25663         * configure: Regenerated.
25665 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25667         [BZ #15532]
25668         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25669         * math/s_cexpf.c (__cexpf): Likewise.
25670         * math/s_cexpl.c (__cexpl): Likewise.
25671         * math/libm-test.inc (cexp_test_data): Correct expected return
25672         value for NaN + i0.  Add another test.
25674 2013-08-22  David S. Miller  <davem@davemloft.net>
25676         * po/ca.po: Update Catalan translation from translation project.
25677         * po/uk.po: Add Ukrainian translations from translation project.
25679 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25681         [BZ #15797]
25682         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25683         is infinite, not alongside NaN test.
25684         * math/s_fdimf.c (__fdimf): Likewise.
25685         * math/s_fdiml.c (__fdiml): Likewise.
25686         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25687         errno is unchanged.
25689 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25691         * argp/argp-help.c: Fix typos.
25692         * crypt/speeds.c: Likewise.
25693         * csu/check_fds.c: Likewise.
25694         * elf/dl-load.c: Likewise.
25695         * elf/dl-open.c: Likewise.
25696         * elf/reldep3.c: Likewise.
25697         * elf/reldep.c: Likewise.
25698         * elf/sprof.c: Likewise.
25699         * iconv/iconv_charmap.c: Likewise.
25700         * iconv/skeleton.c: Likewise.
25701         * iconv/strtab.c: Likewise.
25702         * io/lockf64.c: Likewise.
25703         * libio/libioP.h: Likewise.
25704         * resolv/gai_notify.c: Likewise.
25705         * resolv/ns_name.c: Likewise.
25706         * resolv/ns_samedomain.c: Likewise.
25707         * resolv/res_send.c: Likewise.
25708         * stdlib/random.c: Likewise.
25709         * sunrpc/rpc/xdr.h: Likewise.
25710         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25711         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25712         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25713         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25714         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25715         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25717         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25718         * sysdeps/mach/hurd/check_fds.c: Likewise.
25719         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25720         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25721         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25722         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25723         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25724         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25725         * sysdeps/pthread/aio_notify.c: Likewise.
25726         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25727         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25728         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25729         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25730         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25732 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25734         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25735         version if bit_Slow_SSE4_2 is set.
25736         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25737         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25739 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25741         [BZ #15867]
25742         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25743         trampoline stack frame information.
25744         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25745         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25746         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25747         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25748         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25749         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25750         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25751         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25752         sa_flags value.
25753         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25754         interrupting a syscall and set with option SA_SIGINFO.
25756 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25758         [BZ #15531]
25759         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25760         argument is infinite.
25761         * math/s_cprojf.c (__cprojf): Likewise.
25762         * math/s_cprojl.c (__cprojl): Likewise.
25763         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25764         * math/libm-test.inc (cproj_test_data): Add more tests.
25766         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25768         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25769         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25770         size.  Use __ffs to determine corresponding shift.
25772 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25773             Roland McGrath  <roland@hack.frob.com>
25775         * Makefile (INSTALL): Remove trailing blank lines from output of
25776         makeinfo.
25778 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25780         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25781         Align 32 bit compat elf_greg to 8 bytes.
25783 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25785         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25787 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25789         * string/strcoll_l.c (coll_seq): New structure.
25790         (get_next_seq_cached): New function.
25791         (get_next_seq): New function.
25792         (do_compare): New function.
25793         (STRCOLL): Use GNU style definition.  Simplify implementation
25794         by using get_next_seq, get_next_seq_cached and do_compare.
25796 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25798         [BZ #14699]
25799         CVE-2013-4237
25800         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25801         member.
25802         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25803         member.
25804         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25805         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25806         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25807         conditional.
25808         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25809         GETDENTS_64BIT_ALIGNED.
25810         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25811         * manual/filesys.texi (Reading/Closing Directory): Document
25812         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25813         strongly.
25814         * manual/conf.texi (Limits for Files): Add portability note to
25815         NAME_MAX, PATH_MAX.
25816         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25818 2013-08-13  Andreas Schwab  <schwab@suse.de>
25820         [BZ #15749]
25821         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25822         of fabs.
25823         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25824         LDBL_MAX_EXP >= 16384]: Add tests for it.
25826 2013-08-12  David S. Miller  <davem@davemloft.net>
25828         * version.h (RELEASE): Set to "development".
25829         (VERSION): Set to "2.18.90".
25830         * NEWS: Add 2.19 section.
25832 2013-08-03  David S. Miller  <davem@davemloft.net>
25834         * po/ko.po: Update Korean translation from translation project.
25836 2013-08-01  David S. Miller  <davem@davemloft.net>
25838         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
25839         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25840         Bilka.
25842 2013-07-30  David S. Miller  <davem@davemloft.net>
25844         * po/fr.po: Update French translation from translation project.
25846 2013-07-28  David S. Miller  <davem@davemloft.net>
25848         * po/cs.po: Update Czech translation from translation project.
25850         * po/sv.po: Update Swedish translation from translation project.
25852 2013-07-27  David S. Miller  <davem@davemloft.net>
25854         * po/eo.po: Update Esperanto translation from translation project.
25856         * po/vi.po: Update Vietnamese translation from translation project.
25858         * po/de.po: Update German translation from translation project.
25860 2013-07-26  David S. Miller  <davem@davemloft.net>
25862         * po/bg.po: Update Bulgarian translation from translation project.
25864         * po/nl.po: Update Dutch translation from translation project.
25865         * po/pl.po: Update Polish translation from translation project.
25866         * po/ru.po: Update Russian translation from translation project.
25868 2013-07-24  David S. Miller  <davem@davemloft.net>
25870         * po/libc.pot: Update.
25872 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25874         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25875         variable page size.
25876         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25877         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25878         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25880 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25882         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25884 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25885             Andreas Schwab  <schwab@suse.de>
25886             Roland McGrath  <roland@hack.frob.com>
25887             Joseph Myers  <joseph@codesourcery.com>
25888             Carlos O'Donell  <carlos@redhat.com>
25890         [BZ #15755]
25891         * config.h.in: Define HAVE_PT_CHOWN.
25892         * config.make.in (build-pt-chown): New variable.
25893         * configure.in (--enable-pt_chown): New configure option.
25894         * configure: Regenerate.
25895         * login/Makefile: Include Makeconfig.  Build pt_chown only if
25896         build-pt-chown is enabled.
25897         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25898         pt_chown to fix pty ownership.
25899         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25900         CLOSE_ALL_FDS.
25901         * manual/install.texi (Configuring and compiling): Mention
25902         --enable-pt_chown. Add @findex for grantpt.
25903         * INSTALL: Regenerate.
25905 2013-07-20  David S. Miller  <davem@davemloft.net>
25907         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25908         difference between 32-bit and 64-bit.
25910 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
25912         [BZ #15711]
25913         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25914         Avoid system header dependency with -ffreestanding.
25915         ($(objpfx)bits/syscall%d): Likewise.
25917 2013-07-13  David S. Miller  <davem@davemloft.net>
25919         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25920         underflows from atanl/atan2l due to bug 15319.
25921         (casinh_test_data): Likewise.
25923 2013-07-07  David S. Miller  <davem@davemloft.net>
25925         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25927 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
25929         * sysdeps/i386/fpu/libm-test-ulps: Update.
25930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25932 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25934         * configure.in (--enable-lock-elision): Fix message text.
25935         * INSTALL: Regenerate.
25936         * configure: Regenerate.
25938 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25942 2013-07-03  Andreas Jaeger  <aj@suse.de>
25944         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25945         define.
25946         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25947         (ptrace_peeksiginfo_args): Add.
25948         (__ptrace_peeksiginfo_flags): Add.
25949         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25950         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25951         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25953 2013-07-03  Allan McRae  <allan@archlinux.org>
25955         * sysdeps/i386/fpu/libm-test-ulps: Update.
25957 2013-07-02  David S. Miller  <davem@davemloft.net>
25959         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25961 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
25963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25965 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25967         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25970 2013-07-02  Andi Kleen <ak@linux.intel.com>
25972         * config.h.in (ENABLE_LOCK_ELISION): Add.
25973         * configure.in (--enable-lock-elision): Add option.
25974         * manual/install.texi: Document --enable lock elision.
25975         * configure: Regenerate
25976         * INSTALL: Regenerate.
25978 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
25980         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25981         SSE4.2 strcasecmp for libc.a.
25982         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25984 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25986         [BZ #13304]
25987         * soft-fp/op-common.h (_FP_FMA): New macro.
25988         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25989         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
25990         (_FP_MUL_MEAT_1_imm): ... here.
25991         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
25992         (_FP_MUL_MEAT_1_wide): ... here.
25993         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
25994         (_FP_MUL_MEAT_1_hard): ... here.
25995         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25996         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
25997         (_FP_MUL_MEAT_2_wide): ... here.
25998         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
25999         (_FP_MUL_MEAT_2_wide_3mul): ... here.
26000         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
26001         (_FP_MUL_MEAT_2_gmp): ... here.
26002         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26003         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
26004         (_FP_MUL_MEAT_4_wide): ... here.
26005         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
26006         (_FP_MUL_MEAT_4_gmp): ... here.
26007         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26008         (_FP_WFRACBITS_DW_S): Likewise.
26009         (_FP_WFRACXBITS_DW_S): Likewise.
26010         (_FP_HIGHBIT_DW_S): Likewise.
26011         (FP_FMA_S): Likewise.
26012         (_FP_FRAC_HIGH_DW_S): Likewise.
26013         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26014         (_FP_WFRACBITS_DW_D): Likewise.
26015         (_FP_WFRACXBITS_DW_D): Likewise.
26016         (_FP_HIGHBIT_DW_D): Likewise.
26017         (FP_FMA_D): Likewise.
26018         (_FP_FRAC_HIGH_DW_D): Likewise.
26019         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26020         (_FP_WFRACBITS_DW_E): Likewise.
26021         (_FP_WFRACXBITS_DW_E): Likewise.
26022         (_FP_HIGHBIT_DW_E): Likewise.
26023         (FP_FMA_E): Likewise.
26024         (_FP_FRAC_HIGH_DW_E): Likewise.
26025         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26026         (_FP_WFRACBITS_DW_Q): Likewise.
26027         (_FP_WFRACXBITS_DW_Q): Likewise.
26028         (_FP_HIGHBIT_DW_Q): Likewise.
26029         (FP_FMA_Q): Likewise.
26030         (_FP_FRAC_HIGH_DW_Q): Likewise.
26031         * soft-fp/fmasf4.c: New file.
26032         * soft-fp/fmadf4.c: Likewise.
26033         * soft-fp/fmatf4.c: Likewise.
26035 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26037         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26038         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26039         Silvermont.
26040         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26041         macro.
26042         (index_Slow_SSE4_2): Likewise.
26043         (index_Prefer_PMINUB_for_stringop): Likewise.
26044         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26045         bit_Slow_SSE4_2 is set.
26046         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26047         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26049 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26051         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26052         rtld_global._dl_hwcap2.
26053         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26054         POWER8.
26055         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26056         POWER8 feature descriptions defined in _dl_hwcap2.
26057         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26058         string handling for POWER8 feature bits.
26059         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26060         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26061         _dl_powerpc_cap_flags.
26062         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26063         * sysdeps/powerpc/rtld-global-offsets.sym
26064         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26065         _dl_hwcap2 in the rtld_global_ro structure.
26067 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26069         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26070         hardware capabilities in support of AT_HWCAP2.
26071         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26072         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26073         GLRO(dl_hwcap2).
26074         (_dl_show_auxv): Add support for calling _dl_procinfo to display
26075         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
26076         explicitly the unknown a_type display mechanism is used.
26077         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26078         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26079         struct member.
26080         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26081         to macro prototype for AT_HWCAP2 support.
26082         * sysdeps/i386/dl-procinfo.h: Likewise.
26083         * sysdeps/s390/dl-procinfo.h: Likewise.
26084         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26085         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
26086         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
26087         return -1 for unknown a_type display fallback.
26088         * sysdeps/sparc/dl-procinfo.h: Likewise.
26089         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26090         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26092 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
26094         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26095         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26097 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
26099         [BZ #12492]
26100         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26101         mprotect making __stack_prot writable.
26103 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
26104             Joseph Myers  <joseph@codesourcery.com>
26106         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26107         as being properly aligned.
26109 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
26111         * dlfcn/modstatic5.c: New file.
26112         * dlfcn/tststatic5.c: New file.
26113         * dlfcn/Makefile (tests): Add tststatic5.
26114         (tests-static): Likewise.
26115         (modules-names): Add modstatic5.
26116         (tststatic5-ENV): New variable.
26117         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26119         [BZ #15022]
26120         * elf/dl-support.c (_dl_main_map): New variable.
26121         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26122         (_dl_nns, _dl_load_adds): Set to 1.
26123         (_dl_initial_searchlist): Refer to _dl_main_map.
26124         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26125         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26126         call to _dl_get_origin.
26127         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26128         around call_map.
26129         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26130         * dlfcn/modstatic3.c: New file.
26131         * dlfcn/tststatic3.c: New file.
26132         * dlfcn/tststatic4.c: New file.
26133         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26134         (tests-static): Likewise.
26135         (modules-names): Add modstatic3.
26136         (tststatic3-ENV, tststatic4-ENV): New variables.
26137         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26138         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26140 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
26142         * configure.in (CC): Require GCC version 4.4 or later.
26143         * configure: Regenerated.
26144         * manual/install.texi (Tools for Compilation): Update GCC version
26145         requirement.
26146         * INSTALL: Regenerated.
26148 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26150         [BZ #15674]
26151         * string/test-memcmp.c (check2): New.
26152         (main): Call check2.
26154         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26156 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
26158         [BZ #15022]
26159         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26160         over to...
26161         (dl_open_worker) [!SHARED]: ... here.
26163 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26165         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26167 2013-06-25  Richard Henderson  <rth@redhat.com>
26169         * locale/programs/locarchive.c: Include <libc-internal.h>
26171 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
26173         * manual/texinfo.tex: Update to version 2013-06-21.17, with
26174         trailing whitespace removed.
26176 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26178         [BZ #10283]
26179         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26180         * locale/programs/locarchive.c: Include libc-mmap.h.
26181         (prepare_address_space): Take two new outputs (the mmap base and len).
26182         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
26183         values.
26184         (create_archive): Declare new mmap base and len values for
26185         prepare_address_space, and store the result in ah.
26186         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26187         (enlarge_archive): If ah->mmap_base is not NULL, use that and
26188         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26189         Declare new mmap base and len values for
26190         prepare_address_space, and store the result in new_ah.
26191         (open_archive): Declare new mmap base and len values for
26192         prepare_address_space, and store the result in ah.
26193         (close_archive): If ah->mmap_base is not NULL, use that and
26194         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26195         * sysdeps/generic/libc-mmap.h: New file.
26197 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
26199         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26200         (ALIGN_UP): Likewise.
26201         (PTR_ALIGN_DOWN): Likewise.
26202         (PTR_ALIGN_UP): Likewise.
26204 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26206         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26207         entry mapped to PPC_PLATFORM_POWER8.
26208         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26209         POWER8.
26210         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26211         (_dl_string_platform): Add case for exporting platform position for
26212         POWER8.
26213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26214         search path to sysdeps/powerpc/powerpc32/power8 directory.
26215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26216         search path to sysdeps/powerpc/powerpc64/power8 directory.
26217         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26218         power7 directories.
26219         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26220         power7 directories.
26222 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26224         * INSTALL: Regenerate.
26226         * nscd/connections.c (nscd_init): Fix comment.
26228 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
26230         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26232         [BZ #15667]
26233         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26234         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26236 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26238         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26239         DL_DST_REQ_STATIC.
26240         (DL_DST_REQ_STATIC): Remove macro.
26242 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
26244         [BZ #7006]
26245         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26246         with a shift of 0 bits.
26248 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
26250         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26251         $(tststatic-ENV).
26253 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26255         [BZ #15655]
26256         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26258 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26260         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26261         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26262         accepts -fno-tree-loop-distribute-patterns.
26263         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26264         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26265         recursive call.
26266         * string/memset.c (memset): Likewise.
26267         * string/test-memmove.c (simple_memmove): Disable loop transformation
26268         to library calls.
26269         * string/test-memset.c (simple_memset): Likewise.
26270         * benchtests/bench-memmove.c (simple_memmove): Likewise.
26271         * benchtests/bench-memset.c (simple_memset): Likewise.
26272         * configure: Regenerated.
26274 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
26276         * math/test-misc.c (main): Ignore fesetround failure when failures
26277         of subsequent rounding tests would be ignored.
26279         [BZ #15654]
26280         * math/fedisblxcpt.c (fedisableexcept): Return 0.
26281         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26282         * math/fegetenv.c (__fegetenv): Return 0.
26283         * math/fegetexcept.c (fegetexcept): Return 0.
26284         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26285         FE_TONEAREST.
26286         * math/feholdexcpt.c (feholdexcept): Return 0.
26287         * math/fesetenv.c (__fesetenv): Return 0.
26288         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26289         argument FE_TONEAREST.
26290         * math/feupdateenv.c (__feupdateenv): Return 0.
26291         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26293 2013-06-18  Roland McGrath  <roland@hack.frob.com>
26295         * elf/rtld-Rules (rtld-compile-command.S): New variable.
26296         (rtld-compile-command.s, rtld-compile-command.c): New variables.
26297         ($(objpfx)rtld-%.os rules): Use them.
26299 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26301         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26302         fields.
26304 2013-06-17  Roland McGrath  <roland@hack.frob.com>
26306         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26307         length of target pattern, then descending length of dependency pattern.
26308         * configure.in (AWK): Require gawk 3.1.2 or newer.
26309         * manual/install.texi (Tools for Compilation): Say that we do.
26310         * configure: Regenerated.
26312         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26313         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26314         * scripts/sysd-rules.awk: ... this new script.
26315         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26316         than a glob-style pattern.
26318 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
26320         * math/test-misc.c (main): Do not treat incorrectly rounded
26321         conversions as failure unless ROUNDING_TESTS passes.
26323 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
26325         [BZ #15631]
26326         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26327         restore exception state around main square root computation, then
26328         check for inexactness explicitly.
26330         * math/libm-test.inc (fma_test_data): Add another test.
26332 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26334         * manual/threads.texi (Non-POSIX Extensions): New document
26335         node.  Document pthread_getattr_default_np and
26336         pthread_setattr_default_np.
26338         * Versions.def (libpthread): Add GLIBC_2.18.
26339         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26341         Likewise.
26342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26343         Likewise.
26344         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26345         Likewise.
26346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26347         Likewise.
26348         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26349         Likewise.
26350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26351         Likewise.
26352         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26353         Likewise.
26354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26355         Likewise.
26356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26357         Likewise.
26359 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
26361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26362         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26364 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26365             H.J. Lu  <hjl.tools@gmail.com>
26367         [BZ #15627]
26368         * sysdeps/x86_64/rtld-memset.c: Remove file.
26369         * sysdeps/x86_64/rtld-memset.S: New file.
26371 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
26373         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26374         (test_in_one_mode): Take arguments for whether the rounding mode
26375         is supported for each floating-point type.
26376         (do_test): Pass new arguments to test_in_one_mode using
26377         ROUNDING_TESTS.
26379 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26381         * posix/tst-waitid.c (do_test): Distinguish different instances of
26382         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
26383         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26384         before entering the kernel for waitpid.
26386 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26388         * NEWS: Fix note on clock function precision.  Text by Roland
26389         McGrath.
26391 2013-06-13  Roland McGrath  <roland@hack.frob.com>
26393         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26394         it into place only when and if the sanity check passes.
26396 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
26398         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26399         output for whether conversion result is exact.  Take argument
26400         indicating whether type is IBM long double.
26401         (round_for_all): Change need_exact field to ibm_ld.
26402         * stdlib/tst-strtod-round.c (struct exactness): New type.
26403         (struct test): Change bool ld_ok field to struct exactness exact.
26404         (TEST): Update all definitions for change to field.
26405         (tests): Regenerate array contents.
26406         (test_in_one_mode): Take pointer to new field instead of old ld_ok
26407         field value.  Check for IBM long double here.
26408         (do_test): Update calls to test_in_one_mode.
26410 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
26412         [BZ #12515]
26413         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26414         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26416 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26418         [BZ #15605]
26419         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
26420         generated by the compiler on loop optimizations.
26421         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
26422         general definitions.
26424 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
26426         * math/bug-nextafter.c: Include <math-tests.h>.
26427         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26428         the relevant type.
26429         * math/bug-nexttoward.c: Include <math-tests.h>.
26430         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26431         the relevant type.
26432         * math/test-misc.c: Include <math-tests.h>.
26433         (main): Only test for exceptions if EXCEPTION_TESTS is true for
26434         the relevant type.
26436 2013-06-12  Andreas Jaeger  <aj@suse.de>
26438         * po/ia.po: Update Interlingua translation from translation
26439         project.
26441 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26443         * include/fenv.h: Include stdbool.h.
26444         (struct rm_ctx): New structure.
26445         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
26446         Define macro.
26447         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
26448         (SET_RESTORE_ROUNDF): Likewise.
26449         (SET_RESTORE_ROUNDL): Likewise.
26450         (SET_RESTORE_ROUND_NOEX): Likewise.
26451         (SET_RESTORE_ROUND_NOEXF): Likewise.
26452         (SET_RESTORE_ROUND_NOEXL): Likewise.
26453         (SET_RESTORE_ROUND_53BIT): Likewise.
26454         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
26455         (libc_feresetround_noexf_ctx): Likewise.
26456         (libc_feresetround_noexl_ctx): Likewise.
26457         (libc_feholdsetround_53bit_ctx): Likewise.
26458         (libc_feresetround_53bit_ctx): Likewise.
26459         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
26460         (libc_feholdexcept_setround_sse_ctx): New function.
26461         (libc_fesetenv_sse_ctx): Likewise.
26462         (libc_feupdateenv_sse_ctx): Likewise.
26463         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
26464         (libc_feholdexcept_setround_387_ctx): Likewise.
26465         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
26466         (libc_feholdsetround_387_prec_ctx): Likewise.
26467         (libc_feholdsetround_387_ctx): Likewise.
26468         (libc_feholdsetround_387_53bit_ctx): Likewise.
26469         (libc_feholdsetround_sse_ctx): Likewise.
26470         (libc_feresetround_sse_ctx): Likewise.
26471         (libc_feresetround_387_ctx): Likewise.
26472         (libc_feupdateenv_387_ctx): Likewise.
26473         (libc_feholdexcept_setroundf_ctx): Define macro.
26474         (libc_fesetenvf_ctx): Likewise.
26475         (libc_feupdateenvf_ctx): Likewise.
26476         (libc_feholdsetroundf_ctx): Likewise.
26477         (libc_feresetroundf_ctx): Likewise.
26478         (libc_feholdexcept_setround_ctx): Likewise.
26479         (libc_fesetenv_ctx): Likewise.
26480         (libc_feupdateenv_ctx): Likewise.
26481         (libc_feholdsetround_ctx): Likewise.
26482         (libc_feresetround_ctx): Likewise.
26483         (libc_feholdexcept_setroundl_ctx): Likewise.
26484         (libc_feupdateenvl_ctx): Likewise.
26485         (libc_feholdsetroundl_ctx): Likewise.
26486         (libc_feresetroundl_ctx): Likewise.
26487         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
26488         (libc_feresetround_53bit_ctx): Likewise.
26490 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26492         * locale/iso-639.def: Convert to UTF-8.
26494 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
26496         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
26497         (EXCEPTION_TESTS_double): Likewise.
26498         (EXCEPTION_TESTS_long_double): Likewise.
26499         (EXCEPTION_TESTS): Likewise.
26500         * math/libm-test.inc (test_exceptions): Only test exceptions if
26501         EXCEPTION_TESTS (FLOAT).
26503 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26505         * benchtests/Makefile (string-bench): Add strcpy_chk and
26506         stpcpy_chk.
26507         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
26508         * benchtests/bench-stpcpy_chk.c: New file.
26509         * benchtests/bench-strcpy_chk-ifunc.c: New file.
26510         * benchtests/bench-strcpy_chk.c: New file.
26511         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
26512         code.
26513         (do_test): Likewise.
26515 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26517         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
26518         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
26519         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
26520         with tabs where appropriate.
26521         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
26522         dl-procinfo.h.
26523         [PPC_PLATFORM_PPC440]: Likewise.
26524         [PPC_PLATFORM_PPC464]: Likewise.
26525         [PPC_PLATFORM_PPC476]: Likewise.
26526         (_dl_string_platform): Add support for detecting ppc405, ppc440,
26527         ppc464, and ppc476 platform strings merging from ports/
26528         dl-procinfo.h.
26530 2013-06-11  Andreas Schwab  <schwab@suse.de>
26532         [BZ #14991]
26533         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
26534         (from_ucs4_idx): Regenerate.
26535         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
26536         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
26537         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
26538         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
26539         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
26540         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
26541         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
26542         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
26543         from FROM_LOOP and TO_LOOP specific macros.
26544         (BODY): Handle combining characters.
26545         * iconvdata/BIG5HKSCS.irreversible: Update.
26546         * iconvdata/BIG5HKSCS.precomposed: New file.
26547         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
26548         characters.
26549         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
26551 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26553         * include/sys/time.h: Fix indentation and add copyright header.
26555         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
26556         (do_test): Likewise.
26557         * string/test-memchr.c (do_one_test): Likewise.
26558         (do_test): Likewise.
26559         * string/test-memcmp.c (do_one_test): Likewise.
26560         (do_test): Likewise.
26561         * string/test-memcpy.c (do_one_test): Likewise.
26562         (do_test): Likewise.
26563         * string/test-memmem.c (do_one_test): Likewise.
26564         (do_test): Likewise.
26565         (do_random_tests): Likewise.
26566         * string/test-memmove.c (do_one_test): Likewise.
26567         (do_test): Likewise.
26568         * string/test-memset.c (do_one_test): Likewise.
26569         (do_test): Likewise.
26570         * string/test-rawmemchr.c (do_one_test): Likewise.
26571         (do_test): Likewise.
26572         * string/test-strcasecmp.c (do_one_test): Likewise.
26573         (do_test): Likewise.
26574         * string/test-strcasestr.c (do_one_test): Likewise.
26575         (do_test): Likewise.
26576         * string/test-strcat.c (do_one_test): Likewise.
26577         (do_test): Likewise.
26578         * string/test-strchr.c (do_one_test): Likewise.
26579         (do_test): Likewise.
26580         * string/test-strcmp.c (do_one_test): Likewise.
26581         (do_test): Likewise.
26582         * string/test-strcpy.c (do_one_test): Likewise.
26583         (do_test): Likewise.
26584         * string/test-string.h: Likewise.
26585         (test_init): Likewise.
26586         * string/test-strlen.c (do_one_test): Likewise.
26587         (do_test): Likewise.
26588         * string/test-strncasecmp.c (do_one_test): Likewise.
26589         (do_test): Likewise.
26590         * string/test-strncat.c (do_one_test): Likewise.
26591         (do_test): Likewise.
26592         * string/test-strncmp.c (do_one_test): Likewise.
26593         (do_test_limit): Likewise.
26594         (do_test): Likewise.
26595         * string/test-strncpy.c (do_one_test): Likewise.
26596         (do_test): Likewise.
26597         * string/test-strnlen.c (do_one_test): Likewise.
26598         (do_test): Likewise.
26599         * string/test-strpbrk.c (do_one_test): Likewise.
26600         (do_test): Likewise.
26601         * string/test-strrchr.c (do_one_test): Likewise.
26602         (do_test): Likewise.
26603         * string/test-strspn.c (do_one_test): Likewise.
26604         (do_test): Likewise.
26605         * string/test-strstr.c (do_one_test): Likewise.
26606         (do_test): Likewise.
26608         * benchtests/Makefile (string-bench): Add string benchmarks.
26609         * benchtests/bench-bcopy-ifunc.c: New file.
26610         * benchtests/bench-bcopy.c: New file.
26611         * benchtests/bench-bzero-ifunc.c: New file.
26612         * benchtests/bench-bzero.c: New file.
26613         * benchtests/bench-memccpy-ifunc.c: New file.
26614         * benchtests/bench-memccpy.c: New file.
26615         * benchtests/bench-memchr-ifunc.c: New file.
26616         * benchtests/bench-memchr.c: New file.
26617         * benchtests/bench-memcmp-ifunc.c: New file.
26618         * benchtests/bench-memcmp.c: New file.
26619         * benchtests/bench-memmem-ifunc.c: New file.
26620         * benchtests/bench-memmem.c: New file.
26621         * benchtests/bench-memmove-ifunc.c: New file.
26622         * benchtests/bench-memmove.c: New file.
26623         * benchtests/bench-mempcpy-ifunc.c: New file.
26624         * benchtests/bench-mempcpy.c: New file.
26625         * benchtests/bench-memset-ifunc.c: New file.
26626         * benchtests/bench-memset.c: New file.
26627         * benchtests/bench-rawmemchr-ifunc.c: New file.
26628         * benchtests/bench-rawmemchr.c: New file.
26629         * benchtests/bench-stpcpy-ifunc.c: New file.
26630         * benchtests/bench-stpcpy.c: New file.
26631         * benchtests/bench-stpncpy-ifunc.c: New file.
26632         * benchtests/bench-stpncpy.c: New file.
26633         * benchtests/bench-strcasecmp-ifunc.c: New file.
26634         * benchtests/bench-strcasecmp.c: New file.
26635         * benchtests/bench-strcasestr-ifunc.c: New file.
26636         * benchtests/bench-strcasestr.c: New file.
26637         * benchtests/bench-strcat-ifunc.c: New file.
26638         * benchtests/bench-strcat.c: New file.
26639         * benchtests/bench-strchr-ifunc.c: New file.
26640         * benchtests/bench-strchr.c: New file.
26641         * benchtests/bench-strchrnul-ifunc.c: New file.
26642         * benchtests/bench-strchrnul.c: New file.
26643         * benchtests/bench-strcmp-ifunc.c: New file.
26644         * benchtests/bench-strcmp.c: New file.
26645         * benchtests/bench-strcpy-ifunc.c: New file.
26646         * benchtests/bench-strcpy.c: New file.
26647         * benchtests/bench-strcspn-ifunc.c: New file.
26648         * benchtests/bench-strcspn.c: New file.
26649         * benchtests/bench-strlen-ifunc.c: New file.
26650         * benchtests/bench-strlen.c: New file.
26651         * benchtests/bench-strncasecmp-ifunc.c: New file.
26652         * benchtests/bench-strncasecmp.c: New file.
26653         * benchtests/bench-strncat-ifunc.c: New file.
26654         * benchtests/bench-strncat.c: New file.
26655         * benchtests/bench-strncmp-ifunc.c: New file.
26656         * benchtests/bench-strncmp.c: New file.
26657         * benchtests/bench-strncpy-ifunc.c: New file.
26658         * benchtests/bench-strncpy.c: New file.
26659         * benchtests/bench-strnlen-ifunc.c: New file.
26660         * benchtests/bench-strnlen.c: New file.
26661         * benchtests/bench-strpbrk-ifunc.c: New file.
26662         * benchtests/bench-strpbrk.c: New file.
26663         * benchtests/bench-strrchr-ifunc.c: New file.
26664         * benchtests/bench-strrchr.c: New file.
26665         * benchtests/bench-strspn-ifunc.c: New file.
26666         * benchtests/bench-strspn.c: New file.
26667         * benchtests/bench-strstr-ifunc.c: New file.
26668         * benchtests/bench-strstr.c: New file.
26670         * benchtests/Makefile: Disable parallel execution of targets.
26671         (string-bench): Add memcpy.
26672         (benchset): New variable to store a list of benchmark sets.
26673         (bench-func): Renamed from bench.
26674         (bench-set): New target.
26675         (bench): Depend on bench-func and bench-set.
26676         * benchtests/README: Add section on benchmark sets.
26677         * benchtests/bench-memcpy-ifunc.c: New file.
26678         * benchtests/bench-memcpy.c: New file.
26679         * benchtests/bench-string.h: New file.
26681 2013-06-11  Andreas Schwab  <schwab@suse.de>
26683         [BZ #15577]
26684         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26685         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26686         values in the triple.
26687         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26688         terminator in the group key.
26690 2013-06-11  Andreas Jaeger  <aj@suse.de>
26692         * po/zh_TW.po: Update Chinese (traditional) translation from
26693         translation project.
26695 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26697         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26698         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26699         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26700         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26701         (clock_getcpuclockid): Likewise.
26702         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26703         Add weak_alias and libc_hidden_def.
26704         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26705         * rt/clock_gettime.c (clock_gettime): Rename to
26706         __clock_gettime.  Add weak_alias and libc_hidden_def.
26707         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26708         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26709         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26710         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26711         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26712         Likewise.
26713         * rt/clock_settime.c (clock_settime): Rename to
26714         __clock_settime.  Add weak_alias and libc_hidden_def.
26715         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26717 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26719         * mach/err_boot.sub: Remove trailing whitespace.
26720         * mach/err_ipc.sub: Likewise.
26721         * mach/err_mach.sub: Likewise.
26723         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26724         (ROUNDING_TESTS_double): Likewise.
26725         (ROUNDING_TESTS_long_double): Likewise.
26726         (ROUNDING_TESTS): Likewise.
26727         * math/libm-test.inc: Include <math-tests.h>.
26728         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26729         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26730         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26731         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26733 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26735         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26736         of assigning.
26738 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26740         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26741         otherwise empty TRANS lines.
26742         * sysdeps/gnu/errlist.c: Regenerated.
26744         * catgets/gencat.c (error_print): Use (void) in function
26745         definition.
26746         * crypt/crypt_util.c (__init_des): Likewise.
26747         * crypt/speeds.c (Stop): Likewise.
26748         (main): Likewise.
26749         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26750         * inet/ruserpass.c (token): Likewise.
26751         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26752         * intl/localealias.c (extend_alias_table): Likewise.
26753         * intl/plural-exp.c (init_germanic_plural): Likewise.
26754         * libio/fcloseall.c (__fcloseall): Likewise.
26755         * libio/genops.c (_IO_flush_all): Likewise.
26756         (_IO_flush_all_linebuffered): Likewise.
26757         (_IO_cleanup): Likewise.
26758         (_IO_iter_begin): Likewise.
26759         (_IO_iter_end): Likewise.
26760         (_IO_list_lock): Likewise.
26761         (_IO_list_unlock): Likewise.
26762         (_IO_list_resetlock): Likewise.
26763         * libio/getchar.c (getchar): Likewise.
26764         * libio/getchar_u.c (getchar_unlocked): Likewise.
26765         * libio/getwchar.c (getwchar): Likewise.
26766         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26767         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26768         * login/getpt.c (__getpt): Likewise.
26769         * login/tst-utmp.c (main): Likewise.
26770         * malloc/hooks.c (__malloc_check_init): Likewise.
26771         * malloc/malloc.c (__malloc_stats): Likewise.
26772         * malloc/mtrace.c (tr_break): Likewise.
26773         (mtrace): Likewise.
26774         (muntrace): Likewise.
26775         * misc/fstab.c (endfsent): Likewise.
26776         * misc/getclktck.c (__getclktck): Likewise.
26777         * misc/getdtsz.c (__getdtablesize): Likewise.
26778         * misc/gethostid.c (gethostid): Likewise.
26779         * misc/getpagesize.c (__getpagesize): Likewise.
26780         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26781         (__get_nprocs): Likewise.
26782         (__get_phys_pages): Likewise.
26783         (__get_avphys_pages): Likewise.
26784         * misc/getttyent.c (getttyent): Likewise.
26785         (setttyent): Likewise.
26786         (endttyent): Likewise.
26787         * misc/getusershell.c (getusershell): Likewise.
26788         (endusershell): Likewise.
26789         (setusershell): Likewise.
26790         (initshells): Likewise.
26791         * misc/hsearch.c (__hdestroy): Likewise.
26792         * misc/sync.c (sync): Likewise.
26793         * misc/syslog.c (closelog_internal): Likewise.
26794         (closelog): Likewise.
26795         * misc/ttyslot.c (ttyslot): Likewise.
26796         * misc/vhangup.c (vhangup): Likewise.
26797         * posix/fork.c (__fork): Likewise.
26798         * posix/getegid.c (__getegid): Likewise.
26799         * posix/geteuid.c (__geteuid): Likewise.
26800         * posix/getgid.c (__getgid): Likewise.
26801         * posix/getpid.c (__getpid): Likewise.
26802         * posix/getppid.c (__getppid): Likewise.
26803         * posix/getuid.c (__getuid): Likewise.
26804         * posix/pause.c (pause): Likewise.
26805         * posix/setpgrp.c (setpgrp): Likewise.
26806         * posix/setsid.c (__setsid): Likewise.
26807         * posix/test-vfork.c (noop): Likewise.
26808         * resolv/gethnamaddr.c (_endhtent): Likewise.
26809         (_gethtent): Likewise.
26810         (ht_endhostent): Likewise.
26811         (gethostent): Likewise.
26812         (dns_service): Likewise.
26813         * stdlib/drand48.c (drand48): Likewise.
26814         * stdlib/lrand48.c (lrand48): Likewise.
26815         * stdlib/mrand48.c (mrand48): Likewise.
26816         * stdlib/rand.c (rand): Likewise.
26817         * stdlib/random.c (__random): Likewise.
26818         * stdlib/setenv.c (clearenv): Likewise.
26819         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26820         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26821         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26822         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26823         (__get_nprocs): Likewise.
26824         (__get_phys_pages): Likewise.
26825         (__get_avphys_pages): Likewise.
26826         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26827         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26828         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26829         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26830         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26831         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26832         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26833         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26834         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26835         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26836         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26837         * sysdeps/mach/hurd/sync.c (sync): Likewise.
26838         * sysdeps/posix/clock.c (clock): Likewise.
26839         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26840         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26841         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26842         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26843         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26844         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26845         (__get_nprocs_conf): Likewise.
26846         (__get_phys_pages): Likewise.
26847         (__get_avphys_pages): Likewise.
26848         * time/clock.c (clock): Likewise.
26849         * time/tzset.c (__tzname_max): Likewise.
26851 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
26853         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26854         (__bswap_32): Do not use "register".
26855         * crypt/crypt.c (_ufc_doit_r): Likewise.
26856         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26857         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26858         * gmon/gmon.c (__monstartup): Likewise.
26859         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26860         * hurd/hurdmalloc.c (more_memory): Likewise.
26861         (malloc): Likewise.
26862         (free): Likewise.
26863         (realloc): Likewise.
26864         (malloc_fork_prepare): Likewise.
26865         (malloc_fork_parent): Likewise.
26866         (malloc_fork_child): Likewise.
26867         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26868         (_svcauth_des): Likewise.
26869         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26870         * inet/inet_net.c (inet_network): Likewise.
26871         * inet/inet_netof.c (inet_netof): Likewise.
26872         * inet/rcmd.c (__validuser2_sa): Likewise.
26873         * io/fts.c (fts_open): Likewise.
26874         (fts_load): Likewise.
26875         (fts_close): Likewise.
26876         (fts_read): Likewise.
26877         (fts_children): Likewise.
26878         (fts_build): Likewise.
26879         (fts_stat): Likewise.
26880         (fts_sort): Likewise.
26881         (fts_alloc): Likewise.
26882         (fts_lfree): Likewise.
26883         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26884         (_IO_file_xsgetn): Likewise.
26885         (_IO_file_xsgetn_mmap): Likewise.
26886         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26887         (_IO_cookie_write): Likewise.
26888         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26889         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26890         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26891         * malloc/obstack.c (_obstack_begin): Likewise.
26892         (_obstack_begin_1): Likewise.
26893         (_obstack_newchunk): Likewise.
26894         (_obstack_allocated_p): Likewise.
26895         (obstack_free): Likewise.
26896         (_obstack_memory_used): Likewise.
26897         * misc/getttyent.c (getttynam): Likewise.
26898         (getttyent): Likewise.
26899         (skip): Likewise.
26900         (value): Likewise.
26901         * misc/getusershell.c (initshells): Likewise.
26902         * misc/syslog.c (__vsyslog_chk): Likewise.
26903         * misc/ttyslot.c (ttyslot): Likewise.
26904         * nis/nis_hash.c (__nis_hash): Likewise.
26905         * posix/fnmatch_loop.c (FCT): Likewise.
26906         * posix/getconf.c (print_all): Likewise.
26907         (main): Likewise.
26908         * posix/getopt.c (exchange): Likewise.
26909         * posix/glob.c (globfree): Likewise.
26910         (prefix_array): Likewise.
26911         (__glob_pattern_type): Likewise.
26912         * resolv/arpa/nameser.h (NS_GET16): Likewise.
26913         (NS_GET32): Likewise.
26914         (NS_PUT16): Likewise.
26915         (NS_PUT32): Likewise.
26916         * resolv/gethnamaddr.c (getanswer): Likewise.
26917         (gethostbyname2): Likewise.
26918         (gethostbyaddr): Likewise.
26919         (_gethtent): Likewise.
26920         (_gethtbyname2): Likewise.
26921         (_gethtbyaddr): Likewise.
26922         * resolv/ns_print.c (dst_s_get_int16): Likewise.
26923         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26924         * resolv/res_init.c (__res_vinit): Likewise.
26925         (net_mask): Likewise.
26926         * resolv/res_mkquery.c (outchar): Likewise.
26927         (PRINT): Likewise.
26928         * stdio-common/printf_fp.c (outchar): Likewise.
26929         (PRINT): Likewise.
26930         * stdio-common/printf_fphex.c (outchar): Likewise.
26931         (PRINT): Likewise.
26932         * stdio-common/printf_size.c (outchar): Likewise.
26933         (PRINT): Likewise.
26934         * stdio-common/test_rdwr.c (main): Likewise.
26935         * stdio-common/tfformat.c (matches): Likewise.
26936         * stdio-common/vfprintf.c (outchar): Likewise.
26937         (printf_unknown): Likewise.
26938         (buffered_vfprintf): Likewise.
26939         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26940         * stdio-common/xbug.c (AppendToBuffer): Likewise.
26941         (ReadFile): Likewise.
26942         * stdlib/qsort.c (SWAP): Likewise.
26943         (_quicksort): Likewise.
26944         * stdlib/setenv.c (__add_to_environ): Likewise.
26945         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26946         * stdlib/strtol_l.c (__strtol_l): Likewise.
26947         * stdlib/tst-strtod.c (main): Likewise.
26948         * stdlib/tst-strtol.c (main): Likewise.
26949         * stdlib/tst-strtoll.c (main): Likewise.
26950         * string/bits/string2.h (__strcmp_cc): Likewise.
26951         (__strcmp_cg): Likewise.
26952         (__strcspn_c1): Likewise.
26953         (__strcspn_c2): Likewise.
26954         (__strcspn_c3): Likewise.
26955         (__strspn_c1): Likewise.
26956         (__strspn_c2): Likewise.
26957         (__strspn_c3): Likewise.
26958         (__strsep_1c): Likewise.
26959         (__strsep_2c): Likewise.
26960         (__strsep_3c): Likewise.
26961         * string/memccpy.c (__memccpy): Likewise.
26962         * string/stpcpy.c (__stpcpy): Likewise.
26963         * string/strcmp.c (strcmp): Likewise.
26964         * string/strrchr.c (strrchr): Likewise.
26965         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26966         Likewise.
26967         * sysdeps/mach/hurd/getcwd.c
26968         (_hurd_canonicalize_directory_name_internal): Likewise.
26969         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26970         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26971         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26972         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26973         Likewise, in both definitions.
26974         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26975         definitions.
26976         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26977         64] (__bswap_64): Likewise.
26978         * time/test_time.c (main): Likewise.
26979         * time/tzfile.c (__tzfile_read): Likewise.
26980         (__tzfile_compute): Likewise.
26981         * time/tzset.c (__tzset_parse_tz): Likewise.
26982         (tzset_internal): Likewise.
26983         (compute_change): Likewise.
26984         * wcsmbs/wcscat.c (__wcscat): Likewise.
26985         * wcsmbs/wcschr.c (wcschr): Likewise.
26986         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26987         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26988         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26989         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26990         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26991         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26992         * wcsmbs/wmemchr.c (wmemchr): Likewise.
26993         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26994         * wcsmbs/wmemset.c (wmemset): Likewise.
26996 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
26998         * scripts/config.guess: Update to version 2013-05-16.
26999         * scripts/config.sub: Update to version 2013-04-24.
27000         * scripts/install-sh: Update to version 2011-11-20.07.
27001         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27002         * scripts/move-if-change: Update to version 2012-01-06 07:23.
27004 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
27006         * debug/fgetws_u_chk.c: Fix leading whitespaces.
27007         * elf/sln.c: Likewise.
27008         * hurd/hurd/ioctl.h: Likewise.
27009         * hurd/hurdmalloc.c: Likewise.
27010         * hurd/xattr.c: Likewise.
27011         * include/shlib-compat.h: Likewise.
27012         * inet/ruserpass.c: Likewise.
27013         * libio/iofgets_u.c: Likewise.
27014         * libio/iofgetws_u.c: Likewise.
27015         * locale/programs/ld-identification.c: Likewise.
27016         * locale/programs/ld-time.c: Likewise.
27017         * mach/msg-destroy.c: Likewise.
27018         * nss/nss_files/files-netgrp.c: Likewise.
27019         * resolv/res_data.c: Likewise.
27020         * soft-fp/op-1.h: Likewise.
27021         * soft-fp/op-2.h: Likewise.
27022         * soft-fp/op-4.h: Likewise.
27023         * soft-fp/op-common.h: Likewise.
27024         * stdio-common/printf_fphex.c: Likewise.
27025         * stdlib/strtod_l.c: Likewise.
27026         * sunrpc/rpc/clnt.h: Likewise.
27027         * sysdeps/generic/framestate.c: Likewise.
27028         * sysdeps/i386/bsd-_setjmp.S: Likewise.
27029         * sysdeps/i386/bsd-setjmp.S: Likewise.
27030         * sysdeps/i386/__longjmp.S: Likewise.
27031         * sysdeps/i386/setjmp.S: Likewise.
27032         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27033         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27034         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27035         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27036         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27037         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27038         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27039         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27040         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27041         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27042         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27043         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27044         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27045         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27046         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27047         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27048         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27049         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27050         * sysdeps/ieee754/support.c: Likewise.
27051         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27052         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27053         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27054         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27055         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27056         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27057         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27058         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27059         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27060         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27061         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27062         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27063         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27064         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27065         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27066         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27067         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27070 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
27072         * posix/transbug.c: Remove executable mode.
27074 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
27076         * crypt/speeds.c: Remove trailing whitespace.
27077         * dlfcn/default.c: Likewise.
27078         * elf/ifuncdep2.c: Likewise.
27079         * elf/ifuncmain1.c: Likewise.
27080         * elf/ifuncmain1vis.c: Likewise.
27081         * elf/testobj.h: Likewise.
27082         * elf/tst-stackguard1.c: Likewise.
27083         * gmon/sys/gmon.h: Likewise.
27084         * hurd/hurdmsg.c: Likewise.
27085         * hurd/new-fd.c: Likewise.
27086         * hurd/ports-get.c: Likewise.
27087         * iconvdata/ibm1008_420.c: Likewise.
27088         * inet/tst-getni1.c: Likewise.
27089         * inet/tst-getni2.c: Likewise.
27090         * libio/ioungetc.c: Likewise.
27091         * libio/wfiledoalloc.c: Likewise.
27092         * manual/libm-err-tab.pl: Likewise.
27093         * math/w_dremf.c: Likewise.
27094         * misc/ftruncate.c: Likewise.
27095         * posix/bug-glob2.c: Likewise.
27096         * posix/tst-pcre.c: Likewise.
27097         * posix/wait4.c: Likewise.
27098         * resolv/README: Likewise.
27099         * resolv/res_debug.h: Likewise.
27100         * resolv/tst-inet_ntop.c: Likewise.
27101         * setjmp/bug269-setjmp.c: Likewise.
27102         * soft-fp/extended.h: Likewise.
27103         * soft-fp/op-1.h: Likewise.
27104         * soft-fp/op-2.h: Likewise.
27105         * soft-fp/op-4.h: Likewise.
27106         * soft-fp/op-8.h: Likewise.
27107         * soft-fp/testit.c: Likewise.
27108         * stdio-common/bug16.c: Likewise.
27109         * stdlib/random.c: Likewise.
27110         * sunrpc/rpcsvc/rquota.x: Likewise.
27111         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27112         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27113         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27114         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27115         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27116         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27117         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27118         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27119         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27120         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27121         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27122         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27123         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27124         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27125         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27126         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27127         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27128         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27129         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27130         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27131         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27132         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27133         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27134         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27135         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27136         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27137         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27138         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27139         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27140         * sysdeps/ieee754/s_lib_version.c: Likewise.
27141         * sysdeps/mach/hurd/check_fds.c: Likewise.
27142         * sysdeps/mach/hurd/getsockname.c: Likewise.
27143         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27144         * sysdeps/mach/hurd/recvfrom.c: Likewise.
27145         * sysdeps/powerpc/bits/link.h: Likewise.
27146         * sysdeps/powerpc/dl-procinfo.c: Likewise.
27147         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27148         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27149         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27150         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27151         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27152         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27153         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27154         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27155         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27156         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27157         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27158         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27159         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27160         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27161         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27162         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27163         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27164         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27165         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27166         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27167         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27168         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27169         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27170         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27171         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27172         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27173         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27174         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27175         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27176         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27177         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27178         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27179         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27180         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27181         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27182         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27183         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27184         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27185         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27186         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27187         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27188         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27189         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27190         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27191         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27192         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27193         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27194         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27195         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27196         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27197         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27198         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27199         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27200         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27201         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27202         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27203         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27204         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27205         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27206         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27207         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27208         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27209         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27210         * sysdeps/powerpc/sysdep.h: Likewise.
27211         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27212         * sysdeps/s390/s390-64/sub_n.S: Likewise.
27213         * sysdeps/sh/dl-trampoline.S: Likewise.
27214         * sysdeps/sh/memset.S: Likewise.
27215         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27216         * sysdeps/sh/strlen.S: Likewise.
27217         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27218         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27219         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27220         * sysdeps/sparc/sparc32/rem.S: Likewise.
27221         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27222         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27223         * sysdeps/sparc/sparc32/strchr.S: Likewise.
27224         * sysdeps/sparc/sparc32/udiv.S: Likewise.
27225         * sysdeps/sparc/sparc32/urem.S: Likewise.
27226         * sysdeps/sparc/sparc64/add_n.S: Likewise.
27227         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27228         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27229         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27230         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27231         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27232         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27233         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27234         * sysdeps/unix/bsd/times.c: Likewise.
27235         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27236         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27240         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27241         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27242         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27243         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27244         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27245         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27246         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27247         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27248         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27249         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27250         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27251         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27252         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27253         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27254         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27255         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27256         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27257         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27258         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27259         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27260         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27261         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27262         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27263         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27264         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27265         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27266         * sysdeps/x86_64/strcspn.S: Likewise.
27268 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27270         * locale/C-translit.h: Revert #include <stdint.h> because this is a
27271         generated file.  Regenerate properly from gen-translit.pl.
27272         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
27273         locale/C-translit.h.
27275 2013-06-05  Andreas Schwab  <schwab@suse.de>
27277         [BZ #15100]
27278         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27279         week as 6 instead of -1.
27280         * time/tst-strptime.c (day_tests): Add test case.
27282 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27284         * sysdeps/generic/math_private.h
27285         (libc_feholdexcept_setround_53bit): Replace with
27286         libc_feholdsetround_53bit.
27287         (libc_feupdateenv_53bit): Replace with
27288         libc_feresetround_53bit.
27289         (SET_RESTORE_ROUND_53BIT): Adjust.
27291 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27293         * string/test-strchrnul.c: Add copyright header.
27295         * posix/tst-getaddrinfo4.c: Increase test timeout.
27297 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
27299         [BZ #15536]
27300         * math/libm-test.inc (MAX_EXP): Remove
27301         (MIN_EXP): Define.
27302         (ulp): Use MIN_EXP - MANT_DIG.
27303         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27305 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
27307         * po/be.po: Revert last change.
27308         * po/zh_CN.po: Likewise.
27309         * po/header.pot: Likewise.
27311 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
27313         * Makefile ($(common-objpfx)linkobj/libc.so): Define
27314         link-libc-deps to empty as target-specific variable.
27315         * Makerules (link-libc-args): New variable.
27316         (libc-for-link): Likewise.
27317         (link-libc-deps): Likewise.
27318         (lib%.so): Depend on $(link-libc-deps).  Link with
27319         $(link-libc-args).
27320         (build-module): Link with $(link-libc-args).
27321         (build-module-asneeded): Likewise.
27322         (build-module-helper-objlist): Filter out $(link-libc-deps) from
27323         list of objects.
27324         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27325         target-specific variable.
27326         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27327         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27328         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27329         libc.
27330         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27331         libc and ld.so.
27332         ($(objpfx)libpcprofile.so): Likewise.
27333         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27334         libc_nonshared.a.
27335         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27336         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27337         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27338         $(link-libc-deps).
27339         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27340         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27341         * login/Makefile ($(objpfx)libutil.so): Likewise.
27342         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27343         * math/Makefile ($(objpfx)libm.so): Likewise.
27344         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27345         $(objpfx)libnsl.so): Define libc-for-link as target-specific
27346         variable instead of depending directly on libc.
27347         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27348         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27349         $(link-libc-deps).
27350         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27351         libc.
27352         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27353         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27354         ($(objpfx)libanl.so): Likewise.
27355         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27356         ld.so.
27357         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27358         $(link-libc-deps).
27359         * sysdeps/i386/fpu/Makefile: Remove file.
27360         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27361         ($(objpfx)libm.so): Remove dependency on ld.so.
27363 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
27365         [BZ # 15553]
27366         * nis/yp_xdr.c (XDRMAXNAME): Define.
27367         (XDRMAXRECORD): Define.
27368         (xdr_domainname): Use XDRMAXNAME.
27369         (xdr_mapname): Likewise.
27370         (xdr_peername): Likewise.
27371         (xdr_keydat): Use XDRMAXRECORD.
27372         (xdr_valdat): Likewise.
27374 2013-05-30  Jeff Law  <law@redhat.com>
27376         [BZ #14256]
27377         * manual/errno.texi (ESTALE): Update to account for more than
27378         just NFS file systems.
27379         * sysdeps/gnu/errlist.c: Regenerated.
27381 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27383         [BZ #15465]
27384         * elf/Makefile (tests): Add tst-null-argv.
27385         (modules-names):  Add tst-null-argv-lib.
27386         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27387         (tst-null-argv-ENV): Set environment for tst-null-argv.
27388         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27389         (RTLD_PROGNAME): New macro.
27390         * elf/tst-null-argv.c: New test case.
27391         * elf/tst-null-argv-lib.c: Library for test case.
27392         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27393         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27394         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27395         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27396         * elf/dl-init.c (call_init): Likewise.
27397         (_dl_init): Likewise.
27398         * elf/dl-load.c (print_search_path): Likewise.
27399         (_dl_map_object): Likewise.
27400         * elf/dl-lookup.c (do_lookup_x): Likewise.
27401         (add_dependency): Likewise.
27402         (_dl_lookup_symbol_x): Likewise.
27403         (_dl_debug_bindings): Likewise.
27404         * elf/dl-open.c (_dl_show_scope): Likewise.
27405         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27406         * elf/dl-version.c (match_symbol): Likewise.
27407         (_dl_check_map_versions): Likewise.
27408         * elf/rtld.c (dl_main): Likewise.
27409         (print_unresolved): Use RTLD_PROGNAME.
27410         (print_missing_version): Likewise.
27411         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27412         (elf_machine_rela): Likewise.
27413         * sysdeps/powerpc/powerpc32/dl-machine.c
27414         (__process_machine_rela): Likewise.
27415         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27416         Likewise.
27417         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27418         Likewise.
27419         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27420         Likewise.
27421         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27422         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
27423         Likewise.
27424         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
27425         Likewise.
27426         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27428 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
27430         * po/be.po: Add descriptive title.
27431         * po/zh_CN.po: Likewise.
27432         * po/header.pot: Likewise.
27434 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
27436         * locale/programs/locarchive.c (create_archive): Inlucde fname in
27437         error message.
27438         (enlarge_archive): Likewise.
27440 2013-05-28  Ben North  <ben@redfrontdoor.org>
27442         * manual/arith.texi (frexp): It is the magnitude of the return
27443         value which lies in [0.5, 1), not the return value itself.
27445 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27449 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
27451         * stdio-common/bug26.c (main): Correct fscanf template.
27453         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
27454         declare _dl_skip_args.
27456         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
27457         Don't declare.
27459         * manual/platform.texi: Add missing @end deftypefun.
27461 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27463         [BZ #15529]
27464         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
27465         bit of mantissa of 2^16382.
27466         * math/libm-test.inc (hypot_test_data): Add more tests.
27468         * math/libm-test.inc: Add drem and pow10 to list of tested
27469         functions.
27470         (pow10_test): New function.
27471         (drem_test): Likewise.
27472         (drem_test_tonearest): Likewise.
27473         (drem_test_towardzero): Likewise.
27474         (drem_test_downward): Likewise.
27475         (drem_test_upward): Likewise.
27476         (main): Call the new functions.
27478         * math/libm-test.inc (finite_test_data): Remove.
27479         (finite_test): Run tests from isfinite_test_data.
27480         (gamma_test_data): Remove.
27481         (gamma_test): Run tests from lgamma_test_data.
27482         * sysdeps/i386/fpu/libm-test-ulps: Update.
27483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27485 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27487         * manual/platform.texi: Add PowerPC PPR function set documentation.
27488         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
27489         implementation.
27491 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
27493         * math/libm-test.inc (MAX_EXP): Define.
27494         (ULPDIFF): Define.
27495         (ulp): New function.
27496         (check_float_internal): Use ULPDIFF.
27497         (cpow_test): Disable failing test.
27498         (check_ulp): Test ulp() implemetnation.
27499         (main): Call check_ulp before starting tests.
27501 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
27503         * math/gen-libm-test.pl (generate_testfile): Do not handle
27504         START_DATA and END_DATA.
27505         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
27506         END_DATA.
27507         (acos_tonearest_test_data): Likewise.
27508         (acos_towardzero_test_data): Likewise.
27509         (acos_downward_test_data): Likewise.
27510         (acos_upward_test_data): Likewise.
27511         (acosh_test_data): Likewise.
27512         (asin_test_data): Likewise.
27513         (asin_tonearest_test_data): Likewise.
27514         (asin_towardzero_test_data): Likewise.
27515         (asin_downward_test_data): Likewise.
27516         (asin_upward_test_data): Likewise.
27517         (asinh_test_data): Likewise.
27518         (atan_test_data): Likewise.
27519         (atanh_test_data): Likewise.
27520         (atan2_test_data): Likewise.
27521         (cabs_test_data): Likewise.
27522         (cacos_test_data): Likewise.
27523         (cacosh_test_data): Likewise.
27524         (carg_test_data): Likewise.
27525         (casin_test_data): Likewise.
27526         (casinh_test_data): Likewise.
27527         (catan_test_data): Likewise.
27528         (catanh_test_data): Likewise.
27529         (cbrt_test_data): Likewise.
27530         (ccos_test_data): Likewise.
27531         (ccosh_test_data): Likewise.
27532         (ceil_test_data): Likewise.
27533         (cexp_test_data): Likewise.
27534         (cimag_test_data): Likewise.
27535         (clog_test_data): Likewise.
27536         (clog10_test_data): Likewise.
27537         (conj_test_data): Likewise.
27538         (copysign_test_data): Likewise.
27539         (cos_test_data): Likewise.
27540         (cos_tonearest_test_data): Likewise.
27541         (cos_towardzero_test_data): Likewise.
27542         (cos_downward_test_data): Likewise.
27543         (cos_upward_test_data): Likewise.
27544         (cosh_test_data): Likewise.
27545         (cosh_tonearest_test_data): Likewise.
27546         (cosh_towardzero_test_data): Likewise.
27547         (cosh_downward_test_data): Likewise.
27548         (cosh_upward_test_data): Likewise.
27549         (cpow_test_data): Likewise.
27550         (cproj_test_data): Likewise.
27551         (creal_test_data): Likewise.
27552         (csin_test_data): Likewise.
27553         (csinh_test_data): Likewise.
27554         (csqrt_test_data): Likewise.
27555         (ctan_test_data): Likewise.
27556         (ctan_tonearest_test_data): Likewise.
27557         (ctan_towardzero_test_data): Likewise.
27558         (ctan_downward_test_data): Likewise.
27559         (ctan_upward_test_data): Likewise.
27560         (ctanh_test_data): Likewise.
27561         (ctanh_tonearest_test_data): Likewise.
27562         (ctanh_towardzero_test_data): Likewise.
27563         (ctanh_downward_test_data): Likewise.
27564         (ctanh_upward_test_data): Likewise.
27565         (erf_test_data): Likewise.
27566         (erfc_test_data): Likewise.
27567         (exp_test_data): Likewise.
27568         (exp_tonearest_test_data): Likewise.
27569         (exp_towardzero_test_data): Likewise.
27570         (exp_downward_test_data): Likewise.
27571         (exp_upward_test_data): Likewise.
27572         (exp10_test_data): Likewise.
27573         (exp2_test_data): Likewise.
27574         (expm1_test_data): Likewise.
27575         (fabs_test_data): Likewise.
27576         (fdim_test_data): Likewise.
27577         (finite_test_data): Likewise.
27578         (floor_test_data): Likewise.
27579         (fma_test_data): Likewise.
27580         (fma_towardzero_test_data): Likewise.
27581         (fma_downward_test_data): Likewise.
27582         (fma_upward_test_data): Likewise.
27583         (fmax_test_data): Likewise.
27584         (fmin_test_data): Likewise.
27585         (fmod_test_data): Likewise.
27586         (fpclassify_test_data): Likewise.
27587         (frexp_test_data): Likewise.
27588         (gamma_test_data): Likewise.
27589         (hypot_test_data): Likewise.
27590         (ilogb_test_data): Likewise.
27591         (isfinite_test_data): Likewise.
27592         (isgreater_test_data): Likewise.
27593         (isgreaterequal_test_data): Likewise.
27594         (isinf_test_data): Likewise.
27595         (isless_test_data): Likewise.
27596         (islessequal_test_data): Likewise.
27597         (islessgreater_test_data): Likewise.
27598         (isnan_test_data): Likewise.
27599         (isnormal_test_data): Likewise.
27600         (issignaling_test_data): Likewise.
27601         (isunordered_test_data): Likewise.
27602         (j0_test_data): Likewise.
27603         (j1_test_data): Likewise.
27604         (jn_test_data): Likewise.
27605         (ldexp_test_data): Likewise.
27606         (lgamma_test_data): Likewise.
27607         (lrint_test_data): Likewise.
27608         (lrint_tonearest_test_data): Likewise.
27609         (lrint_towardzero_test_data): Likewise.
27610         (lrint_downward_test_data): Likewise.
27611         (lrint_upward_test_data): Likewise.
27612         (llrint_test_data): Likewise.
27613         (llrint_tonearest_test_data): Likewise.
27614         (llrint_towardzero_test_data): Likewise.
27615         (llrint_downward_test_data): Likewise.
27616         (llrint_upward_test_data): Likewise.
27617         (log_test_data): Likewise.
27618         (log10_test_data): Likewise.
27619         (log1p_test_data): Likewise.
27620         (log2_test_data): Likewise.
27621         (logb_test_data): Likewise.
27622         (logb_downward_test_data): Likewise.
27623         (lround_test_data): Likewise.
27624         (llround_test_data): Likewise.
27625         (modf_test_data): Likewise.
27626         (nearbyint_test_data): Likewise.
27627         (nextafter_test_data): Likewise.
27628         (nexttoward_test_data): Likewise.
27629         (pow_test_data): Likewise.
27630         (pow_tonearest_test_data): Likewise.
27631         (pow_towardzero_test_data): Likewise.
27632         (pow_downward_test_data): Likewise.
27633         (pow_upward_test_data): Likewise.
27634         (remainder_test_data): Likewise.
27635         (remainder_tonearest_test_data): Likewise.
27636         (remainder_towardzero_test_data): Likewise.
27637         (remainder_downward_test_data): Likewise.
27638         (remainder_upward_test_data): Likewise.
27639         (remquo_test_data): Likewise.
27640         (rint_test_data): Likewise.
27641         (rint_tonearest_test_data): Likewise.
27642         (rint_towardzero_test_data): Likewise.
27643         (rint_downward_test_data): Likewise.
27644         (rint_upward_test_data): Likewise.
27645         (round_test_data): Likewise.
27646         (scalb_test_data): Likewise.
27647         (scalbn_test_data): Likewise.
27648         (scalbln_test_data): Likewise.
27649         (signbit_test_data): Likewise.
27650         (sin_test_data): Likewise.
27651         (sin_tonearest_test_data): Likewise.
27652         (sin_towardzero_test_data): Likewise.
27653         (sin_downward_test_data): Likewise.
27654         (sin_upward_test_data): Likewise.
27655         (sincos_test_data): Likewise.
27656         (sinh_test_data): Likewise.
27657         (sinh_tonearest_test_data): Likewise.
27658         (sinh_towardzero_test_data): Likewise.
27659         (sinh_downward_test_data): Likewise.
27660         (sinh_upward_test_data): Likewise.
27661         (sqrt_test_data): Likewise.
27662         (tan_test_data): Likewise.
27663         (tan_tonearest_test_data): Likewise.
27664         (tan_towardzero_test_data): Likewise.
27665         (tan_downward_test_data): Likewise.
27666         (tan_upward_test_data): Likewise.
27667         (tanh_test_data): Likewise.
27668         (tgamma_test_data): Likewise.
27669         (trunc_test_data): Likewise.
27670         (y0_test_data): Likewise.
27671         (y1_test_data): Likewise.
27672         (yn_test_data): Likewise.
27673         (significand_test_data): Likewise.
27675         * math/gen-libm-test.pl (@functions): Remove variable.
27676         (generate_testfile): Don't handle START and END lines.
27677         * math/libm-test.inc (START): New macro.
27678         (END): Likewise.
27679         (END_COMPLEX): Likewise.
27680         (acos_test): Use END macro without arguments.
27681         (acos_test_tonearest): Likewise.
27682         (acos_test_towardzero): Likewise.
27683         (acos_test_downward): Likewise.
27684         (acos_test_upward): Likewise.
27685         (acosh_test): Likewise.
27686         (asin_test): Likewise.
27687         (asin_test_tonearest): Likewise.
27688         (asin_test_towardzero): Likewise.
27689         (asin_test_downward): Likewise.
27690         (asin_test_upward): Likewise.
27691         (asinh_test): Likewise.
27692         (atan_test): Likewise.
27693         (atanh_test): Likewise.
27694         (atan2_test): Likewise.
27695         (cabs_test): Likewise.
27696         (cacos_test): Use END_COMPLEX macro without arguments.
27697         (cacosh_test): Likewise.
27698         (carg_test): Use END macro without arguments.
27699         (casin_test): Use END_COMPLEX macro without arguments.
27700         (casinh_test): Likewise.
27701         (catan_test): Likewise.
27702         (catanh_test): Likewise.
27703         (cbrt_test): Use END macro without arguments.
27704         (ccos_test): Use END_COMPLEX macro without arguments.
27705         (ccosh_test): Likewise.
27706         (ceil_test): Use END macro without arguments.
27707         (cexp_test): Use END_COMPLEX macro without arguments.
27708         (cimag_test): Use END macro without arguments.
27709         (clog_test): Use END_COMPLEX macro without arguments.
27710         (clog10_test): Likewise.
27711         (conj_test): Likewise.
27712         (copysign_test): Use END macro without arguments.
27713         (cos_test): Likewise.
27714         (cos_test_tonearest): Likewise.
27715         (cos_test_towardzero): Likewise.
27716         (cos_test_downward): Likewise.
27717         (cos_test_upward): Likewise.
27718         (cosh_test): Likewise.
27719         (cosh_test_tonearest): Likewise.
27720         (cosh_test_towardzero): Likewise.
27721         (cosh_test_downward): Likewise.
27722         (cosh_test_upward): Likewise.
27723         (cpow_test): Use END_COMPLEX macro without arguments.
27724         (cproj_test): Likewise.
27725         (creal_test): Use END macro without arguments.
27726         (csin_test): Use END_COMPLEX macro without arguments.
27727         (csinh_test): Likewise.
27728         (csqrt_test): Likewise.
27729         (ctan_test): Likewise.
27730         (ctan_test_tonearest): Likewise.
27731         (ctan_test_towardzero): Likewise.
27732         (ctan_test_downward): Likewise.
27733         (ctan_test_upward): Likewise.
27734         (ctanh_test): Likewise.
27735         (ctanh_test_tonearest): Likewise.
27736         (ctanh_test_towardzero): Likewise.
27737         (ctanh_test_downward): Likewise.
27738         (ctanh_test_upward): Likewise.
27739         (erf_test): Use END macro without arguments.
27740         (erfc_test): Likewise.
27741         (exp_test): Likewise.
27742         (exp_test_tonearest): Likewise.
27743         (exp_test_towardzero): Likewise.
27744         (exp_test_downward): Likewise.
27745         (exp_test_upward): Likewise.
27746         (exp10_test): Likewise.
27747         (exp2_test): Likewise.
27748         (expm1_test): Likewise.
27749         (fabs_test): Likewise.
27750         (fdim_test): Likewise.
27751         (finite_test): Likewise.
27752         (floor_test): Likewise.
27753         (fma_test): Likewise.
27754         (fma_test_towardzero): Likewise.
27755         (fma_test_downward): Likewise.
27756         (fma_test_upward): Likewise.
27757         (fmax_test): Likewise.
27758         (fmin_test): Likewise.
27759         (fmod_test): Likewise.
27760         (fpclassify_test): Likewise.
27761         (frexp_test): Likewise.
27762         (gamma_test): Likewise.
27763         (hypot_test): Likewise.
27764         (ilogb_test): Likewise.
27765         (isfinite_test): Likewise.
27766         (isgreater_test): Likewise.
27767         (isgreaterequal_test): Likewise.
27768         (isinf_test): Likewise.
27769         (isless_test): Likewise.
27770         (islessequal_test): Likewise.
27771         (islessgreater_test): Likewise.
27772         (isnan_test): Likewise.
27773         (isnormal_test): Likewise.
27774         (issignaling_test): Likewise.
27775         (isunordered_test): Likewise.
27776         (j0_test): Likewise.
27777         (j1_test): Likewise.
27778         (jn_test): Likewise.
27779         (ldexp_test): Likewise.
27780         (lgamma_test): Likewise.
27781         (lrint_test): Likewise.
27782         (lrint_test_tonearest): Likewise.
27783         (lrint_test_towardzero): Likewise.
27784         (lrint_test_downward): Likewise.
27785         (lrint_test_upward): Likewise.
27786         (llrint_test): Likewise.
27787         (llrint_test_tonearest): Likewise.
27788         (llrint_test_towardzero): Likewise.
27789         (llrint_test_downward): Likewise.
27790         (llrint_test_upward): Likewise.
27791         (log_test): Likewise.
27792         (log10_test): Likewise.
27793         (log1p_test): Likewise.
27794         (log2_test): Likewise.
27795         (logb_test): Likewise.
27796         (logb_test_downward): Likewise.
27797         (lround_test): Likewise.
27798         (llround_test): Likewise.
27799         (modf_test): Likewise.
27800         (nearbyint_test): Likewise.
27801         (nextafter_test): Likewise.
27802         (nexttoward_test): Likewise.
27803         (pow_test): Likewise.
27804         (pow_test_tonearest): Likewise.
27805         (pow_test_towardzero): Likewise.
27806         (pow_test_downward): Likewise.
27807         (pow_test_upward): Likewise.
27808         (remainder_test): Likewise.
27809         (remainder_test_tonearest): Likewise.
27810         (remainder_test_towardzero): Likewise.
27811         (remainder_test_downward): Likewise.
27812         (remainder_test_upward): Likewise.
27813         (remquo_test): Likewise.
27814         (rint_test): Likewise.
27815         (rint_test_tonearest): Likewise.
27816         (rint_test_towardzero): Likewise.
27817         (rint_test_downward): Likewise.
27818         (rint_test_upward): Likewise.
27819         (round_test): Likewise.
27820         (scalb_test): Likewise.
27821         (scalbn_test): Likewise.
27822         (scalbln_test): Likewise.
27823         (signbit_test): Likewise.
27824         (sin_test): Likewise.
27825         (sin_test_tonearest): Likewise.
27826         (sin_test_towardzero): Likewise.
27827         (sin_test_downward): Likewise.
27828         (sin_test_upward): Likewise.
27829         (sincos_test): Likewise.
27830         (sinh_test): Likewise.
27831         (sinh_test_tonearest): Likewise.
27832         (sinh_test_towardzero): Likewise.
27833         (sinh_test_downward): Likewise.
27834         (sinh_test_upward): Likewise.
27835         (sqrt_test): Likewise.
27836         (tan_test): Likewise.
27837         (tan_test_tonearest): Likewise.
27838         (tan_test_towardzero): Likewise.
27839         (tan_test_downward): Likewise.
27840         (tan_test_upward): Likewise.
27841         (tanh_test): Likewise.
27842         (tgamma_test): Likewise.
27843         (trunc_test): Likewise.
27844         (y0_test): Likewise.
27845         (y1_test): Likewise.
27846         (yn_test): Likewise.
27847         (significand_test): Likewise.
27849 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
27851         [BZ #15381]
27852         * libio/genops.c (_IO_no_init): Initialize wide struct info.
27854 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27856         [BZ #14894]
27857         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27858         __ppc_mdoio and __ppc_mdoom.
27859         * manual/platform.texi: Document new functions __ppc_yield,
27860         __ppc_mdoio and __ppc_mdoom.
27862 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
27864         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27865         (main): Mention "tls" pseudo-hwcap is legacy.
27866         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27868 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27870         * math/gen-libm-test.pl (parse_args): Output only string of
27871         arguments as text for test name, not full call or descriptions of
27872         tests for extra outputs.
27873         (generate_testfile): Do not pass function name to parse_args.
27874         Generate this_func variable from START.
27875         * math/libm-test.inc (struct test_f_f_data): Rename test_name
27876         field to arg_str.
27877         (struct test_ff_f_data): Likewise.
27878         (test_ff_f_data_nexttoward): Likewise.
27879         (struct test_fi_f_data): Likewise.
27880         (struct test_fl_f_data): Likewise.
27881         (struct test_if_f_data): Likewise.
27882         (struct test_fff_f_data): Likewise.
27883         (struct test_c_f_data): Likewise.
27884         (struct test_f_f1_data): Likewise.  Remove field extra_name.
27885         (struct test_fF_f1_data): Likewise.
27886         (struct test_ffI_f1_data): Likewise.
27887         (struct test_c_c_data): Rename test_name field to arg_str.
27888         (struct test_cc_c_data): Likewise.
27889         (struct test_f_i_data): Likewise.
27890         (struct test_ff_i_data): Likewise.
27891         (struct test_f_l_data): Likewise.
27892         (struct test_f_L_data): Likewise.
27893         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
27894         and extra2_name.
27895         (COMMON_TEST_SETUP): New macro.
27896         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27897         (COMMON_TEST_CLEANUP): Likewise.
27898         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27899         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
27900         macros.
27901         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27902         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
27903         macros.
27904         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27905         (RUN_TEST_fff_f): Take argument string.  Call new setup and
27906         cleanup macros.
27907         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27908         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
27909         macros.
27910         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27911         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
27912         macros.
27913         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27914         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
27915         cleanup macros.
27916         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27917         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
27918         cleanup macros.
27919         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27920         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
27921         cleanup macros.
27922         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27923         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
27924         macros.
27925         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27926         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
27927         macros.
27928         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27929         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
27930         macros.
27931         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27932         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
27933         cleanup macros.
27934         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27935         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
27936         cleanup macros.
27937         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27938         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
27939         macros.
27940         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27941         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
27942         cleanup macros.
27943         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27944         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
27945         macros.
27946         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27947         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
27948         macros.
27949         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27950         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
27951         cleanup macros.
27952         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27954 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
27956         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27957         to _sifields.sigfault.
27958         (si_addr_lsb): Define new macro.
27959         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27960         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27961         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27963 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
27965         [BZ #15441]
27966         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27967         returns -1.
27968         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27969         null return -1.
27970         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27971         loading the domain.
27973 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27975         * math/gen-libm-test.pl (parse_args): Do not include expected
27976         result in test name.
27977         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27978         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27979         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27980         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27981         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27984 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27986         * benchtests/Makefile: Sort function entries.
27988         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27989         tanh, asinh, acosh, atanh.
27990         * benchtests/acos-inputs: New file.
27991         * benchtests/acosh-inputs: New file.
27992         * benchtests/asin-inputs: New file.
27993         * benchtests/asinh-inputs: New file.
27994         * benchtests/atanh-inputs: New file.
27995         * benchtests/cosh-inputs: New file.
27996         * benchtests/log-inputs: New file.
27997         * benchtests/sinh-inputs: New file.
27998         * benchtests/tanh-inputs: New file.
28000 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
28002         [BZ #15339]
28003         * posix/tst-getaddrinfo4.c: New test.
28004         * posix/Makefile (tests): Add it.
28006 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28008         [BZ #15339]
28009         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28010         when no services were used.
28011         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28012         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28014 2013-05-21  Andreas Schwab  <schwab@suse.de>
28016         [BZ #15014]
28017         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28018         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28019         successful.
28020         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28021         redundant variable declarations and reallocation of buffer when
28022         parsing as IPv6 address.  Always set NSS status when called from
28023         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
28024         buffer too small.  Correct computation of needed size.
28025         * nss/Makefile (tests): Add test-digits-dots.
28026         * nss/test-digits-dots.c: New test.
28028 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28030         * benchtests/Makefile: Remove instructions for adding
28031         benchmark tests.
28032         * benchtests/README: New file to explain how to execute and
28033         enhance the benchmark tests.
28035 2013-05-21  Andreas Schwab  <schwab@suse.de>
28037         [BZ #15493]
28038         * setjmp/Makefile (tests): Add tst-sigsetjmp.
28039         * setjmp/tst-sigsetjmp.c: New test.
28041 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28043         * sysdeps/x86_64/memset.S (memset): New implementation.
28044         (__bzero): Likewise.
28045         (__memset_tail): New function.
28047 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
28049         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28050         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28051         __memcpy_sse2_unaligned ifunc selection.
28052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28053         Add memcpy-sse2-unaligned.S.
28054         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28055         Add: __memcpy_sse2_unaligned.
28057 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
28059         [BZ #15490]
28060         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28061         math_force_eval before restoring floating-point envrionment.
28062         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28063         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28064         Likewise.
28065         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28066         <math_private.h>.
28067         (__nearbyintl): Use math_force_eval before restoring
28068         floating-point environment.
28069         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28071         * math/gen-libm-test.pl (special_functions): Remove.
28072         (parse_args): Don't handle TEST_extra.  Handle functions with no
28073         return value.
28074         * math/libm-test.inc (struct test_sincos_data): Replace with
28075         struct test_fFF_11_data.
28076         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28077         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28078         (sincos_test_data): Change element type to struct
28079         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
28080         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28081         RUN_TEST_LOOP_sincos.
28082         * math/README.libm-test: Don't mention special handling of
28083         individual functions.
28084         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28085         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28086         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28087         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28088         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28091         * math/gen-libm-test.pl (get_variable): Remove function.
28092         (parse_args): Don't show pointer parameters to call in test
28093         names.  Use "extra output N" in test names for extra outputs
28094         rather than naming variables.
28096 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
28098         [BZ #15488]
28099         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28100         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28101         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28102         double tests.
28103         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28104         disable.
28105         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28106         check_long_double.
28108         * math/gen-libm-test.pl (@tests): Remove variable.
28109         ($count): Likewise.
28110         (new_test): Remove function.
28111         (show_exceptions): New function.
28112         (special_functions): Use show_exceptions instead of new_test.
28113         (parse_args): Likewise.
28114         (generate_testfile): Pass only function name in generated call to
28115         print_max_error or print_complex_max_error.
28116         (get_ulps): Do not handle complex tests specially.
28117         (output_test): Rename to ...
28118         (get_all_ulps_for_test): ... this.  Return a string rather than
28119         printing to a file.  Require ulps to be present.
28120         (output_ulps): Generate arrays rather than #defines.
28121         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28122         (struct ulp_data): New type.
28123         (BUILD_COMPLEX_ULP): Remove macro.
28124         (compare_ulp_data): New function.
28125         (find_ulps): Likewise.
28126         (find_test_ulps): Likewise.
28127         (find_function_ulps): Likewise.
28128         (find_complex_function_ulps): Likewise.
28129         (print_max_error): Determine allowed ulps using
28130         find_function_ulps.
28131         (print_complex_max_error): Determine allowed ulps using
28132         find_complex_function_ulps.
28133         (check_float_internal): Determine max ulps using find_test_ulps.
28134         (check_float): Do not take max_ulp parameter.  Update call to
28135         check_float_internal.
28136         (check_complex): Likewise.
28137         (check_int): Do not take max_ulp parameter.
28138         (check_long): Likewise.
28139         (check_bool): Likewise.
28140         (check_longlong): Likewise.
28141         (struct test_f_f_data): Remove max_ulp field.
28142         (struct test_ff_f_data): Likewise.
28143         (struct test_ff_f_data_nexttoward): Likewise.
28144         (struct test_fi_f_data): Likewise.
28145         (struct test_fl_f_data): Likewise.
28146         (struct test_if_f_data): Likewise.
28147         (struct test_fff_f_data): Likewise.
28148         (struct test_c_f_data): Likewise.
28149         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28150         (struct test_fF_f1_data): Likewise.
28151         (struct test_ffI_f1_data): Likewise.
28152         (struct test_c_c_data): Remove max_ulp field.
28153         (struct test_cc_c_data): Likewise.
28154         (struct test_f_i_data): Likewise.
28155         (struct test_ff_i_data): Likewise.
28156         (struct test_f_l_data): Likewise.
28157         (struct test_f_L_data): Likewise.
28158         (struct test_sincos_data): Likewise.
28159         (RUN_TEST_f_f): Do not handle ulps.
28160         (RUN_TEST_LOOP_f_f): Likewise.
28161         (RUN_TEST_2_f): Likewise.
28162         (RUN_TEST_LOOP_2_f): Likewise.
28163         (RUN_TEST_fff_f): Likewise.
28164         (RUN_TEST_LOOP_fff_f): Likewise.
28165         (RUN_TEST_c_f): Likewise.
28166         (RUN_TEST_LOOP_c_f): Likewise.
28167         (RUN_TEST_f_f1): Likewise.
28168         (RUN_TEST_LOOP_f_f1): Likewise.
28169         (RUN_TEST_fF_f1): Likewise.
28170         (RUN_TEST_LOOP_fF_f1): Likewise.
28171         (RUN_TEST_fI_f1): Likewise.
28172         (RUN_TEST_LOOP_fI_f1): Likewise.
28173         (RUN_TEST_ffI_f1): Likewise.
28174         (RUN_TEST_LOOP_ffI_f1): Likewise.
28175         (RUN_TEST_c_c): Likewise.
28176         (RUN_TEST_LOOP_c_c): Likewise.
28177         (RUN_TEST_cc_c): Likewise.
28178         (RUN_TEST_LOOP_cc_c): Likewise.
28179         (RUN_TEST_f_i): Likewise.
28180         (RUN_TEST_LOOP_f_i): Likewise.
28181         (RUN_TEST_f_i_tg): Likewise.
28182         (RUN_TEST_LOOP_f_i_tg): Likewise.
28183         (RUN_TEST_ff_i_tg): Likewise.
28184         (RUN_TEST_LOOP_ff_i_tg): Likewise.
28185         (RUN_TEST_f_b): Likewise.
28186         (RUN_TEST_LOOP_f_b): Likewise.
28187         (RUN_TEST_f_b_tg): Likewise.
28188         (RUN_TEST_LOOP_f_b_tg): Likewise.
28189         (RUN_TEST_f_l): Likewise.
28190         (RUN_TEST_LOOP_f_l): Likewise.
28191         (RUN_TEST_f_L): Likewise.
28192         (RUN_TEST_LOOP_f_L): Likewise.
28193         (RUN_TEST_sincos): Likewise.
28194         (RUN_TEST_LOOP_sincos): Likewise.
28196 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
28198         [BZ #15480]
28199         [BZ #15485]
28200         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28201         main case of finite arguments, set rounding mode to FE_TONEAREST
28202         and discard exceptions.
28203         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28204         exceptions.
28205         (remainder_tonearest_test_data): New variable.
28206         (remainder_test_tonearest): New function.
28207         (remainder_towardzero_test_data): New variable.
28208         (remainder_test_towardzero): New function.
28209         (remainder_downward_test_data): New variable.
28210         (remainder_test_downward): New function.
28211         (remainder_upward_test_data): New variable.
28212         (remainder_test_upward): New function.
28213         (main): Call the new test functions.
28215         * math/libm-test.inc (struct test_f_f1_data): Remove field
28216         extra_init.
28217         (struct test_fF_f1_data): Likewise.
28218         (struct test_ffI_f1_data): Likewise.
28219         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
28220         based on value of EXTRA_EXPECTED.
28221         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28222         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
28223         EXTRA_VAR based on value of EXTRA_EXPECTED.
28224         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28225         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
28226         EXTRA_VAR based on value of EXTRA_EXPECTED.
28227         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28228         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
28229         EXTRA_VAR based on value of EXTRA_EXPECTED.
28230         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28231         * math/gen-libm-test.pl (parse_args): Don't output initializers
28232         for extra output values.
28234         * math/libm-test.inc (check_int): Expect result to be exactly
28235         equal to expected value and do not handle ulps.
28236         (check_long): Likewise.
28237         (check_longlong): Likewise.
28239         * math/libm-test.inc (ceil_test_data): Test for "inexact"
28240         exceptions.
28241         (cimag_test_data): Likewise.
28242         (conj_test_data): Likewise.
28243         (copysign_test_data): Likewise.
28244         (cproj_test_data): Likewise.
28245         (creal_test_data): Likewise.
28246         (fabs_test_data): Likewise.
28247         (fdim_test_data): Likewise.
28248         (finite_test_data): Likewise.
28249         (floor_test_data): Likewise.
28250         (fmax_test_data): Likewise.
28251         (fmin_test_data): Likewise.
28252         (fmod_test_data): Likewise.
28253         (fpclassify_test_data): Likewise.
28254         (frexp_test_data): Likewise.
28255         (ilogb_test_data): Likewise.
28256         (isfinite_test_data): Likewise.
28257         (isgreater_test_data): Likewise.
28258         (isgreaterequal_test_data): Likewise.
28259         (isinf_test_data): Likewise.
28260         (isless_test_data): Likewise.
28261         (islessequal_test_data): Likewise.
28262         (islessgreater_test_data): Likewise.
28263         (isnan_test_data): Likewise.
28264         (isnormal_test_data): Likewise.
28265         (issignaling_test_data): Likewise.
28266         (isunordered_test_data): Likewise.
28267         (ldexp_test_data): Likewise.
28268         (lrint_test_data): Likewise.
28269         (lrint_test_data) [TEST_FLOAT]: Disable one test.
28270         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28271         (lrint_tonearest_test_data): Test for "inexact" exceptions.
28272         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28273         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28274         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28275         test input.
28276         (lrint_towardzero_test_data): Test for "inexact" exceptions.
28277         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28278         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28279         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28280         that test input.
28281         (lrint_downward_test_data): Test for "inexact" exceptions.
28282         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28283         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28284         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28285         test input.
28286         (lrint_upward_test_data): Test for "inexact" exceptions.
28287         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28288         test input.
28289         (llrint_test_data): Test for "inexact" exceptions.
28290         (llrint_test_data) [TEST_FLOAT]: Disable one test.
28291         (llrint_tonearest_test_data): Test for "inexact" exceptions.
28292         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28293         (llrint_towardzero_test_data): Test for "inexact" exceptions.
28294         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28295         (llrint_downward_test_data): Test for "inexact" exceptions.
28296         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28297         (llrint_upward_test_data): Test for "inexact" exceptions.
28298         (logb_test_data): Likewise.
28299         (logb_downward_test_data): Likewise.
28300         (nextafter_test_data): Likewise.
28301         (nexttoward_test_data): Likewise.
28302         (remainder_test_data): Likewise.
28303         (remquo_test_data): Likewise.
28304         (scalbn_test_data): Likewise.
28305         (scalbln_test_data): Likewise.
28306         (signbit_test_data): Likewise.
28307         (sqrt_test_data): Likewise.
28308         (significand_test_data): Likewise.
28310 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28312         [BZ #15424]
28313         * benchtests/bench-modf.c (struct args): Mark arg0 as
28314         volatile.
28315         * scripts/bench.pl: Mark members of struct args as volatile.
28317 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28319         [BZ # 15497]
28320         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28321         negative infinity on POWER6 or lower.
28322         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28324 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
28326         [BZ #15442]
28327         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28328         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28329         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28330         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28331         (_FP_SETQNAN): New macro.
28332         (_FP_SETQNAN_SEMIRAW): Likewise.
28333         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28334         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28335         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28336         (FP_EXTEND): Use _FP_FRAC_SNANP.
28337         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28338         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28339         into account.
28340         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28341         New macro.
28342         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28343         Likewise.
28345 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28347         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28348         with DIVIDE_BY_ZERO_EXCEPTION.
28349         (gamma_test_data): Likewise.
28350         (lgamma_test_data): Likewise.
28351         (log_test_data): Likewise.
28352         (log10_test_data): Likewise.
28353         (log2_test_data): Likewise.
28354         (tgamma_test_data): Likewise.
28356         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28357         (acos_test_tonearest): Likewise.
28358         (acos_test_towardzero): Likewise.
28359         (acos_test_downward): Likewise.
28360         (acos_test_upward): Likewise.
28361         (acosh_test): Likewise.
28362         (asin_test): Likewise.
28363         (asin_test_tonearest): Likewise.
28364         (asin_test_towardzero): Likewise.
28365         (asin_test_downward): Likewise.
28366         (asin_test_upward): Likewise.
28367         (asinh_test): Likewise.
28368         (atan_test): Likewise.
28369         (atanh_test): Likewise.
28370         (atan2_test): Likewise.
28371         (cabs_test): Likewise.
28372         (cacos_test): Likewise.
28373         (cacosh_test): Likewise.
28374         (casin_test): Likewise.
28375         (casinh_test): Likewise.
28376         (catan_test): Likewise.
28377         (catanh_test): Likewise.
28378         (cbrt_test): Likewise.
28379         (ccos_test): Likewise.
28380         (ccosh_test): Likewise.
28381         (cexp_test): Likewise.
28382         (clog_test): Likewise.
28383         (clog10_test): Likewise.
28384         (cos_test): Likewise.
28385         (cos_test_tonearest): Likewise.
28386         (cos_test_towardzero): Likewise.
28387         (cos_test_downward): Likewise.
28388         (cos_test_upward): Likewise.
28389         (cosh_test): Likewise.
28390         (cosh_test_tonearest): Likewise.
28391         (cosh_test_towardzero): Likewise.
28392         (cosh_test_downward): Likewise.
28393         (cosh_test_upward): Likewise.
28394         (cpow_test): Likewise.
28395         (csin_test): Likewise.
28396         (csinh_test): Likewise.
28397         (csqrt_test): Likewise.
28398         (ctan_test): Likewise.
28399         (ctan_test_tonearest): Likewise.
28400         (ctan_test_towardzero): Likewise.
28401         (ctan_test_downward): Likewise.
28402         (ctan_test_upward): Likewise.
28403         (ctanh_test): Likewise.
28404         (ctanh_test_tonearest): Likewise.
28405         (ctanh_test_towardzero): Likewise.
28406         (ctanh_test_downward): Likewise.
28407         (ctanh_test_upward): Likewise.
28408         (erf_test): Likewise.
28409         (erfc_test): Likewise.
28410         (exp_test): Likewise.
28411         (exp_test_tonearest): Likewise.
28412         (exp_test_towardzero): Likewise.
28413         (exp_test_downward): Likewise.
28414         (exp_test_upward): Likewise.
28415         (exp10_test): Likewise.
28416         (exp2_test): Likewise.
28417         (expm1_test): Likewise.
28418         (fmod_test): Likewise.
28419         (gamma_test): Likewise.
28420         (hypot_test): Likewise.
28421         (j0_test): Likewise.
28422         (j1_test): Likewise.
28423         (jn_test): Likewise.
28424         (lgamma_test): Likewise.
28425         (log_test): Likewise.
28426         (log10_test): Likewise.
28427         (log1p_test): Likewise.
28428         (log2_test): Likewise.
28429         (logb_test_downward): Likewise.
28430         (pow_test): Likewise.
28431         (pow_test_tonearest): Likewise.
28432         (pow_test_towardzero): Likewise.
28433         (pow_test_downward): Likewise.
28434         (pow_test_upward): Likewise.
28435         (remainder_test): Likewise.
28436         (remquo_test): Likewise.
28437         (sin_test): Likewise.
28438         (sin_test_tonearest): Likewise.
28439         (sin_test_towardzero): Likewise.
28440         (sin_test_downward): Likewise.
28441         (sin_test_upward): Likewise.
28442         (sincos_test): Likewise.
28443         (sinh_test): Likewise.
28444         (sinh_test_tonearest): Likewise.
28445         (sinh_test_towardzero): Likewise.
28446         (sinh_test_downward): Likewise.
28447         (sinh_test_upward): Likewise.
28448         (sqrt_test): Likewise.
28449         (tan_test): Likewise.
28450         (tan_test_tonearest): Likewise.
28451         (tan_test_towardzero): Likewise.
28452         (tan_test_downward): Likewise.
28453         (tan_test_upward): Likewise.
28454         (tanh_test): Likewise.
28455         (tgamma_test): Likewise.
28456         (y0_test): Likewise.
28457         (y1_test): Likewise.
28458         (yn_test): Likewise.
28460         * math/gen-libm-test.pl (adjust_arg): Remove function.
28461         (special_function): Remove argument $in_func.  Only handle
28462         generating output for tables of tests, not inside functions.
28463         (parse_args): Likewise.
28464         (generate_testfile): Remove variable $in_func.  Update call to
28465         parse_args.
28466         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
28467         (MINUS_ZERO_INIT): Rename macro to minus_zero.
28468         (PLUS_INFTY_INIT): Rename macro to plus_infty.
28469         (MINUS_INFTY_INIT): Rename macro to minus_infty.
28470         (QNAN_VALUE_INIT): Rename macro to qnan_value.
28471         (MAX_VALUE_INIT): Rename macro to max_value.
28472         (MIN_VALUE_INIT): Rename macro to min_value.
28473         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
28474         (plus_zero): Remove variable.
28475         (minus_zero): Likewise.
28476         (plus_infty): Likewise.
28477         (minus_infty): Likewise.
28478         (qnan_value): Likewise.
28479         (max_value): Likewise.
28480         (min_value): Likewise.
28481         (min_subnorm_value): Likewise.
28483 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28485         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
28486         uint64_t or uint32_t usage.
28487         * crypt/sha256-block.c: Likewise.
28488         * crypt/sha256-crypt.c: Likewise.
28489         * crypt/sha256.c: Likewise.
28490         * crypt/sha512-block.c: Likewise.
28491         * crypt/sha512-crypt.c: Likewise.
28492         * crypt/sha512.c: Likewise.
28493         * debug/backtrace-tst.c: Likewise.
28494         * debug/pcprofiledump.c: Likewise.
28495         * elf/cache.c: Likewise.
28496         * elf/dl-cache.c: Likewise.
28497         * elf/dl-misc.c: Likewise.
28498         * elf/dl-profile.c: Likewise.
28499         * elf/dl-support.c: Likewise.
28500         * elf/ldconfig.c: Likewise.
28501         * elf/sprof.c: Likewise.
28502         * iconv/dummy-repertoire.c: Likewise.
28503         * iconv/iconv_charmap.c: Likewise.
28504         * iconv/skeleton.c: Likewise.
28505         * iconvdata/8bit-generic.c: Likewise.
28506         * iconvdata/cp737.h: Likewise.
28507         * iconvdata/cp775.h: Likewise.
28508         * iconvdata/ibm1008.h: Likewise.
28509         * iconvdata/ibm1025.h: Likewise.
28510         * iconvdata/ibm1046.h: Likewise.
28511         * iconvdata/ibm1097.h: Likewise.
28512         * iconvdata/ibm1112.h: Likewise.
28513         * iconvdata/ibm1122.h: Likewise.
28514         * iconvdata/ibm1123.h: Likewise.
28515         * iconvdata/ibm1124.h: Likewise.
28516         * iconvdata/ibm1129.h: Likewise.
28517         * iconvdata/ibm1130.h: Likewise.
28518         * iconvdata/ibm1132.h: Likewise.
28519         * iconvdata/ibm1133.h: Likewise.
28520         * iconvdata/ibm1137.h: Likewise.
28521         * iconvdata/ibm1140.h: Likewise.
28522         * iconvdata/ibm1141.h: Likewise.
28523         * iconvdata/ibm1142.h: Likewise.
28524         * iconvdata/ibm1143.h: Likewise.
28525         * iconvdata/ibm1144.h: Likewise.
28526         * iconvdata/ibm1145.h: Likewise.
28527         * iconvdata/ibm1146.h: Likewise.
28528         * iconvdata/ibm1147.h: Likewise.
28529         * iconvdata/ibm1148.h: Likewise.
28530         * iconvdata/ibm1149.h: Likewise.
28531         * iconvdata/ibm1153.h: Likewise.
28532         * iconvdata/ibm1154.h: Likewise.
28533         * iconvdata/ibm1155.h: Likewise.
28534         * iconvdata/ibm1156.h: Likewise.
28535         * iconvdata/ibm1157.h: Likewise.
28536         * iconvdata/ibm1158.h: Likewise.
28537         * iconvdata/ibm1160.h: Likewise.
28538         * iconvdata/ibm1161.h: Likewise.
28539         * iconvdata/ibm1162.h: Likewise.
28540         * iconvdata/ibm1163.h: Likewise.
28541         * iconvdata/ibm1164.h: Likewise.
28542         * iconvdata/ibm1166.h: Likewise.
28543         * iconvdata/ibm1167.h: Likewise.
28544         * iconvdata/ibm12712.h: Likewise.
28545         * iconvdata/ibm1390.h: Likewise.
28546         * iconvdata/ibm1399.h: Likewise.
28547         * iconvdata/ibm16804.h: Likewise.
28548         * iconvdata/ibm4517.h: Likewise.
28549         * iconvdata/ibm4899.h: Likewise.
28550         * iconvdata/ibm4909.h: Likewise.
28551         * iconvdata/ibm4971.h: Likewise.
28552         * iconvdata/ibm5347.h: Likewise.
28553         * iconvdata/ibm803.h: Likewise.
28554         * iconvdata/ibm856.h: Likewise.
28555         * iconvdata/ibm901.h: Likewise.
28556         * iconvdata/ibm902.h: Likewise.
28557         * iconvdata/ibm9030.h: Likewise.
28558         * iconvdata/ibm9066.h: Likewise.
28559         * iconvdata/ibm921.h: Likewise.
28560         * iconvdata/ibm922.h: Likewise.
28561         * iconvdata/ibm9448.h: Likewise.
28562         * iconvdata/isiri-3342.h: Likewise.
28563         * iconvdata/jis0201.h: Likewise.
28564         * include/link.h: Likewise.
28565         * include/netdb.h: Likewise.
28566         * inet/check_native.c: Likewise.
28567         * inet/check_pf.c: Likewise.
28568         * inet/getipv4sourcefilter.c: Likewise.
28569         * inet/getnameinfo.c: Likewise.
28570         * inet/getsourcefilter.c: Likewise.
28571         * inet/htonl.c: Likewise.
28572         * inet/setipv4sourcefilter.c: Likewise.
28573         * inet/setsourcefilter.c: Likewise.
28574         * inet/test-inet6_opt.c: Likewise.
28575         * inet/tst-network.c: Likewise.
28576         * locale/C-collate.c: Likewise.
28577         * locale/C-ctype.c: Likewise.
28578         * locale/C-time.c: Likewise.
28579         * locale/C-translit.h: Likewise.
28580         * locale/loadarchive.c: Likewise.
28581         * locale/programs/3level.h: Likewise.
28582         * locale/programs/charmap.c: Likewise.
28583         * locale/programs/charmap.h: Likewise.
28584         * locale/programs/ld-address.c: Likewise.
28585         * locale/programs/ld-collate.c: Likewise.
28586         * locale/programs/ld-ctype.c: Likewise.
28587         * locale/programs/ld-identification.c: Likewise.
28588         * locale/programs/ld-measurement.c: Likewise.
28589         * locale/programs/ld-messages.c: Likewise.
28590         * locale/programs/ld-monetary.c: Likewise.
28591         * locale/programs/ld-name.c: Likewise.
28592         * locale/programs/ld-numeric.c: Likewise.
28593         * locale/programs/ld-paper.c: Likewise.
28594         * locale/programs/ld-telephone.c: Likewise.
28595         * locale/programs/ld-time.c: Likewise.
28596         * locale/programs/linereader.c: Likewise.
28597         * locale/programs/locale.c: Likewise.
28598         * locale/programs/locarchive.c: Likewise.
28599         * locale/programs/locfile.h: Likewise.
28600         * locale/programs/repertoire.c: Likewise.
28601         * locale/programs/simple-hash.c: Likewise.
28602         * locale/programs/simple-hash.h: Likewise.
28603         * malloc/memusage.c: Likewise.
28604         * malloc/memusagestat.c: Likewise.
28605         * nis/nis_defaults.c: Likewise.
28606         * nis/nis_hash.c: Likewise.
28607         * nis/nis_print.c: Likewise.
28608         * nis/nis_xdr.c: Likewise.
28609         * nscd/connections.c: Likewise.
28610         * nscd/hstcache.c: Likewise.
28611         * nscd/nscd_gethst_r.c: Likewise.
28612         * nscd/nscd_getserv_r.c: Likewise.
28613         * nscd/nscd_helper.c: Likewise.
28614         * nscd/servicescache.c: Likewise.
28615         * nss/makedb.c: Likewise.
28616         * nss/nss_db/db-XXX.c: Likewise.
28617         * nss/nss_db/db-initgroups.c: Likewise.
28618         * nss/nss_db/db-netgrp.c: Likewise.
28619         * nss/nss_files/files-network.c: Likewise.
28620         * nss/nss_files/files-parse.c: Likewise.
28621         * posix/bug-regex5.c: Likewise.
28622         * posix/fnmatch_loop.c: Likewise.
28623         * posix/regcomp.c: Likewise.
28624         * posix/regexec.c: Likewise.
28625         * posix/tst-rfc3484-2.c: Likewise.
28626         * posix/tst-rfc3484-3.c: Likewise.
28627         * posix/tst-rfc3484.c: Likewise.
28628         * resolv/nss_dns/dns-canon.c: Likewise.
28629         * resolv/nss_dns/dns-network.c: Likewise.
28630         * resolv/res_init.c: Likewise.
28631         * resolv/res_mkquery.c: Likewise.
28632         * resolv/tst-aton.c: Likewise.
28633         * stdlib/cxa_atexit.c: Likewise.
28634         * stdlib/cxa_finalize.c: Likewise.
28635         * stdlib/gen-fpioconst.c: Likewise.
28636         * stdlib/strtol_l.c: Likewise.
28637         * string/tst-endian.c: Likewise.
28638         * sunrpc/auth_des.c: Likewise.
28639         * sunrpc/clnt_udp.c: Likewise.
28640         * sunrpc/rtime.c: Likewise.
28641         * sunrpc/svcauth_des.c: Likewise.
28642         * sunrpc/xdr.c: Likewise.
28643         * sunrpc/xdr_intXX_t.c: Likewise.
28644         * sunrpc/xdr_rec.c: Likewise.
28645         * sysdeps/generic/ldconfig.h: Likewise.
28646         * sysdeps/generic/ldsodefs.h: Likewise.
28647         * sysdeps/generic/memusage.h: Likewise.
28648         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
28649         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
28650         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
28651         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
28652         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28653         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28654         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
28655         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
28656         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28657         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
28658         * sysdeps/posix/getaddrinfo.c: Likewise.
28659         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28660         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28661         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28662         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28663         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28664         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28665         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28666         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28667         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28668         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28669         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28670         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28671         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28672         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28673         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28674         * sysdeps/x86_64/dl-tls.h: Likewise.
28675         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28676         * time/alt_digit.c: Likewise.
28677         * time/era.c: Likewise.
28678         * wcsmbs/tst-c16c32-1.c: Likewise.
28680 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28682         * math/libm-test.inc (struct test_sincos_data): New type.
28683         (RUN_TEST_LOOP_sincos): New macro.
28684         (sincos_test_data): New variable.
28685         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28687 2013-05-16  Richard Henderson  <rth@redhat.com>
28689         * math/atest-exp2.c (LIMB64): New macro.
28690         (CONSTSZ): New macro.
28691         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28692         (hexdig): Move ...
28693         (print_mpn_fp): ... to function scope.
28694         (read_mpn_hex): Remove.
28695         (get_log2): Remove.
28696         (exp2_mpn): Use mp_log2.
28697         (main): Use mp_exp1.
28699 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28701         * math/libm-test.inc: Remove comment about not testing "inexact"
28702         exceptions.
28703         (INEXACT_EXCEPTION): New macro.
28704         (NO_INEXACT_EXCEPTION): Likewise.
28705         (INVALID_EXCEPTION_OK): Update value.
28706         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28707         (OVERFLOW_EXCEPTION_OK): Likewise.
28708         (UNDERFLOW_EXCEPTION_OK): Likewise.
28709         (IGNORE_ZERO_INF_SIGN): Likewise.
28710         (ERRNO_UNCHANGED): Likewise.
28711         (ERRNO_EDOM): Likewise.
28712         (ERRNO_ERANGE): Likewise.
28713         (test_exceptions): Handle testing "inexact" exceptions.
28714         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28715         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28716         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28717         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28718         INEXACT_EXCEPTION.
28719         (rint_towardzero_test_data): Likewise.
28720         (rint_downward_test_data): Likewise.
28721         (rint_upward_test_data): Likewise.
28723         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28724         with OVERFLOW_EXCEPTION.
28725         (exp10_test_data): Likewise.
28726         (exp2_test_data): Likewise.
28727         (expm1_test_data): Likewise.
28728         (lgamma_test_data): Likewise.
28729         (pow_test_data): Likewise.
28730         (tgamma_test_data): Likewise.
28731         (yn_test_data): Remove duplicate test of overflow.
28733         * math/libm-test.inc (struct test_cc_c_data): New type.
28734         (RUN_TEST_LOOP_cc_c): New macro.
28735         (cpow_test_data): New variable.
28736         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28738         * math/libm-test.inc (struct test_f_L_data): New type.
28739         (RUN_TEST_LOOP_f_L): New macro.
28740         (llrint_test_data): New variable.
28741         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28742         (llrint_tonearest_test_data): New variable.
28743         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28744         (llrint_towardzero_test_data): New variable.
28745         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28746         (llrint_downward_test_data): New variable.
28747         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28748         (llrint_upward_test_data): New variable.
28749         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28750         (llround_test_data): New variable.
28751         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28753 2013-05-13  Peter Collingbourne  <pcc@google.com>
28755         * math/atest-exp2.c (get_log2): Remove const attribute.
28757 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28759         * math/libm-test.inc (struct test_f_l_data): New type.
28760         (RUN_TEST_LOOP_f_l): New macro.
28761         (lrint_test_data): New variable.
28762         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28763         (lrint_tonearest_test_data): New variable.
28764         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28765         (lrint_towardzero_test_data): New variable.
28766         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28767         (lrint_downward_test_data): New variable.
28768         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28769         (lrint_upward_test_data): New variable.
28770         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28771         (lround_test_data): New variable.
28772         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28774 2013-05-15  Peter Collingbourne  <pcc@google.com>
28776         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28777         (EXTRACT_WORDS64) Use where appropriate.
28778         (INSERT_WORDS64) Likewise.
28780         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28781         constraints with x constraints.
28782         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28784         * malloc/obstack.c (_obstack_compat): Add initializer.
28786 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28788         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28789         si_trapno and add si_addr_lsb to _sifields.sigfault.
28790         (si_trapno): Remove macro.
28791         (si_addr_lsb): Define new macro.
28792         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28794 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28796         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28797         instead of TEST_f_l.
28798         (llrint_test_tonearest): Likewise.
28799         (llrint_test_towardzero): Likewise.
28800         (llrint_test_downward): Likewise.
28801         (llrint_test_upward): Likewise.
28802         (llround_test): Likewise.
28804         * math/libm-test.inc (struct test_f_i_data): Add comment.
28805         (RUN_TEST_LOOP_f_b): New macro.
28806         (RUN_TEST_LOOP_f_b_tg): Likewise.
28807         (finite_test_data): New variable.
28808         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28809         (isfinite_test_data): New variable.
28810         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28811         (isinf_test_data): New variable.
28812         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28813         (isnan_test_data): New variable.
28814         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28815         (isnormal_test_data): New variable.
28816         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28817         (issignaling_test_data): New variable.
28818         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28819         (signbit_test_data): New variable.
28820         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28822         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28823         with INVALID_EXCEPTION.
28824         (acosh_test_data): Likewise.
28825         (asin_test_data): Likewise.
28826         (atanh_test_data): Likewise.
28827         (fmod_test_data): Likewise.
28828         (log_test_data): Likewise.
28829         (log10_test_data): Likewise.
28830         (log2_test_data): Likewise.
28831         (pow_test_data): Likewise.
28832         (sqrt_test_data): Likewise.
28833         (y0_test_data): Likewise.
28834         (y1_test_data): Likewise.
28835         (yn_test_data): Likewise.
28837         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28838         function contents.
28840         * math/libm-test.inc (struct test_ff_i_data): New type.
28841         (RUN_TEST_LOOP_ff_i_tg): New macro.
28842         (isgreater_test_data): New variable.
28843         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28844         (isgreaterequal_test_data): New variable.
28845         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28846         (isless_test_data): New variable.
28847         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28848         (islessequal_test_data): New variable.
28849         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28850         (islessgreater_test_data): New variable.
28851         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28852         (isunordered_test_data): New variable.
28853         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28855 2013-05-14  David S. Miller  <davem@davemloft.net>
28857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28859 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
28861         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28863         * math/libm-test.inc (struct test_fF_f1_data): Change type of
28864         extra_test to int.
28865         (struct test_f_i_data): Change type of max_ulp to int.
28867         * math/libm-test.inc (test_ffI_f1_data): New type.
28868         (RUN_TEST_LOOP_ffI_f1): New macro.
28869         (remquo_test_data): New variable.
28870         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28872         * setjmp/tst-setjmp-fp.c: New file.
28873         * setjmp/Makefile (tests): Add tst-setjmp-fp.
28874         (link-libm): New variable.
28875         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28877         * math/libm-test.inc (struct test_f_i_data): New type.
28878         (RUN_TEST_LOOP_f_i): New macro.
28879         (RUN_TEST_LOOP_f_i_tg): Likewise.
28880         (fpclassify_test_data): New variable.
28881         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28882         (ilogb_test_data): New variable.
28883         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28885         * math/libm-test.inc (scalbln_test): Correct function name in END
28886         call.
28888         * math/libm-test.inc (struct test_f_f1_data): Add comment.
28889         (RUN_TEST_LOOP_fI_f1): New macro.
28890         (frexp_test_data): New variable.
28891         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28893         * math/libm-test.inc (struct test_fF_f1_data): New type.
28894         (RUN_TEST_LOOP_fF_f1): New macro.
28895         (modf_test_data): New variable.
28896         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28898         * math/libm-test.inc (struct test_f_f1_data): New type.
28899         (RUN_TEST_LOOP_f_f1): New macro.
28900         (gamma_test_data): New variable.
28901         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28902         (lgamma_test_data): New variable.
28903         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28905 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
28907         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28908         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28909         (main): Comment "tls" pseudo-hwcap.
28911 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
28913         * math/libm-test.inc (struct test_fl_f_data): New type.
28914         (RUN_TEST_LOOP_fl_f): New variable.
28915         (scalbln_test_data): New variable.
28916         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28918         * math/libm-test.inc (struct test_fi_f_data): New type.
28919         (RUN_TEST_LOOP_fi_f): New macro.
28920         (ldexp_test_data): New variable.
28921         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28922         (scalbn_test_data): New variable.
28923         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28925         * math/libm-test.inc (struct test_c_f_data): New type.
28926         (RUN_TEST_LOOP_c_f): New macro.
28927         (cabs_test_data): New variable.
28928         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28929         (carg_test_data): New variable.
28930         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28931         (cimag_test_data): New variable.
28932         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28933         (creal_test_data): New variable.
28934         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28936         * math/libm-test.inc (struct test_if_f_data): New type.
28937         (RUN_TEST_LOOP_if_f): New macro.
28938         (jn_test_data): New variable.
28939         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28940         (yn_test_data): New variable.
28941         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28943         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28945 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28947         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28948         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28950 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28952         * benchtests/Makefile (CPPFLAGS-nonlib): Add
28953         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28954         (bench-deps): Add bench-timing.h.
28955         * benchtests-bench-skeleton.c: Include bench-timing.h.
28956         (main): Use TIMING_* macros instead of clock_gettime.
28957         * benchtests/bench-timing.h: New file.
28959         [BZ #14582]
28960         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28961         Renamed from _LIB_VERSION.
28962         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28964 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
28966         * math/libm-test.inc (struct test_fff_f_data): New type.
28967         (RUN_TEST_LOOP_fff_f): New macro.
28968         (fma_test_data): New variable.
28969         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28970         (fma_towardzero_test_data): New variable.
28971         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28972         (fma_downward_test_data): New variable.
28973         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28974         (fma_upward_test_data): New variable.
28975         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28977         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28978         (struct test_c_c_data): New type.
28979         (RUN_TEST_LOOP_c_c): New macro.
28980         (cacos_test_data): New variable.
28981         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28982         (cacosh_test_data): New variable.
28983         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28984         (casin_test_data): New variable.
28985         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28986         (casinh_test_data): New variable.
28987         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28988         (catan_test_data): New variable.
28989         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28990         (catanh_test_data): New variable.
28991         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28992         (ccos_test_data): New variable.
28993         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28994         (ccosh_test_data): New variable.
28995         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28996         (cexp_test_data): New variable.
28997         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28998         (clog_test_data): New variable.
28999         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29000         (clog10_test_data): New variable.
29001         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29002         (conj_test_data): New variable.
29003         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29004         (cproj_test_data): New variable.
29005         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29006         (csin_test_data): New variable.
29007         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29008         (csinh_test_data): New variable.
29009         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29010         (csqrt_test_data): New variable.
29011         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29012         (ctan_test_data): New variable.
29013         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29014         (ctan_tonearest_test_data): New variable.
29015         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29016         (ctan_towardzero_test_data): New variable.
29017         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29018         (ctan_downward_test_data): New variable.
29019         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29020         (ctan_upward_test_data): New variable.
29021         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29022         (ctanh_test_data): New variable.
29023         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29024         (ctanh_tonearest_test_data): New variable.
29025         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29026         (ctanh_towardzero_test_data): New variable.
29027         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29028         (ctanh_downward_test_data): New variable.
29029         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29030         (ctanh_upward_test_data): New variable.
29031         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29032         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29033         of BUILD_COMPLEX.
29035         * math/libm-test.inc (struct test_ff_f_data): New type.
29036         (struct test_ff_f_data_nexttoward): Likewise.
29037         (RUN_TEST_LOOP_2_f): New macro.
29038         (RUN_TEST_LOOP_ff_f): Likewise.
29039         (atan2_test_data): New variable.
29040         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29041         (copysign_test_data): New variable.
29042         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29043         (fdim_test_data): New variable.
29044         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29045         (fmax_test_data): New variable.
29046         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29047         (fmin_test_data): New variable.
29048         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29049         (fmod_test_data): New variable.
29050         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29051         (hypot_test_data): New variable.
29052         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29053         (nextafter_test_data): New variable.
29054         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29055         (nexttoward_test_data): New variable.
29056         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29057         (pow_test_data): New variable.
29058         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29059         (pow_tonearest_test_data): New variable.
29060         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29061         (pow_towardzero_test_data): New variable.
29062         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29063         (pow_downward_test_data): New variable.
29064         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29065         (pow_upward_test_data): New variable.
29066         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29067         (remainder_test_data): New variable.
29068         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29069         (scalb_test_data): New variable.
29070         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29071         * sysdeps/i386/fpu/libm-test-ulps: Update.
29073 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
29075         * math/libm-test.inc (fma_test): Use max_value instead of local
29076         variable fltmax.
29077         (nextafter_test): Likewise.
29079         * math/libm-test.inc (acos_towardzero_test_data): New variable.
29080         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29081         (acos_downward_test_data): New variable.
29082         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29083         (acos_upward_test_data): New variable.
29084         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29085         (acosh_test_data): New variable.
29086         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29087         (asin_test_data): New variable.
29088         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29089         (asin_tonearest_test_data): New variable.
29090         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29091         (asin_towardzero_test_data): New variable.
29092         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29093         (asin_downward_test_data): New variable.
29094         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29095         (asin_upward_test_data): New variable.
29096         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29097         (asinh_test_data): New variable.
29098         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29099         (atan_test_data): New variable.
29100         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29101         (atanh_test_data): New variable.
29102         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29103         (cbrt_test_data): New variable.
29104         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29105         (ceil_test_data): New variable.
29106         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29107         (cos_test_data): New variable.
29108         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29109         (cos_tonearest_test_data): New variable.
29110         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29111         (cos_towardzero_test_data): New variable.
29112         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29113         (cos_downward_test_data): New variable.
29114         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29115         (cos_upward_test_data): New variable.
29116         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29117         (cosh_test_data): New variable.
29118         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29119         (cosh_tonearest_test_data): New variable.
29120         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29121         (cosh_towardzero_test_data): New variable.
29122         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29123         (cosh_downward_test_data): New variable.
29124         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29125         (cosh_upward_test_data): New variable.
29126         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29127         (erf_test_data): New variable.
29128         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29129         (erfc_test_data): New variable.
29130         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29131         (exp_test_data): New variable.
29132         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29133         (exp_tonearest_test_data): New variable.
29134         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29135         (exp_towardzero_test_data): New variable.
29136         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29137         (exp_downward_test_data): New variable.
29138         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29139         (exp_upward_test_data): New variable.
29140         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29141         (exp10_test_data): New variable.
29142         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29143         (exp2_test_data): New variable.
29144         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29145         (expm1_test_data): New variable.
29146         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29147         (fabs_test_data): New variable.
29148         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29149         (floor_test_data): New variable.
29150         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29151         (j0_test_data): New variable.
29152         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29153         (j1_test_data): New variable.
29154         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29155         (log_test_data): New variable.
29156         (log_test): Run tests with RUN_TEST_LOOP_f_f.
29157         (log10_test_data): New variable.
29158         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29159         (log1p_test_data): New variable.
29160         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29161         (log2_test_data): New variable.
29162         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29163         (logb_test_data): New variable.
29164         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29165         (logb_downward_test_data): New variable.
29166         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29167         (nearbyint_test_data): New variable.
29168         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29169         (rint_test_data): New variable.
29170         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29171         (rint_tonearest_test_data): New variable.
29172         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29173         (rint_towardzero_test_data): New variable.
29174         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29175         (rint_downward_test_data): New variable.
29176         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29177         (rint_upward_test_data): New variable.
29178         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29179         (round_test_data): New variable.
29180         (round_test): Run tests with RUN_TEST_LOOP_f_f.
29181         (sin_test_data): New variable.
29182         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29183         (sin_tonearest_test_data): New variable.
29184         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29185         (sin_towardzero_test_data): New variable.
29186         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29187         (sin_downward_test_data): New variable.
29188         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29189         (sin_upward_test_data): New variable.
29190         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29191         (sinh_test_data): New variable.
29192         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29193         (sinh_tonearest_test_data): New variable.
29194         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29195         (sinh_towardzero_test_data): New variable.
29196         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29197         (sinh_downward_test_data): New variable.
29198         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29199         (sinh_upward_test_data): New variable.
29200         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29201         (sqrt_test_data): New variable.
29202         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29203         (tan_test_data): New variable.
29204         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29205         (tan_tonearest_test_data): New variable.
29206         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29207         (tan_towardzero_test_data): New variable.
29208         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29209         (tan_downward_test_data): New variable.
29210         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29211         (tan_upward_test_data): New variable.
29212         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29213         (tanh_test_data): New variable.
29214         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29215         (tgamma_test_data): New variable.
29216         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29217         (trunc_test_data): New variable.
29218         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29219         (y0_test_data): New variable.
29220         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29221         (y1_test_data): New variable.
29222         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29223         (significand_test_data): New variable.
29224         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29226 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
29228         [BZ #12387]
29229         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29231 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
29233         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29235 2013-05-10  Andreas Jaeger  <aj@suse.de>
29237         [BZ #15448]
29238         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29239         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29241 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29243         * math/gen-libm-test.pl (adjust_arg): New function.
29244         (special_functions): Handle generating output in both functions
29245         and arrays.
29246         (parse_args): Likewise.
29247         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
29248         $in_func argument to parse_args.
29249         * math/libm-test.inc (struct test_f_f_data): New type.
29250         (IF_ROUND_INIT_): New macro.
29251         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29252         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29253         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29254         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29255         (ROUND_RESTORE_): Likewise.
29256         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29257         (ROUND_RESTORE_FE_TONEAREST): Likewise.
29258         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29259         (ROUND_RESTORE_FE_UPWARD): Likewise.
29260         (RUN_TEST_LOOP_f_f): New macro.
29261         (acos_test_data): New variable.
29262         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29263         (acos_tonearest_test_data): New variable.
29264         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29266 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29268         * benchtests/bench-skeleton.c (startup): Fix coding style.
29270 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
29272         [BZ #6809]
29273         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29274         negative infinity argument.
29275         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29276         negative infinity argument.
29277         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29278         negative infinity argument.
29279         * math/libm-test.inc (tgamma_test): Expect errno to be set for
29280         domain errors.
29282 2013-05-10  Florian Weimer  <fweimer@redhat.com>
29284         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29285         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29286         * iconv/iconv_prog.c (main): Likewise.
29287         * locale/programs/charmap-dir.c (charmap_readdir)
29288         (fopen_uncompressed): Likewise.
29289         * locale/programs/locfile.c (siblings_uncached)
29290         (write_locale_data): Use lstat64 instead of lstat.
29291         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29292         stat.
29294 2013-05-10  Andreas Jaeger  <aj@suse.de>
29296         [BZ #15395]
29297         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29298         localization.
29299         Include <locale.h>.
29301 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
29303         * elf/dl-close.c (_dl_close_worker): Add comments.
29305 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
29307         [BZ #15359]
29308         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29309         high part of pi/2.
29310         (__ieee754_rem_pio2l): Update comments.
29312         [BZ #15429]
29313         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29314         high part of pi/2.
29315         (__ieee754_rem_pio2l): Update comments.
29317         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29318         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29320         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29321         M_PI_4l.
29323         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29324         (M_PI_34_LOG10El): Likewise.
29325         (M_PI2_LOG10El): Likewise.
29326         (M_PI4_LOG10El): Likewise.
29327         (M_PI_LOG10El): Likewise.
29329 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29331         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29333 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
29335         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29336         (MINUS_ZERO_INIT): Likewise.
29337         (PLUS_INFTY_INIT): Likewise.
29338         (MINUS_INFTY_INIT): Likewise.
29339         (QNAN_VALUE_INIT): Likewise.
29340         (MAX_VALUE_INIT): Likewise.
29341         (MIN_VALUE_INIT): Likewise.
29342         (MIN_SUBNORM_VALUE_INIT): Likewise.
29343         (plus_zero): Initialize with PLUS_ZERO_INIT.
29344         (minus_zero): Initialize with MINUS_ZERO_INIT.
29345         (plus_infty): Initialize with PLUS_INFTY_INIT.
29346         (minus_infty): Initialize with MINUS_INFTY_INIT.
29347         (qnan_value): Initialize with QNAN_VALUE_INIT.
29348         (max_value): Initialize with MAX_VALUE_INIT.
29349         (min_value): Initialize with MIN_VALUE_INIT.
29350         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29352         * math/libm-test.inc (RUN_TEST_if_f): New macro.
29353         (jn_test): Use TEST_if_f instead of TEST_ff_f.
29354         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29355         (yn_test): Use TEST_if_f instead of TEST_ff_f.
29357         * math/libm-test.inc (RUN_TEST_f_f): New macro.
29358         (RUN_TEST_2_f): Likewise.
29359         (RUN_TEST_ff_f): Likewise.
29360         (RUN_TEST_fi_f): Likewise.
29361         (RUN_TEST_fl_f): Likewise.
29362         (RUN_TEST_fff_f): Likewise.
29363         (RUN_TEST_c_f): Likewise.
29364         (RUN_TEST_f_f1): Likewise.
29365         (RUN_TEST_fF_f1): Likewise.
29366         (RUN_TEST_fI_f1): Likewise.
29367         (RUN_TEST_ffI_f1): Likewise.
29368         (RUN_TEST_c_c): Likewise.
29369         (RUN_TEST_cc_c): Likewise.
29370         (RUN_TEST_f_i): Likewise.
29371         (RUN_TEST_f_i_tg): Likewise.
29372         (RUN_TEST_ff_i_tg): Likewise.
29373         (RUN_TEST_f_b): Likewise.
29374         (RUN_TEST_f_b_tg): Likewise.
29375         (RUN_TEST_f_l): Likewise.
29376         (RUN_TEST_f_L): Likewise.
29377         (RUN_TEST_sincos): Likewise.
29378         * math/gen-libm-test.pl (new_test): Take new argument to indicate
29379         whether to show exceptions.  Do not include ");\n" in return
29380         value.
29381         (special_functions): Output call to RUN_TEST_sincos instead of
29382         check_float calls.  Update calls to new_test.
29383         (parse_args): Output call to single RUN_TEST_* macro instead of
29384         check_* calls and other assignments.  Update calls to new_test.
29386         [BZ #2546]
29387         [BZ #2560]
29388         [BZ #5159]
29389         [BZ #15426]
29390         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29391         input to result for tgamma overflow.
29392         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29393         (gamma_coeff): New variable.
29394         (NCOEFF): New macro.
29395         (gamma_positive): New function.
29396         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29397         underflow here.  Use gamma_positive instead of exp (lgamma) for
29398         other arguments.
29399         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29400         (gamma_coeff): New variable.
29401         (NCOEFF): New macro.
29402         (gammaf_positive): New function.
29403         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29404         underflow here.  Use gamma_positive instead of exp (lgamma) for
29405         other arguments.
29406         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29407         (gamma_coeff): New variable.
29408         (NCOEFF): New macro.
29409         (gammal_positive): New function.
29410         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29411         underflow here.  Use gamma_positive instead of exp (lgamma) for
29412         other arguments.
29413         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29414         (gamma_coeff): New variable.
29415         (NCOEFF): New macro.
29416         (gammal_positive): New function.
29417         (__ieee754_gammal_r): Handle positive infinity, overflow and
29418         underflow here.  Handle NaN the same as positive infinity.  Remove
29419         check x < 0xffffffff for negative integers.  Use gamma_positive
29420         instead of exp (lgamma) for other arguments.
29421         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
29422         (gamma_coeff): New variable.
29423         (NCOEFF): New macro.
29424         (gammal_positive): New function.
29425         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
29426         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
29427         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
29428         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
29429         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
29430         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
29431         * sysdeps/generic/math_private.h (__gamma_productf): New
29432         prototype.
29433         (__gamma_product): Likewise.
29434         (__gamma_productl): Likewise.
29435         * math/Makefile (libm-calls): Add gamma_product.
29436         * math/libm-test.inc (tgamma_test): Add more tests.
29437         * sysdeps/i386/fpu/libm-test-ulps: Update.
29438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29440 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
29442         * benchtests/bench-skeleton.c (main): Preheat CPU.
29444 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
29446         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
29448 2013-05-07  Roland McGrath  <roland@hack.frob.com>
29450         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
29451         and _dl_skip_args_internal.
29453 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
29455         * manual/message.texi (Message Translation): Talk about users.
29456         Message to key mapping impacts design.
29458 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29460         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
29462         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
29464         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
29465         * sysdeps/wordsize-64/glob64.c: ... here.
29467         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
29468         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
29469         New macros.
29471         * debug/getlogin_r_chk.c: Moved to ...
29472         * login/getlogin_r_chk.c: ... here.
29473         * debug/Makefile (routines): Move getlogin_r_chk to ...
29474         * login/Makefile (routines): ... here.
29475         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
29476         * login/Versions (libc: GLIBC_2.4): ... here.
29478         * io/poll.c (__poll): Renamed from poll.
29479         Add libc_hidden_def.
29480         (poll): Define as weak alias.
29482         * debug/ptsname_r_chk.c: Moved to ...
29483         * login/ptsname_r_chk.c: ... here.
29484         * debug/Makefile (routines): Move ptsname_r_chk to ...
29485         * login/Makefile (routines): ... here.
29486         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
29487         * login/Versions (libc: GLIBC_2.4): ... here.
29489         * posix/getlogin.c: Moved to ...
29490         * login/getlogin.c: ... here.
29491         * posix/getlogin_r.c: Moved to ...
29492         * login/getlogin_r.c: ... here.
29493         * posix/getlogin_r.c: Moved to ...
29494         * login/getlogin_r.c: ... here.
29495         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
29496         * login/Makefile (routines): ... here.
29497         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
29498         * login/Versions (libc: GLIBC_2.0): ... here.
29500         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
29501         (setrlimit): Define as weak alias.
29503         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
29504         Call __ names for open, ftruncate, and close.
29505         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
29506         (truncate): Define as weak alias.
29508 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
29510         * math/gen-libm-test.pl (parse_args): Initialize x before each
29511         test of frexp, modf and remquo.
29513         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
29514         test signgam value.
29516 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29518         [BZ #15418]
29519         [BZ #15419]
29520         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
29521         internal tests.
29522         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29524 2013-05-06  Roland McGrath  <roland@hack.frob.com>
29526         * elf/dl-writev.h: New file.
29527         * elf/dl-misc.c: Include it.
29528         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
29529         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
29531 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
29533         * math/libm-test.inc (noXFails): Remove variable.
29534         (noXPasses): Likewise.
29535         (BUILD_COMPLEX_INT): Remove macro.
29536         (print_screen): Remove xfail argument.
29537         (print_screen_max_error): Likewise.
29538         (update_stats): Likewise.
29539         (print_max_error): Likewise.  Update calls to other affected
29540         functions.
29541         (print_complex_max_error): Likewise.
29542         (test_single_exception): Update calls to print_screen.
29543         (test_single_errno): Likewise.
29544         (check_float_internal): Remove xfail argument.  Update calls to
29545         other affected functions.
29546         (check_float): Likewise.
29547         (check_complex): Likewise.
29548         (check_int): Likewise.
29549         (check_long): Likewise.
29550         (check_bool): Likewise.
29551         (check_longlong): Likewise.
29552         (main): Don't print noXFails and noXPasses.
29553         * math/gen-libm-test.pl (top level): Don't mention expected
29554         failure handling in comment.
29555         (new_test): Don't handle expected failures.
29556         (parse_args): Don't mention expected failure handling in comment.
29557         (generate_testfile): Don't handle expected failures.
29558         (parse_ulps): Likewise.
29559         (print_ulps_file): Likewise.
29560         (get_failure): Remove function.
29561         (output_test): Don't handle expected failures.
29562         * make/README.libm-test: Don't mention expected failure handling.
29564         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
29565         (minus_zero): Likewise.
29566         (plus_infty): Likewise.
29567         (minus_infty): Likewise.
29568         (qnan_value): Likewise.
29569         (max_value): Likewise.
29570         (min_value): Likewise.
29571         (min_subnorm_value): Likewise.
29572         (initialize): Do not initialize those variables dynamically.
29574 2013-05-03  Roland McGrath  <roland@hack.frob.com>
29576         * io/open.c (__open_2): Moved to ...
29577         * io/open_2.c: ... this new file.
29578         * io/open64.c (__open64_2): Moved to ...
29579         * io/open64_2.c: ... this new file.
29580         * io/openat.c (__openat_2): Moved to ...
29581         * io/openat_2.c: ... this new file.
29582         * io/openat64.c (__openat64_2): Moved to ...
29583         * io/openat64_2.c: ... this new file.
29584         * io/Makefile (routines): Add them.
29585         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
29586         * sysdeps/unix/sysv/linux/open_2.c: File removed.
29587         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
29588         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
29589         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
29590         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
29591         (__openat64): Add hidden_ver.
29592         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
29593         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
29595         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
29596         Separately conditionalize setting of GLRO(dl_sysinfo) so
29597         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
29598         as well, but the actual setting is only under [NEED_DL_SYSINFO].
29600 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29602         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
29603         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
29604         definition.
29605         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
29606         * sysdeps/unix/sysv/linux/powerpc/init-first.c
29607         (_libc_vdso_platform_setup): Add __vdso_time initialization.
29608         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
29609         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
29611 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
29613         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
29614         test signgam value.
29616         * math/libm-test.inc (hypot_test): Do not use
29617         IGNORE_ZERO_INF_SIGN.
29619 2013-05-03  Andreas Jaeger  <aj@suse.de>
29621         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
29622         Linux 3.9.
29623         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
29624         (PF_MAX): Adjust for VSOCK change.
29626 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29630 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
29632         [BZ #15264]
29633         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
29634         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
29635         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
29637 2013-05-02  David S. Miller  <davem@davemloft.net>
29639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29641 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
29643         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
29645 2013-05-01  Roland McGrath  <roland@hack.frob.com>
29647         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
29649 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
29651         [BZ #14952]
29652         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
29653         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29654         Use __attribute__ ((__gnu_inline__)).
29655         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
29656         Don't use __attribute__ ((__gnu_inline__)).
29658 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29660         [BZ #15423]
29661         * math/s_catan.c (__catan): Handle small real or imaginary part of
29662         input specially to avoid spurious underflow.
29663         * math/s_catanf.c (__catanf): Likewise.
29664         * math/s_catanh.c (__catanh): Likewise.
29665         * math/s_catanhf.c (__catanhf): Likewise.
29666         * math/s_catanhl.c (__catanhl): Likewise.
29667         * math/s_catanl.c (__catanl): Likewise.
29668         * math/libm-test.inc (catan_test): Add more tests.
29669         (catanh_test): Likewise.
29670         * sysdeps/i386/fpu/libm-test-ulps: Update.
29671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29673 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29677 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29679         [BZ #15416]
29680         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29681         accurately for denominator in atan2.
29682         * math/s_catanf.c (__catanf): Likewise.
29683         * math/s_catanh.c (__catanh): Likewise.
29684         * math/s_catanhf.c (__catanhf): Likewise.
29685         * math/s_catanhl.c (__catanhl): Likewise.
29686         * math/s_catanl.c (__catanl): Likewise.
29687         * math/libm-test.inc (catan_test): Add more tests.
29688         (catanh_test): Likewise.
29689         * sysdeps/i386/fpu/libm-test-ulps: Update.
29690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29692 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29694         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29696         * benchtests/Makefile (bench): Remove slow benchmarks.
29697         * benchtests/atan-inputs: Add slow benchmark inputs.
29698         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29699         (BENCH_FUNC): Accept variant offset.
29700         (VARIANT): Define.
29701         * benchtests/bench-skeleton.c (main): Run benchmark for each
29702         variant.
29703         * benchtests/cos-inputs: Add slow benchmark inputs.
29704         * benchtests/exp-inputs: Likewise.
29705         * benchtests/pow-inputs: Likewise.
29706         * benchtests/sin-inputs: Likewise.
29707         * benchtests/slowatan-inputs: Remove.
29708         * benchtests/slowatan.c: Remove.
29709         * benchtests/slowcos-inputs: Remove.
29710         * benchtests/slowcos.c: Remove.
29711         * benchtests/slowexp-inputs: Remove.
29712         * benchtests/slowexp.c: Remove.
29713         * benchtests/slowpow-inputs: Remove.
29714         * benchtests/slowpow.c: Remove.
29715         * benchtests/slowsin-inputs: Remove.
29716         * benchtests/slowsin.c: Remove.
29717         * benchtests/slowtan-inputs: Remove.
29718         * benchtests/slowtan.c: Remove.
29719         * benchtests/tan-inputs: Add slow benchmark inputs.
29720         * scripts/bench.pl: Parse comments and directives.
29722         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29723         in CPPFLAGS.
29724         ($(objpfx)bench-%.c): Remove *-ITER.
29725         * benchtests/bench-modf.c: Remove definition of ITER.
29726         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29727         (main): Loop for DURATION seconds instead of fixed number of
29728         iterations.
29729         * scripts/bench.pl: Don't expect iterations in parameters.
29731 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29733         * io/fchdir.c (__fchdir): Renamed from fchdir.
29734         (fchdir): Define as weak alias.
29736 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29738         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29739         (ERRNO_EDOM): Likewise.
29740         (ERRNO_ERANGE): Likewise.
29741         (noErrnoTests): New variable.
29742         (init_max_error): Set errno to 0.
29743         (test_single_errno): New function.
29744         (test_errno): Likewise.
29745         (check_float_internal): Call test_errno.  Set errno to 0.
29746         (check_complex): Refer to errno tests in comment.
29747         (check_int): Call test_errno.  Set errno to 0.
29748         (check_long): Likewise.
29749         (check_bool): Likewise.
29750         (check_longlong): Likewise.
29751         (cos_test): Use ERRNO_* flags for errno tests instead of
29752         check_int.
29753         (expm1_test): Likewise.
29754         (fmod_test): Likewise.
29755         (ilogb_test): Likewise.
29756         (lgamma_test): Likewise.
29757         (pow_test): Likewise.
29758         (remainder_test): Likewise.
29759         (sin_test): Likewise.
29760         (tan_test): Likewise.
29761         (yn_test): Likewise.
29762         (initialize): Set errno to 0.
29763         (main): Print number of errno tests.
29764         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29766 2013-04-29  Andreas Jaeger  <aj@suse.de>
29768         [BZ #15084]
29769         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29770         and RES_USEVC.
29772         [BZ #15085]
29773         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29774         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29775         unimplemented.
29777         [BZ #15380]
29778         * stdlib/random.c (__initstate): Return NULL if
29779         __initstate fails.
29781         [BZ #15086]
29782         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29783         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29784         RES_SNGLKUPREOP.
29786 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29790 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29792         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29793         of individual tests.
29794         (casin_test): Likewise.
29795         (casinh_test): Likewise.
29797 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29799         [BZ #15409]
29800         * math/s_catan.c (__catan): Handle arguments with large real or
29801         imaginary part separately without squaring.
29802         * math/s_catanf.c (__catanf): Likewise.
29803         * math/s_catanh.c (__catanh): Likewise.
29804         * math/s_catanhf.c (__catanhf): Likewise.
29805         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29806         and redefine.
29807         (__catanhl): Handle arguments with large real or imaginary part
29808         separately without squaring.
29809         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29810         and redefine.
29811         (__catanl): Handle arguments with large real or imaginary part
29812         separately without squaring.
29813         * math/libm-test.inc (catan_test): Add more tests.
29814         (catanh_test): Likewise.
29815         * sysdeps/i386/fpu/libm-test-ulps: Update.
29816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29818 2013-04-27  Andreas Jaeger  <aj@suse.de>
29820         [BZ #15007]
29821         * stdlib/stdlib.h: Update guards for qecvt.
29822         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29823         <stdlib.h>.
29825 2013-04-27  Allan McRae  <allan@archlinux.org>
29827         * sysdeps/i386/fpu/libm-test-ulps: Update.
29829 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
29831         [BZ #15406]
29832         * math/s_catan.c: Include <float.h>.
29833         (__catan): Ensure underflow exception occurs for underflowed
29834         result.
29835         * math/s_catanf.c: Include <float.h>.
29836         (__catanf): Ensure underflow exception occurs for underflowed
29837         result.
29838         * math/s_catanh.c: Include <float.h>.
29839         (__catanh): Ensure underflow exception occurs for underflowed
29840         result.
29841         * math/s_catanhf.c: Include <float.h>.
29842         (__catanhf): Ensure underflow exception occurs for underflowed
29843         result.
29844         * math/s_catanhl.c: Include <float.h>.
29845         (__catanhl): Ensure underflow exception occurs for underflowed
29846         result.
29847         * math/s_catanl.c: Include <float.h>.
29848         (__catanl): Ensure underflow exception occurs for underflowed
29849         result.
29850         * math/libm-test.inc (catan_test): Add more tests.
29851         (catanh_test): Likewise.
29853         [BZ #15405]
29854         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29855         underflowed result.
29856         * math/s_ccoshf.c (__ccoshf): Likewise.
29857         * math/s_ccoshl.c (__ccoshl): Likewise.
29858         * math/s_csin.c (__csin): Likewise.
29859         * math/s_csinf.c (__csinf): Likewise.
29860         * math/s_csinh.c (__csinh): Likewise.
29861         * math/s_csinhf.c (__csinhf): Likewise.
29862         * math/s_csinhl.c (__csinhl): Likewise.
29863         * math/s_csinl.c (__csinl): Likewise.
29864         * math/libm-test.inc (ccos_test): Add more tests.
29865         (ccosh_test): Likewise.
29866         (csin_test): Likewise.
29867         (csinh_test): Likewise.
29869 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29871         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29872         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29873         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29874         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29875         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29876         powerpc/power5+/fpu folders.
29877         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29880 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29882         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29884 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
29886         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29887         additions to variable.
29888         [$(config-machine) = x86_64] (modules-names): Likewise.
29889         ($(objpfx)tst-audit3): Remove dependency.
29890         ($(objpfx)tst-audit3.out): Likewise.
29891         ($(objpfx)tst-audit4): Likewise.
29892         ($(objpfx)tst-audit4.out): Likewise.
29893         ($(objpfx)tst-audit5): Likewise.
29894         ($(objpfx)tst-audit5.out): Likewise.
29895         ($(objpfx)tst-audit6): Likewise.
29896         ($(objpfx)tst-audit6.out): Likewise.
29897         ($(objpfx)tst-audit7): Likewise.
29898         ($(objpfx)tst-audit7.out): Likewise.
29899         (tst-audit3-ENV): Remove variable.
29900         (tst-audit4-ENV): Likewise.
29901         (tst-audit5-ENV): Likewise.
29902         (tst-audit6-ENV): Likewise.
29903         (tst-audit7-ENV): Likewise.
29904         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29905         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29906         addition to variable.
29907         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29908         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29909         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29910         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29911         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29912         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29913         tst-audit3, tst-audit4 and tst-audit5.
29914         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29915         tst-audit6 and tst-audit7.
29916         [$(subdir) = elf] (modules-names): Add audit modules for those
29917         tests.
29918         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29919         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29920         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29921         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29922         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29923         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29924         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29925         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29926         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29927         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29928         [$(subdir) = elf] (tst-audit3-ENV): New variable.
29929         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29930         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29931         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29932         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29933         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29934         Likewise.
29935         [$(subdir) = elf && $(config-cflags-avx) = yes]
29936         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29937         [$(subdir) = elf && $(config-cflags-avx) = yes]
29938         (CFLAGS-tst-auditmod4a.c): Likewise.
29939         [$(subdir) = elf && $(config-cflags-avx) = yes]
29940         (CFLAGS-tst-auditmod4b.c): Likewise.
29941         [$(subdir) = elf && $(config-cflags-avx) = yes]
29942         (CFLAGS-tst-auditmod6b.c): Likewise.
29943         [$(subdir) = elf && $(config-cflags-avx) = yes]
29944         (CFLAGS-tst-auditmod6c.c): Likewise.
29945         [$(subdir) = elf && $(config-cflags-avx) = yes]
29946         (CFLAGS-tst-auditmod7b.c): Likewise.
29947         * elf/tst-audit3.c: Move to ...
29948         * sysdeps/x86_64/tst-audit3.c: ... here.
29949         * elf/tst-audit4.c: Move to ...
29950         * sysdeps/x86_64/tst-audit4.c: ... here.
29951         * elf/tst-audit5.c: Move to ...
29952         * sysdeps/x86_64/tst-audit5.c: ... here.
29953         * elf/tst-audit6.c: Move to ...
29954         * sysdeps/x86_64/tst-audit6.c: ... here.
29955         * elf/tst-audit7.c: Move to ...
29956         * sysdeps/x86_64/tst-audit7.c: ... here.
29957         * elf/tst-auditmod3a.c: Move to ...
29958         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29959         * elf/tst-auditmod3b.c: Move to ...
29960         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29961         * elf/tst-auditmod4a.c: Move to ...
29962         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29963         * elf/tst-auditmod4b.c: Move to ...
29964         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29965         * elf/tst-auditmod5a.c: Move to ...
29966         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29967         * elf/tst-auditmod5b.c: Move to ...
29968         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29969         * elf/tst-auditmod6a.c: Move to ...
29970         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29971         * elf/tst-auditmod6b.c: Move to ...
29972         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29973         * elf/tst-auditmod6c.c: Move to ...
29974         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29975         * elf/tst-auditmod7a.c: Move to ...
29976         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29977         * elf/tst-auditmod7b.c: Move to ...
29978         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29980 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
29982         [BZ #15366]
29983         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29984         define unconditionally.
29985         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29986         define unconditionally.
29987         (INT8_C, INT16_C, etc.): Likewise.
29989 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
29991         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29992         __ehdr_start with hidden visibility.
29994         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29996 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
29998         * math/libm-test.inc (cos_test): Use accurate hex constants.
29999         (sincost_test): Likewise.
30001 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
30003         * math/libm-test.inc (catan_test): Add more tests.
30004         (catanh_test): Likewise.
30006         * math/s_catanf.c (__catanf): Use suffixed floating-point
30007         constants.
30008         * math/s_catanhf.c (__catanhf): Likewise.
30009         * math/s_catanhl.c (__catanhl): Likewise.
30010         * math/s_catanl.c (__catanl): Likewise.
30012         [BZ #15394]
30013         * math/s_catan.c (__catan): Calculate imaginary part of result
30014         with log1p not log unless computing log of number close to 0.
30015         * math/s_catanf.c (__catanf): Likewise.
30016         * math/s_catanl.c (__catanl): Likewise.
30017         * math/s_catanh.c (__catanh): Calculate real part of result with
30018         log1p not log unless computing log of number close to 0.
30019         * math/s_catanhf.c (__catanhf): Likewise.
30020         * math/s_catanhl.c (__catanhl): Likewise.
30021         * math/libm-test.inc (catan_test): Add more tests.
30022         (catanh_test): Likewise.
30023         * sysdeps/i386/fpu/libm-test-ulps: Update.
30024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30026 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30028         * benchtests/Makefile: Mention files in which fast and slow
30029         paths of math functions are implemented.
30031 2013-04-23  Roland McGrath  <roland@hack.frob.com>
30033         * sysdeps/posix/timespec_get.c: New file.
30035 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30037         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30038         POWER.
30039         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30040         for POWER.
30041         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30042         powerpc/power5/fpu folders.
30043         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30044         * benchtests/Makefile: Add modf testcase.
30045         * benchtests/bench-modf.c: New file: Benchmark test for mo
30047 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30049         [BZ #14888]
30050         * time/Makefile (tests): Add tst-strptime-whitespace.
30051         * time/strptime_l.c (get_number): Use ISSPACE.
30052         (__strptime_internal): Likewise.
30053         * time/tst-strptime-whitespace.c: New test case.
30055 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
30057         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30058         member.
30059         (_nss_files_init): Set it here.
30061 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
30063         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30064         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30065         unsigned.
30067 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
30069         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30071 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30073         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30074         size just once.
30076 2013-04-21  David S. Miller  <davem@davemloft.net>
30078         * po/ru.po: Update Russion translation from translation project.
30080 2013-04-17  Adam Conrad  <adconrad@0c3.net>
30082         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30083         and setfsgid.
30085 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
30087         * configure.in: Remove i386 configure warning. Remove i386 case.
30088         * configure: Regenerate.
30089         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
30090         Add example to error message.
30091         * sysdeps/i386/configure: Regenerate.
30093 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30095         * benchtests/Makefile (bench): Add cos, tan, slowcos and
30096         slowtan.
30097         * benchtests/cos-inputs: New file.
30098         * benchtests/slowcos-inputs: New file.
30099         * benchtests/slowcos.c: New file.
30100         * benchtests/slowtan-inputs: New file.
30101         * benchtests/slowtan.c: New file.
30102         * benchtests/tan-inputs: New file.
30104 2013-04-16  Roland McGrath  <roland@hack.frob.com>
30106         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30107         considered kosher.
30109 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30111         * benchtests/Makefile: Include cppflags-iterator.mk to add
30112         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30114         * Makefile.in (bench-clean): New target.
30115         * benchtests/Makefile (bench-clean): Likewise.
30117 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
30119         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30121 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
30123         * stdio-common/tstdiomisc.c: Fix coding-style violation.
30125 2013-04-15  Andreas Schwab  <schwab@suse.de>
30127         * nscd/grpcache.c (cache_addgr): Properly check for short write.
30128         * nscd/initgrcache.c (addinitgroupsX): Likewise.
30129         * nscd/pwdcache.c (cache_addpw): Likewise.
30130         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
30131         more than recsize.
30133 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30135         * benchtests/Makefile (bench): Write all output to
30136         bench-out.tmp together.
30138 2013-04-15  Andreas Schwab  <schwab@suse.de>
30140         * nscd/nscd.c (main): Don't fork again after closing files.
30142 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30144         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30146         * benchtests/Rules (bench-deps): Collect dependencies into a
30147         single variable.  Add Makefile to dependencies.
30148         ($(objpfx)bench-%.c): Depend on bench-deps.
30150 2013-04-12  Roland McGrath  <roland@hack.frob.com>
30151             Xavier Roche  <roche+kml2@exalead.com>
30153         [BZ #15361]
30154         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30155         just that it's a file descriptor.
30156         * manual/llio.texi (Synchronizing AIO Operations): Update description
30157         for EBADF error from aio_fsync.
30159 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
30161         * Rules (bench): Move target definition...
30162         * benchtests/Makefile: ... here.
30164 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
30166         * math/libm-test.inc (cos_test): Fix PI/2 test.
30167         (sincos_test): Likewise.
30168         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30169         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30171 2013-04-11  Andreas Schwab  <schwab@suse.de>
30173         [BZ #13988]
30174         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30175         accept exponent character only when digits were seen.
30176         * stdio-common/Makefile (tests): Add bug26.
30177         * stdio-common/bug26.c: New file.
30179         [BZ #14293]
30180         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30181         non-freeable.
30183 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30185         * Makeconfig (rtld-prefix): Define built linker prefix.
30186         * Rules (run-bench): Use it.
30187         * math/Makefile (run-regen-ulps): Likewise.
30189         * Rules (bench): Remove eval.
30191 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30192             Roland McGrath  <roland@hack.frob.com>
30193             Ondrej Bilka  <neleai@seznam.cz>
30195         [BZ #15346]
30196         * time/getdate.c: Include ctype.h and alloca.h.
30197         (__getdate_r): Trim leading and trailing spaces of input.
30198         * time/tst-getdate.c (tests): Add tests with leading and
30199         trailing spaces.
30201 2013-04-08  Roland McGrath  <roland@hack.frob.com>
30203         [BZ #14280]
30204         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30205         when computing value.
30207 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30209         * math/README.libm-test (How can I generate "libm-test-ulps"?):
30210         Use testrun.sh to run libm tests.
30212         [BZ #15309]
30213         * elf/dl-open.c (dl_open_worker): memset all of seen array.
30215 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
30217         [BZ #15264]
30218         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30220 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30222         * Makefile.in (regen-ulps): New target.
30223         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30224         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30225         [ifneq (no,$(PERL)] (regen-ulps): New target.
30226         [ifeq (no,$(PERL)] (regen-ulps): New target.
30227         * math/libm-test.inc (ulps_file_name): Define.
30228         (output_dir): New variable.
30229         (options): Add "output-dir" option.
30230         (parse_opt): Handle 'o' case.
30231         (main): If output_dir is non-NULL use it as a prefix
30232         otherwise use "".
30233         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30235 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30237         [BZ #10060, #10062]
30238         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30239         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30240         fail configure if __sync_val_compare_and_swap is not inlined.
30241         * sysdeps/i386/configure: Regenerate.
30242         * configure.in: Build for i686 when configured for i386.
30243         * configure: Regenerate.
30244         * README: Remove i386 reference.
30246 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
30248         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30249         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30251 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30253         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30254         (lmsnanval): New variables.
30255         (F): Add conversion tests.
30256         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30257         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30259         * stdio-common/tstdiomisc.c (F): Properly collect individual
30260         tests' results.
30262         [BZ #14686, #15336]
30263         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30264         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30265         Instead, use input NaN values or generate a qNaN by arithmetic
30266         operation.  Also fix bugs to comply with the standard.
30267         * math/libm-test.inc (remainder_test): Add more tests.
30269         [BZ #15335, #15342]
30270         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30271         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30272         input NaN values or generate a qNaN by arithmetic operation.
30274         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30275         unreachable code.
30277         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30278         definitions.
30280 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
30282         [BZ #14478]
30283         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30284         underflowed result.
30285         * math/s_cexpf.c (__cexpf): Likewise.
30286         * math/s_cexpl.c (__cexpl): Likewise.
30287         * math/libm-test.inc (cexp_test): Add more tests.
30289 2013-04-03  Andreas Schwab  <schwab@suse.de>
30291         [BZ #15330]
30292         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30293         order arrays from heap if bigger than alloca cutoff.
30295 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
30297         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30298         (SNAN_TESTS_double): Refer to GCC PR56831.
30299         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30300         GCC PR56828.
30302 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30304         * Rules (bench): Move bench.out after the run is complete.
30306         * Rules (bench): Echo currently running benchmark.
30308         * benchtests/Makefile (bench): Add atan and slowatan.
30309         * benchtests/atan-inputs: New file.
30310         * benchtests/slowatan-inputs: New file.
30311         * benchtests/slowatan.c: New file.
30313         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30314         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30315         its value.
30317         [BZ #15305]
30318         * sysdeps/unix/sysv/linux/kernel-features.h
30319         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30320         __ASSUME_XFS_RESTRICTED_CHOWN.
30321         * sysdeps/unix/sysv/linux/pathconf.c
30322         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30323         Save and restore errno.
30325 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
30327         [BZ #15327]
30328         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30329         arguments using __kernel_casinh.
30330         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30331         arguments using __kernel_casinhf.
30332         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30333         arguments using __kernel_casinhl.
30334         * math/libm-test.inc (cacosh_test): Add more tests.
30335         * sysdeps/i386/fpu/libm-test-ulps: Update.
30336         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30338 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30340         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30341         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30343         * bench/Makefile (bench): Add sin and slowsin.
30344         * benchtests/sin-inputs: New file.
30345         * benchtests/slowsin-inputs: New file.
30346         * benchtests/slowsin.c: New file.
30348         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30349         (bench): Add slowexp and slowpow.
30350         (exp-ITER): Increase iterations.
30351         (pow-ITER): Likewise.
30352         * benchtests/exp-inputs: Change input.
30353         * benchtests/pow-inputs: Likewise.
30354         * benchtests/slowexp-inputs: New file.
30355         * benchtests/slowexp.c: New file.
30356         * benchtests/slowpow-inputs: New file.
30357         * benchtests/slowpow.c: New file.
30359 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30361         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30362         instructions.
30363         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30364         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30365         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30366         * benchtests/Makefile: Add rint benchtest.
30367         * benchtests/rint-inputs: Input for rint benchtest.
30369 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30371         * Versions.def (libm): Add GLIBC_2.18.
30372         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30373         hidden libm prototypes.
30374         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30375         * math/Makefile (libm-calls): Add s_issignaling.
30376         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30377         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
30378         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30379         declaration.
30380         * math/math.h [__USE_GNU] (issignaling): New macro.
30381         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30382         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30383         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30384         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30385         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30386         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30387         * manual/arith.texi (issignaling): New section.
30388         * manual/libm-err-tab.pl (@all_functions): Update comment.
30389         * math/gen-libm-test.pl (parse_args): Apply special handling for
30390         issignaling.
30391         * math/libm-test.inc (print_float, issignaling_test): New
30392         functions.
30393         (check_float_internal): Add issignaling checks.
30394         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30395         default definition.
30396         * sysdeps/powerpc/math-tests.h: New file.
30397         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30398         tests.
30399         * math/test-snan.c (TEST_FUNC): Likewise.
30401 2013-03-30  David S. Miller  <davem@davemloft.net>
30403         * po/de.po: Update from translation team.
30405 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
30407         [BZ #10357]
30408         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30409         imaginary part less than 1.0 and real part less than 0.5
30410         specially.
30411         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30412         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30413         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30414         (cacos_test): Add more tests.
30415         (casin_test): Likewise.
30416         (casinh_test): Likewise.
30417         * sysdeps/i386/fpu/libm-test-ulps: Update.
30418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30420 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30422         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
30423         ONE with its value.
30425         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
30426         (__pow_mp): Replace ONE and MONE with their values.
30427         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30428         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
30429         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30430         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
30431         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30432         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30434         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
30436         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
30437         (__pow_mp): Replace ZERO and MZERO with their values.
30438         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30439         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30440         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30441         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30442         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30443         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
30444         (__sqr): Likewise.
30446         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
30448         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30450 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30452         * include/stdlib.h [!SHARED] (__call_tls_dtors):
30453         Declare with __attribute__ ((weak)).
30454         * stdlib/exit.c (__libc_atexit) [!SHARED]:
30455         Call __call_tls_dtors only if it's not NULL.
30457 2013-03-28  Roland McGrath  <roland@hack.frob.com>
30459         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
30460         didn't do it already, then set _dl_phdr and _dl_phnum based on the
30461         magic __ehdr_start linker symbol if it's defined.
30462         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
30463         them up here if it was already done.
30465         * elf/dl-support.c (_dl_phdr): Make pointer to const.
30466         (_dl_aux_init): Use const in cast when setting it.
30467         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
30468         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
30469         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
30471         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
30472         Declare them here.
30473         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
30474         * csu/libc-tls.c: Nor here.
30475         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
30477         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
30478         (__libc_message): Never call vsyslog.
30480 2013-03-28  Alan Modra  <amodra@gmail.com>
30482         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
30483         Define as empty.
30484         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
30485         Likewise.
30487 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30489         [BZ #15214]
30490         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
30491         underflow.
30492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30494 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30496         [BZ #15304]
30497         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
30498         Don't add gid passed as argument.
30500         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
30502 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
30504         [BZ #15307]
30505         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30506         imaginary part between 1.0 and 1.5 and real part less than 0.5
30507         specially.
30508         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30509         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30510         * math/libm-test.inc (cacos_test): Add more tests.
30511         (casin_test): Likewise.
30512         (casinh_test): Likewise.
30513         * sysdeps/i386/fpu/libm-test-ulps: Update.
30514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30516 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30518         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
30519         constants.
30520         (norm): Likewise.
30521         (denorm): Likewise.
30522         (__dbl_mp): Likewise.
30523         (add_magnitudes): Likewise.
30524         (sub_magnitudes): Likewise.
30525         (__add): Likewise.
30526         (__sub): Likewise.
30527         (__mul): Likewise.
30528         (__sqr): Likewise.
30529         (__inv): Likewise.
30530         (__dvd): Likewise.
30532         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
30533         commented code.
30534         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
30535         (__dubcos): Likewise.
30536         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
30537         (__ieee754_acos): Likewise.
30538         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
30539         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
30540         (__exp1): Likewise.
30541         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
30542         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30543         (log1): Likewise.
30544         (my_log2): Likewise.
30545         (checkint): Likewise.
30546         * sysdeps/ieee754/dbl-64/e_remainder.c
30547         (__ieee754_remainder): Likewise.
30548         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
30549         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30550         (bsloww): Likewise.
30551         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
30553         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30554         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
30555         MANTISSA_STORE_T to store computations on mantissa.  Use
30556         macros for rounding and division.
30557         (denorm): Likewise.
30558         (__dbl_mp): Likewise.
30559         (add_magnitudes): Likewise.
30560         (sub_magnitudes): Likewise.
30561         (__mul): Likewise.
30562         (__sqr): Likewise.
30563         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30564         powers of two in terms of TWOPOW macro.
30565         (mp_no): Make type of mantissa as MANTISSA_T.
30566         [!RADIXI]: Define RADIXI.
30567         [!TWO52]: Define TWO52.
30568         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30570 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30572         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
30573         llroundl symbol when building for PPC32.
30575 2013-03-24  Mark H Weaver  <mhw@netris.org>
30577         * manual/arith.texi (Normalization Functions): Fix prototypes for
30578         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
30580 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30582         [BZ #13889]
30583         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
30584         high value to check if expl overflow.
30585         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
30586         to check for underflow and overflow.
30587         * math/libm-test.inc: Add exp test.
30589 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
30591         [BZ #11120]
30592         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
30593         with NOT_IN_libc.
30595 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30597         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
30598         symbol.
30600 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
30602         * math/gen-libm-test.pl (parse_args, special_functions): Properly
30603         wrap blocks consisting of several statements.
30605         * sysdeps/generic/math-tests.h: New file.
30606         * sysdeps/i386/fpu/math-tests.h: Likewise.
30607         * math/test-snan.c: Include it.
30608         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
30610 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30612         [BZ #15285]
30613         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
30614         (__ieee754_j0l): Do not improve calculations using cos of twice
30615         input for inputs above LDBL_MAX / 2.0L.
30616         (__ieee754_y0l): Likewise.
30617         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
30618         (__ieee754_j1l): Do not improve calculations using cos of twice
30619         input for inputs above LDBL_MAX / 2.0L.
30620         (__ieee754_y1l): Likewise.
30621         * math/libm-test.inc (j0_test): Add another test.
30622         (j1_test): Likewise.
30623         (y0_test): Likewise.
30624         (y1_test): Likewise.
30625         * sysdeps/i386/fpu/libm-test-ulps: Update.
30627 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30629         * Rules ($(objpfx)bench-%.c): Include code from a C source
30630         file.
30632 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
30634         [BZ #15287]
30635         * math/k_casinh.c (__kernel_casinh): Handle arguments with
30636         imaginary part 1.0 and real part less than 0.5 specially.
30637         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30638         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30639         * math/libm-test.inc (cacos_test): Add more tests.
30640         (casin_test): Likewise.
30641         (casinh_test): Likewise.
30642         * sysdeps/i386/fpu/libm-test-ulps: Update.
30643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30645 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30647         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
30648         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
30650 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
30652         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
30653         * config.make.in (config-cflags-sse4): Remove variable.
30654         (config-cflags-avx): Likewise.
30655         (config-cflags-sse2avx): Likewise.
30656         (config-cflags-novzeroupper): Likewise.
30657         (config-asflags-i686): Likewise.
30658         (have-mfma4): Likewise.
30659         (have-as-vis3): Likewise.
30660         (MIG): Likewise.
30661         * configure.in (MIG): Do not AC_SUBST.
30662         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30663         (libc_cv_cc_sse4): Do not AC_SUBST.
30664         (libc_cv_cc_avx): Likewise.
30665         (libc_cv_cc_sse2avx): Likewise.
30666         (libc_cv_cc_novzeroupper): Likewise.
30667         (libc_cv_cc_fma4): Likewise.
30668         (libc_cv_as_i686): Likewise.
30669         (libc_cv_sparc_as_vis3): Likewise.
30670         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30671         LIBC_CONFIG_VAR.
30672         (config-asflags-i686): Likewise.
30673         (config-cflags-avx): Likewise.
30674         (config-cflags-sse2avx): Likewise.
30675         (have-mfma4): Likewise.
30676         (config-cflags-novzeroupper): Likewise.
30677         * sysdeps/mach/configure.in (MIG): Likewise.
30678         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30679         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30680         LIBC_CONFIG_VAR.
30681         (config-cflags-avx): Likewise.
30682         (config-cflags-sse2avx): Likewise.
30683         (have-mfma4): Likewise.
30684         (config-cflags-novzeroupper): Likewise.
30685         * configure: Regenerated.
30686         * sysdeps/i386/configure: Likewise.
30687         * sysdeps/mach/configure: Likewise.
30688         * sysdeps/sparc/configure: Likewise.
30689         * sysdeps/x86_64/configure: Likewise.
30691 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30693         [BZ #14812]
30694         * locale/programs/localedef.c (options): Put N_ translation marker
30695         on argument names, not just descriptions.
30697 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30699         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30701 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30703         [BZ #14176]
30704         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30706 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30708         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30709         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30710         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30711         [!BEFORE_ABORT] (before_abort): New function.
30712         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30713         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30714         (writev_for_fatal): New function.
30715         (WRITEV_FOR_FATAL): New macro; call that.
30716         (backtrace_and_maps): New function.
30717         (BEFORE_ABORT): New macro; call that.
30718         (struct str_list): Type removed.
30719         (__libc_message, __libc_fatal): Functions removed.
30720         Include <sysdeps/posix/libc_fatal.c> instead.
30722 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30724         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30725         constants.
30726         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30727         double constants.
30729 2013-03-19  Andreas Schwab  <schwab@suse.de>
30731         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30732         * sysdeps/gnu/configure: Regenerate.
30734         * configure.in: Substitute libc_cv_rtlddir.
30735         * configure: Regenerate.
30736         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30737         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30738         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30739         * elf/Makefile (install-others, CFLAGS-interp.c)
30740         (ldso_install, common-ldd-rewrite): Likewise.
30741         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30742         $(inst_slibdir)/$(rtld-installed-name).
30743         * scripts/rellns-sh: Add -p option.
30744         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30745         for source.
30747 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30749         * manual/nptl.texi: Renamed to ...
30750         * manual/threads.texi: ... this.
30751         * manual/Makefile (chapters): Update.
30753 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30755         [BZ #14812]
30756         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30757         on argument names, not just descriptions.
30758         * malloc/memusagestat.c (options): Likewise.
30759         * nss/getent.c (options): Likewise.
30761 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30763         [BZ #14812]
30764         * iconv/iconv_prog.c (options): Put N_ translation marker
30765         on argument names, not just descriptions.
30766         * iconv/iconvconfig.c (options): Likewise.
30768 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30770         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30771         implementation which is faster on all x86_64 architectures.
30772         Tested on AMD, Intel Nehalem, SNB, IVB.
30773         * sysdeps/x86_64/strnlen.S: Likewise.
30775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30776         Remove all multiarch strlen and strnlen versions.
30777         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30778         Remove strlen and strnlen related parts.
30780         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30781         Inline strlen part.
30782         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30784         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30785         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30786         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30787         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30788         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30789         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30791 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30793         * manual/memory.texi (Malloc Tunable Parameters):
30794         Sort parameters alphabetically. Add comments for missing entries.
30796 2013-03-17  David S. Miller  <davem@davemloft.net>
30798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30800 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30802         [BZ #15283]
30803         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30804         for arguments at most half maximum finite value.
30805         * math/libm-test.inc (j0_test): Add more tests.
30806         (j1_test): Likewise.
30807         (y0_test): Likewise.
30808         (y1_test): Likewise.
30809         * sysdeps/i386/fpu/libm-test-ulps: Update.
30810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30812         [BZ #14155]
30813         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30814         1 / x and functions P and Q for arguments above 0x1p256L.
30815         (__ieee754_y0l): Likewise.
30816         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30817         (__ieee754_y1l): Likewise.
30818         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30819         (j1_test): Likewise.
30820         (y0_test): Likewise.
30821         (y1_test): Likewise.
30823 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30825         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30826         variable.
30828 2013-03-15  Roland McGrath  <roland@hack.frob.com>
30830         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30831         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30832         zero since it's initialized to EXEC_PAGESIZE.
30834         * sysdeps/unix/sysv/linux/ldsodefs.h
30835         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30836         * sysdeps/generic/ldsodefs.h: ... here.
30838 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
30840         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30842         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30843         math/test-snan.c.
30844         * math/test-snan.c: Renamed from
30845         sysdeps/powerpc/fpu/test-powerpc-snan.c.
30846         * math/Makefile (tests): Add test-snan.
30847         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30848         test-powerpc-snan.
30850         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30851         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
30852         functions.
30853         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
30854         __builtin_nan family of functions.
30855         * math/libm-test.inc (initialize): Initialize qnan_value with
30856         __builtin_nan family of functions.
30857         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30858         Remove variables.
30859         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30860         Remove functions.
30861         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
30862         storage class.  Initialize qNaN_var and sNaN_var with
30863         __builtin_nan and __builtin_nans families of functions,
30864         respectively.
30866         * math/libm-test.inc (acosh_test): Also test with qNaN input.
30867         (sqrt_test): Remove duplicate test with qNaN input.
30868         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30869         (round_test, signbit_test, significand_test): Note missing +/-Inf
30870         as well as qNaN tests.
30872         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30873         qNaN_var.  Fix a few strings, too.
30874         * math/libm-test.inc (nan_value): Rename to qnan_value.
30875         * math/gen-libm-test.pl (%beautify): Adjust to that.
30876         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30877         * math/test-misc.c (main): Likewise.
30878         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30879         to __qnan_bytes, and __qnan_union, respectively.
30880         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30881         Likewise.
30882         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30883         and lqnanval, respectively.
30884         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30885         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30886         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30887         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30889         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30890         * math/test-misc.c (main) [__x86_64__]: Enable test for long
30891         doubles.
30893         * math/test-misc.c (main): Fix copy'n'pastos.
30894         * misc/tst-efgcvt.c (special): Likewise.
30896         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30897         Remove declarations.
30899 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30901         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30902         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30903         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30904         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30906 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30908         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30909         macro to return vdso values correctly in IFUNC implementations.
30910         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30911         Optimization by using IFUNC.
30913 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30914             Richard Henderson  <rth@redhat.com>
30915             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30917         * Makefile.in (bench): New target.
30918         * NEWS: Mention the benchmark framework.
30919         * Rules (bench): Likewise.
30920         (binaries-bench): Generate binaries for functions to
30921         benchmark.
30922         * benchtests/Makefile: New makefile for benchmark tests.
30923         * benchtests/bench-skeleton.c: New skeleton file for benchmark
30924         programs.
30925         * benchtests/exp-inputs: New input file for EXP function.
30926         * benchtests/pow-inputs: New input file for POW function.
30927         * scripts/bench.pl: New script to generate source files for
30928         benchmark programs.
30930 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30932         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30933         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30934         computations on mantissa.  Use macros for rounding and
30935         division.
30936         (denorm): Likewise.
30937         (__dbl_mp): Likewise.
30938         (add_magnitudes): Likewise.
30939         (sub_magnitudes): Likewise.
30940         (__mul): Likewise.
30941         (__sqr): Likewise.
30942         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30943         powers of two in terms of TWOPOW macro.
30944         (mp_no): Make type of mantissa as MANTISSA_T.
30945         [!RADIXI]: Define RADIXI.
30946         [!TWO52]: Define TWO52.
30947         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30949         * manual/nptl.texi (cindex): Modify threads to pthreads.
30951 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
30953         * sysdeps/x86_64/preconfigure: Regenerated.
30955 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
30957         [BZ #14155]
30958         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30959         0x1p28 and above.
30960         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30961         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30962         0x1p28 and above.
30963         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30964         * math/libm-test.inc (j0_test): Do not allow one spurious
30965         underflow exception.
30966         (y1_test): Likewise.
30968 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30970         * manual/Makefile (chapters): Add nptl.
30971         * manual/debug.texi (Debugging Support): Add link to Threads
30972         chapter.
30973         * manual/nptl.texi: New file.
30975         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30977 2013-03-14  Petr Baudis  <pasky@ucw.cz>
30979         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30980         for non-NULL pointer before the memory validity test. Pointed
30981         out by Holger Brunck <holger.brunck@keymile.com>.
30983 2013-03-13  Andreas Schwab  <schwab@suse.de>
30985         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30986         instead of .os.
30988 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
30990         * timezone/zic.c: Update from tzcode 2013b.
30992 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
30994         * manual/install.texi (Configuring and compiling):
30995         Mention i686 and i586.
30996         * INSTALL: Regenerate.
30998 2013-03-12  Roland McGrath  <roland@hack.frob.com>
31000         * sysdeps/init_array/elf-init.c: New file.
31001         * csu/elf-init.c
31002         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31003         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31005         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31006         __gmon_start__ as global, but as static with a .preinit_array pointer.
31007         * sysdeps/init_array/gmon-start.c: New file.  Use that.
31008         * sysdeps/init_array/crti.S: New file, empty except for comments.
31009         * sysdeps/init_array/crtn.S: Likewise.
31011 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
31013         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31014         definining bcopy.
31015         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31016         Remove Prefer_SSE_for_memop.
31017         * sysdeps/x86_64/multiarch/init-arch.h: Remove
31018         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31019         HAS_PREFER_SSE_FOR_MEMOP.
31020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31021         memset-x86-64.
31022         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31023         Remove bzero, memset ifunc support.
31024         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31025         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31026         * sysdeps/x86_64/multiarch/memset.S: Likewise.
31027         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31029 2013-03-11  Andreas Schwab  <schwab@suse.de>
31031         [BZ #15234]
31032         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31033         by SHLIB_COMPAT.
31034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31035         (GLIBC_2.16): Remove pthread_atfork.
31037 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
31039         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31040         (ptestcases.h): Likewise.
31042 2013-03-08  Roland McGrath  <roland@hack.frob.com>
31044         * Makeconfig ($(common-objpfx)config.status): Depend on
31045         sysdeps/*/preconfigure{,.in} too.
31047 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
31049         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31050         (__free_hook): Use void * instead of __malloc_ptr_t.
31051         (__malloc_hook): Likewise.
31052         (__realloc_hook): Likewise.
31053         (__memalign_hook): Likewise.
31054         (__after_morecore_hook): Likewise.
31055         * malloc/arena.c (save_malloc_hook): Likewise.
31056         (save_free_hook): Likewise.
31057         * malloc/hooks.c (malloc_hook_ini): Likewise.
31058         (realloc_hook_ini): Likewise.
31059         (memalign_hook_ini): Likewise.
31060         * malloc/malloc.c (malloc_hook_ini): Likewise.
31061         (realloc_hook_ini): Likewise.
31062         (memalign_hook_ini): Likewise.
31063         (__free_hook): Likewise.
31064         (__malloc_hook): Likewise.
31065         (__realloc_hook): Likewise.
31066         (__memalign_hook): Likewise.
31067         (__libc_malloc): Likewise.
31068         (__libc_free): Likewise.
31069         (__libc_realloc): Likewise.
31070         (__libc_memalign): Likewise.
31071         (__libc_valloc): Likewise.
31072         (__libc_pvalloc): Likewise.
31073         (__libc_calloc): Likewise.
31074         (__posix_memalign): Likewise.
31075         * malloc/morecore.c (__sbrk): Likewise.
31076         (__default_morecore): Likewise.
31078         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31080         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31081         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31082         __malloc_ptrdiff_t.
31084         * malloc/malloc.h (__malloc_size_t): Remove macro.
31085         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31086         __malloc_size_t.
31087         (old_memalign_hook): Likewise.
31088         (old_realloc_hook): Likewise.
31089         (struct hdr): Likewise.
31090         (flood): Likewise.
31091         (mallochook): Likewise.
31092         (memalignhook): Likewise.
31093         (reallochook): Likewise.
31094         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31095         (tr_old_realloc_hook): Likewise.
31096         (tr_old_memalign_hook): Likewise.
31097         (tr_mallochook): Likewise.
31098         (tr_reallochook): Likewise.
31099         (tr_memalignhook): Likewise.
31101 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31103         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31104         default_ldbl_pack and using as default implementation.
31105         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31106         implementation.
31107         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31108         redundant definition.
31109         (ldbl_insert_mantissa): Likewise.
31110         (ldbl_canonicalize): Likewise.
31111         (ldbl_nearbyint): Likewise.
31112         (ldbl_pack): Rename to ldbl_pack_ppc.
31113         (ldbl_unpack): Rename to ldbl_unpack_ppc.
31114         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31115         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31117 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31119         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31120         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31121         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31122         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31123         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31124         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31125         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31126         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31128 2013-03-07  Andreas Jaeger  <aj@suse.de>
31130         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31131         bits/mman-linux.h.
31133 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31135         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31136         Include mpa.h and declare __MPEXP.
31137         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31138         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31139         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31140         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31141         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31142         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31143         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31145         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31146         (__slowpow): Use long double EXPL and LOGL functions to
31147         compute POW.
31148         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31149         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31150         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31151         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31152         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31153         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31156         intermediate variable to calculate exponent.
31157         (__sqr): Likewise.
31158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31159         Likewise.
31160         (__sqr): Likewise.
31162         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31163         [!NO__SQR]: Define __sqr.
31164         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31165         and NO__SQR.  Remove all code except __mul and __sqr.  Include
31166         sysdeps/ieee754/dbl-64/mpa.c.
31167         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31169         [BZ #12723]
31170         * posix/Makefile (tests): Add tst-pathconf.
31171         * posix/tst-pathconf.c: New test case.
31172         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31173         _PC_PIPE_BUF.
31174         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31176 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
31178         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31180 2013-03-06  Andreas Jaeger  <aj@suse.de>
31182         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31183         definition via __MAP_ANONYMOUS.
31185         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31186         it's not part of Linux headers.
31188         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31189         (MAP_HUGE_MASK): Define.
31191         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31192         Define.
31193         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31194         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31195         Define.
31196         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31197         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31198         Define.
31199         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31200         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31201         Define.
31202         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31204         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31205         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31206         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31207         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31208         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31209         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31211         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31212         Handle f2fs.
31214         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31215         Handle f2fs and efivarfs.
31217         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31218         f2fs.
31220         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31221         (EFIVARFS_MAGIC): Add.
31222         (F2FS_LINK_MAX): Add.
31224 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
31226         * stdio-common/vfprintf.c: Replace __builtin_expect with
31227         __glibc_unlikely.
31229 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
31231         [BZ #13550]
31232         * sysdeps/generic/bp-sym.h: Remove file.
31233         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31234         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31235         <bp-sym.h> and <bp-asm.h>.
31236         (__longjmp): Don't use BP_SYM.
31237         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31238         and <bp-asm.h>.
31239         (memcpy): Don't use BP_SYM.
31240         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31241         <bp-sym.h> and <bp-asm.h>.
31242         (memcpy): Don't use BP_SYM.
31243         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31244         <bp-asm.h>.
31245         (memcpy): Don't use BP_SYM.
31246         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31247         <bp-asm.h>.
31248         (memset): Don't use BP_SYM.
31249         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31250         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31251         (__bzero): Don't use BP_SYM.
31252         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31253         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31254         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31255         <bp-sym.h> and <bp-asm.h>.
31256         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31257         pointers.
31258         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31259         <bp-sym.h> and <bp-asm.h>.
31260         (memcpy): Don't use BP_SYM.
31261         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31262         <bp-sym.h> and <bp-asm.h>.
31263         (memset): Don't use BP_SYM.
31264         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31265         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31266         (__bzero): Don't use BP_SYM.
31267         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31268         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31269         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31270         <bp-sym.h> and <bp-asm.h>.
31271         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31272         pointers.
31273         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31274         <bp-sym.h> and <bp-asm.h>.
31275         (memcpy): Don't use BP_SYM.
31276         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31277         <bp-sym.h> and <bp-asm.h>.
31278         (memset): Don't use BP_SYM.
31279         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31280         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31281         (__bzero): Don't use BP_SYM.
31282         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31283         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31284         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31285         <bp-sym.h> and <bp-asm.h>.
31286         (__memchr): Don't use BP_SYM.
31287         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31288         <bp-sym.h> and <bp-asm.h>.
31289         (memcmp): Don't use BP_SYM.  Remove comment about bounded
31290         pointers.
31291         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31292         <bp-sym.h> and <bp-asm.h>.
31293         (memcpy): Don't use BP_SYM.
31294         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31295         <bp-sym.h> and <bp-asm.h>.
31296         (__mempcpy): Don't use BP_SYM.
31297         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31298         <bp-sym.h> and <bp-asm.h>.
31299         (__memrchr): Don't use BP_SYM.
31300         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31301         <bp-sym.h> and <bp-asm.h>.
31302         (memset): Don't use BP_SYM.
31303         (__bzero): Likewise.
31304         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31305         <bp-sym.h> and <bp-asm.h>.
31306         (__rawmemchr): Don't use BP_SYM.
31307         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31308         <bp-sym.h> and <bp-asm.h>.
31309         (__STRCMP): Don't use BP_SYM.
31310         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31311         <bp-sym.h> and <bp-asm.h>.
31312         (strchr): Don't use BP_SYM.
31313         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31314         <bp-sym.h> and <bp-asm.h>.
31315         (__strchrnul): Don't use BP_SYM.
31316         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31317         <bp-sym.h> and <bp-asm.h>.
31318         (strlen): Don't use BP_SYM.
31319         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31320         <bp-sym.h> and <bp-asm.h>.
31321         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31322         pointers.
31323         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31324         <bp-sym.h> and <bp-asm.h>.
31325         (__strnlen): Don't use BP_SYM.
31326         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31327         <bp-sym.h> and <bp-asm.h>.
31328         (__GI__setjmp): Don't use BP_SYM.
31329         (_setjmp): Likewise.
31330         (__sigsetjmp): Likewise.
31331         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31332         (L(start_addresses)): Don't use BP_SYM.
31333         (_start): Likewise.
31334         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31335         <bp-asm.h>.
31336         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31337         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31338         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31339         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31340         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31341         <bp-asm.h>.
31342         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31343         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
31344         about bounded pointers.
31345         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31346         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31347         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31348         <bp-asm.h>.
31349         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31350         about bounded pointers.  Remove GKM FIXME comments.
31351         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31352         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31353         <bp-asm.h>.
31354         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31355         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
31356         Remove GKM FIXME comments.
31357         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31358         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31359         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31360         <bp-asm.h>.
31361         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
31362         about bounded pointers.  Remove GKM FIXME comment.
31363         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31364         and <bp-asm.h>.
31365         (strncmp): Don't use BP_SYM.  Remove comment about bounded
31366         pointers.
31367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31368         <bp-sym.h> and <bp-asm.h>.
31369         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31371         <bp-sym.h> and <bp-asm.h>.
31372         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31373         comment.
31375 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
31377         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31378         call free(NULL).
31380 2013-03-05  David S. Miller  <davem@davemloft.net>
31382         * po/es.po: Update from translation team.
31384 2013-03-05  Andreas Jaeger  <aj@suse.de>
31386         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31387         <bits/mman-linux.h>.
31388         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31389         is fine.
31390         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31391         <bits/mman-linux.h> to end of file.
31392         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31393         is fine.
31394         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31395         <bits/mman-linux.h> to end of file.
31396         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31397         is fine.
31398         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31399         <bits/mman-linux.h> to end of file.
31401         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31402         (MCL_CURRENT, MCL_FUTURE): Define here.
31404 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31406         [BZ #15232]
31407         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31408         attribute_hidden.
31409         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31411 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31413         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31414         fourth parameter needed for rt_sigprocmask syscall.
31415         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
31416         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
31417         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
31418         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
31419         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
31420         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
31422 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
31424         [BZ #13550]
31425         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
31426         comment about bounded pointers.
31427         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
31428         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
31430 2013-03-04  Andreas Jaeger  <aj@suse.de>
31432         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
31433         common definitions.
31435         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
31436         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
31437         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
31438         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31439         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
31440         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31442 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31444         [BZ #15055]
31445         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
31446         __ieee754_sqrl instead of __sqrl.
31448 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
31450         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
31451         * sysdeps/powerpc/fpu_control.h: ... here.
31452         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
31453         * sysdeps/powerpc/bits/fenvinline.h: ... here.
31454         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
31455         * sysdeps/powerpc/bits/mathinline.h: ... here.
31457 2013-03-01  Roland McGrath  <roland@hack.frob.com>
31459         * elf/dl-hwcaps.c (_dl_important_hwcaps):
31460         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
31461         to just [NEED_DL_SYSINFO_DSO].
31462         * elf/dl-support.c: Likewise.
31463         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31464         * elf/rtld.c (dl_main): Likewise.
31465         * elf/setup-vdso.h (setup_vdso): Likewise.
31466         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
31467         * sysdeps/unix/sysv/linux/dl-sysdep.c
31468         (_dl_discover_osversion): Likewise.
31470 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
31472         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
31473         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31475 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31477         * NEWS: Mention libm performance improvements and non-x86 PI
31478         futex support.
31480         * csu/libc-start.c (__pthread_initialize_minimal): Change
31481         function arguments.
31482         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
31484 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
31486         [BZ #13550]
31487         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
31488         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
31489         <bp-sym.h> and <bp-asm.h>.
31490         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31491         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
31492         and <bp-asm.h>.
31493         (memcpy): Don't use BP_SYM.
31494         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
31495         <bp-asm.h>.
31496         (__mpn_add_n): Don't use BP_SYM.
31497         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
31498         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
31499         and <bp-asm.h>.
31500         (__mpn_addmul_1): Don't use BP_SYM.
31501         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31502         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
31503         <bp-sym.h>.
31504         (_setjmp): Don't use BP_SYM.
31505         (__novmx_setjmp): Likewise.
31506         (__GI__setjmp): Likewise.
31507         (__vmx_setjmp): Likewise.
31508         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
31509         <bp-sym.h>.
31510         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
31511         (__bzero): Don't use BP_SYM.
31512         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31513         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31514         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
31515         <bp-sym.h> and <bp-asm.h>.
31516         (memcpy): Don't use BP_SYM.
31517         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
31518         <bp-sym.h> and <bp-asm.h>.
31519         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31520         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
31521         <bp-sym.h> and <bp-asm.h>.
31522         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
31523         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
31524         <bp-asm.h>.
31525         (__mpn_lshift): Don't use BP_SYM.
31526         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31527         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
31528         <bp-asm.h>.
31529         (memset): Don't use BP_SYM.
31530         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31531         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31532         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
31533         <bp-asm.h>.
31534         (__mpn_mul_1): Don't use BP_SYM.
31535         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31536         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
31537         <bp-sym.h> and <bp-asm.h>.
31538         (memcmp): Don't use BP_SYM.
31539         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
31540         <bp-sym.h> and <bp-asm.h>.
31541         (memcpy): Don't use BP_SYM.
31542         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
31543         <bp-sym.h> and <bp-asm.h>.
31544         (memset): Don't use BP_SYM.
31545         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
31546         <bp-sym.h> and <bp-asm.h>.
31547         (strncmp): Don't use BP_SYM.
31548         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
31549         <bp-sym.h> and <bp-asm.h>.
31550         (memcpy): Don't use BP_SYM.
31551         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
31552         <bp-sym.h> and <bp-asm.h>.
31553         (memset): Don't use BP_SYM.
31554         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
31555         <bp-sym.h> and <bp-asm.h>.
31556         (__memchr): Don't use BP_SYM.
31557         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
31558         <bp-sym.h> and <bp-asm.h>.
31559         (memcmp): Don't use BP_SYM.
31560         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
31561         <bp-sym.h> and <bp-asm.h>.
31562         (memcpy): Don't use BP_SYM.
31563         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
31564         <bp-sym.h> and <bp-asm.h>.
31565         (__mempcpy): Don't use BP_SYM.
31566         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
31567         <bp-sym.h> and <bp-asm.h>.
31568         (__memrchr): Don't use BP_SYM.
31569         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
31570         <bp-sym.h> and <bp-asm.h>.
31571         (memset): Don't use BP_SYM.
31572         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
31573         <bp-sym.h> and <bp-asm.h>.
31574         (__rawmemchr): Don't use BP_SYM.
31575         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
31576         <bp-sym.h> and <bp-asm.h>.
31577         (__STRCMP): Don't use BP_SYM.
31578         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
31579         <bp-sym.h> and <bp-asm.h>.
31580         (strchr): Don't use BP_SYM.
31581         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
31582         <bp-sym.h> and <bp-asm.h>.
31583         (__strchrnul): Don't use BP_SYM.
31584         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
31585         <bp-sym.h> and <bp-asm.h>.
31586         (strlen): Don't use BP_SYM.
31587         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
31588         <bp-sym.h> and <bp-asm.h>.
31589         (strncmp): Don't use BP_SYM.
31590         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
31591         <bp-sym.h> and <bp-asm.h>.
31592         (__strnlen): Don't use BP_SYM.
31593         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
31594         <bp-asm.h>.
31595         (__mpn_rshift): Don't use BP_SYM.
31596         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31597         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
31598         <bp-sym.h> and <bp-asm.h>.
31599         (__sigsetjmp): Don't use BP_SYM.
31600         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
31601         (L(start_addresses)): Don't use BP_SYM.
31602         (_start): Likewise.
31603         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
31604         <bp-asm.h>.
31605         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
31606         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31607         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31608         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
31609         <bp-asm.h>.
31610         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
31611         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31612         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31613         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
31614         <bp-asm.h>.
31615         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31616         comments.
31617         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31618         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
31619         <bp-asm.h>.
31620         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
31621         FIXME comments.
31622         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31623         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31624         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
31625         <bp-asm.h>.
31626         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
31627         comment.
31628         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
31629         and <bp-asm.h>.
31630         (strncmp): Don't use BP_SYM,
31631         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
31632         <bp-asm.h>.
31633         (__mpn_sub_n): Don't use BP_SYM.
31634         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31635         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
31636         and <bp-asm.h>.
31637         (__mpn_submul_1): Don't use BP_SYM.
31638         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
31640         <bp-sym.h> and <bp-asm.h>.
31641         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
31643         <bp-sym.h> and <bp-asm.h>.
31644         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
31645         comment.
31647 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31649         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
31650         Use ZK to minimize writes to Z.
31651         (sub_magnitudes): Simplify code a bit.
31652         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
31653         Use ZK to minimize writes to Z.
31654         (sub_magnitudes): Simplify code a bit.
31656 2013-02-27  Roland McGrath  <roland@hack.frob.com>
31658         * csu/gmon-start.c: Add special exception to license text.
31660 2013-02-27  Richard Henderson  <rth@redhat.com>
31662         * scripts/config.guess: Update from config.git.
31663         * scripts/config.sub: Likewise.
31665 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31667         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31669         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31671         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31673         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31675         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31677 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31679         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31680         [$(build-shared = yes].
31682 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31684         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31685         (__mul): Reduce iterations for calculating mantissa.
31687         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31688         MPTWO.
31689         (__mpranred): Likewise.
31691         [BZ #15160]
31692         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31693         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31695 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31697         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31698         Define __attribute__.
31700 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31702         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31703         unused.
31704         * posix/regex_internal.h (__attribute): Remove.
31705         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31706         (re_string_context_at): Likewise.
31707         (bitset_not): Use __attribute__ and mark function as possibly
31708         unused.
31709         (bitset_merge): Likewise.
31710         (bitset_mask): Likewise.
31711         (re_string_char_size_at): Likewise.
31712         (re_string_wchar_at): Likewise.
31713         (re_string_elem_size_at): Likewise.
31715 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31717         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31718         code.
31719         (cc32): Likewise.
31721         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31722         (__acr): Likewise.
31723         (__cpy): Likewise.
31724         (norm): Likewise.
31725         (denorm): Likewise.
31726         (__dbl_mp): Likewise.
31727         (add_magnitudes): Likewise.
31728         (sub_magnitudes): Likewise.
31729         (__mul): Likewise.
31730         (__inv): Likewise.
31732         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31733         style.
31735         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31736         style.
31738         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31739         code.
31741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31742         up changes with default code.
31743         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31744         Likewise.
31746 2013-02-24  Allan McRae  <allan@archlinux.org>
31748         * manual/socket.texi (The Internet Namespace): Order menu items
31749         to match that in the file.
31751         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31752         node listing of the info page menu.
31754 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31756         [BZ #13550]
31757         * sysdeps/i386/bp-asm.h: Remove file.
31758         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31759         (PARMS): Do not use macros from bp-asm.h.
31760         (S1): Likewise.
31761         (S2): Likewise.
31762         (SIZE): Likewise.
31763         (__mpn_add_n): Do not use BP_SYM
31764         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31765         "bp-asm.h".
31766         (PARMS): Do not use macros from bp-asm.h.
31767         (S1): Likewise.
31768         (SIZE): Likewise.
31769         (__mpn_addmul_1): Do not use BP_SYM
31770         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31771         "bp-asm.h".
31772         (PARMS): Do not use macros from bp-asm.h.
31773         (SIGMSK): Likewise.
31774         (_setjmp): Likewise.  Do not use BP_SYM.
31775         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31776         "bp-asm.h".
31777         (PARMS): Do not use macros from bp-asm.h.
31778         (SIGMSK): Likewise.
31779         (setjmp): Likewise.  Do not use BP_SYM.
31780         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31781         "bp-asm.h".
31782         (PARMS): Do not use macros from bp-asm.h.
31783         (__frexp): Do not use BP_SYM.
31784         (frexp): Likewise.
31785         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31786         "bp-asm.h".
31787         (PARMS): Do not use macros from bp-asm.h.
31788         (__frexpf): Do not use BP_SYM.
31789         (frexpf): Likewise.
31790         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31791         "bp-asm.h".
31792         (PARMS): Do not use macros from bp-asm.h.
31793         (__frexpl): Do not use BP_SYM.
31794         (frexpl): Likewise.
31795         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31796         "bp-asm.h".
31797         (PARMS): Do not use macros from bp-asm.h.
31798         (__remquo): Do not use BP_SYM.
31799         (remquo): Likewise.
31800         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31801         "bp-asm.h".
31802         (PARMS): Do not use macros from bp-asm.h.
31803         (__remquof): Do not use BP_SYM.
31804         (remquof): Likewise.
31805         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31806         "bp-asm.h".
31807         (PARMS): Do not use macros from bp-asm.h.
31808         (__remquol): Do not use BP_SYM.
31809         (remquol): Likewise.
31810         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31811         "bp-asm.h".
31812         (PARMS): Do not use macros from bp-asm.h.
31813         (DEST): Likewise.
31814         (SRC): Likewise.
31815         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31816         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31817         "bp-asm.h".
31818         (PARMS): Do not use macros from bp-asm.h.
31819         (strlen): Do not use BP_SYM.
31820         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31821         "bp-asm.h".
31822         (PARMS): Do not use macros from bp-asm.h.
31823         (S1): Likewise.
31824         (S2): Likewise.
31825         (SIZE): Likewise.
31826         (__mpn_add_n): Do not use BP_SYM.
31827         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31828         "bp-asm.h".
31829         (PARMS): Do not use macros from bp-asm.h.
31830         (S1): Likewise.
31831         (SIZE): Likewise.
31832         (__mpn_addmul_1): Do not use BP_SYM.
31833         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31834         weak_alias.
31835         (bzero): Likewise.
31836         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31837         "bp-asm.h".
31838         (PARMS): Do not use macros from bp-asm.h.
31839         (S): Likewise.
31840         (SIZE): Likewise.
31841         (__mpn_lshift): Do not use BP_SYM.
31842         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31843         "bp-asm.h".
31844         (PARMS): Do not use macros from bp-asm.h.
31845         (DEST): Likewise.
31846         (SRC): Likewise.
31847         (LEN): Likewise.
31848         (memcpy): Likewise.  Do not use BP_SYM.
31849         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31850         libc_hidden_def and weak_alias.
31851         (mempcpy): Do not use BP_SYM in weak_alias.
31852         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31853         "bp-asm.h".
31854         (PARMS): Do not use macros from bp-asm.h.
31855         (DEST): Likewise.
31856         (LEN): Likewise.
31857         [!BZERO_P] (CHR): Likewise.
31858         (memset): Likewise.  Do not use BP_SYM.
31859         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31860         "bp-asm.h".
31861         (PARMS): Do not use macros from bp-asm.h.
31862         (S1): Likewise.
31863         (SIZE): Likewise.
31864         (__mpn_mul_1): Do not use BP_SYM.
31865         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31866         "bp-asm.h".
31867         (PARMS): Do not use macros from bp-asm.h.
31868         (S): Likewise.
31869         (SIZE): Likewise.
31870         (__mpn_rshift): Do not use BP_SYM.
31871         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31872         "bp-asm.h".
31873         (PARMS): Do not use macros from bp-asm.h.
31874         (STR): Likewise.
31875         (CHR): Likewise.
31876         (strchr): Likewise.  Do not use BP_SYM.
31877         (index): Do not use BP_SYM in weak_alias.
31878         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31879         "bp-asm.h".
31880         (PARMS): Do not use macros from bp-asm.h.
31881         (DEST): Likewise.
31882         (SRC): Likewise.
31883         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
31884         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31885         "bp-asm.h".
31886         (PARMS): Do not use macros from bp-asm.h.
31887         (strlen): Do not use BP_SYM.
31888         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31889         "bp-asm.h".
31890         (PARMS): Do not use macros from bp-asm.h.
31891         (S1): Likewise.
31892         (S2): Likewise.
31893         (SIZE): Likewise.
31894         (__mpn_sub_n): Do not use BP_SYM.
31895         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31896         "bp-asm.h".
31897         (PARMS): Do not use macros from bp-asm.h.
31898         (S1): Likewise.
31899         (SIZE): Likewise.
31900         (__mpn_submul_1): Do not use BP_SYM.
31901         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31902         "bp-asm.h".
31903         (PARMS): Do not use macros from bp-asm.h.
31904         (S1): Likewise.
31905         (S2): Likewise.
31906         (SIZE): Likewise.
31907         (__mpn_add_n): Do not use BP_SYM.
31908         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31909         weak_alias.
31910         (bzero): Likewise.
31911         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31912         "bp-asm.h".
31913         (PARMS): Do not use macros from bp-asm.h.
31914         (BLK2): Likewise.
31915         (LEN): Likewise.
31916         (memcmp): Do not use BP_SYM.
31917         (bcmp): Do not use BP_SYM in weak_alias.
31918         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31919         "bp-asm.h".
31920         (PARMS): Do not use macros from bp-asm.h.
31921         (DEST): Likewise.
31922         (SRC): Likewise.
31923         (LEN): Likewise.
31924         (memcpy): Likewise.  Do not use BP_SYM.
31925         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31926         "bp-asm.h".
31927         (PARMS): Do not use macros from bp-asm.h.
31928         (DEST): Likewise.
31929         (SRC): Likewise.
31930         (LEN): Likewise.
31931         (memmove): Likewise.  Do not use BP_SYM.
31932         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31933         "bp-asm.h".
31934         (PARMS): Do not use macros from bp-asm.h.
31935         (DEST): Likewise.
31936         (SRC): Likewise.
31937         (LEN): Likewise.
31938         (__mempcpy): Likewise.  Do not use BP_SYM.
31939         (mempcpy): Do not use BP_SYM in weak_alias.
31940         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31941         "bp-asm.h".
31942         (PARMS): Do not use macros from bp-asm.h.
31943         (DEST): Likewise.
31944         (LEN): Likewise.
31945         [!BZERO_P] (CHR): Likewise.
31946         (memset): Likewise.  Do not use BP_SYM.
31947         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31948         "bp-asm.h".
31949         (PARMS): Do not use macros from bp-asm.h.
31950         (STR2): Likewise.
31951         (strcmp): Do not use BP_SYM.
31952         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31953         "bp-asm.h".
31954         (PARMS): Do not use macros from bp-asm.h.
31955         (STR): Likewise.
31956         (DELIM): Likewise.
31957         [USE_AS_STRTOK_R] (SAVE): Likewise.
31958         (FUNCTION): Likewise.  Do not use BP_SYM.
31959         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31960         aliases.
31961         (strtok_r): Likewise.
31962         (__GI___strtok_r): Likewise.
31963         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31964         (PARMS): Do not use macros from bp-asm.h.
31965         (S): Likewise.
31966         (SIZE): Likewise.
31967         (__mpn_lshift): Do not use BP_SYM.
31968         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31969         (PARMS): Do not use macros from bp-asm.h.
31970         (STR): Likewise.
31971         (CHR): Likewise.
31972         (__memchr): Do not use BP_SYM.
31973         (memchr): Do not use BP_SYM in weak_alias.
31974         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31975         (PARMS): Do not use macros from bp-asm.h.
31976         (BLK2): Likewise.
31977         (LEN): Likewise.
31978         (memcmp): Do not use BP_SYM.
31979         (bcmp): Do not use BP_SYM in weak_alias.
31980         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31981         (PARMS): Do not use macros from bp-asm.h.
31982         (S1): Likewise.
31983         (SIZE): Likewise.
31984         (__mpn_mul_1): Do not use BP_SYM.
31985         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31986         "bp-asm.h".
31987         (PARMS): Do not use macros from bp-asm.h.
31988         (STR): Likewise.
31989         (CHR): Likewise.
31990         (__rawmemchr): Do not use BP_SYM.
31991         (rawmemchr): Do not use BP_SYM in weak_alias.
31992         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31993         (PARMS): Do not use macros from bp-asm.h.
31994         (S): Likewise.
31995         (SIZE): Likewise.
31996         (__mpn_rshift): Do not use BP_SYM.
31997         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31998         (PARMS): Do not use macros from bp-asm.h.
31999         (SIGMSK): Likewise.
32000         (__sigsetjmp): Likewise.  Do not use BP_SYM.
32001         * sysdeps/i386/start.S: Do not include "bp-sym.h".
32002         (_start): Do not use BP_SYM.
32003         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32004         (PARMS): Do not use macros from bp-asm.h.
32005         (DEST): Likewise.
32006         (SRC): Likewise.
32007         (__stpcpy): Likewise.  Do not use BP_SYM.
32008         (stpcpy): Do not use BP_SYM in weak_alias.
32009         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32010         "bp-asm.h".
32011         (PARMS): Do not use macros from bp-asm.h.
32012         (DEST): Likewise.
32013         (SRC): Likewise.
32014         (LEN): Likewise.
32015         (__stpncpy): Likewise.  Do not use BP_SYM.
32016         (stpncpy): Do not use BP_SYM in weak_alias.
32017         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32018         (PARMS): Do not use macros from bp-asm.h.
32019         (STR): Likewise.
32020         (CHR): Likewise.
32021         (strchr): Likewise.  Do not use BP_SYM.
32022         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32023         "bp-asm.h".
32024         (PARMS): Do not use macros from bp-asm.h.
32025         (STR): Likewise.
32026         (CHR): Likewise.
32027         (__strchrnul): Likewise.  Do not use BP_SYM.
32028         (strchrnul): Do not use BP_SYM in weak_alias.
32029         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32030         "bp-asm.h".
32031         (PARMS): Do not use macros from bp-asm.h.
32032         (STOP): Likewise.
32033         (strcspn): Do not use BP_SYM.
32034         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32035         "bp-asm.h".
32036         (PARMS): Do not use macros from bp-asm.h.
32037         (STR): Likewise.
32038         (STOP): Likewise.
32039         (strpbrk): Likewise.  Do not use BP_SYM.
32040         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32041         "bp-asm.h".
32042         (PARMS): Do not use macros from bp-asm.h.
32043         (STR): Likewise.
32044         (CHR): Likewise.
32045         (strrchr): Likewise.  Do not use BP_SYM.
32046         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32047         (PARMS): Do not use macros from bp-asm.h.
32048         (SKIP): Likewise.
32049         (strspn): Do not use BP_SYM.
32050         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32051         (PARMS): Do not use macros from bp-asm.h.
32052         (STR): Likewise.
32053         (DELIM): Likewise.
32054         (SAVE): Likewise.
32055         (FUNCTION): Likewise.  Do not use BP_SYM.
32056         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32057         aliases.
32058         (strtok_r): Likewise.
32059         (__GI___strtok_r): Likewise.
32060         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32061         (PARMS): Do not use macros from bp-asm.h.
32062         (S1): Likewise.
32063         (S2): Likewise.
32064         (SIZE): Likewise.
32065         (__mpn_sub_n): Do not use BP_SYM.
32066         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32067         "bp-asm.h".
32068         (PARMS): Do not use macros from bp-asm.h.
32069         (S1): Likewise.
32070         (SIZE): Likewise.
32071         (__mpn_submul_1): Do not use BP_SYM.
32072         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32073         <bp-sym.h>.
32074         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32075         and <bp-asm.h>.
32076         (PARMS): Do not use macros from bp-asm.h.
32077         (FLAGS): Likewise.
32078         (PTID): Likewise.
32079         (TLS): Likewise.
32080         (CTID): Likewise.
32081         (__clone): Do not use BP_SYM.
32082         (clone): Do not use BP_SYM in weak_alias.
32083         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32084         and <bp-asm.h>.
32085         (PARMS): Do not use macros from bp-asm.h.
32086         (LEN): Likewise.
32087         (__mmap64): Do not use BP_SYM.
32088         (mmap64): Do not use BP_SYM in weak_alias.
32089         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32090         <bp-sym.h> and <bp-asm.h>.
32091         (PARMS): Do not use macros from bp-asm.h.
32092         (__posix_fadvise64_l64): Do not use BP_SYM.
32093         * sysdeps/unix/sysv/linux/i386/semtimedop.S
32094         (PARMS): Do not use macros from bp-asm.h.
32095         (NSOPS): Likewise.
32096         (semtimedop): Do not use BP_SYM.
32097         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32098         and <bp-asm.h>.
32100 2013-02-21  Allan McRae  <allan@archlinux.org>
32102         * manual/message.texi (Charset conversion in gettext):
32103         Move @end statement to beginning of line.
32105 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32108         static.
32109         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32110         Likewise.
32112         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32113         (denorm): Likewise.
32114         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32115         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32117 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32119         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32120         tail-call to the resolved function if pltexit isn't needed.
32122 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
32124         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32125         or Y being zero as being unlikely.
32126         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32127         Likewise.
32129 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
32131         * manual/nss.texi (System Databases and Name Service Switch):
32132         Remove frobnicate @pxref.
32134 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32136         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32137         __attribute__ ((unused)) to __attribute__ ((__unused__)).
32139 2013-02-20  Petr Machata  <pmachata@redhat.com>
32141         * elf/elf.h (R_ARM_TARGET1): New macro.
32142         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32143         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32144         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32145         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32146         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32147         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32148         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32149         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32150         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32151         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32152         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32153         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32154         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32155         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32156         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32157         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32158         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32159         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32160         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32161         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32162         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32163         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32164         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32165         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32166         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32167         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32168         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32169         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32170         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32171         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32172         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32173         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32174         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32175         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32176         (R_ARM_THM_GOT_BREL12): Likewise.
32177         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32178         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32179         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32180         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32181         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32182         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32183         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32184         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32185         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32187 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
32189         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32190         __attribute_used__ to __attribute__ ((unused)).
32192 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32194         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32195         powerpc mpa.c.
32196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32197         comment formatting.
32198         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32200 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
32202         [BZ #13550]
32203         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32204         Remove macro.
32205         (ENTER): Remove both macro definitions.
32206         (LEAVE): Likewise.
32207         (CHECK_BOUNDS_LOW): Likewise.
32208         (CHECK_BOUNDS_HIGH): Likewise.
32209         (CHECK_BOUNDS_BOTH): Likewise.
32210         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32211         (RETURN_BOUNDED_POINTER): Likewise.
32212         (RETURN_NULL_BOUNDED_POINTER): Likewise.
32213         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32214         (POP_ERRNO_LOCATION_RETURN): Likewise.
32215         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32216         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32217         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32218         macros.
32219         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32220         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32221         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32222         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32223         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32224         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32225         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32226         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32227         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32228         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32229         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32230         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32231         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32232         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32233         removed macros.
32234         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32235         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32236         macros.
32237         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32238         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32239         * sysdeps/i386/i586/memset.S (memset): Likewise.
32240         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32241         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32242         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32243         macros.
32244         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32245         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32246         Change uses of L(2) to L(out).
32247         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32248         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32249         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32250         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32251         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32252         removed macros.
32253         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32254         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32255         macros.
32256         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32257         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32258         (RETURN): Do not use macro LEAVE.
32259         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32260         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32261         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32262         * sysdeps/i386/i686/memset.S (memset): Likewise.
32263         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32264         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32265         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32266         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32267         Likewise.
32268         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32269         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
32270         L(1_2) and L(1_3) into L(1).
32271         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32272         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32273         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32274         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32275         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32276         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32277         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32278         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32279         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32280         macros.
32281         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32282         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32283         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32284         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32285         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32286         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32287         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32288         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32289         * sysdeps/i386/strcspn.S (strcspn): Likewise.
32290         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32291         * sysdeps/i386/strrchr.S (strrchr): Likewise.
32292         * sysdeps/i386/strspn.S (strspn): Likewise.
32293         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32294         conditional code.
32295         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32296         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32297         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32298         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
32299         L(1_3) into L(1_1).
32300         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32301         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32302         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32303         macros.
32304         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32306 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
32308         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32309         macro.
32311 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32313         * math/atest-exp.c (exp_mpn): Remove ROUND.
32314         * math/atest-exp2.c (exp_mpn): Likewise.
32315         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32317         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32318         * stdlib/tst-tls-atexit-lib.c: Likewise.
32319         * stdlib/tst-tls-atexit.c: Likewise.
32321 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32323         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32324         and __attribute_alloc_size__.
32326 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32328         * include/programs/xmalloc.h: Change __attribute_alloc_size to
32329         __attribute_alloc_size__.
32330         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32331         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32333 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
32335         * include/programs/xmalloc.h: New file.
32336         * catgets/gencat.c: Include it.
32337         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32338         * elf/pldd.c: Likewise.
32339         * iconv/iconv_charmap.c: Likewise.
32340         * iconv/iconvconfig.c: Likewise.
32341         * iconv/strtab.c: Likewise.
32342         * locale/programs/locale.c: Likewise.
32343         * locale/programs/localedef.h: Likewise.
32344         * locale/programs/simple-hash.c: Likewise.
32345         * nscd/nscd.h: Likewise.
32346         * nss/makedb.c: Likewise.
32347         * sysdeps/generic/ldconfig.h: Likewise.
32349 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32351         * Versions.def: Add GLIBC_2.18.
32352         * include/link.h (struct link_map): New member l_tls_dtor_count.
32353         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32354         (__call_tls_dtors): Likewise.
32355         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32356         __cxa_thread_atexit_impl.
32357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32358         Likewise.
32359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32360         Likewise.
32361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32362         Likewise.
32363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32364         Likewise.
32365         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32367         Likewise.
32368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32369         Likewise.
32370         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32372         Likewise.
32373         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32374         (tests): Add test case tst-tls-atexit.
32375         (modules-names): Add shared library for tst-tls-atexit.
32376         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
32377         (GLIBC_PRIVATE): Add __call_tls_dtors.
32378         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32379         for libstdc++.
32380         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32381         * stdlib/tst-tls-atexit.c: New test case.
32382         * stdlib/tst-tls-atexit-lib.c: New test case.
32384         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
32386         * elf/Versions (ld): Add _dl_find_dso_for_object.
32387         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32388         * elf/dl-open.c (_dl_find_dso_for_object): New function.
32389         (dl_open_worker): Use _dl_find_dso_for_object.
32390         * elf/dl-sym.c (do_sym): Likewise.
32391         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32393 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32395         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32396         Syntactic changes only.
32397         (_dl_runtime_profile): Do a tail-call to the resolved function.
32399 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
32401         [BZ #13550]
32402         * sysdeps/x86_64/bp-asm.h: Remove file.
32403         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32404         <bp-sym.h> and <bp-asm.h>.
32405         (__clone): Do not use BP_SYM.
32406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32407         <bp-sym.h> and <bp-asm.h>.
32408         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32409         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32410         "bp-asm.h".
32411         (_setjmp): Do not use BP_SYM.
32412         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32413         "bp-asm.h".
32414         (setjmp): Do not use BP_SYM.
32415         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
32416         libc_hidden_def.
32417         (mempcpy): Do not use BP_SYM in weak_alias.
32418         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
32419         "bp-asm.h".
32420         (strchr): Do not use BP_SYM.
32421         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
32422         "bp-asm.h".
32423         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
32424         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
32425         (_start): Do not use BP_SYM.
32426         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
32427         "bp-asm.h".
32428         (strcat): Do not use BP_SYM.
32429         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
32430         "bp-asm.h".
32431         (STRCMP): Do not use BP_SYM.
32432         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
32433         "bp-asm.h".
32434         (STRCPY): Do not use BP_SYM.
32435         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
32436         "bp-asm.h".
32437         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
32438         "bp-asm.h".
32439         (FUNCTION): Do not use BP_SYM.
32440         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
32441         weak_alias.
32442         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
32444 2013-02-17  Andreas Jaeger  <aj@suse.de>
32446         * time/Versions: Sort entries.
32447         * string/Versions: Likewise.
32448         * resolv/Versions: Likewise.
32449         * posix/Versions: Likewise.
32450         * iconv/Versions: Likewise.
32451         * elf/Versions: Likewise.
32452         * wcsmbs/Versions: Likewise.
32454 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32456         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
32457         loop termination condition.
32459         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
32460         variable to calculate EZ.
32461         (__sqr): Likewise.
32463         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
32464         the lower precision input.
32466 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
32468         [BZ #13550]
32469         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
32470         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
32471         (run-via-rtld-prefix): Do not handle %-bp tests.
32472         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
32473         (all-object-suffixes): Remove .ob.
32474         (bppfx): Remove variable.
32475         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
32476         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
32477         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
32478         [$(build-bounded) = yes] (libtype.ob): Likewise.
32479         * Makerules (elide-routines.ob): Remove variable.
32480         (do-tests-clean): Do not handle *-bp.out.
32481         (common-mostlyclean): Do not handle *-bp and *-bp.out.
32482         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
32483         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
32484         (tests): Do not include $(tests-bp.out).
32485         (xtests): Do not include $(xtests-bp.out).
32486         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
32487         [$(build-bounded) = yes] ($(addprefix
32488         $(objpfx),$(binaries-bounded))): Remove rule.
32489         ($(objpfx)%-bp.out): Remove rule.
32490         * config.make.in (build-bounded): Remove variable.
32491         * crypt/Makefile [$(build-bounded) = yes]
32492         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
32493         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
32494         append to variable.
32495         [$(build-bounded) = yes] (install-lib): Likewise.
32496         [$(build-bounded) = yes] (generated): Likewise.
32497         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
32498         Remove rule.
32499         * intl/Makefile [$(build-bounded) = yes]
32500         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
32501         * math/Makefile [$(build-bounded) = yes]
32502         ($(tests:%=$(objpfx)%-bp): Likewise.
32503         * misc/Makefile [$(build-bounded) = yes]
32504         ($(objpfx)tst-tsearch-bp): Likewise.
32505         * nptl/Makeconfig (bounded-thread-library): Remove variable.
32506         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
32507         Remove dependency.
32508         * string/Makefile (o-objects.ob): Remove variable.
32509         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
32510         (CFLAGS-.ob): Remove variable.
32511         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
32512         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
32513         both definitions of variable.
32514         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
32515         (ASFLAGS-.ob): Remove variable.
32517 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
32519         [BZ #13550]
32520         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
32521         Remove __BOUNDED_POINTERS__ from condition.
32522         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
32523         * string/bits/string2.h [!__NO_STRING_INLINES &&
32524         !__BOUNDED_POINTERS__]: Likewise.
32525         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
32526         Likewise.
32527         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
32528         Remove conditional code.
32529         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
32530         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
32531         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
32532         condition.
32534         [BZ #13550]
32535         * csu/libc-start.c: Do not include <bp-sym.h>.
32536         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
32537         * elf/dl-open.c: Do not include <bp-sym.h>.
32538         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
32539         * math/fegetenv.c: Do not include <bp-sym.h>.
32540         (fegetenv): Do not use BP_SYM in versioned symbols.
32541         * nptl/sysdeps/pthread/bits/libc-lockP.h
32542         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
32543         <bp-sym.h>.
32544         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32545         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
32546         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32547         (__pthread_mutex_destroy): Likewise.
32548         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32549         (__pthread_mutex_lock): Likewise.
32550         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32551         (__pthread_mutex_trylock): Likewise.
32552         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32553         (__pthread_mutex_unlock): Likewise.
32554         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32555         (__pthread_mutexattr_init): Likewise.
32556         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32557         (__pthread_mutexattr_destroy): Likewise.
32558         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32559         (__pthread_mutexattr_settype): Likewise.
32560         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32561         (__pthread_rwlock_init): Likewise.
32562         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32563         (__pthread_rwlock_destroy): Likewise.
32564         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32565         (__pthread_rwlock_rdlock): Likewise.
32566         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32567         (__pthread_rwlock_tryrdlock): Likewise.
32568         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32569         (__pthread_rwlock_wrlock): Likewise.
32570         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32571         (__pthread_rwlock_trywrlock): Likewise.
32572         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32573         (__pthread_rwlock_unlock): Likewise.
32574         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32575         (__pthread_key_create): Likewise.
32576         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32577         (__pthread_setspecific): Likewise.
32578         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32579         (__pthread_getspecific): Likewise.
32580         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
32581         Likewise.
32582         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32583         (_pthread_cleanup_push_defer): Likewise.
32584         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32585         (_pthread_cleanup_pop_restore): Likewise.
32586         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
32587         (pthread_setcancelstate): Likewise.
32588         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
32589         <bp-sym.h>.
32590         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
32591         (memchr): Do not use BP_SYM in weak_alias.
32592         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
32593         (fegetenv): Do not use BP_SYM in versioned symbols.
32594         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
32595         (fesetenv): Do not use BP_SYM in versioned symbols.
32596         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32597         (feupdateenv): Do not use BP_SYM in versioned symbols.
32598         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32599         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32600         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
32601         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
32602         (open64): Do not use BP_SYM in weak_alias.
32603         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
32604         (fegetenv): Do not use BP_SYM in versioned symbols.
32605         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
32606         (fesetenv): Do not use BP_SYM in versioned symbols.
32607         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
32608         (feupdateenv): Do not use BP_SYM in versioned symbols.
32609         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
32610         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
32611         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
32612         (feraiseexcept): Do not use BP_SYM in versioned symbols.
32613         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
32614         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
32615         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
32616         <bp-sym.h>.
32617         (__libc_start_main): Do not use BP_SYM.
32619 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32621         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
32622         redundant return line.
32623         (norm): Likewise.
32624         (denorm): Likewise.
32625         (dbl_mp): Likewise.
32626         (sub_magnitudes): Likewise.
32627         (__add): Likewise.
32628         (__sub): Likewise.
32629         (__mul): Likewise.
32630         (__inv): Likewise.
32631         (__dvd): Likewise.
32632         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
32633         (norm): Likewise.
32634         (denorm): Likewise.
32635         (dbl_mp): Likewise.
32636         (sub_magnitudes): Likewise.
32637         (__add): Likewise.
32638         (__sub): Likewise.
32639         (__mul): Likewise.
32640         (__inv): Likewise.
32641         (__dvd): Likewise.
32643         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
32644         instead of __mul.
32645         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
32646         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
32647         (cc32): Likewise.
32649         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
32650         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
32651         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
32652         of __mul for squares.
32653         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
32654         function
32655         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
32656         Likewise.
32657         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
32658         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32660 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32662         [BZ #13550]
32663         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32664         code.
32665         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32666         prototype or function definition.  Rename ubp_* variables and
32667         parameters.  Remove argv definitions conditional on
32668         [__BOUNDED_POINTERS__].
32669         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32670         * elf/dl-runtime.c (_dl_fixup): Likewise.
32671         * include/set-hooks.h (RUN_HOOK): Likewise.
32672         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32673         definition.
32674         * string/strcpy.c (strcpy): Do not use __unbounded.
32675         * sysdeps/generic/frame.h (struct layout): Likewise.
32676         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32677         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32678         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32679         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32680         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32681         (__backtrace): Likewise.
32682         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32683         use __ptrvalue.
32684         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32685         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32686         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32687         Likewise.
32688         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32689         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32690         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32691         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32692         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32693         Do not use __unbounded.
32694         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32695         Rename __unboundedrlimits parameter to rlimits in prototype.
32696         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32697         Do not use __unbounded.
32698         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32699         not use __ptrvalue.
32700         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32701         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32702         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32703         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32704         __ptrvalue or __unbounded.
32705         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32706         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32707         use __unbounded.
32708         (__new_msgctl): Do not use __ptrvalue.
32709         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32710         __unbounded.
32711         (__libc_msgrcv): Do not use __ptrvalue.
32712         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32713         startup_info): Do not use __unbounded.
32714         (__libc_start_main): Likewise.  Rename ubp_* variables and
32715         parameters.  Remove argv definitions conditional on
32716         [__BOUNDED_POINTERS__].
32717         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32718         __ptrvalue.
32719         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32720         use __unbounded.
32721         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32722         or __ptrvalue.
32723         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32724         use __unbounded.
32725         (__new_shmctl): Do not use __ptrvalue.
32726         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32727         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32728         Likewise.
32729         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32730         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32731         (__libc_sigaction): Likewise.
32732         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32733         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32734         Likewise.
32735         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32737 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32739         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32741         * string/mempcpy.c: Implement by calling memcpy.
32743 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32745         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32747         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32748         evaluation.
32750         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32751         values in the mantissa.
32753         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32754         minimize writes to Z.
32755         (sub_magnitudes): Simplify code a bit.
32757 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32759         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32760         from the message.  The linker prefixes all warnings with that already.
32762 2013-02-12  Andreas Schwab  <schwab@suse.de>
32764         [BZ #15078]
32765         * posix/regexec.c (extend_buffers): Add parameter min_len.
32766         (check_matching): Pass minimum needed length.
32767         (clean_state_log_if_needed): Likewise.
32768         (get_subexp): Likewise.
32769         * posix/Makefile (tests): Add bug-regex34.
32770         (bug-regex34-ENV): Define.
32771         * posix/bug-regex34.c: New file.
32773         [BZ #11561]
32774         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32775         elements compare against the byte sequence of it, not its name.
32776         * posix/Makefile (tests): Add bug-regex35.
32777         (bug-regex35-ENV): Define.
32778         * posix/bug-regex35.c: New file.
32780 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32782         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32783         comment.
32784         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32785         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32786         (CHECK_EOL): Add undef.
32788 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32790         * bits/stdlib-bsearch.h: New file.
32791         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32792         * stdlib/stdlib.h: Likewise.
32794 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32796         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32797         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32798         declaration.
32799         * manual/search.texi (Array Search Function): Add missing const in
32800         lfind prototype.
32801         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32802         declaration to use rlim_t.
32803         (Basic Scheduling Functions): Remove erroneous const from
32804         sched_getparam prototype.  Remove erroneous * from
32805         sched_get_priority_max and sched_get_priority_min prototypes.
32806         (Resource Usage): Fix summary @comment on vtimes to refer to
32807         sys/vtimes.h rather than vtimes.h.
32808         Add missing *s in vtimes prototype.
32809         (Limits on Resources): Fix ulimit prototype to return long int.
32810         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32811         prototypes to use long int rather than double.
32812         (BSD Random): Fix initstate and setstate to use char *, not void *.
32813         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32814         prototype to make second argument 'struct aiocb64 *const[]'.
32815         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32816         (Status of AIO Operations): Remove erroneous const in aio_return and
32817         aio_return64 prototypes.
32818         (Synchronizing I/O): Fix sync prototype to return void.
32819         * manual/startup.texi (Suboptions): Remove an erroneous const in
32820         getsubopt prototype.
32821         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32822         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32823         use size_t rather than int.
32824         (Scanning All Users): Likewise for getpwent_r.
32825         (Setting Groups): Add missing const to setgroups prototype.
32826         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32827         * manual/socket.texi (Host Names): Fix gethostbyaddr and
32828         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32829         'const void *' rather than 'const char *'.
32830         (Host Address Functions): Likewise for inet_ntop.
32831         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32832         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32833         ssize_t for return value.
32834         (Sending Data): Likewise for send, sendto, sendmsg.
32835         (Socket Option Functions): Add a missing const in setsockopt prototype.
32836         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32837         use wchar_t for the argument.
32838         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32839         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32840         take no arguments.
32841         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32842         double/float/long double for second argument.
32843         Fix return types of significand, significandf, significandl.
32844         * manual/filesys.texi (Setting Permissions): Use mode_t for second
32845         argument in fchmod prototype.
32846         (File Owner): Use uid_t and gid_t in fchown prototype.
32847         (File Times): Add const to utimes, futimes, and lutimes prototypes.
32848         (Making Special Files): Use mode_t and dev_t in mknod prototype.
32849         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32850         use 'const struct dirent **' as argument types to CMP function pointer
32851         argument.
32852         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32853         (File Times): Fix summary magic @comment for struct utimbuf and utime
32854         to refer to utime.h, not time.h.
32855         * manual/string.texi (Argz Functions): Add missing const in
32856         argz_extract and argz_next prototypes.
32857         (Finding Tokens in a String): Likewise for basename.
32858         (String/Array Comparison): Fix typo in wcscasecmp prototype.
32859         (Copying and Concatenation): Fix typo in wmemmove prototype.
32860         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32861         (Signal Stack): Remove erroneous const in sigstack prototype.
32862         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32863         prototype.
32864         (Simple Calendar Time): Likewise for stime.
32865         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32866         prototype.
32867         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32868         say sys/sysctl.h instead.
32869         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32870         and vsyslog prototypes.
32872 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32874         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32875         Remove.
32877 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32879         * misc/sys/mman.h: Fix typo in mremap comment.
32881 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32883         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32884         the '\0' terminator.
32886 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32888         [BZ #13550]
32889         * debug/segfault.c: Don't include <bp-checks.h>.
32890         * sysdeps/generic/bp-checks.h: Remove file.
32891         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32892         (__GETDENTS): Don't use CHECK_N.
32893         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32894         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32895         (__getgroups): Don't use CHECK_N.
32896         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32897         (setgroups): Don't use CHECK_N.
32898         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32899         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32900         (__libc_msgrcv): Don't use CHECK_N.
32901         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32902         (__libc_msgsnd): Don't use CHECK_N.
32903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32904         <bp-checks.h>.
32905         (__libc_pread): Don't use CHECK_N.
32906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32907         include <bp-checks.h>.
32908         (__libc_pread64): Don't use CHECK_N.
32909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32910         include <bp-checks.h>.
32911         (__libc_pwrite): Don't use CHECK_N.
32912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32913         include <bp-checks.h>.
32914         (__libc_pwrite64): Don't use CHECK_N.
32915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32916         <bp-checks.h>.
32917         (__libc_pread): Don't use CHECK_N.
32918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32919         include <bp-checks.h>.
32920         (__libc_pread64): Don't use CHECK_N.
32921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32922         include <bp-checks.h>.
32923         (__libc_pwrite): Don't use CHECK_N.
32924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32925         include <bp-checks.h>.
32926         (__libc_pwrite64): Don't use CHECK_N.
32927         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32928         (do_pread): Don't use CHECK_N.
32929         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32930         (do_pread64): Don't use CHECK_N.
32931         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32932         (do_pwrite): Don't use CHECK_N.
32933         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32934         (do_pwrite64): Don't use CHECK_N.
32935         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32936         (__libc_readv): Don't use CHECK_N.
32937         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32938         (semop): Don't use CHECK_N.
32939         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32940         <bp-checks.h>.
32941         (semtimedop): Don't use CHECK_N.
32942         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32943         (__libc_pread): Don't use CHECK_N.
32944         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32945         <bp-checks.h>.
32946         (__libc_pread64): Don't use CHECK_N.
32947         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32948         <bp-checks.h>.
32949         (__libc_pwrite): Don't use CHECK_N.
32950         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32951         <bp-checks.h>.
32952         (__libc_pwrite64): Don't use CHECK_N.
32953         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32954         <bp-checks.h>.
32955         (__libc_msgrcv): Don't use CHECK_N.
32956         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32957         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
32958         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32959         (__libc_writev): Don't use CHECK_N.
32961 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32963         * string/strcpy.c: Removed unused variable.
32965         * Makeconfig (+sysdep-includes): Define with := rather than =.
32966         Use an existing include/ subdir of each sysdeps dir before it.
32968 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32970         * nscd/connection.c (register_traced_file): Comment function.
32971         [HAVE_INOTIFY] (union __inev): Define.
32972         [HAVE_INOTIFY] (inotify_check_files): New function.
32973         [HAVE_INOTIFY] (clear_db_cache): Likewise.
32974         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32975         clear_db_cache.
32976         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32978 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32980         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32981         loaded if not already and that a failure is permanent.
32983 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32985         [BZ #15006]
32986         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32987         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32989 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32991         [BZ #13550]
32992         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32993         (CHECK_1_NULL_OK): Likewise.
32994         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32995         (__fxstat): Do not use CHECK_1.
32996         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32997         <bp-checks.h>.
32998         (___fxstat64): Do not use CHECK_1.
32999         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33000         <bp-checks.h>.
33001         (__fxstatat): Do not use CHECK_1.
33002         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33003         <bp-checks.h>.
33004         (__fxstatat64): Do not use CHECK_1.
33005         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33006         <bp-checks.h>.
33007         (__fxstat): Do not use CHECK_1.
33008         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33009         <bp-checks.h>.
33010         (__fxstatat): Do not use CHECK_1.
33011         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33012         <bp-checks.h>.
33013         (__getresgid): Do not use CHECK_1.
33014         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33015         <bp-checks.h>.
33016         (__getresuid): Do not use CHECK_1.
33017         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33018         <bp-checks.h>.
33019         (__lxstat): Do not use CHECK_1.
33020         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33021         <bp-checks.h>.
33022         (__old_msgctl): Do not use CHECK_1.
33023         (__new_msgctl): Likewise.
33024         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33025         <bp-checks.h>.
33026         (__new_setrlimit): Do not use CHECK_1.
33027         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33028         <bp-checks.h>.
33029         (__old_shmctl): Do not use CHECK_1.
33030         (__new_shmctl): Likewise.
33031         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33032         <bp-checks.h>.
33033         (__xstat): Do not use CHECK_1.
33034         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33035         (__lxstat): Do not use CHECK_1.
33036         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33037         <bp-checks.h>.
33038         (___lxstat64): Do not use CHECK_1.
33039         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33040         (__old_msgctl): Do not use CHECK_1.
33041         (__new_msgctl): Likewise.
33042         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33043         <bp-checks.h>.
33044         (__gettimeofday): Do not use CHECK_1.
33045         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33046         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33047         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33048         <bp-checks.h>.
33049         (__gettimeofday): Do not use CHECK_1.
33050         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33051         (__old_shmctl): Do not use CHECK_1_NULL_OK.
33052         (__new_shmctl): Do not use CHECK_1.
33053         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33054         <bp-checks.h>.
33055         (do_sigtimedwait): Do not use CHECK_1.
33056         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33057         <bp-checks.h>.
33058         (do_sigwaitinfo): Do not use CHECK_1.
33059         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33060         <bp-checks.h>.
33061         (msgctl): Do not use CHECK_1.
33062         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33063         <bp-checks.h>.
33064         (shmctl): Do not use CHECK_1.
33065         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33066         (ustat): Do not use CHECK_1.
33067         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33068         <bp-checks.h>.
33069         (__fxstat): Do not use CHECK_1.
33070         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33071         <bp-checks.h>.
33072         (__fxstatat): Do not use CHECK_1.
33073         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33074         <bp-checks.h>.
33075         (__lxstat): Do not use CHECK_1.
33076         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33077         <bp-checks.h>.
33078         (__xstat): Do not use CHECK_1.
33079         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33080         (__xstat): Do not use CHECK_1.
33081         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33082         (___xstat64): Do not use CHECK_1.
33084         [BZ #13550]
33085         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33086         definitions.
33087         (CHECK_BOUNDS_HIGH): Likewise.
33088         * string/strcpy.c: Do not include <bp-checks.h>.
33089         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33091 2013-02-07  Roland McGrath  <roland@hack.frob.com>
33093         * nscd/nscd-client.h (__nscd_drop_map_ref):
33094         Add __attribute__ ((unused)).
33095         * nis/nss-nisplus.h (niserr2nss): Likewise.
33097         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33098         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33100         * csu/libc-tls.c (init_static_tls, init_slotinfo):
33101         Remove inline keyword.
33102         * include/rounding-mode.h (round_away): Likewise.
33103         * libio/wfileops.c (adjust_wide_data): Likewise.
33104         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33105         (__m128i_strloadu_tolower): Likewise.
33106         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33107         (__m128i_strloadu_tolower): Likewise.
33108         * time/mktime.c (ydhms_diff): Likewise.
33109         * locale/elem-hash.h (elem_hash): Likewise.
33110         * locale/setlocale.c (setdata): Likewise.
33111         * posix/regex_internal.h (re_string_char_size_at): Likewise.
33112         (re_string_wchar_at): Likewise.
33113         (bitset_not, bitset_merge, bitset_mask): Likewise.
33114         [!(__GNUC__ > 3)] (inline): Remove macro.
33115         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33116         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33117         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33118         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33119         * string/memcmp.c (memcmp_bytes): Likewise.
33120         * locale/programs/locarchive.c (compute_hashval): Likewise.
33121         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33122         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33123         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33124         * nss/getent.c (print_rpc, print_protocols): Likewise.
33125         (print_passwd, print_group, print_aliases): Likewise.
33126         * nis/nss-nisplus.h (niserr2nss): Likewise.
33127         * nscd/connections.c (restart_p): Likewise.
33128         Change return type to bool.
33130 2013-02-05  Roland McGrath  <roland@hack.frob.com>
33132         * Makeconfig (all-Depend-files): Add existing
33133         $(sorted-subdirs:=/Depend) files.
33134         (all-subdirs): Remove nss.
33135         * sysdeps/unix/inet/Subdirs: Add it here instead.
33136         * hesiod/Depend: New file.
33138         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33139         instead of calling alloca.
33141         * io/lseek.c (__lseek): Rename to __libc_lseek.
33142         Define __lseek as an alias.
33144         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33146 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
33148         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33149         else clause and remove check for non-standard endianness.
33151 2013-02-04  David S. Miller  <davem@davemloft.net>
33153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33155 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
33157         [BZ #13550]
33158         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33159         (__ubp_memchr): Remove prototype.
33160         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33161         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33162         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33163         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33164         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33165         Remove alias.
33166         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33167         (__ubp_memchr): Likewise.
33168         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33169         (__ubp_memchr): Likewise.
33170         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33171         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33172         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33173         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33174         CHECK_STRING.
33175         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33176         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33177         (__getcwd): Do not use CHECK_STRING.
33178         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33179         <bp-checks.h>.
33180         (__real_chown): Do not use CHECK_STRING.
33181         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33182         <bp-checks.h>.
33183         (fchownat): Do not use CHECK_STRING.
33184         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33185         CHECK_STRING.
33186         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33187         <bp-checks.h>.
33188         (__lchown): Do not use CHECK_STRING.
33189         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33190         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33191         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33192         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33194         include <bp-checks.h>.
33195         (truncate64): Do not use CHECK_STRING.
33196         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33197         <bp-checks.h>.
33198         (__real_chown): Do not use CHECK_STRING.
33199         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33200         <bp-checks.h>.
33201         (__lchown): Do not use CHECK_STRING.
33202         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33203         <bp-checks.h>.
33204         (__chown): Do not use CHECK_STRING.
33205         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33206         <bp-checks.h>.
33207         (truncate64): Do not use CHECK_STRING.
33208         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33209         Likewise.
33210         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33211         (__xmknod): Do not use CHECK_STRING.
33212         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33213         <bp-checks.h>.
33214         (__xmknodat): Do not use CHECK_STRING.
33215         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33216         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33218 2013-02-04  Andreas Schwab  <schwab@suse.de>
33220         [BZ #14142]
33221         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33222         * include/netdb.h: Likewise for h_errno.
33223         * elf/tst-stackguard1.c: Include <tls.h>.
33225 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
33227         * elf/link.h (struct link_map): Extend the l_addr comment.
33228         * include/link.h (struct link_map): Likewise.
33230 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
33232         [BZ #13550]
33233         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33234         (BOUNDED_1): Remove macro.
33235         * debug/backtrace.c: Don't include <bp-checks.h>.
33236         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33237         (__backtrace): Likewise.
33238         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33239         <bp-checks.h>.
33240         (__backtrace): Don't use BOUNDED_1.
33241         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33242         <bp-checks.h>.
33243         (__backtrace): Don't use BOUNDED_1.
33244         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33245         (__backtrace): Don't use BOUNDED_1.
33246         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33247         (shmat): Don't use BOUNDED_N.
33249 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
33251         [BZ #13550]
33252         * sysdeps/generic/bp-start.h: Remove file.
33253         * csu/libc-start.c: Don't include <bp-start.h>.
33254         (LIBC_START_MAIN): Set up __environ directly instead of using
33255         INIT_ARGV_and_ENVIRON.
33256         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33257         <bp-start.h>.
33259         [BZ #13550]
33260         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33261         definitions.
33262         (CHECK_FCNTL): Likewise.
33263         (CHECK_N_PAGES): Likewise.
33265         [BZ #13550]
33266         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33267         definitions.
33268         (CHECK_SIGSET_NULL_OK): Likewise.
33269         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33270         <bp-checks.h>.
33271         (sigpending): Don't use CHECK_SIGSET.
33272         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33273         <bp-checks.h>.
33274         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33275         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33276         <bp-checks.h>.
33277         (do_sigsuspend): Don't use CHECK_SIGSET.
33278         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33279         use CHECK_SIGSET.
33280         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33281         (do_sigwait): Don't use CHECK_SIGSET.
33282         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33283         use CHECK_SIGSET.
33284         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33285         include <bp-checks.h>.
33286         (sigpending): Don't use CHECK_SIGSET.
33287         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33288         include <bp-checks.h>.
33289         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33290         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33291         <bp-checks.h>.
33292         (sigpending): Don't use CHECK_SIGSET.
33293         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33294         <bp-checks.h>.
33295         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33297         [BZ #13550]
33298         * sysdeps/generic/bp-semctl.h: Remove file.
33299         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33300         <bp-checks.h> and <bp-semctl.h>.
33301         (__old_semctl): Don't use CHECK_SEMCTL.
33302         (__new_semctl): Likewise.
33303         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33304         and <bp-semctl.h>.
33305         (__old_semctl): Don't use CHECK_SEMCTL.
33306         (__new_semctl): Likewise.
33307         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33308         <bp-checks.h> and <bp-semctl.h>.
33309         (__old_semctl): Don't use CHECK_SEMCTL.
33310         (__new_semctl): Likewise.
33311         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33312         <bp-checks.h> and <bp-semctl.h>.
33313         (semctl): Don't use CHECK_SEMCTL.
33315         [BZ #13550]
33316         * Makerules (elide-bp-thunks): Remove variable.
33317         (elide-routines.oS): Don't use $(elide-bp-thunks).
33318         (elide-routines.os): Likewise.
33319         (elide-routines.o): Likewise.
33320         (elide-routines.op): Likewise.
33321         (elide-routines.og): Likewise.
33322         (objects): Don't use $(bp-thunks).
33323         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33324         include.
33325         (common-generated): Do not add s-proto-bp.d.
33326         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33327         (int): Likewise.
33328         (typ): Likewise.
33329         Do not generate makefile rules for bounded-pointer thunks.
33330         * sysdeps/generic/bp-thunks.h: Remove file.
33331         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33332         * sysdeps/unix/s-proto-bp.S: Likewise.
33334         [BZ #15062]
33335         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33336         parts of result separately when argument is not close to line from
33337         -i to i and one part of argument is small.
33338         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33339         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33340         * math/libm-test.inc (cacos_test): Add more tests.
33341         (casin_test): Likewise.
33342         (casinh_test): Likewise.
33343         * sysdeps/i386/fpu/libm-test-ulps: Update.
33344         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33346 2013-01-31  David S. Miller  <davem@davemloft.net>
33348         * po/de.po: Update from translation team.
33350 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
33352         * time/tzfile.c: Include stdint.h for SIZE_MAX.
33354 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
33356         * configure.in (_AC_PROG_CC_C89): New definition.
33357         * configure: Regenerate.
33359         * configure.in (AC_PROG_CPP): New definition.
33360         * configure: Regenerate.
33362 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33364         * debug/tst-backtrace.h: New file.
33365         * debug/tst-backtrace2.c: Include tst-backtrace.h.
33366         (ret): Remove variable.
33367         (x): Likewise.
33368         (FAIL): Remove macro.
33369         (NO_INLINE): Likewise.
33370         (fn1): Use match function instead of strstr.
33371         * debug/tst-backtrace3.c: Include tst-backtrace.h.
33372         (ret): Remove variable.
33373         (x): Likewise.
33374         (FAIL): Remove macro.
33375         (NO_INLINE): Likewise.
33376         (fn): Use match function instead of strstr.
33377         * debug/tst-backtrace4.c: Include tst-backtrace.h.
33378         (ret): Remove variable.
33379         (x): Likewise.
33380         (FAIL): Remove macro.
33381         (NO_INLINE): Likewise.
33382         (handle_signal): Use match function instead of strstr.
33383         * debug/tst-backtrace5.c: Include tst-backtrace.h.
33384         (ret): Remove variable.
33385         (x): Likewise.
33386         (FAIL): Remove macro.
33387         (NO_INLINE): Likewise.
33388         (handle_signal): Use match function instead of strstr.
33390 2013-01-23  Roland McGrath  <roland@hack.frob.com>
33392         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33394 2013-01-23  David S. Miller  <davem@davemloft.net>
33396         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33397         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33398         argument of CAS if possible.
33399         * sysdeps/sparc/sparc64/bits/atomic.h
33400         (__arch_compare_and_exchange_val_32_acq): Likewise.
33401         (__arch_compare_and_exchange_val_64_acq): Likewise.
33403 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
33405         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33406         * sysdeps/posix/ulimit.c: ... this.
33407         Include <limits.h>.
33408         * sysdeps/unix/bsd/ulimit.c: Remove file.
33410 2013-01-23  Adam Conrad  <adconrad@0c3.net>
33412         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33413         (LDFLAGS-tst-array5): Likewise.
33415 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
33417         [BZ #15036]
33418         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
33419         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
33420         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
33421         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
33423 2013-01-21  David S. Miller  <davem@davemloft.net>
33425         * sysdeps/sparc/backtrace.c: New file.
33426         * sysdeps/sparc/sparc32/backtrace.h: New file.
33427         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
33428         * sysdeps/sparc/sparc64/backtrace.h: New file.
33429         * sysdeps/sparc/sparc64/backtrace.c: Delete.
33430         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
33431         -funwind-tables.
33433 2013-01-21  Andreas Schwab  <schwab@suse.de>
33435         [BZ #15020]
33436         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
33437         closed its stdout.
33439 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
33441         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
33442         "mpa2.h".
33443         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33445 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
33446             Mark Mitchell  <mark@codesourcery.com>
33447             Tom de Vries  <tom@codesourcery.com>
33448             Paul Pluzhnikov  <ppluzhnikov@google.com>
33450         * debug/tst-backtrace2.c: New file.
33451         * debug/tst-backtrace3.c: Likewise.
33452         * debug/tst-backtrace4.c: Likewise.
33453         * debug/tst-backtrace5.c: Likewise.
33454         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
33455         (CFLAGS-tst-backtrace3.c): Likewise.
33456         (CFLAGS-tst-backtrace4.c): Likewise.
33457         (CFLAGS-tst-backtrace5.c): Likewise.
33458         (LDFLAGS-tst-backtrace2): Likewise.
33459         (LDFLAGS-tst-backtrace3): Likewise.
33460         (LDFLAGS-tst-backtrace4): Likewise.
33461         (LDFLAGS-tst-backtrace5): Likewise.
33462         (tests): Add new tests tst-backtrace2, tst-backtrace3,
33463         tst-backtrace4 and tst-backtrace5.
33465 2013-01-18  Anton Blanchard  <anton@samba.org>
33466             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33468         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
33469         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
33470         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
33471         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
33472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33473         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
33474         "+r" and remove output regs list as redundant.  Add explicit inline
33475         asm to specify register of return val to work around compiler codegen
33476         bug.  Remove (int) cast on return value.  Add return type parameter to
33477         use in macro so that this macro does not truncate return value for
33478         64-bit values.
33479         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
33480         pass to INTERNAL_VSYSCALL_NCS.
33481         (INLINE_VSYSCALL): Add 'long int' as return type to
33482         INTERNAL_VSYSCALL_NCS macro invocation.
33483         (INTERNAL_VSYSCALL): Add 'long int' as return type to
33484         INTERNAL_VSYSCALL_NCS macro invocation.
33485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33487 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33489         [BZ #14496]
33490         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
33491         Fix application of SIMD FP exception mask.
33493         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
33494         mp_no from a power of two.
33495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
33496         __mpexp_twomm1.  Use __pow_mp.
33498         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
33499         multiplication.
33501 2013-01-17  David S. Miller  <davem@davemloft.net>
33503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33505 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33507         [BZ #15023]
33508         * include/complex.h: Condition contents on [!_COMPLEX_H].
33509         (__kernel_casinhf): New prototype.
33510         (__kernel_casinh): Likewise.
33511         (__kernel_casinhl): Likewise.
33512         * math/Makefile (libm_calls): Add k_casinh.
33513         * math/k_casinh.c: New file.
33514         * math/k_casinhf.c: Likewise.
33515         * math/k_casinhl.c: Likewise.
33516         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
33517         finite nonzero arguments.
33518         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
33519         finite nonzero arguments.
33520         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
33521         finite nonzero arguments.
33522         * math/s_casinh.c: Do not include <float.h>.
33523         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
33524         * math/s_casinhf.c: Do not include <float.h>.
33525         (__casinhf): Move code for finite nonzero arguments to
33526         k_casinhf.c.
33527         * math/s_casinhl.c: Do not include <float.h>.
33528         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
33529         redefine.
33530         (__casinhl): Move code for finite nonzero arguments to
33531         k_casinhl.c.
33532         * math/libm-test.inc (cacos_test): Add more tests.
33533         * sysdeps/i386/fpu/libm-test-ulps: Update.
33534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33536 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
33538         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
33539         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
33540         [!HAVE_MREMAP]: Remove [defined linux] case.
33541         * malloc/arena.c: Do not include <malloc-sysdep.h>.
33543 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33545         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
33547 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
33549         * elf/elf.h (R_386_SIZE32): New relocation.
33550         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
33551         R_386_SIZE32.
33552         (elf_machine_rela): Likewise.
33553         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
33554         R_X86_64_SIZE64 and R_X86_64_SIZE32.
33556 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
33558         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
33559         (FP_FAST_FMA): Do not define.
33560         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
33561         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
33562         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
33563         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
33564         !_SOFT_FLOAT]: Likewise.
33565         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
33566         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
33567         value.
33568         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
33569         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
33570         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
33571         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
33572         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
33573         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
33574         file.
33576 2013-01-16  Andreas Schwab  <schwab@suse.de>
33578         [BZ #14327]
33579         * include/stdlib.h (__mktemp): Add declaration.
33580         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
33581         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
33583 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33585         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
33586         definitions.
33587         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33588         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
33589         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
33590         definitions here.
33591         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
33592         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
33593         definitions.
33594         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
33595         and ONE.
33596         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
33597         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
33598         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
33599         definitions.
33600         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
33601         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
33602         definitions.
33603         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33605         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
33607 2013-01-15  David S. Miller  <davem@davemloft.net>
33609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33610         trunc{,f} to libm-sysdep_routes.
33611         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
33613         file.
33614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
33615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
33616         file.
33617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
33618         file.
33619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
33620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
33621         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
33622         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
33623         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
33624         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
33625         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
33626         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
33628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33629         nearbyint{,f} to libm-sysdep_routes.
33630         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
33632         New file.
33633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
33634         file.
33635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
33636         New file.
33637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
33638         file.
33639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
33640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
33641         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
33642         file.
33643         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
33644         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
33645         file.
33646         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
33647         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
33648         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
33650         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
33651         libc_feholdexcept and libc_fesetenv.
33653 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
33655         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
33657 2013-01-14  David S. Miller  <davem@davemloft.net>
33659         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33660         (SPARC_ASM_VIS2_IFUNC): Likewise.
33661         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33663         use of 'siam' instruction.
33664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33665         Likewise.
33666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33667         Likewise.
33668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33669         Likewise.
33670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33671         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33673         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33675         file.
33676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33677         file.
33678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33679         file.
33680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33681         file.
33682         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33683         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33684         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33685         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33687         new VIS2 routines.
33688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33691         Likewise.
33692         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33693         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33694         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33695         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33697         routines to libm-sysdep_routines.
33698         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33701         fdim/fdimf to libm-sysdep_routines.
33702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33703         file.
33704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33706         file.
33707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33710         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33711         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33712         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33713         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33715 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33717         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33718         to optimize copies.
33720         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33721         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33722         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33724         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33725         local variable MPTWO.
33726         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33727         Likewise.
33729 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33731         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33732         GLOB_NOESCAPE.
33734 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33736         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33738 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33740         * manual/pattern.texi (glob_t): Document gl_flags.
33741         (glob64_t): Likewise.
33743 2013-01-11  David S. Miller  <davem@davemloft.net>
33745         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33746         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33747         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33748         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33749         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33750         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33751         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33752         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33753         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33754         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33755         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33756         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33757         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33759         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33760         sparc V9 rather than using V8 code.
33761         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33762         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33764         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33765         Move to...
33766         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33767         Here.
33769 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33771         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33772         not in the main loop.
33773         * configure: Regenerated.
33775 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33777         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33778         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33779         to just #else.
33780         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33781         [!__GLIBC_HAVE_LONG_LONG] case.
33782         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33783         condition to just #else.
33784         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33785         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33786         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33787         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33788         unconditional.
33789         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33790         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33791         #elif condition to just #else.
33792         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33793         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33794         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33795         #elif condition to just #else.
33797 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33799         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33800         (EF_MIPS_ARCH_64): Fix value.
33801         (EF_MIPS_ARCH_32R2): New.
33802         (EF_MIPS_ARCH_64R2): New.
33804 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33806         * Makeconfig (+link-pie-before-libc): New.
33807         (+link-pie-after-libc): Likewise.
33808         (+link-pie-tests): Likewise.
33809         (+link-pie): Rewritten.
33810         (link-before-libc): Remove $(config-LDFLAGS).
33811         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33812         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33813         (config-LDFLAGS): Renamed to ...
33814         (rtld-LDFLAGS): This.
33815         (rtld-tests-LDFLAGS): New macro.
33816         (link-libc-rpath-link): Likewise.
33817         (link-libc-tests-rpath-link): Likewise.
33818         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33819         (link-libc): Prepand $(link-libc-rpath-link).
33820         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33821         (test-program-prefix): New macro.
33822         (test-via-rtld-prefix): Likewise.
33823         (test-program-cmd): Likewise.
33824         (host-test-program-cmd): Likewise.
33825         * Makefile ($(common-objpfx)testrun.sh): Replace
33826         $(run-program-prefix) with $(test-program-prefix).
33827         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33828         $(rtld-LDFLAGS).
33829         ($(common-objpfx)shlib.lds): Likewise.
33830         (build-module-helper): Likewise.
33831         ($(common-objpfx)format.lds): Likewise.
33832         * Rules (binaries-pie-tests): New.
33833         (binaries-pie-notests): Likewise.
33834         (binaries-pie): Rewritten.
33835         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33836         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33837         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33838         (make-test-out): Replace $(host-built-program-cmd) with
33839         $(host-test-program-cmd).
33840         * config.make.in (build-hardcoded-path-in-tests): New variable.
33841         * configure.in (--enable-hardcoded-path-in-tests): New configure
33842         option.
33843         (hardcoded_path_in_tests): New AC_SUBST.
33844         * configure: Regenerated.
33845         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33846         $(built-program-cmd) with $(test-program-cmd).
33847         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33848         (test_program_cmd): This.
33849         * elf/Makefile ($(objpfx)order.out): Run test with
33850         $(test-program-prefix).
33851         ($(objpfx)order2.out): Likewise.
33852         ($(objpfx)tst-initorder.out): Likewise.
33853         ($(objpfx)tst-initorder2.out): Likewise.
33854         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33855         $(test-program-cmd).
33856         ($(objpfx)tst-array1-static.out): Likewise.
33857         ($(objpfx)tst-array2.out): Likewise.
33858         ($(objpfx)tst-array3.out): Likewise.
33859         ($(objpfx)tst-array4.out): Likewise.
33860         ($(objpfx)tst-array5.out): Likewise.
33861         ($(objpfx)tst-array5-static.out): Likewise.
33862         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33863         $(test-program-cmd).
33864         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33865         $(run-program-prefix) with $(test-program-prefix).
33866         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33867         (test_program_prefix): This.
33868         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33869         $(run-program-prefix) with $(test-program-prefix).
33870         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33871         (test_program_prefix): This.
33872         * iconvdata/tst-tables.sh: Likewise.
33873         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33874         $(run-program-prefix) with $(test-program-prefix).
33875         ($(objpfx)tst-translit.out): Likewise.
33876         ($(objpfx)tst-gettext2.out): Likewise.
33877         ($(objpfx)tst-gettext4.out): Likewise.
33878         ($(objpfx)tst-gettext6.out): Likewise.
33879         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33880         (test_program_prefix): This.
33881         * intl/tst-gettext2.sh: Likewise.
33882         * intl/tst-gettext4.sh  Likewise.
33883         * intl/tst-gettext6.sh: Likewise.
33884         * intl/tst-translit.sh: Likewise.
33885         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33886         with $(test-program-cmd).
33887         * libio/Makefile ($(objpfx)test-freopen.out): Replace
33888         $(run-program-prefix) with $(test-program-prefix).
33889         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33890         (test_program_prefix): This.
33891         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33892         $(run-program-prefix) with $(test-program-prefix).
33893         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33894         (test_program_prefix): This.
33895         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33896         * posix/Makefile ($(objpfx)globtest.out): Replace
33897         $(run-via-rtld-prefix) and $(test-wrapper) with
33898         $(test-program-prefix) and $(test-via-rtld-prefix).
33899         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33900         $(test-program-prefix).
33901         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33902         $(host-test-program-cmd).
33903         (tst-spawn-ARGS): Likewise.
33904         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33905         $(test-program-prefix).
33906         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33907         (test_via_rtld_prefix): This.
33908         (test_wrapper): Renamed to ...
33909         (test_program_prefix): This.
33910         (run_program_prefix): Replaced by test_program_prefix.
33911         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33912         (test_program_prefix): This.
33913         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33914         with $(host-test-program-cmd).
33915         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33916         $(run-program-prefix) with $(test-program-prefix).
33917         ($(objpfx)tst-printf.out): Likewise.
33918         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33919         $(test-program-cmd).
33920         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33921         (test_program_prefix): This.
33922         * stdio-common/tst-unbputc.sh: Likewise.
33923         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33924         $(run-program-prefix) with $(test-program-prefix).
33925         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33926         (test_program_prefix): This.
33927         * string/Makefile ($(objpfx)tst-svc.out):  Replace
33928         $(built-program-cmd) with $(test-program-cmd).
33930 2013-01-11  Andreas Jaeger  <aj@suse.de>
33932         [BZ #15003]
33933         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33934         value. Sync with Linux 3.7.
33936 2013-01-10  David S. Miller  <davem@davemloft.net>
33938         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33939         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33940         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33942 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33944         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33945         never set.
33946         * configure: Regenerated.
33948 2013-01-10  David S. Miller  <davem@davemloft.net>
33950         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33951         sparc V9 rather than using V8 code.
33952         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33953         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33955 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33957         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33958         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33959         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33960         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33961         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33962         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33963         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33964         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33965         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33966         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33967         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33968         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33969         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33970         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33971         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33972         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33973         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33974         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33975         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33976         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33977         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33978         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33979         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33980         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33981         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33982         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33983         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33985 2013-01-10  David S. Miller  <davem@davemloft.net>
33987         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33989 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33991         * posix/Makefile (tests-static): New variable.
33992         (tests): Add $(tests-static).
33993         (tst-exec-static-ARGS): New variable.
33994         (tst-spawn-static-ARGS): Likewise.
33995         * posix/tst-exec-static.c: New file.
33996         * posix/tst-spawn-static.c: Likewise.
33997         * posix/tst-exec.c: Support run directly.
33998         * posix/tst-spawn.c: Likewise.
34000 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
34002         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34003         long.
34004         * math/bits/mathcalls.h (llrint): Likewise.
34005         (llround): Likewise.
34006         * stdlib/stdlib.h (struct drand48_data): Likewise.
34007         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34008         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34009         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34010         Likewise.
34011         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34012         Likewise.
34013         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34014         (elf_greg_t): Likewise.
34015         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34016         (__jmp_buf): Likewise.
34017         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34018         definitions.
34019         (llrint): Likewise, for all definitions.
34020         (llrintl): Likewise.
34022         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34023         Remove [__GNUC__] condition.
34024         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34025         condition to just [__USE_ISOC99].
34026         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34028 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
34030         [BZ #14200]
34031         * sysdeps/unix/sysv/linux/x86/bits/environments.h
34032         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34033         defined.
34034         (_POSIX_V6_ILP32_OFF32): Likewise.
34035         (_XBS5_ILP32_OFF32): Likewise.
34036         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34037         (__ILP32_OFFBIG_LDFLAGS): Likewise.
34039 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34041         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34043         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34044         doubles __mpexp_twomm1.  Adjust usage.
34045         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34046         Remove.
34048 2013-01-10  Andreas Schwab  <schwab@suse.de>
34050         [BZ #14964]
34051         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34052         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34054 2013-01-09  David S. Miller  <davem@davemloft.net>
34056         [BZ #15003]
34057         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34058         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34059         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34060         (TCP_FASTOPEN): Define.
34061         (tcp_repair_opt): New structure.
34062         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34063         enum values.
34064         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34065         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34066         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
34067         (tcp_cookie_transactions): New structure.
34069 2013-01-09  Anton Blanchard  <anton@samba.org>
34071         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34072         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34073         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34074         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34076 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
34078         * include/features.h (__USE_ANSI): Remove.
34080 2013-01-09  Roland McGrath  <roland@hack.frob.com>
34082         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34084         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34086 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34088         * sysdeps/s390/fpu/libm-test-ulps: Update.
34090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34092         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34093         (__acr): Likewise.
34094         (__cpy): Likewise.
34095         (norm): Likewise.
34096         (denorm): Likewise.
34097         (__mp_dbl): Likewise.
34098         (__dbl_mp): Likewise.
34099         (add_magnitudes): Likewise.
34100         (sub_magnitudes): Likewise.
34101         (__add): Likewise.
34102         (__sub): Likewise.
34103         (__mul): Likewise.
34104         (__inv): Likewise.
34105         (__dvd): Likewise.
34106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34107         (__acr): Likewise.
34108         (__cpy): Likewise.
34109         (norm): Likewise.
34110         (denorm): Likewise.
34111         (__mp_dbl): Likewise.
34112         (__dbl_mp): Likewise.
34113         (add_magnitudes): Likewise.
34114         (sub_magnitudes): Likewise.
34115         (__add): Likewise.
34116         (__sub): Likewise.
34117         (__mul): Likewise.
34118         (__inv): Likewise.
34119         (__dvd): Likewise.
34120         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34121         (__acr): Likewise.
34122         (__cpy): Likewise.
34123         (norm): Likewise.
34124         (denorm): Likewise.
34125         (__mp_dbl): Likewise.
34126         (__dbl_mp): Likewise.
34127         (add_magnitudes): Likewise.
34128         (sub_magnitudes): Likewise.
34129         (__add): Likewise.
34130         (__sub): Likewise.
34131         (__mul): Likewise.
34132         (__inv): Likewise.
34133         (__dvd): Likewise.
34135 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
34137         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34138         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34139         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34140         2 && __USE_EXTERN_INLINES]: Likewise.
34142 2013-01-08  Andreas Jaeger  <aj@suse.de>
34144         [BZ# 14985]
34145         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34146         Remove.
34147         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34148         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34150 2013-01-07  Anton Blanchard  <anton@samba.org>
34152         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34153         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34154         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34155         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34156         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34157         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34158         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34159         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34160         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34161         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34162         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34163         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34164         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34165         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34166         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34167         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34168         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34169         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34170         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34171         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34172         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34173         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34174         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34175         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34176         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34177         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34178         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34179         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34180         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34181         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34182         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34183         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34184         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34185         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34186         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34187         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34188         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34189         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34190         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34191         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34192         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34193         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34194         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34196 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
34198         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34199         (__MALLOC_PMT): Likewise.
34200         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34201         [__GNUC__], only on [_LIBC].
34202         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34203         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34204         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34205         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34206         forward declaration.
34207         (realloc_hook_ini): Likewise.
34208         (memalign_hook_ini): Likewise.
34209         (__libc_memalign): Do not use __MALLOC_PMT in variable
34210         declaration.
34211         (__libc_valloc): Likewise.
34212         (__libc_pvalloc): Likewise.
34213         (__libc_calloc): Likewise.
34214         (__posix_memalign): Likewise.
34216         [BZ #14996]
34217         * math/s_casinh.c: Include <float.h>.
34218         (__casinh): Do not do computation with squaring and square root
34219         for large arguments.
34220         * math/s_casinhf.c: Include <float.h>.
34221         (__casinhf): Do not do computation with squaring and square root
34222         for large arguments.
34223         * math/s_casinhl.c: Include <float.h>.
34224         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34225         (__casinhl): Do not do computation with squaring and square root
34226         for large arguments.
34227         * math/libm-test.inc (casin_test): Add more tests.
34228         (casinh_test): Likewise.
34229         * sysdeps/i386/fpu/libm-test-ulps: Update.
34230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34232 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
34234         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34235         (__x86_64_raw_data_cache_size): Likewise.
34236         (__x86_64_data_cache_size_half): Likewise.
34237         (__x86_64_raw_data_cache_size_half): Likewise.
34238         (__x86_64_shared_cache_size): Likewise.
34239         (__x86_64_raw_shared_cache_size): Likewise.
34240         (__x86_64_shared_cache_size_half): Likewise.
34241         (__x86_64_raw_shared_cache_size_half): Likewise.
34242         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34243         to ...
34244         (__x86_data_cache_size): This.
34245         (__x86_64_raw_data_cache_size): Renamed to ...
34246         (__x86_raw_data_cache_size): This.
34247         (__x86_64_data_cache_size_half): Renamed to ...
34248         (__x86_data_cache_size_half): This.
34249         (__x86_64_raw_data_cache_size_half): Renamed to ...
34250         (__x86_raw_data_cache_size_half): This.
34251         (__x86_64_shared_cache_size): Renamed to ...
34252         (__x86_shared_cache_size): This.
34253         (__x86_64_raw_shared_cache_size): Renamed to ...
34254         (__x86_raw_shared_cache_size): This.
34255         (__x86_64_shared_cache_size_half): Renamed to ...
34256         (__x86_shared_cache_size_half): This.
34257         (__x86_64_raw_shared_cache_size_half): Renamed to ...
34258         (__x86_raw_shared_cache_size_half): This.
34259         * sysdeps/x86_64/memcpy.S: Updated.
34260         * sysdeps/x86_64/memset.S: Likewise.
34261         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34262         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34263         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34265 2013-01-04  David S. Miller  <davem@davemloft.net>
34267         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34269 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
34271         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34272         1 to avoid redefinition warning.
34273         (__USE_GNU): Don't define.
34274         (init_signaling_nan): Protoize.
34276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34278 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34280         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34282         (__cpymn): Likewise.
34283         (norm): Remove commented code.
34284         (denorm): Likewise.
34285         (__mp_dbl): Likewise.
34286         (__inv): Likewise.
34287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34288         (__cpymn): Likewise.
34289         (norm): Remove commented code.
34290         (denorm): Likewise.
34291         (__mp_dbl): Likewise.
34292         (__inv): Likewise.
34294         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34295         mp_no value for 1.0 and 2.0.
34296         (norm): Use RADIXI instead of radixi.d.
34297         (denorm): Likewise.
34298         (__mul): Use 0.0 instead of zero.d.
34299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34300         mp_no value for 1.0 and 2.0.
34301         (norm): Use RADIXI instead of radixi.d.
34302         (denorm): Likewise.
34303         (__mul): Use 0.0 instead of zero.d.
34305 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
34307         [BZ #14994]
34308         * math/s_casinh.c (__casinh): Reduce finite argument to first
34309         quadrant then set signs of results at the end.
34310         * math/s_casinhf.c (__casinhf): Likewise.
34311         * math/s_casinhl.c (__casinhl): Likewise.
34312         * math/libm-test.inc (casin_test): Add more tests.
34313         (casinh_test): Likewise.
34314         * sysdeps/i386/fpu/libm-test-ulps: Update.
34315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34317 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34319         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34321         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34323         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34324         declarations.
34325         (denorm): Likewise.
34326         (__mp_dbl): Likewise.
34327         (__inv): Likewise.
34329         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34330         and adjust the header comment.
34332         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34333         variable name from declaration.
34335 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
34337         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34338         Initialize COMMON_CPUID_INDEX_7 element.
34339         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34340         (CPUID_RTM): Likewise.
34341         (HAS_RTM): Likewise.
34342         (COMMON_CPUID_INDEX_7): New enum.
34344 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
34346         [BZ #14981]
34347         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34348         size is zero, record memory as freed.
34350 2013-01-03  Andreas Jaeger  <aj@suse.de>
34352         * po/ia.po: Add new Interlingua translation.
34354 2012-01-03  Allan McRae  <allan@archlinux.org>
34356         * locale/programs/localedef.c: Fix description of '--posix' flag.
34358 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
34360         * NEWS: Update dates in second copyright notice.
34361         * README: Update copyright dates in example.
34362         * manual/libc.texinfo: Update copyright dates.
34363         * scripts/test-installation.pl: Update copyright date in --version
34364         output.
34366         * hurd/ctty-input.c: Fix copyright notice formatting.
34367         * hurd/ctty-output.c: Likewise.
34368         * hurd/dtable.c: Likewise.
34369         * hurd/hurd-raise.c: Likewise.
34370         * hurd/hurdprio.c: Likewise.
34371         * hurd/msgportdemux.c: Likewise.
34372         * misc/sys/file.h: Likewise.
34373         * misc/sys/ioctl.h: Likewise.
34374         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34375         * sysdeps/mach/hurd/chdir.c: Likewise.
34376         * sysdeps/mach/hurd/fchdir.c: Likewise.
34377         * sysdeps/mach/hurd/rename.c: Likewise.
34378         * sysdeps/mach/hurd/rmdir.c: Likewise.
34379         * sysdeps/mach/hurd/seekdir.c: Likewise.
34380         * sysdeps/mach/hurd/setsid.c: Likewise.
34381         * sysdeps/posix/wait3.c: Likewise.
34383         * All files with FSF copyright notices: Update copyright dates
34384         using scripts/update-copyrights.
34385         * intl/plural.c: Regenerated.
34386         * locale/programs/charmap-kw.h: Likewise.
34387         * locale/programs/locfile-kw.h: Likewise.
34389 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34391         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34392         four values.
34394         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34395         calculation loop and add branch prediction.
34397         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34398         check access beyond bounds of m1np.
34400         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34401         MPTWO.
34402         (__inv): Remove local variable MPTWO to use the global
34403         constant.
34404         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34405         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34406         variable MPTWO.
34407         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34408         MP3HALFS static const.
34410 2013-01-01  David S. Miller  <davem@davemloft.net>
34412         * po/ca.po: Update from translation team.
34414 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
34416         * scripts/update-copyrights: New file.
34417         * Makeconfig: Reformat copyright notice.
34418         * ctype/ctype.h: Likewise.
34419         * debug/swprintf_chk.c: Likewise.
34420         * elf/dl-cache.c: Likewise.
34421         * elf/dl-debug.c: Likewise.
34422         * elf/dl-object.c: Likewise.
34423         * grp/initgroups.c: Likewise.
34424         * hurd/Makefile: Likewise.
34425         * hurd/hurd/signal.h: Likewise.
34426         * hurd/hurdfault.c: Likewise.
34427         * hurd/hurdioctl.c: Likewise.
34428         * hurd/hurdlookup.c: Likewise.
34429         * hurd/intr-msg.c: Likewise.
34430         * iconv/gconv_open.c: Likewise.
34431         * libio/swprintf.c: Likewise.
34432         * locale/lc-ctype.c: Likewise.
34433         * locale/nl_langinfo.c: Likewise.
34434         * mach/Machrules: Likewise.
34435         * mach/Makefile: Likewise.
34436         * malloc/obstack.h: Likewise.
34437         * manual/Makefile: Likewise.
34438         * manual/tsort.awk: Likewise.
34439         * misc/bits/stab.def: Likewise.
34440         * nis/nis_print_group_entry.c: Likewise.
34441         * nis/nis_table.c: Likewise.
34442         * nis/nss_compat/compat-pwd.c: Likewise.
34443         * nis/nss_compat/compat-spwd.c: Likewise.
34444         * po/Makefile: Likewise.
34445         * posix/fnmatch.c: Likewise.
34446         * posix/regex.h: Likewise.
34447         * resolv/Makefile: Likewise.
34448         * resolv/nss_dns/dns-network.c: Likewise.
34449         * resolv/res_hconf.c: Likewise.
34450         * scripts/gen-sorted.awk: Likewise.
34451         * soft-fp/soft-fp.h: Likewise.
34452         * stdio-common/printf.h: Likewise.
34453         * stdlib/monetary.h: Likewise.
34454         * stdlib/random.c: Likewise.
34455         * stdlib/random_r.c: Likewise.
34456         * sysdeps/generic/Makefile: Likewise.
34457         * sysdeps/gnu/Makefile: Likewise.
34458         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34459         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34460         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34461         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34462         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34463         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34464         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34465         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34466         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34467         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34468         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34469         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34470         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34471         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34472         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
34473         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34474         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34475         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34476         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34477         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34478         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34479         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34480         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34481         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34482         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
34483         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
34484         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
34485         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
34486         * sysdeps/mach/hurd/errnos.awk: Likewise.
34487         * sysdeps/mach/hurd/fork.c: Likewise.
34488         * sysdeps/mach/hurd/getcwd.c: Likewise.
34489         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
34490         * sysdeps/mach/hurd/mmap.c: Likewise.
34491         * sysdeps/mach/hurd/utimes.c: Likewise.
34492         * sysdeps/mach/hurd/xmknod.c: Likewise.
34493         * sysdeps/posix/profil.c: Likewise.
34494         * sysdeps/posix/readdir_r.c: Likewise.
34495         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34496         * sysdeps/powerpc/bits/setjmp.h: Likewise.
34497         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
34498         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34500         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
34501         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34502         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34503         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34504         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
34505         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34506         * sysdeps/pthread/lio_listio.c: Likewise.
34507         * sysdeps/sparc/dl-procinfo.h: Likewise.
34508         * sysdeps/unix/i386/sysdep.S: Likewise.
34509         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
34510         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
34511         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
34512         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
34513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34514         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
34515         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
34516         * sysdeps/unix/sysv/linux/speed.c: Likewise.
34517         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34518         * sysdeps/wordsize-32/divdi3.c: Likewise.
34519         * time/sys/time.h: Likewise.
34520         * wcsmbs/Makefile: Likewise.
34522 2013-01-01  David S. Miller  <davem@davemloft.net>
34524         * po/fr.po: Update from translation team.
34526         * catgets/gencat.c: Update copyright year.
34527         * csu/version.c: Likewise.
34528         * debug/catchsegv.sh: Likewise.
34529         * debug/pcprofiledump.c: Likewise.
34530         * debug/xtrace.sh: Likewise.
34531         * elf/ldconfig.c: Likewise.
34532         * elf/ldd.bash.in: Likewise.
34533         * elf/pldd.c: Likewise.
34534         * elf/sotruss.ksh: Likewise.
34535         * elf/sprof.c: Likewise.
34536         * iconv/iconv_prog.c: Likewise.
34537         * iconv/iconvconfig.c: Likewise.
34538         * locale/programs/locale.c: Likewise.
34539         * locale/programs/localedef.c: Likewise.
34540         * login/programs/pt_chown.c: Likewise.
34541         * malloc/memusage.sh: Likewise.
34542         * malloc/memusagestat.c: Likewise.
34543         * malloc/mtrace.pl: Likewise.
34544         * nscd/nscd.c: Likewise.
34545         * nss/getent.c: Likewise.
34546         * nss/makedb.c: Likewise.
34547         * posix/getconf.c: Likewise.
34549 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
34551         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
34552         numbers.
34554 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
34556         * math/bits/mathcalls.h (modf): Use __nonnull.
34558 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34560         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
34561         (split): Use macro CN instead of the bare value.
34562         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
34563         could be used.
34564         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
34565         instead of the bare value.
34566         (power1): Likewise.
34568 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34570         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
34571         __ATAN_TWOM.
34572         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34574         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
34575         their values.
34576         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34577         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
34578         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
34579         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
34581 2012-12-28  Andreas Jaeger  <aj@suse.de>
34583         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
34584         values are from Linux 3.7.
34586         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
34587         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
34589 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34591         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
34592         TRUE case.
34594         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
34595         (norm): Likewise.
34596         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
34597         variables with preprocessor constants.
34598         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34599         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34600         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34602 2012-12-27  Bruno Haible  <bruno@clisp.org>
34604         [BZ #14317]
34605         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
34606         only if needed.
34608 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34610         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
34611         and use variable directly.
34612         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
34614         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34615         MPONE.
34616         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
34617         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34618         variable MPONE.
34619         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
34620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34621         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
34622         include directive.  Remove local variable MPONE.
34623         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
34624         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
34625         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34627 2012-12-25  David S. Miller  <davem@davemloft.net>
34629         * version.h (RELEASE): Set to "development".
34630         (VERSION): Set to "2.17.90".
34631         * NEWS: Add 2.18 section.
34633 2012-12-21  David S. Miller  <davem@davemloft.net>
34635         * po/hr.po: Update from translation team.
34637 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34639         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
34641 2012-12-19  Steve Ellcey  <sellcey@mips.com>
34643         * NEWS:  Mention new memcpy for MIPS.
34645 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34647         * manual/contrib.texi (Contributors): Spelling correction.
34649 2012-12-15  David S. Miller  <davem@davemloft.net>
34651         * po/ru.po: Update from translation team.
34653 2012-12-13  David S. Miller  <davem@davemloft.net>
34655         * NEWS: Mention IFUNC testsuite enhancements.
34657         * po/pl.po: Update from translation team.
34658         * po/bg.po: Likewise.
34660         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34661         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34663 2012-12-11  David S. Miller  <davem@davemloft.net>
34665         * po/sv.po: Update from translation team.
34667         * po/vi.po: Update from translation team.
34669         * po/cs.po: Update from translation team.
34671         * po/de.po: Update from translation team.
34672         * po/eo.po: Likewise.
34673         * po/nl.po: Likewise.
34675 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34677         [BZ #14246]
34678         * manual/argp.texi (Argp Helper Functions): Move node to follow
34679         Argp Parsing State.
34681         [BZ #14872]
34682         * manual/conf.texi (Limits on File System Capacity): Mention if
34683         terminating null is included in the max size.
34685 2012-12-10  Andreas Jaeger  <aj@suse.de>
34687         * po/cs.po: Update from translation team.
34689 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34691         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34692         void pointer and cast to uintptr_t.
34693         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34694         path.
34695         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34696         * sysdeps/s390/s390-64/memset.S: Likewise.
34698 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34700         [BZ #14833]
34701         * menual/message.texi (Message Translation): Fix typos.
34702         (Helper programs for gettext): Likewise.
34704 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34706         [BZ #14898]
34707         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34708         Change to -1.
34710 2012-12-07  David S. Miller  <davem@davemloft.net>
34712         * po/libc.pot: Update.
34714 2012-12-07  Richard Henderson  <rth@redhat.com>
34716         [BZ #10114]
34717         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34718         normal/normal case to before the switch.
34719         (_FP_DIV): Likewise.
34721 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34722             Mike Frysinger  <vapier@gentoo.org>
34724         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34725         check for __NR_fadvise64_64.
34727 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34729         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34730         0, not just to plain "0" as a statement.
34731         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34732         with cw.
34734 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34736         * NEWS: Use sourceware.org in Bugzilla URL.
34738 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34741         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34743         * stdio-common/tst-put-error.c (do_test): Add newline to the
34744         padded test to ensure flush.
34746 2012-12-05  Jeff Law  <law@redhat.com>
34748         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34750 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34752         * README: Don't refer to ports add-on as distributed separately.
34753         Mention AArch64 in list of systems supported in the ports add-on.
34755         * LICENSES: Add more non-FSF copyright and license notices.
34757         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34758         ((unused)).
34760         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34762         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34763         10000 as width of padded output.
34765 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34767         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34769         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34770         variable LX with __attribute__ ((unused)).
34771         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34772         Likewise.
34773         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34774         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34775         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34776         with __attribute__ ((unused)).
34778 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34780         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34782 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34784         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34785         (CFLAGS-nldbl-acos.c): New variable.
34786         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34787         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34788         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34789         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34790         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34791         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34792         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34793         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34794         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34795         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34796         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34797         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34798         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34799         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34800         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34801         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34802         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34803         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34804         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34805         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34806         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34807         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34808         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34809         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34810         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34811         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34812         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34813         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34814         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34815         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34816         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34817         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34818         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34819         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34820         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34821         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34822         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34823         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34824         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34825         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34826         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34827         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34828         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34829         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34830         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34831         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34832         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34833         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34834         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34835         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34836         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34837         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34838         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34839         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34840         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34841         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34842         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34843         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34844         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34845         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34846         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34847         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34848         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34849         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34850         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34851         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34852         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34853         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34854         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34855         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34856         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34857         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34858         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34859         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34860         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34861         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34862         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34863         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34864         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34865         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34866         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34867         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34868         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34869         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34870         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34871         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34872         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34873         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34874         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34875         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34876         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34877         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34878         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34879         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34880         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34881         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34882         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34885         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34887         [BZ #14914]
34888         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34889         whole low double instead of just low 47 bits when splitting values
34890         into two parts.
34892 2012-12-03  Allan McRae  <allan@archlinux.org>
34894         * manual/stdio.texi (Predefined Printf Handlers): Remove
34895         @hsep and @vsep usage.
34897 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
34899         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34900         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34902 2012-12-03  Jeff Law  <law@redhat.com>
34904         * time/sys/time.h (settimeofday): Do not mark TV argument
34905         as __nonnull.
34907 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
34909         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34910         when currently writing and seek to current position when not.
34911         * libio/Makefile (tests): Remove bug-fclose1.
34912         * libio/bug-fclose1.c: Delete.
34914 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
34916         * manual/arith.texi (feenableexcept): Fix typo.
34917         (fedisableexcept): Likewise.
34919 2012-11-30  Roland McGrath  <roland@hack.frob.com>
34921         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34922         second, differently-typed declaration, rather than a cast.
34924 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34926         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34927         * include/rpc/svc.h: ... here.
34929 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
34931         [BZ #13013]
34932         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34933         depending n and resplen2 to catch cases where answer
34934         equals answerp2.
34936 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
34938         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34939         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34941 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
34943         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34945 2012-11-29  Roland McGrath  <roland@hack.frob.com>
34947         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34949 2012-11-28  Jeff Law  <law@redhat.com>
34951         [BZ #13761]
34952         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34953         dataset_temporary.  Track alloca usage into alloca_used.
34954         If dataset is large allocate and release it via malloc/free.
34956 2012-06-04  Florian Weimer  <fweimer@redhat.com>
34958         [BZ #14197]
34959         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34961 2012-11-28  David S. Miller  <davem@davemloft.net>
34963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34965 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34967         [BZ #14803]
34968         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34969         of pi/2 rounded to nearest to 64 bits.
34970         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34971         nearest to 64 bits.
34972         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34973         bits.
34975 2012-11-28  Jeff Law <law@redhat.com>
34976             Martin Osvald <mosvald@redhat.com>
34978         [BZ #14889]
34979         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34980         * sunrpc/svc.c: Include time.h.
34981         (__svc_accept_failed): New function.
34982         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34983         any reason other than EINTR, call __svc_accept_failed.
34984         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34985         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34987 2012-11-28  Andreas Schwab  <schwab@suse.de>
34989         * scripts/abilist.awk: Also handle indirect functions in .opd
34990         section.
34992 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34994         [BZ #13881]
34995         * sysdeps/x86/fpu/powl_helper.c: New file.
34996         * sysdeps/x86/fpu/Makefile: Likewise.
34997         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34998         (p3): New object.
34999         (__ieee754_powl): Use __powl_helper for finite arguments except
35000         integer exponents below 8.
35001         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35002         (p3): New object.
35003         (__ieee754_powl): Use __powl_helper for finite arguments except
35004         integer exponents below 8.
35005         * math/libm-test.inc (pow_test): Add more tests and enable some
35006         previously disabled tests.
35007         * sysdeps/i386/fpu/libm-test-ulps: Update.
35008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35010 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35011             Carlos O'Donell  <carlos_odonell@mentor.com>
35013         * nss/makedb.c (is_prime): Assert that input is odd and greater
35014         than 4.  Note that fact in a comment too.
35015         (next_prime): Add 4 to input.
35017 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35019         [BZ #11741]
35020         * libio/Makefile (tests): Add test case tst-fwrite-error.
35021         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35022         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35023         * libio/tst-fwrite-error.c: New test case.
35025 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
35027         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35028         before casting to void *.
35029         * include/libc-internal.h (__pointer_type): New macro.
35030         (__integer_if_pointer_type_sub): Likewise.
35031         (__integer_if_pointer_type): Likewise.
35032         (cast_to_integer): Likewise.
35033         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35034         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35035         before casting to atomic64_t.
35036         (atomic_exchange_acq): Likewise.
35037         (__arch_exchange_and_add_body): Likewise.
35038         (__arch_add_body): Likewise.
35039         (atomic_add_negative): Likewise.
35040         (atomic_add_zero): Likewise.
35042 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
35044         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35045         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35046         (add_fdes): Likewise.
35047         (linear_search_fdes): Likewise.
35048         (binary_search_unencoded_fdes): Likewise.
35050 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
35052         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35054 2012-11-24  Adam Conrad  <adconrad@0c3.net>
35056         * configure.in: Autodetect C++ header directories.
35057         * configure: Regenerated.
35059 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
35061         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35063 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
35065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35067 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
35069         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35070         LDBL_MANT_DIG == 106]: Disable some tests.
35071         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35072         Likewise.
35073         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35074         Likewise.
35076         [BZ #14871]
35077         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35078         input for small inputs.  Return +/- pi/2 for large inputs.
35079         * math/libm-test.inc (atan_test): Add more tests.
35081         * sysdeps/generic/unwind-dw2-fde-glibc.c
35082         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35083         __attribute__ ((unused)).
35085         [BZ #14645]
35086         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35087         x * y if x and y are nonzero and z is zero.
35089         [BZ #14811]
35090         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35091         nonzero exponents with absolute value below 0x1p-117 to +/-
35092         0x1p-117.
35094         [BZ #14869]
35095         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35096         up arguments below 2**-450, not just those below 2**-500.
35097         * math/libm-test.inc (hypot_test): Add another test.
35099         [BZ #14868]
35100         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35101         Return a+b for ratio over 2**120, not 2**60.
35102         * math/libm-test.inc (hypot_test): Add another test.
35104         * math/libm-test.inc (clog_test): Use
35105         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35106         (clog10_test): Likewise.
35108         [BZ #6778]
35109         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35111 2012-11-22  Andreas Schwab  <schwab@suse.de>
35113         * sysdeps/i386/fpu/libm-test-ulps: Update.
35115 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
35117         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35118         printf output with newline.
35120 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
35122         [BZ #14865]
35123         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35124         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35125         -z nodlopen, -z initfirst and -z execstack support.
35126         * configure: Regenerated.
35128         * elf/elf.h (DF_1_NODIRECT): New macro.
35129         (DF_1_IGNMULDEF): Likewise.
35130         (DF_1_NOKSYMS): Likewise.
35131         (DF_1_NOHDR): Likewise.
35132         (DF_1_EDITED): Likewise.
35133         (DF_1_NORELOC): Likewise.
35134         (DF_1_SYMINTPOSE): Likewise.
35135         (DF_1_GLOBAUDIT): Likewise.
35136         (DF_1_SINGLETON): Likewise.
35137         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35138         DT_1_SUPPORTED_MASK bits.
35139         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35141 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
35143         * sysdeps/unix/make-syscalls.sh: Document prefixes.
35145 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
35147         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35148         macro.
35150         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35151         (sendmmsg): Move declarations...
35152         * socket/sys/socket.h: ... here.
35153         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35154         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35155         include it from...
35156         * socket/recvmmsg.c: ... this new file.
35157         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35158         (sendmmsg): Rename to __sendmmsg, create weak alias and make
35159         definition of __sendmmsg hidden.
35160         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35161         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35162         Move ENOSYS stub into and include it from...
35163         * socket/sendmmsg.c: ... this new file.
35164         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35165         (sysdep_routines): Move recvmmsg and sendmmsg...
35166         * socket/Makefile (routines): ... here.
35167         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35168         (GLIBC_PRIVATE): Add __sendmmsg.
35169         * include/sys/socket.h (__sendmmsg): Add declarations.
35170         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35171         sendmmsg.
35173 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
35175         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35176         variable I1 with __attribute__ ((unused)).
35177         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35179 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35181         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35182         DUMMY variables with __attribute__ ((unused)).
35184         * bits/byteswap.h: Include <bits/types.h>.
35185         (__bswap_64): Use __uint64_t instead of unsigned long long int.
35187 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35189         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35190         string_t.  Do not manually set errno.
35191         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35192         length with __strnlen.  Make sure to both set errno and return it on
35193         failure.
35195 2012-11-19  David S. Miller  <davem@davemloft.net>
35197         With help from Joseph Myers.
35198         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35199         very large arguments properly.
35200         * math/libm-test.inc (atan_test): New tests.
35201         (atan2_test): New tests.
35202         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35203         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35205 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
35207         [BZ #14856]
35208         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35209         Define to 3.
35211         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35212         [POSIX] (EADDRNOTAVAIL): Likewise.
35213         [POSIX] (EAFNOSUPPORT): Likewise.
35214         [POSIX] (EALREADY): Likewise.
35215         [POSIX] (ECONNABORTED): Likewise.
35216         [POSIX] (ECONNREFUSED): Likewise.
35217         [POSIX] (ECONNRESET): Likewise.
35218         [POSIX] (EDESTADDRREQ): Likewise.
35219         [POSIX] (EDQUOT): Likewise.
35220         [POSIX] (EHOSTUNREACH): Likewise.
35221         [POSIX] (EIDRM): Likewise.
35222         [POSIX] (EISCONN): Likewise.
35223         [POSIX] (ELOOP): Likewise.
35224         [POSIX] (EMULTIHOP): Likewise.
35225         [POSIX] (ENETDOWN): Likewise.
35226         [POSIX] (ENETUNREACH): Likewise.
35227         [POSIX] (ENOBUFS): Likewise.
35228         [POSIX] (ENODATA): Likewise.
35229         [POSIX] (ENOLINK): Likewise.
35230         [POSIX] (ENOMSG): Likewise.
35231         [POSIX] (ENOPROTOOPT): Likewise.
35232         [POSIX] (ENOSR): Likewise.
35233         [POSIX] (ENOSTR): Likewise.
35234         [POSIX] (ENOTCONN): Likewise.
35235         [POSIX] (ENOTSOCK): Likewise.
35236         [POSIX] (EOPNOTSUPP): Likewise.
35237         [POSIX] (EOVERFLOW): Likewise.
35238         [POSIX] (EPROTO): Likewise.
35239         [POSIX] (EPROTONOSUPPORT): Likewise.
35240         [POSIX] (EPROTOTYPE): Likewise.
35241         [POSIX] (ESTALE): Likewise.
35242         [POSIX] (ETIME): Likewise.
35243         [POSIX] (ETXTBSY): Likewise.
35244         [POSIX] (EWOULDBLOCK): Likewise.
35245         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35246         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35247         [POSIX] (SEEK_CUR): Likewise.
35248         [POSIX] (SEEK_END): Likewise.
35249         [POSIX || UNIX98] (mode_t): Do not require.
35250         [POSIX] (off_t): Likewise.
35251         [POSIX] (pid_t): Likewise.
35252         [POSIX] (sys/stat.h): Do not allow header.
35253         [POSIX] (unistd.h): Likewise.
35254         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35255         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35256         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35257         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35258         require.
35259         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35260         sigevent): Specify elements.
35261         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35262         entry.
35263         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35264         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35266         * conform/data/cpio.h-data [POSIX]: Disable whole file.
35267         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35268         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35269         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35270         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35271         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35272         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35273         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35274         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35275         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35276         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35277         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35278         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35279         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35280         Likewise.
35281         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35282         Likewise.
35283         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35284         Likewise.
35285         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35286         Likewise.
35287         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35288         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35289         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35290         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35291         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35292         Specify lower bound on value.
35293         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35294         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35295         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35296         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35297         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35298         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35299         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35300         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35301         value.
35302         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35303         as optional.
35304         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35305         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35306         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35307         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35308         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35309         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35310         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35311         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35312         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35313         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35314         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35315         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35316         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35317         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35318         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35319         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35320         entry.
35321         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35322         optional.
35323         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35324         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35325         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35326         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35327         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35328         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35329         Likewise.
35330         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35331         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35332         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35333         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35334         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
35335         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35336         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35337         as optional.
35338         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35339         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35340         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35341         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35342         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35343         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35344         specify as optional.
35345         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35346         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35347         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35348         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35349         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35350         [XPG3] (NL_LANGMAX): Likewise.
35351         [POSIX || XPG3] (NL_MSGMAX): Likewise.
35352         [POSIX || XPG3] (NL_NMAX): Likewise.
35353         [POSIX || XPG3] (NL_SETMAX): Likewise.
35354         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35355         [XPG3] (NZERO): Likewise.
35356         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35357         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35358         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35359         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35360         (REG_ERANGE): Expect.
35361         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35362         optional-constant.
35363         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35364         Use (void) in prototype.
35365         [POSIX] (*_t): Allow.
35366         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35367         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35368         (WRDE_BADVAL): Expect.
35370         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35371         expect.
35372         [XPG3 || XPG4] (O_RSYNC): Likewise.
35373         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35374         Likewise.
35375         [XPG3 || XPG4] (pthread_sigmask): Likewise.
35376         [XPG3 || XPG4] (sigqueue): Likewise.
35377         [XPG3 || XPG4] (sigtimedwait): Likewise.
35378         [XPG3 || XPG4] (sigwaitinfo): Likewise.
35379         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35380         [XPG3 || XPG4] (vsnprintf): Likewise.
35381         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35382         Likewise.
35383         [XPG3 || XPG4] (blksize_t): Likewise.
35384         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35385         Likewise.
35386         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35387         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35388         [XPG3 || XPG4] (struct itimerspec): Likewise.
35389         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35390         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35391         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35392         [XPG3 || XPG4] (clockid_t): Likewise.
35393         [XPG3 || XPG4] (timer_t): Likewise.
35394         [XPG3 || XPG4] (clock_getres): Likewise.
35395         [XPG3 || XPG4] (clock_gettime): Likewise.
35396         [XPG3 || XPG4] (clock_settime): Likewise.
35397         [XPG3 || XPG4] (nanosleep): Likewise.
35398         [XPG3 || XPG4] (timer_create): Likewise.
35399         [XPG3 || XPG4] (timer_delete): Likewise.
35400         [XPG3 || XPG4] (timer_gettime): Likewise.
35401         [XPG3 || XPG4] (timer_getoverrun): Likewise.
35402         [XPG3 || XPG4] (timer_settime): Likewise.
35403         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35404         [XPG3 || XPG4] (getlogin_r): Likewise.
35405         [XPG3 || XPG4] (pread): Likewise.
35406         [XPG3 || XPG4] (pthread_atfork): Likewise.
35407         [XPG3 || XPG4] (pwrite): Likewise.
35409         [BZ #14835]
35410         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35411         <bits/siginfo.h>.
35413 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
35415         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
35416         finalizing MALLSTREAM.
35418         * sysdeps/mach/hurd/syncfs.c: New file.
35420 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35422         [BZ #14719]
35423         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
35424         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
35425         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
35426         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
35427         (_nss_dns_gethostbyname4_r): Likewise.
35428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
35429         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
35431 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
35433         [BZ #13763]
35434         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
35436 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
35438         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
35439         * elf/cache.c (print_entry): Print ",AArch64" for
35440         FLAG_AARCH64_LIB64
35442         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
35443         * elf/cache.c (print_entry): Print ",hard-float" for
35444         FLAG_ARM_LIBHF.
35446 2012-11-18  David S. Miller  <davem@davemloft.net>
35448         With help from Joseph Myers.
35449         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
35450         cutoff to 2**-13.
35451         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
35452         cutoff to 2**-25.
35453         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
35454         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
35455         small.
35456         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
35457         * math/libm-test.inc (y0_test): New tests.
35458         (y1_test): New tests.
35459         * sysdeps/i386/fpu/libm-test-ulps: Update.
35460         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35463 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
35465         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
35466         64-bit targets.
35467         * configure: Regenerated.
35469 2012-11-17  David S. Miller  <davem@davemloft.net>
35471         [BZ #14811]
35472         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
35473         nonzero exponents with absolute value below 0x1p-128 to +/-
35474         0x1p-128.
35476 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
35478         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
35480         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
35482         * posix/getconf-speclist.c: New file.
35483         * posix/posix-envs.def: Likewise.
35484         * posix/confstr.c (START_ENV_GROUP): New macro.
35485         (END_ENV_GROUP): Likewise.
35486         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35487         (KNOWN_PRESENT_ENV_STRING): Likewise.
35488         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35489         (UNKNOWN_ENVIRONMENT): Likewise.
35490         (confstr): Include posix-envs.def instead of handling
35491         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
35492         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
35493         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
35494         (END_ENV_GROUP): Likewise.
35495         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
35496         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
35497         (UNKNOWN_ENVIRONMENT): Likewise.
35498         (__sysconf): Include posix-envs.def instead of handling associated
35499         cases directly here.
35500         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
35501         preprocessing getconf-speclist.c rather than running getconf or
35502         generating empty file.
35504 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
35506         * scripts/check-local-headers.sh: Ignore 'mach' headers.
35508 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
35510         [BZ #14672]
35511         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
35513 2012-11-16  David S. Miller  <davem@davemloft.net>
35515         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
35516         smaller than LDBL_EPSILON/2.0L, just return xm1.
35518 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
35520         * elf/tst-array1.c (init): Set constructor priority to 1000.
35521         (fini): Set destructor priority to 1000.
35522         * elf/tst-array2dep.c: Likewise.
35524 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35526         [BZ #11741]
35527         * libio/fileops.c (_IO_new_file_write): Correctly return error.
35528         (_IO_new_file_xsputn): Also return EOF if none of the input
35529         data was written when overflow failed.
35530         * libio/iopadn.c (_IO_padn): Likewise.
35531         * libio/iowpadn.c (_IO_wpadn): Likewise.
35532         * stdio-common/tst-put-error.c: Add copyright notice.
35533         (do_test): Add case for printing padded string.
35534         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
35535         _IO_padn returned error.
35536         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
35537         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
35538         return EOF.
35540 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35542         * libio/libioP.h: Add comment note that the references to C++
35543         bits are now obsolete.
35545 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35547         * math/libm-test.inc (check_complex): Use asprintf.
35549 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
35551         * debug/pcprofiledump.c (print_version): Update copyright year.
35552         * malloc/memusagestat.c (print_version): Likewise.
35554 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
35556         [BZ #14831]
35557         * elf/Makefile (tests): Add tst-audit8.
35558         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
35559         ($(objpfx)tst-audit8.out): New target.
35560         (tst-audit8-ENV): New variable.
35561         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
35562         audit if l_reloc_result is NULL.
35563         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
35564         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
35565         * elf/tst-audit8.c: New file.
35567 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35569         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
35570         * misc/Makefile (CFLAGS-select.c): Define.
35571         * posix/Makefile (CFLAGS-pause.c): Define.
35573 2012-11-13  David S. Miller  <davem@davemloft.net>
35575         * crypt/Makefile: Move test targets after toplevel Rules
35576         inclusion.  Grab any necessary sysdep routines when linking.
35577         * crypt/md5.c (md5_process_block): Remove define, we will always
35578         name it __md5_process_block.
35579         (md5_finish_ctx): Update md5_process_block call.
35580         (md5_stream): Likewise.
35581         (md5_process_bytes): Likewise.
35582         (md5_process_block): Rename to __md5_process_block and move to ...
35583         * crypt/md5-block.c: ... here.
35584         * crypt/sha256.c (sha256_process_block): Move to ...
35585         * crypt/sha256-block.c: ... here.
35586         * crypt/sha512.c (sha512_process_block): Move to ...
35587         * crypt/sha512-block.c: ... here.
35588         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
35589         path.
35590         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
35591         * sysdeps/sparc/sparc64/multiarch/Makefile
35592         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
35593         crypt subdir.
35594         (localedef-aux): Add md5 crypto assembler when in locale subdir.
35595         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
35596         multiarch changes.
35597         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
35598         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
35599         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
35600         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
35601         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
35602         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
35603         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
35604         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
35605         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
35606         file.
35607         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
35608         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
35609         file.
35610         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
35612 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
35614         * timezone/tzselect.ksh: Update from tzcode git revision
35615         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
35616         * timezone/zdump.c: Likewise.
35617         * timezone/zic.c: Likewise.
35618         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
35619         in TZVERSION setting, not $(PKGVERSION).
35620         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
35621         REPORT_BUGS_TO settings.
35623         [BZ #14838]
35624         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
35625         macro.
35627 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35629         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
35630         detection to immediately after _FP_ROUND().
35631         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
35632         bits are 0.
35634 2012-11-11  David S. Miller  <davem@davemloft.net>
35636         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
35637         inttypes.h
35638         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
35639         __close rather than their public counterparts.
35641 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
35643         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
35644         file.
35645         [UNIX98] (sem_timedwait): Do not expect.
35646         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
35647         [XPG4 || UNIX98] (sockatmark): Do not expect.
35648         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
35649         (clock_getcpuclockid): Do not expect.
35650         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
35651         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
35652         Do not expect.
35653         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
35654         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
35655         [UNIX98] (vwscanf): Likewise.
35656         [UNIX98] (vswscanf): Likewise.
35658 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35660         * timezone/version.h: Remove file.
35661         * timezone/README: Do not refer to version.h.
35662         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35663         $(objpfx)version.h.
35664         ($(objpfx)zdump.o): Likewise.
35665         ($(objpfx)version.h): New target.
35667         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35668         2012i.
35669         * timezone/README: Don't mention modification to tzselect.ksh.
35670         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35671         work on unmodified tzselect.ksh.  Substitute version numbers in
35672         tzselect.ksh.
35674         * Makefile (format-me): Remove.
35675         (INSTALL): Adjust indentation.  Use commands directly instead of
35676         using $(format-me).
35678         * aclocal.m4 (ACX_PKGVERSION): New macro.
35679         (ACX_BUGURL): Likewise.
35680         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35681         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35682         (REPORT_BUGS_TO): Likewise.
35683         * configure: Regenerated.
35684         * config.h.in (PKGVERSION): New macro.
35685         (REPORT_BUGS_TO): Likewise.
35686         * config.make.in (PKGVERSION): New variable.
35687         (PKGVERSION_TEXI): Likewise.
35688         (REPORT_BUGS_TO): Likewise.
35689         (REPORT_BUGS_TEXI): Likewise.
35690         * Makefile (format-me): Use -I$(common-objpfx)manual.
35691         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35692         ($(common-objpfx)manual/%): New target.
35693         (manual/%): Remove target.
35694         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35695         (print_version): Use PKGVERSION.
35696         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35697         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35698         and REPORT_BUGS_TO.
35699         ($(objpfx)xtrace): Likewise.
35700         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35701         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35702         (print_version): Use PKGVERSION.
35703         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35704         (do_version): Use PKGVERSION.
35705         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35706         REPORT_BUGS_TO.
35707         (common-ldd-rewrite): Likewise.
35708         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35709         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35710         (print_version): Use PKGVERSION.
35711         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35712         * elf/pldd.c (argp_program_bug_address): Remove variable.
35713         (more_help): New function.
35714         (argp): Use more_help.
35715         (print_version): Use PKGVERSION.
35716         * elf/sln.c (main): Use PKGVERSION.
35717         (usage): Use REPORT_BUGS_TO.
35718         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35719         (top level): Use PKGVERSION.
35720         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35721         (print_version): Use PKGVERSION.
35722         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35723         (print_version): Use PKGVERSION.
35724         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35725         (print_version): Use PKGVERSION.
35726         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35727         (print_version): Use PKGVERSION.
35728         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35729         (print_version): Use PKGVERSION.
35730         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35731         (print_version): Use PKGVERSION.
35732         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35733         and BUGURL.
35734         ($(objpfx)memusage): Likewise.
35735         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35736         (do_version): Use PKGVERSION.
35737         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35738         (print_version): Use PKGVERSION.
35739         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35740         ($PKGVERSION): New variable.
35741         ($REPORT_BUGS_TO): Likewise.
35742         (usage): Use $REPORT_BUGS_TO.
35743         (top level): Use $PKGVERSION.
35744         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35745         ($(objpfx)pkgvers.texi): New rule.
35746         ($(objpfx)stamp-pkgvers): Likewise.
35747         * manual/install.texi: Include pkgvers.texi.
35748         (--with-pkgversion): Document new configure option.
35749         (--with-bugurl): Likewise.
35750         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35751         than necessarily for this particular distribution.  Use
35752         REPORT_BUGS_TO for where to report bugs.
35753         * INSTALL: Regenerated.
35754         * manual/libc.texinfo: Include pkgvers.texi.
35755         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35756         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35757         (print_version): Use PKGVERSION.
35758         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35759         (print_version): Use PKGVERSION.
35760         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35761         (print_version): Use PKGVERSION.
35762         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35763         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35764         macro.
35765         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35766         (print_version): Use PKGVERSION.
35767         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35768         (print_version): Use PKGVERSION.
35769         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35770         and PKGVERSION.
35772         * timezone/checktab.awk: Update from tzcode 2012i.
35773         * timezone/ialloc.c: Likewise.
35774         * timezone/private.h: Likewise.
35775         * timezone/scheck.c: Likewise.
35776         * timezone/tzfile.h: Likewise.
35777         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35778         (TZVERSION): Hardcode tzcode version number.
35779         * timezone/zdump.c: Update from tzcode 2012i.
35780         * timezone/zic.c: Likewise.
35781         * timezone/version.h: New file.
35782         * timezone/README: Describe version.h.  Update upstream location.
35784         [BZ #14824]
35785         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35786         (mktemp): Enable declaration.
35787         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35788         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35789         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35790         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35791         Likewise.
35792         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35793         Likewise.
35794         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35795         Likewise.
35796         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35797         Likewise.
35798         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35799         Likewise.
35800         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35801         Likewise.
35803         [BZ #14821]
35804         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35805         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35806         for copies of such integer values.
35807         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35808         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35810 2012-11-09  Andreas Jaeger  <aj@suse.de>
35812         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35813         definitions and declarations that are provided by
35814         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35816 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35818         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35819         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35820         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35821         definition.
35823 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35825         * elf/elf.h: Update comment before AArch64 relocations.
35827 2012-11-07  David S. Miller  <davem@davemloft.net>
35829         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35830         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35831         (__start_context): Declare.
35832         (__makecontext_ret): Delete.
35833         (__makecontext): Hook up __start_context instead of
35834         __makecontext_ret.
35835         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35836         (sysdep_routines): Add __start_context when in stdlib.
35838 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35840         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35841         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35842         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
35843         hardcoded "nm".
35844         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
35845         (READELF): New variable.  Use it instead of hardcoded "readelf".
35847 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35849         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35850         * sysdeps/x86/Makefile: Here.
35851         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35852         * sysdeps/x86/tst-xmmymm.sh: This.
35854 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35856         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35857         expectations.
35858         [UNIX98] (pthread_barrier_t): Do not expect.
35859         [UNIX98] (pthread_barrierattr_t): Likewise.
35860         [UNIX98] (pthread_spinlock_t): Likewise.
35861         [UNIX98] (pthread_barrier_destroy): Likewise.
35862         [UNIX98] (pthread_barrier_init): Likewise.
35863         [UNIX98] (pthread_barrier_wait): Likewise.
35864         [UNIX98] (pthread_barrierattr_destroy): Likewise.
35865         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35866         [UNIX98] (pthread_barrierattr_init): Likewise.
35867         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35868         [UNIX98] (pthread_getcpuclockid): Likewise.
35869         [UNIX98] (pthread_mutex_timedlock): Likewise.
35870         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35871         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35872         [UNIX98] (pthread_sigmask): Likewise.
35873         [UNIX98] (pthread_spin_destroy): Likewise.
35874         [UNIX98] (pthread_spin_init): Likewise.
35875         [UNIX98] (pthread_spin_lock): Likewise.
35876         [UNIX98] (pthread_spin_trylock): Likewise.
35877         [UNIX98] (pthread_spin_unlock): Likewise.
35878         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35879         Do not expect.
35880         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35881         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35882         [XPG3 || XPG4] (pthread_cond_t): Likewise.
35883         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35884         [XPG3 || XPG4] (pthread_key_t): Likewise.
35885         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35886         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35887         [XPG3 || XPG4] (pthread_once_t): Likewise.
35888         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35889         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35890         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35891         [XPG3 || XPG4] (pthread_t): Likewise.
35893         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35894         not expect.
35895         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35897         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35898         Change function return type to int.
35900         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35901         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35902         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35903         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35904         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35905         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35906         [!POSIX] (posix_madvise): Likewise.
35907         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35908         && !UNIX98].
35909         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35910         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35911         (mode_t): Likewise.
35912         (posix_mem_offset): Likewise.
35913         (posix_typed_mem_get_info): Likewise.
35914         (posix_typed_mem_open): Likewise.
35916         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35917         Change condition to [XOPEN2K8].
35919         * conform/conformtest.pl: Preprocess allow-header data with -x c
35920         instead of from stdin.
35921         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35922         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35923         [C99-based standards] (cerfc): Likewise.
35924         [C99-based standards] (cexp2): Likewise.
35925         [C99-based standards] (cexpm1): Likewise.
35926         [C99-based standards] (clog10): Likewise.
35927         [C99-based standards] (clog1p): Likewise.
35928         [C99-based standards] (clog2): Likewise.
35929         [C99-based standards] (clgamma): Likewise.
35930         [C99-based standards] (ctgamma): Likewise.
35931         [C99-based standards] (cerff): Likewise.
35932         [C99-based standards] (cerfcf): Likewise.
35933         [C99-based standards] (cexp2f): Likewise.
35934         [C99-based standards] (cexpm1f): Likewise.
35935         [C99-based standards] (clog10f): Likewise.
35936         [C99-based standards] (clog1pf): Likewise.
35937         [C99-based standards] (clog2f): Likewise.
35938         [C99-based standards] (clgammaf): Likewise.
35939         [C99-based standards] (ctgammaf): Likewise.
35940         [C99-based standards] (cerfl): Likewise.
35941         [C99-based standards] (cerfcl): Likewise.
35942         [C99-based standards] (cexp2l): Likewise.
35943         [C99-based standards] (cexpm1l): Likewise.
35944         [C99-based standards] (clog10l): Likewise.
35945         [C99-based standards] (clog1pl): Likewise.
35946         [C99-based standards] (clog2l): Likewise.
35947         [C99-based standards] (clgammal): Likewise.
35948         [C99-based standards] (ctgammal): Likewise.
35949         * conform/data/inttypes.h-data [C99-based standards]: Include
35950         stdint.h-data.  Remove all expectations for stdint.h contents.
35951         [C99-based standards] (PRI*): Do not allow.
35952         [C99-based standards] (SCN*): Likewise.
35953         [C99-based standards] (*_t): Likewise.
35954         [C99-based-standards] (PRId8): Expect macro.
35955         [C99-based-standards] (PRIi8): Likewise.
35956         [C99-based-standards] (PRIo8): Likewise.
35957         [C99-based-standards] (PRIu8): Likewise.
35958         [C99-based-standards] (PRIx8): Likewise.
35959         [C99-based-standards] (PRIX8): Likewise.
35960         [C99-based-standards] (SCNd8): Likewise.
35961         [C99-based-standards] (SCNi8): Likewise.
35962         [C99-based-standards] (SCNo8): Likewise.
35963         [C99-based-standards] (SCNu8): Likewise.
35964         [C99-based-standards] (SCNx8): Likewise.
35965         [C99-based-standards] (PRIdLEAST8): Likewise.
35966         [C99-based-standards] (PRIiLEAST8): Likewise.
35967         [C99-based-standards] (PRIoLEAST8): Likewise.
35968         [C99-based-standards] (PRIuLEAST8): Likewise.
35969         [C99-based-standards] (PRIxLEAST8): Likewise.
35970         [C99-based-standards] (PRIXLEAST8): Likewise.
35971         [C99-based-standards] (SCNdLEAST8): Likewise.
35972         [C99-based-standards] (SCNiLEAST8): Likewise.
35973         [C99-based-standards] (SCNoLEAST8): Likewise.
35974         [C99-based-standards] (SCNuLEAST8): Likewise.
35975         [C99-based-standards] (SCNxLEAST8): Likewise.
35976         [C99-based-standards] (PRIdFAST8): Likewise.
35977         [C99-based-standards] (PRIiFAST8): Likewise.
35978         [C99-based-standards] (PRIoFAST8): Likewise.
35979         [C99-based-standards] (PRIuFAST8): Likewise.
35980         [C99-based-standards] (PRIxFAST8): Likewise.
35981         [C99-based-standards] (PRIXFAST8): Likewise.
35982         [C99-based-standards] (SCNdFAST8): Likewise.
35983         [C99-based-standards] (SCNiFAST8): Likewise.
35984         [C99-based-standards] (SCNoFAST8): Likewise.
35985         [C99-based-standards] (SCNuFAST8): Likewise.
35986         [C99-based-standards] (SCNxFAST8): Likewise.
35987         [C99-based-standards] (PRId16): Likewise.
35988         [C99-based-standards] (PRIi16): Likewise.
35989         [C99-based-standards] (PRIo16): Likewise.
35990         [C99-based-standards] (PRIu16): Likewise.
35991         [C99-based-standards] (PRIx16): Likewise.
35992         [C99-based-standards] (PRIX16): Likewise.
35993         [C99-based-standards] (SCNd16): Likewise.
35994         [C99-based-standards] (SCNi16): Likewise.
35995         [C99-based-standards] (SCNo16): Likewise.
35996         [C99-based-standards] (SCNu16): Likewise.
35997         [C99-based-standards] (SCNx16): Likewise.
35998         [C99-based-standards] (PRIdLEAST16): Likewise.
35999         [C99-based-standards] (PRIiLEAST16): Likewise.
36000         [C99-based-standards] (PRIoLEAST16): Likewise.
36001         [C99-based-standards] (PRIuLEAST16): Likewise.
36002         [C99-based-standards] (PRIxLEAST16): Likewise.
36003         [C99-based-standards] (PRIXLEAST16): Likewise.
36004         [C99-based-standards] (SCNdLEAST16): Likewise.
36005         [C99-based-standards] (SCNiLEAST16): Likewise.
36006         [C99-based-standards] (SCNoLEAST16): Likewise.
36007         [C99-based-standards] (SCNuLEAST16): Likewise.
36008         [C99-based-standards] (SCNxLEAST16): Likewise.
36009         [C99-based-standards] (PRIdFAST16): Likewise.
36010         [C99-based-standards] (PRIiFAST16): Likewise.
36011         [C99-based-standards] (PRIoFAST16): Likewise.
36012         [C99-based-standards] (PRIuFAST16): Likewise.
36013         [C99-based-standards] (PRIxFAST16): Likewise.
36014         [C99-based-standards] (PRIXFAST16): Likewise.
36015         [C99-based-standards] (SCNdFAST16): Likewise.
36016         [C99-based-standards] (SCNiFAST16): Likewise.
36017         [C99-based-standards] (SCNoFAST16): Likewise.
36018         [C99-based-standards] (SCNuFAST16): Likewise.
36019         [C99-based-standards] (SCNxFAST16): Likewise.
36020         [C99-based-standards] (PRId32): Likewise.
36021         [C99-based-standards] (PRIi32): Likewise.
36022         [C99-based-standards] (PRIo32): Likewise.
36023         [C99-based-standards] (PRIu32): Likewise.
36024         [C99-based-standards] (PRIx32): Likewise.
36025         [C99-based-standards] (PRIX32): Likewise.
36026         [C99-based-standards] (SCNd32): Likewise.
36027         [C99-based-standards] (SCNi32): Likewise.
36028         [C99-based-standards] (SCNo32): Likewise.
36029         [C99-based-standards] (SCNu32): Likewise.
36030         [C99-based-standards] (SCNx32): Likewise.
36031         [C99-based-standards] (PRIdLEAST32): Likewise.
36032         [C99-based-standards] (PRIiLEAST32): Likewise.
36033         [C99-based-standards] (PRIoLEAST32): Likewise.
36034         [C99-based-standards] (PRIuLEAST32): Likewise.
36035         [C99-based-standards] (PRIxLEAST32): Likewise.
36036         [C99-based-standards] (PRIXLEAST32): Likewise.
36037         [C99-based-standards] (SCNdLEAST32): Likewise.
36038         [C99-based-standards] (SCNiLEAST32): Likewise.
36039         [C99-based-standards] (SCNoLEAST32): Likewise.
36040         [C99-based-standards] (SCNuLEAST32): Likewise.
36041         [C99-based-standards] (SCNxLEAST32): Likewise.
36042         [C99-based-standards] (PRIdFAST32): Likewise.
36043         [C99-based-standards] (PRIiFAST32): Likewise.
36044         [C99-based-standards] (PRIoFAST32): Likewise.
36045         [C99-based-standards] (PRIuFAST32): Likewise.
36046         [C99-based-standards] (PRIxFAST32): Likewise.
36047         [C99-based-standards] (PRIXFAST32): Likewise.
36048         [C99-based-standards] (SCNdFAST32): Likewise.
36049         [C99-based-standards] (SCNiFAST32): Likewise.
36050         [C99-based-standards] (SCNoFAST32): Likewise.
36051         [C99-based-standards] (SCNuFAST32): Likewise.
36052         [C99-based-standards] (SCNxFAST32): Likewise.
36053         [C99-based-standards] (PRId64): Likewise.
36054         [C99-based-standards] (PRIi64): Likewise.
36055         [C99-based-standards] (PRIo64): Likewise.
36056         [C99-based-standards] (PRIu64): Likewise.
36057         [C99-based-standards] (PRIx64): Likewise.
36058         [C99-based-standards] (PRIX64): Likewise.
36059         [C99-based-standards] (SCNd64): Likewise.
36060         [C99-based-standards] (SCNi64): Likewise.
36061         [C99-based-standards] (SCNo64): Likewise.
36062         [C99-based-standards] (SCNu64): Likewise.
36063         [C99-based-standards] (SCNx64): Likewise.
36064         [C99-based-standards] (PRIdLEAST64): Likewise.
36065         [C99-based-standards] (PRIiLEAST64): Likewise.
36066         [C99-based-standards] (PRIoLEAST64): Likewise.
36067         [C99-based-standards] (PRIuLEAST64): Likewise.
36068         [C99-based-standards] (PRIxLEAST64): Likewise.
36069         [C99-based-standards] (PRIXLEAST64): Likewise.
36070         [C99-based-standards] (SCNdLEAST64): Likewise.
36071         [C99-based-standards] (SCNiLEAST64): Likewise.
36072         [C99-based-standards] (SCNoLEAST64): Likewise.
36073         [C99-based-standards] (SCNuLEAST64): Likewise.
36074         [C99-based-standards] (SCNxLEAST64): Likewise.
36075         [C99-based-standards] (PRIdFAST64): Likewise.
36076         [C99-based-standards] (PRIiFAST64): Likewise.
36077         [C99-based-standards] (PRIoFAST64): Likewise.
36078         [C99-based-standards] (PRIuFAST64): Likewise.
36079         [C99-based-standards] (PRIxFAST64): Likewise.
36080         [C99-based-standards] (PRIXFAST64): Likewise.
36081         [C99-based-standards] (SCNdFAST64): Likewise.
36082         [C99-based-standards] (SCNiFAST64): Likewise.
36083         [C99-based-standards] (SCNoFAST64): Likewise.
36084         [C99-based-standards] (SCNuFAST64): Likewise.
36085         [C99-based-standards] (SCNxFAST64): Likewise.
36086         [C99-based-standards] (PRIdMAX): Likewise.
36087         [C99-based-standards] (PRIiMAX): Likewise.
36088         [C99-based-standards] (PRIoMAX): Likewise.
36089         [C99-based-standards] (PRIuMAX): Likewise.
36090         [C99-based-standards] (PRIxMAX): Likewise.
36091         [C99-based-standards] (PRIXMAX): Likewise.
36092         [C99-based-standards] (SCNdMAX): Likewise.
36093         [C99-based-standards] (SCNiMAX): Likewise.
36094         [C99-based-standards] (SCNoMAX): Likewise.
36095         [C99-based-standards] (SCNuMAX): Likewise.
36096         [C99-based-standards] (SCNxMAX): Likewise.
36097         [C99-based-standards] (PRIdPTR): Likewise.
36098         [C99-based-standards] (PRIiPTR): Likewise.
36099         [C99-based-standards] (PRIoPTR): Likewise.
36100         [C99-based-standards] (PRIuPTR): Likewise.
36101         [C99-based-standards] (PRIxPTR): Likewise.
36102         [C99-based-standards] (PRIXPTR): Likewise.
36103         [C99-based-standards] (SCNdPTR): Likewise.
36104         [C99-based-standards] (SCNiPTR): Likewise.
36105         [C99-based-standards] (SCNoPTR): Likewise.
36106         [C99-based-standards] (SCNuPTR): Likewise.
36107         [C99-based-standards] (SCNxPTR): Likewise.
36108         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36109         allow.
36110         * conform/data/stdint.h-data: Update comments to clarify
36111         requirements.
36112         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
36113         type.
36114         [C99-based standards] (INT8_MAX): Likewise.
36115         [C99-based standards] (INT16_MIN): Likewise.
36116         [C99-based standards] (INT16_MAX): Likewise.
36117         [C99-based standards] (INT32_MIN): Likewise.
36118         [C99-based standards] (INT32_MAX): Likewise.
36119         [C99-based standards] (INT64_MIN): Likewise.
36120         [C99-based standards] (INT64_MAX): Likewise.
36121         [C99-based standards] (UINT8_MAX): Likewise.
36122         [C99-based standards] (UINT16_MAX): Likewise.
36123         [C99-based standards] (UINT32_MAX): Likewise.
36124         [C99-based standards] (UINT64_MAX): Likewise.
36125         [C99-based standards] (INT_LEAST8_MIN): Likewise.
36126         [C99-based standards] (INT_LEAST8_MAX): Likewise.
36127         [C99-based standards] (INT_LEAST16_MIN): Likewise.
36128         [C99-based standards] (INT_LEAST16_MAX): Likewise.
36129         [C99-based standards] (INT_LEAST32_MIN): Likewise.
36130         [C99-based standards] (INT_LEAST32_MAX): Likewise.
36131         [C99-based standards] (INT_LEAST64_MIN): Likewise.
36132         [C99-based standards] (INT_LEAST64_MAX): Likewise.
36133         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36134         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36135         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36136         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36137         [C99-based standards] (INT_FAST8_MIN): Likewise.
36138         [C99-based standards] (INT_FAST8_MAX): Likewise.
36139         [C99-based standards] (INT_FAST16_MIN): Likewise.
36140         [C99-based standards] (INT_FAST16_MAX): Likewise.
36141         [C99-based standards] (INT_FAST32_MIN): Likewise.
36142         [C99-based standards] (INT_FAST32_MAX): Likewise.
36143         [C99-based standards] (INT_FAST64_MIN): Likewise.
36144         [C99-based standards] (INT_FAST64_MAX): Likewise.
36145         [C99-based standards] (UINT_FAST8_MAX): Likewise.
36146         [C99-based standards] (UINT_FAST16_MAX): Likewise.
36147         [C99-based standards] (UINT_FAST32_MAX): Likewise.
36148         [C99-based standards] (UINT_FAST64_MAX): Likewise.
36149         [C99-based standards] (INTPTR_MIN): Likewise.
36150         [C99-based standards] (INTPTR_MAX): Likewise.
36151         [C99-based standards] (UINTPTR_MAX): Likewise.
36152         [C99-based standards] (INTMAX_MIN): Likewise.
36153         [C99-based standards] (INTMAX_MAX): Likewise.
36154         [C99-based standards] (UINTMAX_MAX): Likewise.
36155         [C99-based standards] (PTRDIFF_MIN): Likewise.
36156         [C99-based standards] (PTRDIFF_MAX): Likewise.
36157         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36158         [C99-based standards] (SIZE_MAX): Likewise.
36159         [C99-based standards] (WCHAR_MAX): Likewise.
36160         [C99-based standards] (WINT_MAX): Likewise.
36161         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
36162         constraint on value.
36163         [C99-based standards] (WCHAR_MIN): Likewise.
36164         [C99-based standards] (WINT_MIN): Likewise.
36165         [C99-based standards] (*_t): Allow.
36166         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36167         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36168         Include math.h-data and complex.h-data.  Remove all expectations
36169         of math.h and complex.h contents.
36170         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36171         at end of line.
36172         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36173         (struct tm): Expect tag.
36174         [C99-based-standards] (wcstof): Expect function.
36175         [C99-based-standards] (wcstold): Likewise.
36176         [C99-based-standards] (wcstoll): Likewise.
36177         [C99-based-standards] (wcstoull): Likewise.
36178         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36179         macro-int-constant.  Specify type.
36180         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
36181         constraint on value.
36182         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36183         Specify type.
36184         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36185         Specify value.
36186         [ISO C standards]: Do not allow headers.
36187         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36188         wcs[abcdefghijklmnopqrstuvwxyz]*.
36189         [ISO C standards] (*_t): Do not allow.
36190         * conform/data/wctype.h-data [C99-based standards] (iswblank):
36191         Expect function.
36192         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36193         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36194         Specify type.
36195         [ISO C standards]: Do not allow headers.
36196         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36197         is[abcdefghijklmnopqrstuvwxyz]*.
36198         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36199         to[abcdefghijklmnopqrstuvwxyz]*.
36200         [ISO C standards] (*_t): Do not allow.
36201         * conform/data/stdalign.h-data: New file.
36202         * conform/data/stdbool.h-data: Likewise.
36203         * conform/data/stdnoreturn.h-data: Likewise.
36205 2012-11-07  Roland McGrath  <roland@hack.frob.com>
36207         [BZ #14815]
36208         * manual/filesys.texi (Directory Entries): Typo fix.
36209         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36211 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
36213         * elf/elf.h (EM_AARCH64): New macro.
36214         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36215         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36216         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36217         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36218         (R_AARCH64_TLSDESC): Likewise.
36219         (NT_ARM_TLS): Likewise.
36220         (NT_ARM_HW_BREAK): Likewise.
36221         (NT_ARM_HW_WATCH): Likewise.
36223 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36225         [BZ #14811]
36226         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36227         (__ieee754_powl): Saturate nonzero exponents with absolute value
36228         below 0x1p-79 to +/- 0x1p-79.
36229         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36230         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36231         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36232         nonzero exponents with absolute value below 0x1p-32 to +/-
36233         0x1p-32.
36234         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36235         (__ieee754_powl): Saturate nonzero exponents with absolute value
36236         below 0x1p-79 to +/- 0x1p-79.
36237         * math/libm-test.inc (pow_test): Add more tests.
36239 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36241         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36242         _dl_s390_cap_flags with kernel. Increase string length.
36243         (_dl_s390_platforms): Add z196 and zEC12.
36245 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
36247         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36248         Change XOPEN21K to XOPEN2K.
36250 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
36252         * string/memmove.c: Use memcpy when possible.
36254 2012-11-06  Andreas Jaeger  <aj@suse.de>
36256         * po/eo.po: Update from translation team.
36258 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
36260         [BZ #14793]
36261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36262         exponent and small x and y exponents, scale x or y up.  Increase
36263         by 2 the exponent used in scaling up.
36264         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36265         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36266         * math/libm-test.inc (fma_test): Add more tests.
36267         (fma_test_towardzero): Likewise.
36268         (fma_test_downward): Likewise.
36269         (fma_test_upward): Likewise.
36271 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
36273         [BZ #14805]
36274         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36275         fenv_t *.
36277         [BZ #14801]
36278         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36279         namespace for names of struct fields.
36280         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36281         fenv_t fields.
36282         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36283         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36285 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36287         [BZ #3665]
36288         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36290 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36292         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36293         PTR_DEMANGLE.
36295         [BZ #5246]
36296         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36297         PTR_DEMANGLE.
36299 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
36301         [BZ #14797]
36302         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36303         definitely overflow as x * y not x * y + z.
36304         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36305         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36306         * math/libm-test.inc (fma_test): Add more tests.
36307         (fma_test_towardzero): Likewise.
36308         (fma_test_downward): Likewise.
36309         (fma_test_upward): Likewise.
36311 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
36313         [BZ #157]
36315         * include/stub-tag.h: Remove file.
36316         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36317         '#include' of it.
36318         * manual/maint.texi (Porting): Don't reference it.
36319         * Makerules ($(objpfx)stubs): Likewise.
36320         * dirent/closedir.c: Don't include <stub-tag.h>.
36321         * dirent/dirfd.c: Likewise.
36322         * dirent/fdopendir.c: Likewise.
36323         * dirent/getdents.c: Likewise.
36324         * dirent/getdents64.c: Likewise.
36325         * dirent/opendir.c: Likewise.
36326         * dirent/readdir.c: Likewise.
36327         * dirent/readdir64.c: Likewise.
36328         * dirent/readdir64_r.c: Likewise.
36329         * dirent/readdir_r.c: Likewise.
36330         * dirent/rewinddir.c: Likewise.
36331         * dirent/seekdir.c: Likewise.
36332         * dirent/telldir.c: Likewise.
36333         * gmon/profil.c: Likewise.
36334         * grp/setgroups.c: Likewise.
36335         * inet/if_index.c: Likewise.
36336         * io/access.c: Likewise.
36337         * io/chdir.c: Likewise.
36338         * io/chmod.c: Likewise.
36339         * io/chown.c: Likewise.
36340         * io/close.c: Likewise.
36341         * io/dup.c: Likewise.
36342         * io/dup2.c: Likewise.
36343         * io/dup3.c: Likewise.
36344         * io/euidaccess.c: Likewise.
36345         * io/faccessat.c: Likewise.
36346         * io/fchdir.c: Likewise.
36347         * io/fchmod.c: Likewise.
36348         * io/fchmodat.c: Likewise.
36349         * io/fchown.c: Likewise.
36350         * io/fchownat.c: Likewise.
36351         * io/fcntl.c: Likewise.
36352         * io/flock.c: Likewise.
36353         * io/fstatfs.c: Likewise.
36354         * io/fstatfs64.c: Likewise.
36355         * io/fstatvfs.c: Likewise.
36356         * io/fstatvfs64.c: Likewise.
36357         * io/futimens.c: Likewise.
36358         * io/fxstat.c: Likewise.
36359         * io/fxstat64.c: Likewise.
36360         * io/fxstatat.c: Likewise.
36361         * io/fxstatat64.c: Likewise.
36362         * io/getcwd.c: Likewise.
36363         * io/isatty.c: Likewise.
36364         * io/lchmod.c: Likewise.
36365         * io/lchown.c: Likewise.
36366         * io/link.c: Likewise.
36367         * io/linkat.c: Likewise.
36368         * io/lseek.c: Likewise.
36369         * io/lseek64.c: Likewise.
36370         * io/lxstat64.c: Likewise.
36371         * io/mkdir.c: Likewise.
36372         * io/mkdirat.c: Likewise.
36373         * io/mkfifo.c: Likewise.
36374         * io/mkfifoat.c: Likewise.
36375         * io/open.c: Likewise.
36376         * io/open64.c: Likewise.
36377         * io/openat.c: Likewise.
36378         * io/openat64.c: Likewise.
36379         * io/pipe.c: Likewise.
36380         * io/pipe2.c: Likewise.
36381         * io/poll.c: Likewise.
36382         * io/posix_fadvise.c: Likewise.
36383         * io/posix_fadvise64.c: Likewise.
36384         * io/posix_fallocate.c: Likewise.
36385         * io/posix_fallocate64.c: Likewise.
36386         * io/read.c: Likewise.
36387         * io/readlink.c: Likewise.
36388         * io/readlinkat.c: Likewise.
36389         * io/rmdir.c: Likewise.
36390         * io/sendfile.c: Likewise.
36391         * io/sendfile64.c: Likewise.
36392         * io/statfs.c: Likewise.
36393         * io/statfs64.c: Likewise.
36394         * io/statvfs.c: Likewise.
36395         * io/statvfs64.c: Likewise.
36396         * io/symlink.c: Likewise.
36397         * io/symlinkat.c: Likewise.
36398         * io/ttyname.c: Likewise.
36399         * io/ttyname_r.c: Likewise.
36400         * io/umask.c: Likewise.
36401         * io/unlink.c: Likewise.
36402         * io/unlinkat.c: Likewise.
36403         * io/utime.c: Likewise.
36404         * io/utimensat.c: Likewise.
36405         * io/write.c: Likewise.
36406         * io/xmknod.c: Likewise.
36407         * io/xmknodat.c: Likewise.
36408         * io/xstat.c: Likewise.
36409         * io/xstat64.c: Likewise.
36410         * login/getpt.c: Likewise.
36411         * login/grantpt.c: Likewise.
36412         * login/unlockpt.c: Likewise.
36413         * math/e_acoshl.c: Likewise.
36414         * math/e_acosl.c: Likewise.
36415         * math/e_asinl.c: Likewise.
36416         * math/e_atan2l.c: Likewise.
36417         * math/e_atanhl.c: Likewise.
36418         * math/e_coshl.c: Likewise.
36419         * math/e_expl.c: Likewise.
36420         * math/e_fmodl.c: Likewise.
36421         * math/e_gammal_r.c: Likewise.
36422         * math/e_hypotl.c: Likewise.
36423         * math/e_j0l.c: Likewise.
36424         * math/e_j1l.c: Likewise.
36425         * math/e_jnl.c: Likewise.
36426         * math/e_lgammal_r.c: Likewise.
36427         * math/e_log10l.c: Likewise.
36428         * math/e_log2l.c: Likewise.
36429         * math/e_logl.c: Likewise.
36430         * math/e_powl.c: Likewise.
36431         * math/e_rem_pio2l.c: Likewise.
36432         * math/e_sinhl.c: Likewise.
36433         * math/e_sqrtl.c: Likewise.
36434         * math/fclrexcpt.c: Likewise.
36435         * math/fedisblxcpt.c: Likewise.
36436         * math/feenablxcpt.c: Likewise.
36437         * math/fegetenv.c: Likewise.
36438         * math/fegetexcept.c: Likewise.
36439         * math/fegetround.c: Likewise.
36440         * math/feholdexcpt.c: Likewise.
36441         * math/fesetenv.c: Likewise.
36442         * math/fesetround.c: Likewise.
36443         * math/feupdateenv.c: Likewise.
36444         * math/fgetexcptflg.c: Likewise.
36445         * math/fraiseexcpt.c: Likewise.
36446         * math/fsetexcptflg.c: Likewise.
36447         * math/ftestexcept.c: Likewise.
36448         * math/k_cosl.c: Likewise.
36449         * math/k_rem_pio2l.c: Likewise.
36450         * math/k_sinl.c: Likewise.
36451         * math/k_tanl.c: Likewise.
36452         * math/s_asinhl.c: Likewise.
36453         * math/s_atanl.c: Likewise.
36454         * math/s_cbrtl.c: Likewise.
36455         * math/s_erfl.c: Likewise.
36456         * math/s_expm1l.c: Likewise.
36457         * math/s_log1pl.c: Likewise.
36458         * math/s_tanhl.c: Likewise.
36459         * misc/acct.c: Likewise.
36460         * misc/brk.c: Likewise.
36461         * misc/chflags.c: Likewise.
36462         * misc/chroot.c: Likewise.
36463         * misc/fchflags.c: Likewise.
36464         * misc/fgetxattr.c: Likewise.
36465         * misc/flistxattr.c: Likewise.
36466         * misc/fremovexattr.c: Likewise.
36467         * misc/fsetxattr.c: Likewise.
36468         * misc/fsync.c: Likewise.
36469         * misc/ftruncate.c: Likewise.
36470         * misc/futimes.c: Likewise.
36471         * misc/futimesat.c: Likewise.
36472         * misc/getdomain.c: Likewise.
36473         * misc/getdtsz.c: Likewise.
36474         * misc/gethostid.c: Likewise.
36475         * misc/gethostname.c: Likewise.
36476         * misc/getloadavg.c: Likewise.
36477         * misc/getpagesize.c: Likewise.
36478         * misc/getsysstats.c: Likewise.
36479         * misc/getxattr.c: Likewise.
36480         * misc/gtty.c: Likewise.
36481         * misc/ioctl.c: Likewise.
36482         * misc/lgetxattr.c: Likewise.
36483         * misc/listxattr.c: Likewise.
36484         * misc/llistxattr.c: Likewise.
36485         * misc/lremovexattr.c: Likewise.
36486         * misc/lsetxattr.c: Likewise.
36487         * misc/lutimes.c: Likewise.
36488         * misc/madvise.c: Likewise.
36489         * misc/mincore.c: Likewise.
36490         * misc/mlock.c: Likewise.
36491         * misc/mlockall.c: Likewise.
36492         * misc/mmap.c: Likewise.
36493         * misc/mprotect.c: Likewise.
36494         * misc/msync.c: Likewise.
36495         * misc/munlock.c: Likewise.
36496         * misc/munlockall.c: Likewise.
36497         * misc/munmap.c: Likewise.
36498         * misc/preadv.c: Likewise.
36499         * misc/preadv64.c: Likewise.
36500         * misc/ptrace.c: Likewise.
36501         * misc/pwritev.c: Likewise.
36502         * misc/pwritev64.c: Likewise.
36503         * misc/readv.c: Likewise.
36504         * misc/reboot.c: Likewise.
36505         * misc/remap_file_pages.c: Likewise.
36506         * misc/removexattr.c: Likewise.
36507         * misc/revoke.c: Likewise.
36508         * misc/select.c: Likewise.
36509         * misc/setdomain.c: Likewise.
36510         * misc/setegid.c: Likewise.
36511         * misc/seteuid.c: Likewise.
36512         * misc/sethostid.c: Likewise.
36513         * misc/sethostname.c: Likewise.
36514         * misc/setregid.c: Likewise.
36515         * misc/setreuid.c: Likewise.
36516         * misc/setxattr.c: Likewise.
36517         * misc/sstk.c: Likewise.
36518         * misc/stty.c: Likewise.
36519         * misc/swapoff.c: Likewise.
36520         * misc/swapon.c: Likewise.
36521         * misc/sync.c: Likewise.
36522         * misc/syncfs.c: Likewise.
36523         * misc/syscall.c: Likewise.
36524         * misc/truncate.c: Likewise.
36525         * misc/ualarm.c: Likewise.
36526         * misc/usleep.c: Likewise.
36527         * misc/ustat.c: Likewise.
36528         * misc/utimes.c: Likewise.
36529         * misc/vhangup.c: Likewise.
36530         * misc/writev.c: Likewise.
36531         * posix/_exit.c: Likewise.
36532         * posix/alarm.c: Likewise.
36533         * posix/execve.c: Likewise.
36534         * posix/fexecve.c: Likewise.
36535         * posix/fork.c: Likewise.
36536         * posix/fpathconf.c: Likewise.
36537         * posix/getaddrinfo.c: Likewise.
36538         * posix/getegid.c: Likewise.
36539         * posix/geteuid.c: Likewise.
36540         * posix/getgid.c: Likewise.
36541         * posix/getgroups.c: Likewise.
36542         * posix/getlogin.c: Likewise.
36543         * posix/getlogin_r.c: Likewise.
36544         * posix/getpgid.c: Likewise.
36545         * posix/getpid.c: Likewise.
36546         * posix/getppid.c: Likewise.
36547         * posix/getresgid.c: Likewise.
36548         * posix/getresuid.c: Likewise.
36549         * posix/getsid.c: Likewise.
36550         * posix/getuid.c: Likewise.
36551         * posix/glob64.c: Likewise.
36552         * posix/nanosleep.c: Likewise.
36553         * posix/pathconf.c: Likewise.
36554         * posix/pause.c: Likewise.
36555         * posix/posix_madvise.c: Likewise.
36556         * posix/pread.c: Likewise.
36557         * posix/pread64.c: Likewise.
36558         * posix/pwrite.c: Likewise.
36559         * posix/pwrite64.c: Likewise.
36560         * posix/sched_getaffinity.c: Likewise.
36561         * posix/sched_getp.c: Likewise.
36562         * posix/sched_gets.c: Likewise.
36563         * posix/sched_primax.c: Likewise.
36564         * posix/sched_primin.c: Likewise.
36565         * posix/sched_rr_gi.c: Likewise.
36566         * posix/sched_setaffinity.c: Likewise.
36567         * posix/sched_setp.c: Likewise.
36568         * posix/sched_sets.c: Likewise.
36569         * posix/sched_yield.c: Likewise.
36570         * posix/setgid.c: Likewise.
36571         * posix/setlogin.c: Likewise.
36572         * posix/setpgid.c: Likewise.
36573         * posix/setresgid.c: Likewise.
36574         * posix/setresuid.c: Likewise.
36575         * posix/setsid.c: Likewise.
36576         * posix/setuid.c: Likewise.
36577         * posix/sleep.c: Likewise.
36578         * posix/spawni.c: Likewise.
36579         * posix/sysconf.c: Likewise.
36580         * posix/times.c: Likewise.
36581         * posix/wait.c: Likewise.
36582         * posix/wait3.c: Likewise.
36583         * posix/wait4.c: Likewise.
36584         * posix/waitpid.c: Likewise.
36585         * resolv/gai_sigqueue.c: Likewise.
36586         * resource/getpriority.c: Likewise.
36587         * resource/getrlimit.c: Likewise.
36588         * resource/getrusage.c: Likewise.
36589         * resource/nice.c: Likewise.
36590         * resource/setpriority.c: Likewise.
36591         * resource/setrlimit.c: Likewise.
36592         * resource/ulimit.c: Likewise.
36593         * rt/aio_cancel.c: Likewise.
36594         * rt/aio_fsync.c: Likewise.
36595         * rt/aio_read.c: Likewise.
36596         * rt/aio_sigqueue.c: Likewise.
36597         * rt/aio_suspend.c: Likewise.
36598         * rt/aio_write.c: Likewise.
36599         * rt/clock_getres.c: Likewise.
36600         * rt/clock_gettime.c: Likewise.
36601         * rt/clock_nanosleep.c: Likewise.
36602         * rt/clock_settime.c: Likewise.
36603         * rt/lio_listio.c: Likewise.
36604         * rt/mq_close.c: Likewise.
36605         * rt/mq_getattr.c: Likewise.
36606         * rt/mq_notify.c: Likewise.
36607         * rt/mq_open.c: Likewise.
36608         * rt/mq_receive.c: Likewise.
36609         * rt/mq_send.c: Likewise.
36610         * rt/mq_setattr.c: Likewise.
36611         * rt/mq_timedreceive.c: Likewise.
36612         * rt/mq_timedsend.c: Likewise.
36613         * rt/mq_unlink.c: Likewise.
36614         * rt/shm_open.c: Likewise.
36615         * rt/shm_unlink.c: Likewise.
36616         * rt/timer_create.c: Likewise.
36617         * rt/timer_delete.c: Likewise.
36618         * rt/timer_getoverr.c: Likewise.
36619         * rt/timer_gettime.c: Likewise.
36620         * rt/timer_settime.c: Likewise.
36621         * setjmp/__longjmp.c: Likewise.
36622         * setjmp/setjmp.c: Likewise.
36623         * signal/kill.c: Likewise.
36624         * signal/killpg.c: Likewise.
36625         * signal/raise.c: Likewise.
36626         * signal/sigaction.c: Likewise.
36627         * signal/sigaltstack.c: Likewise.
36628         * signal/sigblock.c: Likewise.
36629         * signal/sigignore.c: Likewise.
36630         * signal/sigintr.c: Likewise.
36631         * signal/signal.c: Likewise.
36632         * signal/sigpause.c: Likewise.
36633         * signal/sigpending.c: Likewise.
36634         * signal/sigqueue.c: Likewise.
36635         * signal/sigreturn.c: Likewise.
36636         * signal/sigset.c: Likewise.
36637         * signal/sigsetmask.c: Likewise.
36638         * signal/sigstack.c: Likewise.
36639         * signal/sigsuspend.c: Likewise.
36640         * signal/sigtimedwait.c: Likewise.
36641         * signal/sigvec.c: Likewise.
36642         * signal/sigwait.c: Likewise.
36643         * signal/sigwaitinfo.c: Likewise.
36644         * signal/sysv_signal.c: Likewise.
36645         * socket/accept.c: Likewise.
36646         * socket/accept4.c: Likewise.
36647         * socket/bind.c: Likewise.
36648         * socket/connect.c: Likewise.
36649         * socket/getpeername.c: Likewise.
36650         * socket/getsockname.c: Likewise.
36651         * socket/getsockopt.c: Likewise.
36652         * socket/isfdtype.c: Likewise.
36653         * socket/listen.c: Likewise.
36654         * socket/recv.c: Likewise.
36655         * socket/recvfrom.c: Likewise.
36656         * socket/recvmsg.c: Likewise.
36657         * socket/send.c: Likewise.
36658         * socket/sendmsg.c: Likewise.
36659         * socket/sendto.c: Likewise.
36660         * socket/setsockopt.c: Likewise.
36661         * socket/shutdown.c: Likewise.
36662         * socket/sockatmark.c: Likewise.
36663         * socket/socket.c: Likewise.
36664         * socket/socketpair.c: Likewise.
36665         * stdio-common/ctermid.c: Likewise.
36666         * stdio-common/cuserid.c: Likewise.
36667         * stdio-common/remove.c: Likewise.
36668         * stdio-common/rename.c: Likewise.
36669         * stdio-common/renameat.c: Likewise.
36670         * stdio-common/tempname.c: Likewise.
36671         * stdlib/getcontext.c: Likewise.
36672         * stdlib/makecontext.c: Likewise.
36673         * stdlib/setcontext.c: Likewise.
36674         * stdlib/swapcontext.c: Likewise.
36675         * stdlib/system.c: Likewise.
36676         * streams/fattach.c: Likewise.
36677         * streams/fdetach.c: Likewise.
36678         * streams/getmsg.c: Likewise.
36679         * streams/getpmsg.c: Likewise.
36680         * streams/putmsg.c: Likewise.
36681         * streams/putpmsg.c: Likewise.
36682         * sysdeps/unix/bsd/getpt.c: Likewise.
36683         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36684         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36685         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36687         Likewise.
36688         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36689         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36690         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36691         * sysvipc/msgctl.c: Likewise.
36692         * sysvipc/msgget.c: Likewise.
36693         * sysvipc/msgrcv.c: Likewise.
36694         * sysvipc/msgsnd.c: Likewise.
36695         * sysvipc/semctl.c: Likewise.
36696         * sysvipc/semget.c: Likewise.
36697         * sysvipc/semop.c: Likewise.
36698         * sysvipc/semtimedop.c: Likewise.
36699         * sysvipc/shmat.c: Likewise.
36700         * sysvipc/shmctl.c: Likewise.
36701         * sysvipc/shmdt.c: Likewise.
36702         * sysvipc/shmget.c: Likewise.
36703         * termios/tcdrain.c: Likewise.
36704         * termios/tcflow.c: Likewise.
36705         * termios/tcflush.c: Likewise.
36706         * termios/tcgetattr.c: Likewise.
36707         * termios/tcgetpgrp.c: Likewise.
36708         * termios/tcsendbrk.c: Likewise.
36709         * termios/tcsetattr.c: Likewise.
36710         * termios/tcsetpgrp.c: Likewise.
36711         * time/adjtime.c: Likewise.
36712         * time/clock.c: Likewise.
36713         * time/getitimer.c: Likewise.
36714         * time/gettimeofday.c: Likewise.
36715         * time/setitimer.c: Likewise.
36716         * time/settimeofday.c: Likewise.
36717         * time/stime.c: Likewise.
36718         * time/time.c: Likewise.
36720 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36722         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36723         /usr/old/bin.
36725         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36726         instead of spaces.
36727         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36729 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36731         [BZ #14796]
36732         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36733         FE_TONEAREST before applying Dekker multiplication and Knuth
36734         addition.  Clear inexact exceptions and check for exact zero
36735         results afterwards.
36736         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36737         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36738         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36739         * math/libm-test.inc (fma_test): Add more tests.
36740         (fma_test_towardzero): Likewise.
36741         (fma_test_downward): Likewise.
36742         (fma_test_upward): Likewise.
36743         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36744         function.
36745         (libc_fesetround): New macro.
36746         (libc_fesetroundf): Likewise.
36747         (libc_fesetroundl): Likewise.
36748         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36749         function.
36750         (libc_fesetround_387): Likewise.
36751         (libc_fesetroundf): New macro.
36752         (libc_fesetround): Likewise.
36753         (libc_fesetroundl): Likewise.
36754         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36755         function.
36756         (libc_fesetroundf): New macro.
36757         (libc_fesetround): Likewise.
36758         (libc_fesetroundl): Likewise.
36759         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36760         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36761         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36762         libm_hidden_ver.
36763         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36764         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36765         libm_hidden_def.
36766         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36767         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36768         libm_hidden_ver.
36769         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36770         libm_hidden_def.
36772         [BZ #3439]
36773         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36774         integer constant usable in #if and use that to give value to enum
36775         constant.
36776         (FE_DIVBYZERO): Likewise.
36777         (FE_UNDERFLOW): Likewise.
36778         (FE_OVERFLOW): Likewise.
36779         (FE_INVALID): Likewise.
36780         (FE_INVALID_SNAN): Likewise.
36781         (FE_INVALID_ISI): Likewise.
36782         (FE_INVALID_IDI): Likewise.
36783         (FE_INVALID_ZDZ): Likewise.
36784         (FE_INVALID_IMZ): Likewise.
36785         (FE_INVALID_COMPARE): Likewise.
36786         (FE_INVALID_SOFTWARE): Likewise.
36787         (FE_INVALID_SQRT): Likewise.
36788         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36789         (FE_TONEAREST): Likewise.
36790         (FE_TOWARDZERO): Likewise.
36791         (FE_UPWARD): Likewise.
36792         (FE_DOWNWARD): Likewise.
36793         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36794         (FE_DIVBYZERO): Likewise.
36795         (FE_OVERFLOW): Likewise.
36796         (FE_UNDERFLOW): Likewise.
36797         (FE_INEXACT): Likewise.
36798         (FE_TONEAREST): Likewise.
36799         (FE_DOWNWARD): Likewise.
36800         (FE_UPWARD): Likewise.
36801         (FE_TOWARDZERO): Likewise.
36802         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36803         (FE_UNDERFLOW): Likewise.
36804         (FE_OVERFLOW): Likewise.
36805         (FE_DIVBYZERO): Likewise.
36806         (FE_INVALID): Likewise.
36807         (FE_TONEAREST): Likewise.
36808         (FE_TOWARDZERO): Likewise.
36809         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36810         (FE_OVERFLOW): Likewise.
36811         (FE_UNDERFLOW): Likewise.
36812         (FE_DIVBYZERO): Likewise.
36813         (FE_INEXACT): Likewise.
36814         (FE_TONEAREST): Likewise.
36815         (FE_TOWARDZERO): Likewise.
36816         (FE_UPWARD): Likewise.
36817         (FE_DOWNWARD): Likewise.
36818         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36819         (FE_DIVBYZERO): Likewise.
36820         (FE_OVERFLOW): Likewise.
36821         (FE_UNDERFLOW): Likewise.
36822         (FE_INEXACT): Likewise.
36823         (FE_TONEAREST): Likewise.
36824         (FE_DOWNWARD): Likewise.
36825         (FE_UPWARD): Likewise.
36826         (FE_TOWARDZERO): Likewise.
36828 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
36830         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36832 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
36834         * scripts/cross-test-ssh.sh (command): Use newlines to separate
36835         commands.  Quote $PWD.
36836         (blacklist_exports): Don't use remove_newlines.  Replace "declare
36837         -x" by "export".
36838         (remove_newlines): Remove.
36840 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
36842         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36843         * stdlib/stdlib.h (atof): Moved to ...
36844         * include/bits/stdlib-float.h: Here.  New file.
36845         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36846         * stdlib/bits/stdlib-float.h: New file.
36847         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36848         -mno-sse -mno-mmx.
36849         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36850         <xmmintrin.h>.
36852 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36854         * conform/conformtest.pl (@headers): Add fenv.h.
36855         * conform/data/fenv.h-data: New file.
36856         * include/fenv.h [_ISOMAC]: Disable all contents of file except
36857         include of <math/fenv.h>.
36859         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36860         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36861         && !UNIX98].  Enables tests for XOPEN2K8.
36862         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36863         POSIX2008]: Likewise.
36865         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36866         (struct rusage): Do not expect type or its members.
36868         [BZ #3439]
36869         * math/math.h (FP_NAN): Define macro to integer constant usable in
36870         #if and use that to give value to enum constant.
36871         (FP_INFINITE): Likewise.
36872         (FP_ZERO): Likewise.
36873         (FP_SUBNORMAL): Likewise.
36874         (FP_NORMAL): Likewise.
36876 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
36878         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36879         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36880         arguments.
36882 2012-11-02  Roland McGrath  <roland@hack.frob.com>
36884         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36885         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36886         autoconf-time if not.
36887         * configure.in: Remove AC_PREREQ.
36889 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36891         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36892         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36893         of the internal implementation.
36895 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36897         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36898         except include of <misc/sys/syslog.h>.
36900 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36903         function returns with a NULL context exit with zero.
36905 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36907         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36909 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
36911         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36912         (run_program_cmd): This.
36913         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36914         (tst_langinfo): New variable.  Use it.
36916 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
36918         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36919         floating point opcodes.
36921 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36923         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36924         variable.
36926         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36928         * sysdeps/mach/hurd/powerpc: Remove directory.
36929         * sysdeps/mach/powerpc: Likewise.
36931 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36933         * scripts/check-local-headers.sh: Ignore c++ headers.
36935 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36937         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36938         __libc_cleanup_region_start argument.
36940 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
36942         [BZ #14784]
36943         [BZ #14785]
36944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36945         x * y using scaling, not as x * y + z.
36946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36947         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36948         * math/libm-test.inc (fma_test): Add more tests.
36949         (fma_test_towardzero): Likewise.
36950         (fma_test_downward): Likewise.
36951         (fma_test_upward): Likewise.
36953 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36955         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36957 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36959         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36960         New variable.
36962 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
36964         * rt/tst-shm.c (worker): Correct checking for mmap failure.
36966 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36969         Fix sort order.
36970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36971         Likewise.
36973 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36976         Fix the order of the list for glibc 2.17.
36977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36978         Likewise.
36980 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36984 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36986         [BZ #14610]
36987         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36988         for low part of x being zero before using __atanl (y).
36989         * math/libm-test.inc (atan2_test): Add another test.
36991         * manual/install.texi (Configuring and compiling): Document
36992         general use of test-wrapper and test-wrapper-env.
36993         * INSTALL: Regenerated.
36995         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36996         (__fma): Do not extract and scale down low bits on after-rounding
36997         systems when result rounded to normal precision would have normal
36998         exponent.
36999         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37000         (__fmal): Do not extract and scale down low bits on after-rounding
37001         systems when result rounded to normal precision would have normal
37002         exponent.
37003         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37004         (__fmal): Do not extract and scale down low bits on after-rounding
37005         systems when result rounded to normal precision would have normal
37006         exponent.
37007         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37008         macro.
37009         (fma_test): Add more tests.
37010         (fma_test_towardzero): Likewise.
37011         (fma_test_downward): Likewise.
37012         (fma_test_upward): Likewise.
37014 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
37016         * sysdeps/i386/tininess.h: Renamed to ...
37017         * sysdeps/x86/tininess.h: This.
37018         * sysdeps/x86_64/tininess.h: Removed.
37020 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37022         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37023         input.  Use $(build-program-cmd).
37024         ($(objpfx)tst-array1-static.out): Likewise.
37025         ($(objpfx)tst-array2.out): Likewise.
37026         ($(objpfx)tst-array3.out): Likewise.
37027         ($(objpfx)tst-array4.out): Likewise.
37028         ($(objpfx)tst-array5.out): Likewise.
37029         ($(objpfx)tst-array5-static.out): Likewise.
37031 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
37033         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37034         if defined.
37036         * nss/nsswitch.h (nss_interface_function): Provide new
37037         macro for use with NSS functions.
37038         * grp/initgroups.c: Use new macro.
37039         * nss/getXXbyYY.c: Likewise.
37040         * nss/getXXbyYY_r.c: Likewise.
37041         * nss/getXXent.c: Likewise.
37042         * nss/getXXent_r.c: Likewise.
37043         * sysdeps/posix/getaddrinfo.c: Likewise.
37045 2012-10-30  Andreas Jaeger  <aj@suse.de>
37047         * po/ru.po: Update Russion translation from translation project.
37049 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
37051         [BZ #14152]
37052         [BZ #14783]
37053         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37054         result and shift together with sticky bit instead of replicating
37055         round-to-nearest rounding.
37056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37057         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37058         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
37059         missing underflow exceptions.
37060         (fma_test_towardzero): Add more tests.
37061         (fma_test_downward): Likewise.
37062         (fma_test_upward): Likewise.
37064         [BZ #14047]
37065         * sysdeps/generic/tininess.h: New file.
37066         * sysdeps/i386/tininess.h: Likewise.
37067         * sysdeps/sh/tininess.h: Likewise.
37068         * sysdeps/x86_64/tininess.h: Likewise.
37069         * stdlib/tst-strtod-underflow.c: Likewise.
37070         * stdlib/tst-tininess.c: Likewise.
37071         * stdlib/strtod_l.c: Include <tininess.h>.
37072         (round_and_return): Do not set errno for exact underflow cases.
37073         Force an underflow exception when setting errno for underflow.
37074         Determine underflow based on rounding to normal precision if
37075         TININESS_AFTER_ROUNDING.
37076         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37077         ERANGE for exact underflow cases.
37078         * stdlib/Makefile (tests): Add tst-tininess and
37079         tst-strtod-underflow.
37080         ($(objpfx)tst-tininess): Use $(link-libm).
37081         ($(objpfx)tst-strtod-underflow): Likewise.
37083 2012-10-30  Andreas Jaeger  <aj@suse.de>
37085         [BZ#14767]
37086         * elf/Makefile (tests): Remove conditional for have-initfini-array
37087         since this is now always required and the variable does not exist
37088         anymore.
37089         (tests-static): Likewise.
37090         (modules-names): Likewise.
37092         * po/eo.po: Add Esperanto translation from translation project.
37094         * elf/tst-array1.c (fini_array): Make writeable so that it can be
37095         merged with constructor/destructor.
37096         (init_array): Likewise.
37097         * elf/tst-array2dep.c (fini_array): Likewise.
37098         (init_array): Likewise.
37100 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
37102         * manual/message.texi: Delete @cartouche tags.
37104 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
37106         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37107         EOPNOTSUPP.
37108         * sysdeps/mach/hurd/fsync.c: Likewise.
37110         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37111         [_POSIX_REALTIME_SIGNALS]: Change condition to
37112         [_POSIX_REALTIME_SIGNALS > 0].
37114 2012-10-27  Andreas Jaeger  <aj@suse.de>
37116         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37117         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37118         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37119         [__WORDSIZE != 64]: Likewise.
37121 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
37123         *  iconvdata/tst-table.sh: Remove ${SHELL}.
37124         *  iconvdata/tst-tables.sh: Likewise.
37126 2012-10-25  David S. Miller  <davem@davemloft.net>
37128         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37129         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37130         of strtoull.
37132         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37133         ifunc-impl-list.c
37134         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37135         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37136         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37137         file.
37139 2012-10-25  Roland McGrath  <roland@hack.frob.com>
37141         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37142         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37143         __getdirentries.
37145 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37146             Jim Blandy  <jimb@codesourcery.com>
37148         * scripts/cross-test-ssh.sh: New file.
37149         * manual/install.texi (Configuring and compiling): Document use of
37150         cross-test-ssh.sh.
37151         * INSTALL: Regenerated.
37153 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
37155         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37156         EOPNOTSUPP.
37158 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
37160         * Makeconfig (run-program-prefix): Fix comment.
37162 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37163             Jim Blandy  <jimb@codesourcery.com>
37165         * Makeconfig (test-wrapper): New variable,
37166         (test-wrapper-env): Likewise.
37167         [$(cross-compiling) = yes && $(test-wrapper) != ""]
37168         (run-built-tests): Define to yes.
37169         (run-program-prefix): Use $(test-wrapper).
37170         (built-program-cmd): Likewise.
37171         * Rules (make-test-out): Use $(test-wrapper-env) and
37172         $(host-built-program-cmd).
37173         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37174         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37175         tst-pathopt.sh.
37176         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37177         $(test-wrapper-env) to tst-rtld-load-self.sh.
37178         ($(objpfx)order2.out): Use $(test-wrapper).
37179         ($(objpfx)tst-initorder.out): Likewise.
37180         ($(objpfx)tst-initorder2.out): Likewise.
37181         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37182         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37183         (test_wrapper_env): New variable.  Use it to run ld.so.
37184         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37185         Use it to run ld.so.
37186         (test_wrapper_env): Likewise.
37187         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37188         $(test-wrapper) to run-iconv-test.sh.
37189         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37190         (ICONV): Use $test_wrapper.
37191         * posix/Makefile ($(objpfx)globtest.out): Pass
37192         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37193         globtest.sh, not $(run-program-prefix).
37194         * posix/globtest.sh (run_via_rtld_prefix): New variable.
37195         (test_wrapper): Likewise.
37196         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
37197         set together with run_via_rtld_prefix.
37198         (run_program_prefix): Define in terms of test_wrapper and
37199         run_via_rtld_prefix.
37201 2012-10-24  Roland McGrath  <roland@hack.frob.com>
37203         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37204         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37205         Targets removed.
37207         [BZ #14743]
37208         * include/time.h: Remove librt_hidden_proto (clock_gettime).
37209         Declare __clock_getres, __clock_gettime, __clock_settime,
37210         __clock_nanosleep, and __clock_getcpuclockid.
37211         * rt/clock_gettime.c: Define __clock_gettime as an alias.
37212         Remove librt_hidden_def (clock_gettime).
37213         * sysdeps/unix/clock_gettime.c: Likewise.
37214         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37215         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37216         * rt/clock_getres.c: Define __clock_getres as an alias.
37217         * sysdeps/posix/clock_getres.c: Likewise.
37218         * rt/clock_settime.c: Define __clock_settime as an alias.
37219         * sysdeps/unix/clock_settime.c: Likewise.
37220         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37221         * sysdeps/unix/clock_nanosleep.c: Likewise.
37222         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37223         * rt/clock-compat.c: New file.
37224         * rt/Makefile (librt-routines): Add clock-compat and move
37225         $(clock-routines) to ...
37226         (routines): ... here, new variable.
37227         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37228         Don't add get_clockfreq here.
37229         * rt/Versions (libc: GLIBC_2.17): New version set.
37230         Add clock_* symbols here.
37231         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
37232         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37233         (GLIBC_2.17): Add clock_* symbols.
37234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37236         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37238         Likewise.
37239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37240         Likewise.
37241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37245         * NEWS: Mention the move.
37247         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37248         Use __open, __read, __close rather than their public counterparts.
37249         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37250         (__get_clockfreq_via_cpuinfo): Likewise.
37251         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37252         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37254         * config.h.in (HAVE_IFUNC): New #undef.
37255         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37256         was successful.
37257         * configure: Regenerated.
37259 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37261         * configure.in: Move READELF check to start of file.
37262         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37263         libc_cv_asm_gnu_indirect_function in the process.
37264         * configure: Regenerated.
37266 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
37268         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37269         send the output to /dev/null.
37270         (libc_cv_cc_with_libunwind): Likewise.
37271         (libc_cv_as_noexecstack): Likewise.
37272         * configure: Regenerate.
37274 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
37276         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37278         * posix/globtest.sh (TMPDIR): Do not set.
37279         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37280         (testout): Likewise.
37282 2012-10-24  Andreas Jaeger  <aj@suse.de>
37284         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37285         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37286         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37287         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37288         posix_fadvise64, posix_fallocate64.
37290         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37291         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37292         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37293         Likewise.
37294         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37295         Likewise.
37296         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37299         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37300         <bits/fcntl-linux.h>.
37301         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37303         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37304         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37305         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37306         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37307         [__WORDSIZE != 64]: Likewise.
37309 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37311         * Makeconfig (run-built-tests): New variable.
37312         * Rules [$(cross-compiling) = yes]: Change condition to
37313         [$(run-built-tests) = no].
37314         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37315         to [$(run-built-tests) = yes].
37316         * elf/Makefile [$(cross-compiling) = no]: Likewise
37317         * grp/Makefile [$(cross-compiling) = no]: Likewise.
37318         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37319         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37320         * intl/Makefile [$(cross-compiling) = no]: Likewise.
37321         * io/Makefile [$(cross-compiling) = no]: Likewise.
37322         * libio/Makefile [$(cross-compiling) = no]: Likewise.
37323         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37324         * misc/Makefile [$(cross-compiling) = no]: Likewise.
37325         * posix/Makefile [$(cross-compiling) = no]: Likewise.
37326         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37327         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37328         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37329         * string/Makefile [$(cross-compiling) = no]: Likewise.
37331         * posix/Makefile ($(objpfx)globtest.out): Pass
37332         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37333         $(rtld-installed-name).
37334         * posix/globtest.sh (elf_objpfx): Remove variable.
37335         (rtld_installed_name): Likewise.
37336         (library_path): Likewise.
37337         (run_program_prefix): New variable.  Use for running globtest
37338         binary.
37340 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
37341             Joseph Myers  <joseph@codesourcery.com>
37343         * Makeconfig (host-built-program-cmd): New variable.
37344         * elf/Makefile (tst-stackguard1-ARGS): Use
37345         $(host-built-program-cmd).
37346         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37347         (tst-spawn-ARGS): Likewise.
37348         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37350 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
37351             Jim Blandy  <jimb@codesourcery.com>
37353         * Makeconfig (run-via-rtld-prefix): New variable.
37354         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37355         (built-program-cmd): Likewise.
37357 2012-10-22  Andreas Jaeger  <aj@suse.de>
37359         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37360         __O_RSYNC if it exists, otherwise to O_SYNC.
37362 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
37363             Joseph Myers  <joseph@codesourcery.com>
37365         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37366         /dev/null.
37367         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37368         from /dev/null
37369         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37370         /dev/null.
37372 2012-10-22  Andreas Jaeger  <aj@suse.de>
37374         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37375         Define always.
37376         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37378         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37379         bits/fcntl-linux.h.
37381         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37382         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37384         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37385         to __O_LARGEFILE.
37386         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37387         to __O_LARGEFILE.
37389 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
37390             Joseph Myers  <joseph@codesourcery.com>
37392         * config.make.in (NM): New variable.
37394 2012-10-21  Andreas Jaeger  <aj@suse.de>
37396         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37397         definitions and declarations that are provided by
37398         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37400 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37402         [BZ #14683]
37403         * elf/Makefile (tests-static): Add tst-leaks1-static.
37404         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37405         ($(objpfx)tst-leaks1-static): New rule.
37406         ($(objpfx)tst-leaks1-static-mem): Likewise.
37407         (tst-leaks1-static-ENV): New macro.
37408         * elf/dl-open.c (dl_open_worker): Check the main application
37409         only if SHARED is defined.
37410         * elf/tst-leaks1-static.c: New file.
37412 2012-10-20  Andreas Jaeger  <aj@suse.de>
37414         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37415         generic values for Linux.
37416         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
37417         and declarations that are provided by <bits/fcntl-linux.h> and
37418         include <bits/fcntl-linux.h>.
37419         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
37420         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
37422 2012-10-20  Roland McGrath  <roland@hack.frob.com>
37424         * io/fcntl.h: Move include of <bits/types.h> to the top and
37425         include it unconditionally.
37427 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
37429         * wcsmbs/Makefile (tests-ifunc): New variable.
37430         (tests): Add $(tests-ifunc).
37431         * wcsmbs/test-wcschr-ifunc.c: New file.
37432         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
37433         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
37434         * wcsmbs/test-wcslen-ifunc.c: Likewise.
37435         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
37436         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
37438         * string/Makefile (tests-ifunc): New variable.
37439         (tests): Add $(tests-ifunc).
37440         * string/test-memccpy.c (TEST_NAME): New macro.
37441         * string/test-memchr.c (TEST_NAME): Likewise.
37442         * string/test-memcmp.c (TEST_NAME): Likewise.
37443         * string/test-memcpy.c (TEST_NAME): Likewise.
37444         * string/test-memmem.c (TEST_NAME): Likewise.
37445         * string/test-memmove.c (TEST_NAME): Likewise.
37446         * string/test-memset.c (TEST_NAME): Likewise.
37447         * string/test-rawmemchr.c (TEST_NAME): Likewise.
37448         * string/test-stpcpy.c (TEST_NAME): Likewise.
37449         * string/test-stpncpy.c (TEST_NAME): Likewise.
37450         * string/test-strcasecmp.c (TEST_NAME): Likewise.
37451         * string/test-strcasestr.c (TEST_NAME): Likewise.
37452         * string/test-strcat.c (TEST_NAME): Likewise.
37453         * string/test-strchr.c (TEST_NAME): Likewise.
37454         * string/test-strcmp.c(TEST_NAME): Likewise.
37455         * string/test-strcpy.c (TEST_NAME): Likewise.
37456         * string/test-strcspn.c (TEST_NAME): Likewise.
37457         * string/test-strlen.c (TEST_NAME): Likewise.
37458         * string/test-strncasecmp.c (TEST_NAME): Likewise.
37459         * string/test-strncmp.c (TEST_NAME): Likewise.
37460         * string/test-strncpy.c (TEST_NAME): Likewise.
37461         * string/test-strnlen.c (TEST_NAME): Likewise.
37462         * string/test-strpbrk.c (TEST_NAME): Likewise.
37463         * string/test-strrchr.c (TEST_NAME): Likewise.
37464         * string/test-strspn.c (TEST_NAME): Likewise.
37465         * string/test-strstr.c (TEST_NAME): Likewise.
37466         * string/test-bcopy-ifunc.c: New file.
37467         * string/test-bzero-ifunc.c: Likewise.
37468         * string/test-memccpy-ifunc.c: Likewise.
37469         * string/test-memchr-ifunc.c: Likewise.
37470         * string/test-memcmp-ifunc.c: Likewise.
37471         * string/test-memcpy-ifunc.c: Likewise.
37472         * string/test-memmem-ifunc.c: Likewise.
37473         * string/test-memmove-ifunc.c: Likewise.
37474         * string/test-mempcpy-ifunc.c: Likewise.
37475         * string/test-memset-ifunc.c: Likewise.
37476         * string/test-rawmemchr-ifunc.c: Likewise.
37477         * string/test-stpcpy-ifunc.c: Likewise.
37478         * string/test-stpncpy-ifunc.c: Likewise.
37479         * string/test-strcasecmp-ifunc.c: Likewise.
37480         * string/test-strcasestr-ifunc.c: Likewise.
37481         * string/test-strcat-ifunc.c: Likewise.
37482         * string/test-strchr-ifunc.c: Likewise.
37483         * string/test-strchrnul-ifunc.c: Likewise.
37484         * string/test-strcmp-ifunc.c: Likewise.
37485         * string/test-strcpy-ifunc.c: Likewise.
37486         * string/test-strcspn-ifunc.c: Likewise.
37487         * string/test-strlen-ifunc.c: Likewise.
37488         * string/test-strncasecmp-ifunc.c: Likewise.
37489         * string/test-strncat-ifunc.c: Likewise.
37490         * string/test-strncmp-ifunc.c: Likewise.
37491         * string/test-strncpy-ifunc.c: Likewise.
37492         * string/test-strnlen-ifunc.c: Likewise.
37493         * string/test-strpbrk-ifunc.c: Likewise.
37494         * string/test-strrchr-ifunc.c: Likewise.
37495         * string/test-strspn-ifunc.c: Likewise.
37496         * string/test-strstr-ifunc.c: Likewise.
37498         * debug/Makefile (tests-ifunc): New variable.
37499         (tests): Add $(tests-ifunc).
37500         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
37501         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
37502         * debug/test-stpcpy_chk-ifunc.c: New file.
37503         * debug/test-strcpy_chk-ifunc.c: Likewise.
37505 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37507         [BZ #13601]
37508         * elf/dl-load.c (open_verify): Retry read if the entire ELF
37509         header is not read in.
37511 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
37513         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
37514         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
37515         directly.  Pass built executable to script as
37516         $(built-program-cmd).
37517         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
37518         $testprogram without using LD_LIBRARY_PATH and $ldso.
37520         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
37521         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
37522         $(rtld-installed-name).
37523         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
37524         (rtld_installed_name): Likewise.
37525         (library_path): Likewise.
37526         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
37527         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
37528         $(run-program-prefix) to tst-tables.sh.
37529         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
37530         it to run tst-table-from and tst-table-to.
37531         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
37532         Pass it to tst-table.sh.
37533         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
37534         $(run-program-prefix) to tst-gettext.sh.
37535         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
37536         tst-translit.sh.
37537         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
37538         tst-gettext2.sh.
37539         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
37540         to run tst-gettext.
37541         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
37542         to run tst-gettext2.
37543         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
37544         to run tst-translit.
37545         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
37546         $(run-program-prefix) to tst-mtrace.sh.
37547         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
37548         to run tst-mtrace.
37549         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
37550         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
37551         $(rtld-installed-name).
37552         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
37553         (rtld_installed_name): Likewise.
37554         (run_program_prefix): New variable.  Use it to run wordexp-test.
37556         * Makeconfig (ARCH): Remove all definitions.
37557         (machine): Likewise.
37558         [ARCH]: Remove conditional code.
37559         [!objdir]: Give error.
37560         [!objdir] (objpfx): Remove.
37561         [!objdir] (common-objpfx): Likewise.
37562         [!objdir] (common-objdir): Likewise.
37563         * configure.in (config_makefile): Remove.  Hardcode Makefile in
37564         AC_CONFIG_FILES call.
37565         * configure: Regenerated.
37567         [BZ #13888]
37568         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
37569         or TMPDIR.
37570         (testout): Likewise.
37572         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
37573         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
37574         $(rtld-installed-name).
37575         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
37576         (rtld_installed_name): Likwise.
37577         (runit): Remove function.
37578         (run_getconf): New variable,  Use it for running getconf binary.
37580 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
37582         [BZ #14716]
37583         * string/test-memmem.c (check_result): New function.
37584         (do_one_test): Use it.
37585         (check1): New function.
37586         (test_main): Use it.
37588 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
37590         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
37592 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
37594         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
37595         (_G_LSEEK64): Likewise.
37596         (_G_MMAP64): Likewise.
37597         (_G_FSTAT64): Likewise.
37598         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
37599         (_G_LSEEK64): Likewise.
37600         (_G_MMAP64): Likewise.
37601         (_G_FSTAT64): Likewise.
37602         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
37603         unconditional.  Call __mmap64 directly.
37604         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
37605         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
37606         __lseek64 directly.
37607         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
37608         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
37609         __mmap64 directly.
37610         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
37611         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37612         __lseek64 directly.
37613         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
37614         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
37615         __lseek64 directly.
37616         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
37617         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
37618         __lseek64 directly.
37619         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
37620         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
37621         __fxstat64 directly.
37622         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
37623         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
37624         unconditional.
37625         (freopen64) [!_G_OPEN64]: Remove conditional code.
37626         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
37627         unconditional.
37628         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
37629         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
37630         unconditional.
37631         (ftello64) [!_G_LSEEK64]: Remove conditional code.
37632         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
37633         unconditional.
37634         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37635         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
37636         unconditional.
37637         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
37638         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
37639         unconditional.
37640         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37641         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
37642         unconditional.
37643         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
37644         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
37645         unconditional.
37646         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
37648 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37650         [BZ #12140]
37651         * manual/memory.texi (Malloc Tunable Parameters): Add note
37652         about free list pointers overwriting some perturb bytes.
37653         Wording suggested by Roland McGrath.
37655 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
37657         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
37658         (lgamma_test): Likewise.
37659         (tgamma_test): Likewise.
37661 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37663         [BZ #14700]
37664         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37665         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37667 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37669         * NEWS: Mention BZ #14716.
37670         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37671         when removing AVAILABLE1_USES_J macro.
37673 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37675         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37676         (__bswap_64): __uint64_t for unsigned 64-bit int.
37678 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37680         * include/string.h (memmem): Declare libc hidden alias.
37681         * string/memmem.c (memmem): Define libc hidden alias.
37682         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37683         __read, __close instead of open, read, close.
37685 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37688         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37689         global and hidden.
37690         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37691         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37692         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37693         Likewise.
37694         (__rawmemchr_sse2): Likewise.
37695         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37696         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37697         (__strchr_sse2): Likewise.
37698         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37699         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37700         (__strcasecmp_sse2): Likewise.
37701         (__strncasecmp_sse2): Likewise.
37702         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37703         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37704         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37705         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37706         (__strrchr_sse2): Likewise.
37707         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37708         ifunc-impl-list.c.
37709         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37710         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37711         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37712         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37713         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37714         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37715         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37716         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37717         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37718         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37719         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37720         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37721         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37722         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37723         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37724         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37725         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37726         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37727         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37728         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37729         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37730         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37731         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37732         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37733         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37734         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37735         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37736         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37737         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37738         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37740         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37741         global and hidden.
37742         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37743         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37744         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37745         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37746         Likewise.
37747         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37748         Likewise.
37749         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37750         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37751         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37752         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37753         ifunc-impl-list.c.
37754         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37755         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37756         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37757         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37758         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37759         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37760         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37761         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37762         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37763         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37764         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37765         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37766         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37767         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37768         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37769         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37770         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37771         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37772         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37773         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37774         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37775         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37776         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37777         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37778         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37779         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37780         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37781         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37782         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37783         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37784         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37785         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37786         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37787         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37788         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37789         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37790         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37791         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37792         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37793         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37794         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37796         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37797         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37798         * include/ifunc-impl-list.h: New file.
37799         * misc/ifunc-impl-list.c: Likewise.
37800         * misc/Makefile (routines): Add ifunc-impl-list.
37801         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37802         * string/test-string.h: Include <ifunc-impl-list.h>.
37803         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37804         TEST_NAME]: New variables.
37805         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37806         are defined.
37807         (test_init): Call __libc_ifunc_impl_list to initialize
37808         func_list if TEST_IFUNC and TEST_NAME are defined.
37810         * string/Makefile (strop-tests): Add bcopy and bzero.
37811         * string/test-bcopy.c: New file.
37812         * string/test-bzero.c: Likewise.
37813         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37814         defined.
37815         * string/test-memset.c: Support bzero test if TEST_BZERO is
37816         defined.
37817         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37818         __libc_memmove.
37819         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37820         __libc_memset.
37821         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37822         of memset.
37824 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
37826         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37827         * configure: Regenerated.
37829         * Makeconfig (+link-static-before-libc): Don't include
37830         $(link-static-libc).
37832         * libio/libio.h (_IO_pos_t): Remove.
37834 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37836         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
37837         McGrath.
37839 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37841         * crypt/crypt-entry.c: Include fips-private.h.
37842         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37843         * crypt/md5c-test.c (main): Tolerate disabled MD5.
37844         * sysdeps/unix/sysv/linux/fips-private.h: New file.
37845         * sysdeps/generic/fips-private.h: New file, dummy fallback.
37847 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37849         * crypt/crypt-private.h: Include stdbool.h.
37850         (_ufc_setup_salt_r): Return bool.
37851         * crypt/crypt-entry.c: Include errno.h.
37852         (__crypt_r): Return NULL with EINVAL for bad salt.
37853         * crypt/crypt_util.c (bad_for_salt): New.
37854         (_ufc_setup_salt_r): Check that salt is long enough and within
37855         the specified alphabet.
37856         * crypt/badsalttest.c: New file.
37857         * crypt/Makefile (tests): Add it.
37858         ($(objpfx)badsalttest): New.
37860 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
37862         * NEWS: Add entry for BZ #14602.
37864 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37866         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37867         type-generic.
37868         * math/libm-test.inc: Update comment listing what functions and
37869         macros are tested.
37870         (isgreater_test): New function.
37871         (isgreaterequal_test): Likewise.
37872         (isless_test): Likewise.
37873         (islessequal_test): Likewise.
37874         (islessgreater_test): Likewise.
37875         (isunordered_test): Likewise.
37876         (main): Call the new functions.
37878 2012-10-09  Roland McGrath  <roland@hack.frob.com>
37880         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37881         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37882         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37883         * sysdeps/i386/configure: Regenerated.
37884         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37885         * sysdeps/mach/configure: Regenerated.
37886         * sysdeps/mach/hurd/configure: Regenerated.
37887         * sysdeps/powerpc/configure: Regenerated.
37888         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37889         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37890         * sysdeps/s390/s390-32/configure: Regenerated.
37891         * sysdeps/s390/s390-64/configure: Regenerated.
37892         * sysdeps/sh/configure: Regenerated.
37893         * sysdeps/sparc/configure: Regenerated.
37894         * sysdeps/unix/sysv/linux/configure: Regenerated.
37895         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37896         * sysdeps/x86_64/configure: Regenerated.
37898         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37899         defined.  Don't check if MAP is NULL.
37901 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37903         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37904         (_G_stat64): Likewise.
37905         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37906         (_G_stat64): Likewise.
37907         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37908         instead of struct _G_stat64.
37909         * libio/fileops.c (mmap_remap_check): Likewise.
37910         (decide_maybe_mmap): Likewise.
37911         (_IO_new_file_seekoff): Likewise.
37912         (_IO_file_stat): Likewise.
37913         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37914         _G_off64_t.
37915         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37916         instead of struct _G_stat64.
37917         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37919 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
37921         [BZ #14602]
37922         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37923         Replace with ...
37924         (CHECK_EOL): New macro.
37925         (two_way_short_needle): Check beginning of haystack for EOL.  Use
37926         CHECK_EOL.
37927         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37928         Replace with CHECK_EOL.
37929         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37930         Replace with CHECK_EOL.
37932 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
37934         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37935         type-generic.
37936         * math/libm-test.inc: Update comment listing what functions and
37937         macros are tested.
37938         (finite_test): New function.
37939         (isinf_test): Likewise.
37940         (isnan_test): Likewise.
37941         (fpclassify_test): Test subnormal input.
37942         (isfinite_test): Likewise.
37943         (isnormal_test): Likewise.
37944         (main): Call the new functions.
37946 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
37948         [BZ #14660]
37949         * Makerules (%.dynsym): Force C locale when running
37950         $(OBJDUMP) --dynamic-syms.
37952 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
37954         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37955         <stdint.h>.
37957 2012-10-06  David S. Miller  <davem@davemloft.net>
37959         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37960         upper 32-bits of the length value in %o2 since we use branch-on-register
37961         tests which consider the entire 64-bit register.
37963 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
37965         * string/test-strstr.c (check2): Add a test for page boundary.
37967 2012-10-05  David S. Miller  <davem@davemloft.net>
37969         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37970         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37971         file.
37972         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37973         sysdep_routines.
37974         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37975         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37976         and bzero when HWCAP_SPARC_CRYPTO is present.
37978 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
37980         [BZ #14602]
37981         * string/test-strstr.c (check2): New function.
37982         (test_main): Call check2.
37984         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37985         and bug-strchr1.
37986         * string/bug-strcasestr1.c (do_test): Moved to ...
37987         * string/test-strcasestr.c (check1): Here.  New function.
37988         (do_one_test): Break out result checking code into ...
37989         (check_result): This.  New function.
37990         (do_one_test): Call check_result.
37991         (test_main): Call check1.
37992         * string/bug-strchr1.c (do_test): Moved to ...
37993         * string/test-strchr.c (check1): Here.  New function.
37994         (do_one_test): Break out result checking code into ...
37995         (check_result): This.  New function.
37996         (do_one_test): Call check_result.
37997         (test_main): Call check1.
37998         * string/bug-strstr1.c (main): Moved to ...
37999         * string/test-strstr.c (check1): Here.  New function.
38000         (do_one_test): Break out result checking code into ...
38001         (check_result): This.  New function.
38002         (do_one_test): Call check_result.
38003         (test_main): Call check1.
38004         * string/bug-strcasestr1.c: Removed.
38005         * string/bug-strchr1.c: Likewise.
38006         * string/bug-strstr1.c: Likewise.
38008         * elf/Makefile (dl-routines): Add hwcaps.
38009         * elf/dl-support.c (_dl_important_hwcaps): Removed.
38010         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38011         (_dl_important_hwcaps): Moved to ...
38012         * elf/dl-hwcaps.c: Here.  New file.
38013         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38015         [BZ #14557]
38016         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38017         if IS_IN_rtld isn't defined.
38019         * elf/dl-support.c (_dl_sysinfo_map): New.
38020         Include "get-dynamic-info.h" and "setup-vdso.h".
38021         (_dl_non_dynamic_init): Call setup_vdso.
38022         * elf/dynamic-link.h: Don't include <assert.h>.
38023         (elf_get_dynamic_info): Moved to ...
38024         * elf/get-dynamic-info.h: Here.  New file.
38025         * elf/dynamic-link.h: Include "get-dynamic-info.h".
38026         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38027         * elf/setup-vdso.h: Here.  New file.
38028         * elf/rtld.c: Include "setup-vdso.h".
38029         (dl_main): Call setup_vdso.
38031 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
38033         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38034         creal in comment listing functions tested.  List finite, isinf,
38035         isnan, isless, islessequal, isgreater, isgreaterequal,
38036         islessgreater, isunordered, lgamma_r and pow10 as functions and
38037         macros not tested.  Mention which functions not tested are aliases
38038         for other functions.  Fix typo.  Note that signs of NaNs are not
38039         tested.
38041         * scripts/config.guess: Update from config.git.
38042         * scripts/config.sub: Likewise.
38044 2012-10-04  Roland McGrath  <roland@hack.frob.com>
38046         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38047         * misc/madvise.c (madvise): Renamed to __madvise.
38048         Make madvise a weak alias.
38049         * include/sys/mman.h: Declare __madvise.
38050         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38051         * sysdeps/unix/syscalls.list
38052         (madvise): Make __madvise the strong name, and madvise a weak alias.
38053         * sysdeps/unix/sysv/linux/syscalls.list
38054         (madvise, mmap): Remove redundant entries.
38055         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38056         * malloc/malloc.c (mtrim): Likewise.
38057         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38059 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38061         * sysdeps/mach/hurd/dl-cache.c: File removed.
38062         * config.h.in (USE_LDCONFIG): New #undef.
38063         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38064         * configure: Regenerated.
38065         * elf/Makefile (dl-routines): Add dl-cache only under
38066         [$(use-ldconfig) = yes].
38067         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38068         cache on [USE_LDCONFIG].
38069         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38070         [USE_LDCONFIG].
38071         * elf/rtld.c (dl_main): Likewise.
38073 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
38075         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38076         _SC_LEVEL4_CACHE_LINESIZE.
38078 2012-10-03  Roland McGrath  <roland@hack.frob.com>
38080         * sysdeps/unix/bsd/confstr.h: File removed.
38082 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
38084         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38085         sys/sdt-config.h.
38087 2012-10-02  Roland McGrath  <roland@hack.frob.com>
38089         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38090         Make 'mapoff' field ElfW(Off) rather than off_t.
38092 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
38094         * nscd/Makefile: Remove nscd-cflags and all its users.
38095         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38096         (CFLAGS-nonlib): Add compiler flags for nscd modules.
38098         [BZ #10631]
38099         * malloc.c (malloc_printerr): Clarify error message.
38101 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
38103         [BZ #14648]
38104         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38105         Set bit_FMA_Usable if FMA is supported.
38106         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38107         macro.
38108         (bit_FMA4_Usable): Updated.
38109         (index_FMA_Usable): New macro.
38110         (CPUID_FMA): Likewise
38111         (HAS_FMA): Defined with bit_FMA_Usable.
38113 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38115         * bits/types.h (__swblk_t): Type removed.
38116         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38117         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38118         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38119         (__SWBLK_T_TYPE): Likewise.
38120         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38121         (__SWBLK_T_TYPE): Likewise.
38122         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38123         (__SWBLK_T_TYPE): Likewise.
38124         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38125         (__SWBLK_T_TYPE): Likewise.
38127 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
38128             Honza Horak <hhorak@redhat.com>
38130         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38131         (xdr_mapname): Use YPMAXMAP as maxsize.
38132         (xdr_peername): Use YPMAXPEER as maxsize.
38133         (xdr_keydat): Use YPAXRECORD as maxsize.
38134         (xdr_valdat): Use YPMAXRECORD as maxsize.
38136 2012-10-01  Roland McGrath  <roland@hack.frob.com>
38138         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38140         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38141         * csu/init-first.c: ... here.
38142         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38143         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38144         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38145         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38146         * sysdeps/i386/init-first.c: File removed.
38147         * sysdeps/sh/init-first.c: File removed.
38149 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
38151         [BZ #14645]
38152         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38153         if x * y might underflow to zero and z is zero.
38154         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38155         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38156         * math/libm-test.inc (min_subnorm_value): New variable.
38157         (fma_test): Add more tests.
38158         (fma_test_towardzero): Likewise.
38159         (fma_test_downward): Likewise
38160         (fma_test_upward): Likewise.
38161         (initialize): Set min_subnorm_value.
38163 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
38165         [BZ #14638]
38166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38167         0 + 0.
38168         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38169         mode for addition resulting in exact zero.
38170         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38171         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38172         exact 0 + 0.
38173         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38174         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38175         * math/libm-test.inc (fma_test): Add more tests.
38176         (fma_test_towardzero): New function.
38177         (fma_test_downward): Likewise.
38178         (fma_test_upward): Likewise.
38179         (main): Call the new functions.
38181 2012-09-28  David S. Miller  <davem@davemloft.net>
38183         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38185 2012-09-28  Roland McGrath  <roland@hack.frob.com>
38187         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38188         instead of SIGALRM.
38190         * sysdeps/gnu/_G_config.h: Moved to ...
38191         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38192         * sysdeps/mach/hurd/_G_config.h: Moved to ...
38193         * sysdeps/generic/_G_config.h: ... here.
38195         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
38197         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38199         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38200         Conditionalize target on [libnss_test1.so-version].
38202         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38204         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38205         (elfobjdir): Move out of conditionals.
38207         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38208         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38209         (__nss_lookup_function): Conditionalize label remove_from_tree on
38210         [!DO_STATIC_NSS || SHARED], matching its only use.
38212 2012-09-28  David S. Miller  <davem@davemloft.net>
38214         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38215         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38216         file.
38217         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38218         sysdep_routines.
38219         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38220         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38221         when HWCAP_SPARC_CRYPTO is present.
38223 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38225         * io/tst-mknodat.c: Create a FIFO instead of a socket.
38227 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
38229         [BZ #6530]
38230         * stdio-common/vfprintf.c (process_string_arg): Revert
38231         2000-07-22 change.
38233 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
38235         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38236         for testcase.
38237         * stdio-common/tst-sprintf.c: Include <locale.h>
38238         (main): Test sprintf's handling of incomplete multibyte
38239         characters.
38241 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
38243         * elf/dl-runtime.c (VERSYMIDX): Removed.
38244         * elf/dl-version.c (VERSYMIDX): Likewise.
38245         * elf/do-rel.h (VERSYMIDX): Likewise.
38246         (VALIDX): Likewise.
38247         * elf/dynamic-link.h (VERSYMIDX): Likewise.
38248         * elf/rtld.c (VALIDX): Likewise.
38249         (ADDRIDX): Likewise.
38250         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38251         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38252         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
38253         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38254         (VALIDX): Likewise.
38255         (ADDRIDX): Likewise.
38257 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38259         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38261 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
38263         [BZ #11438]
38264         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38265         to global scope.
38266         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38267         addresses are in the same scope as 192.0.2/24.
38268         * posix/gai.conf: Document new scope table defaults.
38270 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38272         [BZ #5298]
38273         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38274         for ftell.  Compute offsets from write pointers instead.
38275         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38277 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38279         [BZ #14543]
38280         * libio/Makefile (tests): New test case tst-fseek.
38281         * libio/tst-fseek.c: New test case to verify that fseek/ftell
38282         combination works in wide mode.
38283         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38284         state when the external buffer state changes.
38286 2012-09-27  David S. Miller  <davem@davemloft.net>
38288         [BZ #14376]
38289         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38290         pass reloc->r_addend in as the 'high' argument to
38291         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38293         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38295 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
38297         * rt/tst-aio2.c: Include <pthread.h>.
38298         * rt/tst-aio3.c: Likewise.
38300 2012-09-27  Steve Ellcey  <sellcey@mips.com>
38302         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38304 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
38306         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38307         contents on [SHARED].
38309 2012-09-26  Marek Polacek  <polacek@redhat.com>
38311         [BZ #14530]
38312         [BZ #13741]
38313         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38314         for C++ and GCC <4.3 as well as for non GCC compilers.
38316 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
38318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38320 2012-09-25  Roland McGrath  <roland@hack.frob.com>
38322         * Makefile.in (all, install): Declare with .PHONY.
38323         Reported by Michael Hope <michael.hope@linaro.org>.
38325 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38327         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38328         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38329         system header.
38330         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38331         Likewise.
38332         (sydep_routines): Add the new and the internal functions.
38333         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38334         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38336         (GLIBC_2.17): Add the new function.
38337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38338         (GLIBC_2.17): Likewise.
38339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38340         (GLIBC_2.17): Likewise.
38341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38342         (GLIBC_2.17): Likewise.
38343         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38345 2012-09-25  Alan Modra  <amodra@gmail.com>
38347         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38348         Add release barrier before setting once_control to say
38349         initialisation is done.  Add hints on lwarx.  Use macro in
38350         place of isync.
38351         (clear_once_control): Add release barrier.
38353 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38355         [BZ #13629]
38356         * math/s_clog.c (__clog): Handle more values close to |z| = 1
38357         specially.
38358         * math/s_clog10.c (__clog10): Likewise.
38359         * math/s_clog10f.c (__clog10f): Likewise.
38360         * math/s_clog10l.c (__clog10l): Likewise.
38361         * math/s_clogf.c (__clogf): Likewise.
38362         * math/s_clogl.c (__clogl): Likewise.
38363         * math/Makefile (libm-calls): Add x2y2m1.
38364         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38365         (__x2y2m1): Likewise.
38366         (__x2y2m1l): Likewise.
38367         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38368         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38369         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38370         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38371         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38372         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38373         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38374         * sysdeps/i386/fpu/libm-test-ulps: Update.
38375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38377         [BZ #14621]
38378         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38379         int as type of variable DEPTH.
38380         (glob): Use size_t instead of int as type of variables NEWCOUNT
38381         and OLD_PATHC.
38383 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38385         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38386         Add s_sincosf-sse2.
38387         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38388         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38389         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38390         macros for using routine as __sincosf_ia32.
38391         Use macro for function declaration and weak_alias.
38392         * sysdeps/i386/fpu/libm-test-ulps: Update.
38394         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38397         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
38398         subnormal argument.
38399         * math/s_cexpf.c (__cexpf): Likewise.
38400         * math/s_csinf.c (__csinf): Likewise.
38401         * math/s_csinhf.c (__csinhf): Likewise.
38402         * math/s_ctanf.c (__ctanf): Likewise.
38403         * math/s_ctanhf.c (__ctanhf): Likewise.
38404         * math/s_ccosh.c (__ccoshf): Likewise.
38405         * math/s_cexp.c (__cexpl): Likewise.
38406         * math/s_csin.c (__csin): Likewise.
38407         * math/s_csinh.c (__csinh): Likewise.
38408         * math/s_ctan.c (__ctan): Likewise.
38409         * math/s_ctanh.c (ctanh): Likewise.
38410         * math/s_ccoshl.c (__ccoshl): Likewise.
38411         * math/s_cexpl.c (__cexpl): Likewise.
38412         * math/s_csinl.c (__csinl): Likewise.
38413         * math/s_csinhl.c (__csinhl): Likewise.
38414         * math/s_ctanl.c (__ctanl): Likewise.
38415         * math/s_ctanhl.c (__ctanhl): Likewise.
38417 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
38419         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
38420         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
38421         (_IO_off_t): Define to __off_t, not _G_off_t.
38422         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
38423         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
38424         (_IO_wint_t): Define to wint_t, not _G_wint_t.
38425         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
38426         type of __dummy and __dummy2 fields.
38427         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
38428         (_G_ssize_t): Likewise.
38429         (_G_off_t): Likewise.
38430         (_G_pid_t): Likewise.
38431         (_G_uid_t): Likewise.
38432         (_G_wchar_t): Likewise.
38433         (_G_wint_t): Likewise.
38434         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
38435         (_G_ssize_t): Likewise.
38436         (_G_off_t): Likewise.
38437         (_G_pid_t): Likewise.
38438         (_G_uid_t): Likewise.
38439         (_G_wchar_t): Likewise.
38440         (_G_wint_t): Likewise.
38441         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
38442         (_G_ssize_t): Likewise.
38443         (_G_off_t): Likewise.
38444         (_G_pid_t): Likewise.
38445         (_G_uid_t): Likewise.
38446         (_G_wchar_t): Likewise.
38447         (_G_wint_t): Likewise.
38449 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38451         * malloc/arena.c: Include malloc-sysdep.h.
38452         (shrink_heap): Use check_may_shrink_heap to decide if madvise
38453         is sufficient to shrink the heap or an unmap is needed.
38454         * sysdeps/generic/malloc-sysdep.h: New file.  Define
38455         new function check_may_shrink_heap.
38456         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
38457         new function check_may_shrink_heap.
38459 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38461         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
38462         comments.
38464 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
38466         * catgets/test-gencat.sh: Add "set -e".
38467         * elf/tst-pathopt.sh: Likewise.
38468         * grp/tst_fgetgrent.sh: Likewise.
38469         * iconvdata/run-iconv-test.sh: Likewise.
38470         * intl/tst-gettext.sh: Likewise.
38471         * intl/tst-gettext2.sh: Likewise.
38472         * intl/tst-gettext4.sh: Likewise.
38473         * intl/tst-gettext6.sh: Likewise.
38474         * intl/tst-translit.sh: Likewise.
38475         * io/ftwtest-sh: Likewise.
38476         * libio/test-freopen.sh: Likewise.
38477         * malloc/tst-mtrace.sh: Likewise.
38478         * posix/globtest.sh: Likewise.
38479         * posix/tst-getconf.sh: Likewise.
38480         * posix/wordexp-tst.sh: Likewise.
38481         * stdio-common/tst-printf.sh: Likewise.
38482         * stdio-common/tst-unbputc.sh: Likewise.
38483         * stdlib/tst-fmtmsg.sh: Likewise.
38484         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38485         * catgets/Makefile: Do not specify -e option when running
38486         testsuite shell scripts.
38487         * elf/Makefile: Likewise.
38488         * grp/Makefile: Likewise.
38489         * iconvdata/Makefile: Likewise.
38490         * intl/Makefile: Likewise.
38491         * io/Makefile: Likewise.
38492         * libio/Makefile: Likewise.
38493         * malloc/Makefile: Likewise.
38494         * posix/Makefile: Likewise.
38495         * stdio-common/Makefile: Likewise.
38496         * stdlib/Makefile: Likewise.
38497         * sysdeps/x86_64/Makefile: Likewise.
38499         * io/ftwtest-sh: Add copyright header.
38500         * posix/globtest.sh: Likewise.
38501         * posix/tst-getconf.sh: Likewise.
38502         * posix/wordexp-tst.sh: Likewise.
38503         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
38505 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
38507         [BZ #13679]
38508         * Makeconfig (+link): Defined as $(+link-static) if
38509         $(build-shared) isn't yes.
38510         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
38511         isn't yes.
38512         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
38514         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
38516         [BZ #14562]
38517         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
38518         new chunk size with MALLOC_ALIGN_MASK.
38520 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
38522         [BZ #5044]
38523         * stdio-common/printf_fphex.c: Include <stdbool.h> and
38524         <rounding-mode.h>.
38525         (__printf_fphex): Determine rounding using get_rounding_mode and
38526         round_away.
38527         * stdio-common/tst-printf-round.c (struct hex_test): New
38528         structure.
38529         (hex_tests): New variable.
38530         (test_hex_in_one_mode): New function.
38531         (do_test): Also run tests for hex float output.
38533 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
38535         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38536         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38537         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
38538         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
38539         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
38540         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
38541         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38542         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
38544 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
38546         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
38547         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
38548         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
38549         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
38551 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
38553         [BZ #14579]
38554         * elf/rtld.c (dl_main): Limit the check for self loading to normal
38555         mode only.
38556         * elf/tst-rtld-load-self.sh: New test.
38557         * elf/Makefile: Run it.
38559 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
38561         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
38562         (tst-writev-ENV): Remove.
38563         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
38565 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
38567         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
38569 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
38571         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
38572         unconditional.
38573         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
38574         Likewise.
38575         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
38576         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
38577         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
38578         Likewise.
38580 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
38582         [BZ #14587]
38583         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
38584         * config.make.in (have-cpp-asm-debuginfo): Removed.
38585         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
38586         * configure: Regenerated.
38588 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
38590         [BZ #5044]
38591         * stdio-common/printf_fp.c: Include <stdbool.h> and
38592         <rounding-mode.h>.
38593         (___printf_fp): Determine rounding using get_rounding_mode and
38594         round_away.
38595         * stdio-common/tst-printf-round.c: New file.
38596         * stdio-common/Makefile (tests): Add tst-printf-round.
38597         (link-libm): New variable.
38598         ($(objpfx)tst-printf-round): Depend in $(link-libm).
38600 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
38602         [BZ #14576]
38603         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
38604         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
38605         Likewise.
38606         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
38607         Likewise.
38609 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
38611         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
38612         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38613         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38614         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
38616 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
38618         [BZ #14518]
38619         * include/rounding-mode.h: New file.
38620         * sysdeps/generic/get-rounding-mode.h: Likewise.
38621         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
38622         * stdlib/strtod_l.c: Include <rounding-mode.h>.
38623         (MAX_VALUE): New macro.
38624         (MIN_VALUE): Likewise.
38625         (overflow_value): New function.
38626         (underflow_value): Likewise.
38627         (round_and_return): Use overflow_value and underflow_value to
38628         determine return values in overflow and underflow cases.  Use
38629         round_away to determine rounding depending on rounding mode.
38630         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
38631         determine return values in overflow and underflow cases.
38632         * stdlib/tst-strtod-round.c: Include <fenv.h>.
38633         (struct test_results): New structure.
38634         (struct test): Use struct test_results to store expected results
38635         for all rounding modes.
38636         (TEST): Include expected results for all rounding modes.
38637         (test_in_one_mode): New function.
38638         (do_test): Use test_in_one_mode to compute and check results.
38639         Check results for all rounding modes.
38640         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
38641         $(link-libm).
38643 2012-12-09  Allan McRae  <allan@archlinux.org>
38645         * sysdeps/i386/fpu/libm-test-ulps: Update
38647 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
38649         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
38650         (_G_int32_t): Likewise.
38651         (_G_uint16_t): Likewise.
38652         (_G_uint32_t): Likewise.
38653         (_G_HAVE_BOOL): Likewise.
38654         (_G_HAVE_ATEXIT): Likewise.
38655         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38656         (_G_HAVE_IO_FILE_OPEN): Likewise.
38657         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
38658         (_G_int32_t): Likewise.
38659         (_G_uint16_t): Likewise.
38660         (_G_uint32_t): Likewise.
38661         (_G_HAVE_BOOL): Likewise.
38662         (_G_HAVE_ATEXIT): Likewise.
38663         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38664         (_G_HAVE_IO_FILE_OPEN): Likewise.
38665         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38666         (_G_int32_t): Likewise.
38667         (_G_uint16_t): Likewise.
38668         (_G_uint32_t): Likewise.
38669         (_G_HAVE_BOOL): Likewise.
38670         (_G_HAVE_ATEXIT): Likewise.
38671         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38672         (_G_HAVE_IO_FILE_OPEN): Likewise.
38674 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38676         * csu/libc-tls.c: Update copyright years.
38678 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38680         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38681         [!_G_USING_THUNKS]: Remove conditional code.
38682         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38683         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38685         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38686         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38687         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38688         (_G_VTABLE_LABEL_PREFIX): Likewise.
38689         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38690         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38691         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38692         (_G_VTABLE_LABEL_PREFIX): Likewise.
38693         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38694         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38695         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38696         (_G_VTABLE_LABEL_PREFIX): Likewise.
38697         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38699 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38701         * libio/Makefile: Include ../Makeconfig before tests.
38702         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38703         only if $(build-shared) is yes.
38705         * iconv/gconv_db.c: Update copyright years.
38707 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38709         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38710         unwind info if defined PIC. Fix special cases description.
38711         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38713         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38714         DP_HI_MASK entry.
38715         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38717 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38719         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38721         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38722         is NULL.
38724         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38725         (LDLIBS-tst-chk4): This.
38726         (LDFLAGS-tst-chk5): Renamed to ...
38727         (LDLIBS-tst-chk5): This.
38728         (LDFLAGS-tst-chk6): Renamed to ...
38729         (LDLIBS-tst-chk6): This.
38730         (LDFLAGS-tst-lfschk4): Renamed to ...
38731         (LDLIBS-tst-lfschk4): This.
38732         (LDFLAGS-tst-lfschk5): Renamed to ...
38733         (LDLIBS-tst-lfschk5): This.
38734         (LDFLAGS-tst-lfschk6): Renamed to ...
38735         (LDLIBS-tst-lfschk6): This.
38737         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38738         on $(common-objpfx)soversions.mk.
38740 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38742         [BZ #10014]
38743         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38744         example host name.
38746 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38748         * malloc/arena.c (arena_get_retry): New function that gets
38749         another arena for the caller to try its request on.
38750         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38751         current arena cannot fulfill the request.
38752         (__libc_memalign): Likewise.
38753         (__libc_memalign): Likewise.
38754         (__libc_pvalloc): Likewise.
38755         (__libc_calloc): Likewise.
38757 2012-09-05  John Tobey  <john.tobey@gmail.com>
38759         [BZ #13542]
38760         * manual/arith.texi (Operations on Complex): Fix description
38761         of carg branch cut.
38763 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38765         [BZ #10014]
38766         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38767         host name.
38769         [BZ #10038]
38770         * manual/memory.texi (Memory): Make order of menu items match
38771         order of sections.
38773 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38775         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38776         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38777         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38779 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38781         * csu/libc-tls.c (static_dtv): Renamed to ...
38782         (_dl_static_dtv): This.  Make it global.
38783         (_dl_initial_dtv): Removed.
38784         (__libc_setup_tls): Updated.
38785         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38786         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38787         DL_INITIAL_DTV.
38789 2012-09-06  Petr Machata  <pmachata@redhat.com>
38791         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38792         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38793         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38794         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38796 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38798         [BZ #14545]
38799         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38800         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38801         freeing dtv[-1].
38803 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38805         [BZ #14544]
38806         * Makeconfig (link-static-before-libc): Replace $(+prector)
38807         with $(+prectorT).
38808         (link-static-after-libc): Replace $(+postctor) with
38809         $(+postctorT).
38810         (link-bounded): Replace $(+prector)/$(+postctor) with
38811         $(+prectorT)/$(+postctorT).
38812         (+prectorT): New macro.
38813         (+postctorT): Likewise.
38815 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38817         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38818         (round_str): Handle values above the maximum for IBM long double
38819         as inexact.
38820         * stdlib/tst-strtod-round.c (tests): Regenerated.
38822 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38824         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38825         assembler flag.
38826         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38827         zarch_nohighgprs around the zarch optimized routines.
38828         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38829         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38830         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38831         for zarch.
38833 2012-09-05  David S. Miller  <davem@davemloft.net>
38835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38837         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38838         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38839         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38840         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38841         entries.
38843 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38845         * malloc/arena.c: Fold copyright years.
38846         * malloc/mcheck.c, malloc/memusage.c: Likewise.
38848 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38850         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38852 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38854         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
38856 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38858         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38859         change internal state upon failure.
38861 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38863         * malloc/mcheck.c (mcheck_check_all): Fix typo.
38864         * malloc/memusage.c (mmap): Likewise.
38865         (mmap64, mremap): Likewise.  Adjust name in comment.
38867 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38869         * libio/fileops.c: Fix typos in comments.
38870         * libio/oldfileops.c: Likewise.
38871         * libio/wfileops.c: Likewise.
38873 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38875         [BZ #1349]
38876         * malloc/Makefile (tests): Add tst-malloc-usable test case.
38877         (tst-malloc-usable-ENV): Set environment for test case.
38878         * malloc/hooks.c (malloc_check_get_size): New function to get
38879         requested size.
38880         * malloc/malloc.c (musable): Use malloc_check_get_size.
38881         * malloc/tst-malloc-usable.c: New test case.
38883 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38885         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38887 2012-09-05  Allan McRae  <allan@archlinux.org>
38889         [BZ #13966]
38890         * configure.in (CXX_SYSINCLUDES): Use compiler output to
38891         determine header location.
38892         * configure: Regenerated.
38894 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38896         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38897         float format.
38898         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38899         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38900         format.
38901         (test): Regenerate.
38903 2012-09-04  David S. Miller  <davem@davemloft.net>
38905         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38906         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38907         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38909 2012-09-04  Florian Weimer  <fweimer@redhat.com>
38911         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38912         failures.
38914         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38916 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
38918         [BZ #9914]
38919         * libio/iogetdelim.c: Include <limits.h>.
38920         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38921         + len + 1 would overflow.
38923 2012-09-03  Andreas Jaeger  <aj@suse.de>
38925         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38926         * sysdeps/i386/fpu/libm-test-ulps: Update.
38928 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38930         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38931         Add s_sinf-sse2, s_conf-sse2.
38933         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38934         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38935         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38936         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38938         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38939         for using routine as __sinf_ia32.
38940         Use macro for function declaration and weak_alias.
38941         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38942         for using routine as __cosf_ia32.
38943         Use macro for function declaration and weak_alias.
38945         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38946         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38948         * sysdeps/x86_64/fpu/s_sinf.S: New file.
38949         * sysdeps/x86_64/fpu/s_cosf.S: New file.
38950         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38952         * math/libm-test.inc (cos_test): Add more test cases.
38953         (sin_test): Likewise.
38954         (sincos_test): Likewise.
38956 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38958         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38959         (IFUNC_RESOLVE): Make pointers to the specialized implementations
38960         hidden.
38961         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38963 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
38965         [BZ #14538]
38966         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38967         first element of the GOT.
38968         (elf_machine_load_address): Return the difference between
38969         the runtime address of _DYNAMIC and elf_machine_dynamic ().
38971 2012-09-01  Allan McRae  <allan@archlinux.org>
38973         [BZ #13412]
38974         * configure.in (AWK): Require gawk version 3.0 or later.
38975         * configure: Regenerated.
38977 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
38979         * sysdeps/unix/sysv/linux/kernel-features.h
38980         (__ASSUME_POSIX_CPU_TIMERS): Remove.
38981         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38982         [__NR_clock_getres]: Make code unconditional.
38983         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38984         (clock_getcpuclockid): Remove code left unreachable by removal of
38985         conditionals.
38986         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38987         code unconditional.
38988         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38989         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38990         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38991         Make code unconditional.
38992         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38993         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38994         * sysdeps/unix/sysv/linux/clock_settime.c
38995         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38996         conditional code.
38997         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38998         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39000 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
39002         [BZ #14476]
39003         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39004         scripts/test-installation.pl.
39006         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39007         and $ld_so_version if it is set.
39009 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39011         [BZ #14516]
39012         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39013         failure if reading from procfs failed.
39014         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39016 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39018         * sysdeps/unix/sysv/linux/kernel-features.h
39019         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39020         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39021         Remove conditional code.
39022         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39023         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39024         Remove conditional code.
39025         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39026         * sysdeps/unix/sysv/linux/i386/fxstat.c
39027         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39028         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39029         * sysdeps/unix/sysv/linux/i386/fxstatat.c
39030         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39031         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39032         * sysdeps/unix/sysv/linux/i386/lxstat.c
39033         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39034         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39035         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39036         Remove conditional code.
39037         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39038         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39039         Remove conditional code.
39040         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39041         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39042         <kernel-features.h>.
39043         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39044         Remove.
39045         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39046         Remove conditional code.
39047         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39048         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39049         Remove conditional.
39051 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
39053         [BZ #5400]
39054         * NEWS: Add fixed bug number.
39056 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
39058         [BZ #14519]
39059         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39060         underflowing exponent in case of negative sign.
39061         * stdlib/tst-strtod-round-data: Add more tests.
39062         * stdlib/tst-strtod-round.c (tests): Regenerated.
39064         [BZ #3479]
39065         * stdlib/strtod_l.c (NDIG): Remove.
39066         (HEXNDIG): Likewise.
39067         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39068         smallest representable value.
39069         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39070         lie within an exact representation of 1/2 ulp of the result.
39071         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39072         unconditionally.
39073         (TENS_P9_IDX): Define unconditionally.
39074         (TENS_P9_SIZE): Likewise.
39075         (TENS_P10_IDX): Likewise.
39076         (TENS_P10_SIZE): Likewise.
39077         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39078         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39079         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39080         entries for 10^2^13 and 10^2^14.
39081         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39082         (TENS_P13_IDX): Define.
39083         (TENS_P13_SIZE): Likewise.
39084         (TENS_P14_IDX): Likewise.
39085         (TENS_P14_SIZE): Likewise.
39086         (_fpioconst_pow10): Change array size to
39087         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
39088         unconditional.
39089         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39090         1024]: Add entries for 10^2^13 and 10^2^14.
39091         [LAST_POW10 > _LAST_POW10]: Remove #error.
39092         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39093         (_fpioconst_pow10): Change array size to
39094         FPIOCONST_POW10_ARRAY_SIZE.
39095         * stdlib/gen-fpioconst.c: New file.
39096         * stdlib/gen-tst-strtod-round.c: Likewise.
39097         * stdlib/tst-strtod-round-data: Likewise.
39098         * stdlib/tst-strtod-round.c: Likewise.
39099         * stdlib/Makefile (tests): Add tst-strtod-round.
39101         [BZ #14459]
39102         * stdlib/strtod_l.c: Include <stdint.h>.
39103         (NDEBUG): Do not define.
39104         (round_and_return): Change EXPONENT parameter to type intmax_t.
39105         Rearrange calculations to avoid internal overflow possibilities.
39106         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39107         Rearrange calculations to avoid internal overflow possibilities.
39108         Assert that number fits inside MPNSIZE limbs.
39109         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39110         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
39111         calculations and add assertions to avoid internal overflow
39112         possibilities.  Add casts to avoid signed/unsigned operations.
39113         * stdlib/tst-strtod-overflow.c: New file.
39114         * stdlib/Makefile (tests): Add tst-strtod-overflow.
39116 2012-08-25  Marek Polacek  <polacek@redhat.com>
39118         * time/time.h: Fix some typos in comments.
39120 2012-08-23  Roland McGrath  <roland@hack.frob.com>
39122         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39123         * posix/tst-rfc3484-2.c: Likewise.
39124         * posix/tst-rfc3484-3.c: Likewise.
39126 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
39128         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39129         (EF_ARM_ABI_FLOAT_HARD): Likewise.
39131 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
39133         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39134         #include of fxstatat64.c.
39136 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39138         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39139         * shadow/getspent_r.c: Likewise.
39140         * shadow/getspnam.c: Likewise.
39141         * shadow/getspnam_r.c: Likewise.
39142         * gshadow/getsgent.c: Likewise.
39143         * gshadow/getsgent_r.c: Likewise.
39144         * gshadow/getsgnam.c: Likewise.
39145         * gshadow/getsgnam_r.c: Likewise.
39146         * inet/getnetbyad.c: Likewise.
39147         * inet/getnetbyad_r.c: Likewise.
39148         * inet/getnetbynm.c: Likewise.
39149         * inet/getnetbynm_r.c: Likewise.
39150         * inet/getnetent.c: Likewise.
39151         * inet/getnetent_r.c: Likewise.
39152         * inet/getproto.c: Likewise.
39153         * inet/getproto_r.c: Likewise.
39154         * inet/getprtent.c: Likewise.
39155         * inet/getprtent_r.c: Likewise.
39156         * inet/getprtname.c: Likewise.
39157         * inet/getprtname_r.c: Likewise.
39158         * inet/getrpcbyname.c: Likewise.
39159         * inet/getrpcbyname_r.c: Likewise.
39160         * inet/getrpcbynumber.c: Likewise.
39161         * inet/getrpcbynumber_r.c: Likewise.
39162         * inet/getrpcent.c: Likewise.
39163         * inet/getrpcent_r.c: Likewise.
39164         * inet/getaliasent.c: Likewise.
39165         * inet/getaliasent_r.c: Likewise.
39166         * inet/getaliasname.c: Likewise.
39167         * inet/getaliasname_r.c: Likewise.
39168         * nscd/getgrgid_r.c: Likewise.
39169         * nscd/getgrnam_r.c: Likewise.
39170         * nscd/gethstbyad_r.c: Likewise.
39171         * nscd/gethstbynm3_r.c: Likewise.
39172         * nscd/getpwnam_r.c: Likewise.
39173         * nscd/getpwuid_r.c: Likewise.
39174         * nscd/getsrvbynm_r.c: Likewise.
39175         * nscd/getsrvbypt_r.c: Likewise.
39176         * nscd/gai.c: Likewise.
39178         * configure.in (build_nscd): New substituted variable, set
39179         by --disable-build-nscd and defaults to $use_nscd.
39180         * configure: Regenerated.
39181         * config.make.in (build-nscd): New substituted variable.
39182         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39183         Change conditional to require [$(build-nscd) = yes] as well.
39184         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39186         [BZ# 13696]
39187         * configure.in (use_nscd): New substituted variable, set by
39188         --disable-nscd.  If enabled, define USE_NSCD.
39189         * configure: Regenerated.
39190         * config.h.in: Add USE_NSCD.
39191         * config.make.in (use-nscd): New substituted variable.
39192         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39193         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39194         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39195         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39196         (CFLAGS-getgrnam_r.c): Likewise.
39197         (CFLAGS-initgroups.c): Likewise.
39198         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39199         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39200         Variables removed.
39201         * inet/getnetgrent_r.c
39202         (nscd_setnetgrent): New function, broken out of ...
39203         (setnetgrent): ... here.  Call it.
39204         (innetgr): Conditionalize nscd bits on [USE_NSCD].
39205         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39206         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39207         * nscd/Makefile (routines, aux): Move definitions after include of
39208         Makeconfig.  Conditionalize on [$(use-nscd) != no].
39209         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39210         Conditionalize on [USE_NSCD].
39211         (is_nscd, nscd_init_cb): Likewise.
39212         (nss_load_library): Conditionalize init callback on [USE_NSCD].
39213         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39214         * nss/nss_db/db-init.c: Likewise.
39215         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39216         [USE_NSCD].
39217         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39218         (make_request): Use it.
39219         (cache_valid_p): New function.
39220         (__check_pf): Use it.
39221         * NEWS: Add item for --disable-nscd.
39223 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
39225         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39226         to support sed >= 4.2.1-20-ga9bf076.
39227         * configure: Regenerated.
39229 2012-08-22  Roland McGrath  <roland@hack.frob.com>
39231         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39232         Conditionalize whole body on [IREL].
39234 2012-08-22  Jeff Law <law@redhat.com>
39236         [BZ #14505]
39237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39238         if the family is PF_UNSPEC.
39240 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
39242         * Makerules (lib-version): Rename from V.
39243         (install-lib-nosubdir): Change V to lib-version.
39245 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
39247         [BZ #14252]
39248         * powerpc32/power6/wcschr.c: New file.
39249         * powerpc32/power6/wcscpy.c: New file.
39250         * powerpc32/power6/wcsrchr.c: New file.
39251         * powerpc64/power6/wcschr.c: New file.
39252         * powerpc64/power6/wcscpy.c: New file.
39253         * powerpc64/power6/wcsrchr.c: New file.
39255 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39257         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39258         (two_way_short_needle): Use it.
39259         * string/strstr.c (AVAILABLE1_USES_J): Define.
39260         * string/strcasestr.c: Likewise.
39262         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39263         array references.
39264         * string/strcasestr.c (TOLOWER): Make side-effect safe.
39266         [BZ #11607]
39267         * NEWS: Add an entry.
39268         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39269         define their defaults.
39270         (two_way_short_needle): Detect end-of-string on-the-fly.
39271         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39272         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39273         * string/bug-strcasestr1.c: New test.
39274         * string/Makefile: Run it.
39276 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
39278         [BZ #11607]
39279         * string/str-two-way.h (two_way_short_needle): Optimize matching of
39280         the first character.
39282 2012-08-21  Roland McGrath  <roland@hack.frob.com>
39284         * csu/elf-init.c (__libc_csu_irel): Function removed.
39285         * csu/libc-start.c (apply_irel): New function.
39286         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39288 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
39290         * sysdeps/unix/sysv/linux/kernel-features.h
39291         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39292         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39293         <kernel-features.h>.
39294         [__NR_fadvise64_64]: Make code unconditional.
39295         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39296         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39297         !__NR_fadvise64_64)]: Likewise.
39298         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39299         !__NR_fadvise64_64))]: Likewise.
39300         [__NR_fadvise64]: Make code unconditional.
39301         [!__NR_fadvise64]: Remove conditional code.
39302         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39303         <kernel-features.h>.
39304         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39305         unconditional.
39306         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39307         conditional code.
39308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39309         not include <kernel-features.h>.
39310         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39311         unconditional.
39312         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39313         conditional code.
39314         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39315         include <kernel-features.h>.
39316         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39317         unconditional.
39318         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39319         conditional code.
39321 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
39323         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39324         slight instruction rearrangements per scrollpipe analysis.
39325         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39327 2012-08-20  Roland McGrath  <roland@hack.frob.com>
39329         * manual/syslog.texi (syslog; vsyslog, closelog):
39330         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39331         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39333         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39334         DSOCAPS to match condition on defining it.
39336 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
39338         * sysdeps/unix/sysv/linux/kernel-features.h
39339         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39341         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39342         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39344         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39345         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39347         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39348         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39350         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39351         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39353         * sysdeps/unix/sysv/linux/kernel-features.h
39354         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39355         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39356         unconditional.
39357         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39358         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39359         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39360         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39361         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39362         Make code unconditional.
39363         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39364         (__mmap64) [!__NR_mmap2]: Likewise.
39365         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39366         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39367         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39368         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39369         [__NR_mmap2]: Make code unconditional.
39370         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39371         (__mmap64) [!__NR_mmap2]: Likewise.
39373 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39375         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39377 2012-08-18  Andreas Jaeger  <aj@suse.de>
39379         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39381 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39383         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39384         * include/unistd.h (__have_sock_cloexec): Likewise.
39385         (__have_pipe2): Likewise.
39386         (__have_dup3): Likewise.
39388 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
39390         [BZ #9685]
39391         * include/unistd.h (__have_pipe2): Change define into an extern int.
39392         (__have_dup3): Likewise.
39393         * socket/have_sock_cloexec.c: Include fcntl.h.
39394         (__have_pipe2): New variable.
39395         (__have_dup3): Likewise.
39397 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
39399         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39401 2012-08-17  Marek Polacek  <polacek@redhat.com>
39403         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39404         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39406 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39408         * configure.in: Add AC_SUBST for sysheaders.
39409         * configure: Regenerated.
39410         * config.make.in (sysheaders): New substituted variable.
39412         * sysdeps/unix/mkfifo.c: Moved ...
39413         * sysdeps/posix/mkfifo.c: ... here.
39414         * sysdeps/unix/mkfifoat.c: Moved ...
39415         * sysdeps/posix/mkfifoat.c: ... here.
39417         * sysdeps/unix/utime.c: Moved ...
39418         * sysdeps/posix/utime.c: ... here.
39420         * sysdeps/unix/time.c: Moved ...
39421         * sysdeps/posix/time.c: ... here.
39422         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
39423         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
39425         * sysdeps/unix/nice.c: Moved ...
39426         * sysdeps/posix/nice.c: ... here.
39428         * sysdeps/unix/alarm.c: Moved ...
39429         * sysdeps/posix/alarm.c: ... here.
39431         * intl/Makefile ($(codeset_mo)): Depend on the input file.
39433 2012-08-17  Jeff Law <law@redhat.com>
39435         * intl/Makefile (codeset_mo): New variable.
39436         ($(codeset_mo)): New target.
39437         (tst-codeset.out): Depend on that.  Remove explicit rule.
39438         (tst-gettext3.out, tst-gettext5.out): Likewise.
39439         (LOCPATH-ENV, tst-codeset-ENV): New variables.
39440         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
39441         * intl/tst-codeset.sh: Remove.
39442         * intl/tst-gettext3.sh: Likewise.
39443         * intl/tst-gettext5.sh: Likewise.
39445 2012-08-17  Roland McGrath  <roland@hack.frob.com>
39447         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
39448         * sysdeps/unix/syscalls.list: ... here.
39450         * sysdeps/posix/getaddrinfo.c
39451         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
39452         (gaiconf_init, gaiconf_reload): Use them.
39453         [!_STATBUF_ST_NSEC]
39454         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
39455         Define using time_t rather than struct timespec.
39457         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
39458         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
39459         Macros removed.
39460         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
39461         [!NO_THREADS].
39462         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
39463         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
39464         Likewise.
39466         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
39467         __libc_cleanup_push argument.
39469         * bits/param.h: New file.
39470         * misc/sys/param.h: New file.
39471         * include/sys/param.h: New file.
39472         * misc/Makefile (headers): Add bits/param.h.
39473         * sysdeps/generic/sys/param.h: File removed.
39474         * sysdeps/unix/sysv/linux/bits/param.h: New file.
39475         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
39476         * sysdeps/mach/hurd/bits/param.h: New file.
39477         * sysdeps/mach/hurd/sys/param.h: File removed.
39479         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
39480         last change.
39482         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
39483         [_IO_MTSAFE_IO].
39484         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
39485         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
39486         New macros.
39488         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
39489         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
39490         rather than -D_IO_MTSAFE_IO conditionally.
39491         * stdio-common/Makefile (CPPFLAGS): Likewise.
39492         * wcsmbs/Makefile (CPPFLAGS): Likewise.
39493         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
39494         Use $(libio-mtsafe).
39495         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
39496         of -D_IO_MTSAFE_IO.
39497         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
39498         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
39499         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
39500         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
39501         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
39502         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
39503         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
39504         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
39505         (CFLAGS-fread_u_chk.c): Likewise.
39506         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
39507         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
39508         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
39509         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
39510         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
39511         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
39512         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
39513         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
39514         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
39516         * libio/Makefile: Test [$(libc-reentrant) = yes]
39517         instead of [$(filter %REENTRANT, $(defines)) nonempty].
39519         * Makeconfig
39520         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
39521         * sysdeps/pthread/configure: File removed.
39522         * sysdeps/pthread/Makeconfig: New file.
39523         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
39524         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
39526 2012-08-16  Gary Benson  <gbenson@redhat.com>
39528         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
39529         unmapping the first object in a namespace.
39531 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39533         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
39534         (__internal_setnetgrent): ... this.  Add internal_function to
39535         definition.  Add libc_hidden_def.
39536         (setnetgrent): Update caller.
39537         (internal_endnetgrent): Renamed to ...
39538         (__internal_endnetgrent): ... this.  Add internal_function to
39539         definition.  Add libc_hidden_def.
39540         (endnetgrent): Update caller.
39541         (internal_getnetgrent_r): Renamed to ...
39542         (__internal_getnetgrent_r): ... this.  Add internal_function to
39543         definition.  Add libc_hidden_def.
39544         (__getnetgrent_r): Update caller.
39545         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
39547 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39549         * stdlib/longlong.h: Update from GCC.
39551 2012-08-16  Roland McGrath  <roland@hack.frob.com>
39553         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
39554         on _QL, which is set by umul_ppmm but never used.
39555         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
39556         variables, which are set by GMP macros but never used.
39557         * stdio-common/_itowa.c (_itowa): Likewise.
39558         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
39559         * stdlib/mod_1.c (mpn_mod_1): Likewise.
39561 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
39563         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
39564         struct La_sh_regs is not constant.
39565         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
39566         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
39567         and struct La_sparc64_regs are not constant.
39569 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
39571         * sysdeps/unix/sysv/linux/kernel-features.h
39572         (__ASSUME_POSIX_TIMERS): Remove.
39573         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39574         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39575         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
39576         Make code unconditional.
39577         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39578         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
39579         Make code unconditional.
39580         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39581         * sysdeps/unix/sysv/linux/clock_nanosleep.c
39582         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
39583         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39584         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
39585         Make code unconditional.
39586         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
39587         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
39588         (__libc_missing_posix_timers): Remove.
39590 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39592         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
39593         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
39595         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
39597         * elf/dl-sym.c: Include <stdlib.h>.
39599         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
39600         constants, which avoids warnings in 32-bit builds.
39602         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
39603         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
39605         * misc/lseek.c: File moved to ...
39606         * io/lseek.c: ... here.
39608         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
39610         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
39611         shifting LEN more than 31 bits at once.
39613 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39615         [BZ #14195]
39616         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
39617         segmentation fault for a case of two empty input strings.
39618         * string/test-strncasecmp.c (check1): Renamed to...
39619         (bz12205): ...this.
39620         (bz14195): Add new testcase for two empty input strings and N > 0.
39621         (test_main): Call new testcase, adapt for renamed function.
39623 2012-08-15  Andreas Jaeger  <aj@suse.de>
39625         [BZ #14090]
39626         * crypt/md5test2.c: New test, based on test supplied by Serge
39627         Belyshev <belyshev@depni.sinp.msu.ru>.
39628         * crypt/Makefile (xtests): Add md5test-giant..
39629         * crypt/Makefile ($(objpfx)md5test-giant): Add.
39631 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
39633         [BZ #14090]
39634         * crypt/md5.c (md5_process_block): Don't assume the buffer
39635         length is less than 2**32.
39636         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
39637         length is less than 2**64.
39639 2012-08-15  Roland McGrath  <roland@hack.frob.com>
39641         * string/str-two-way.h: Include <sys/param.h>.
39642         (MAX): Macro removed.
39644         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
39645         Move #define and #undef of memmove to just before and after
39646         including <string.h>.
39648         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
39649         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
39650         and after including <string.h>.  Move declarations of
39651         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
39652         to before #include "string/memmove.c".
39654         * include/dirent.h: Declare __getdirentries.
39656         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
39657         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39659 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39661         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39662         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39663         * sysdeps/i386/configure: Regenerated.
39664         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39665         STABS_CURRENT_FILE, and STABS_FUN.
39666         (END): Remove call to STABS_FUN_END.
39667         (STABS_CURRENT_FILE1): Delete.
39668         (STABS_CURRENT_FILE): Likewise.
39669         (STABS_FUN): Likewise.
39670         (STABS_FUN_END): Likewise.
39671         (STABS_FUN2): Likewise.
39672         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39673         * sysdeps/x86_64/configure: Regenerated.
39675 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39677         * elf/dl-open.c: Include <atomic.h>.
39678         * elf/dl-lookup.c: Likewise.
39680 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39682         * sysdeps/unix/sysv/linux/kernel-features.h
39683         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39684         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39685         unconditionally.
39686         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39687         unconditionally.
39688         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39689         condition on __ASSUME_CLONE_THREAD_FLAGS.
39691 2012-08-14  Andreas Jaeger  <aj@suse.de>
39693         * sysdeps/i386/fpu/libm-test-ulps: Update.
39695 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39697         * include/atomic.h (atomic_exchange_and_add): Split into ...
39698         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39699         New atomic macros.
39701 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39705 2012-08-13  Jeff Law <law@redhat.com>
39707         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39708         null byte in the output string.
39710 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39712         * sysdeps/unix/sysv/linux/kernel-features.h
39713         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39714         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39715         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39716         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39717         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39718         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39719         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39721 2012-08-09  Jeff Law <law@redhat.com>
39723         [BZ #13939]
39724         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39725         When avoid_arena is set, don't retry in the that arena.  Pick the
39726         next one, whatever it might be.
39727         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39728         (arena_lock): Pass in new parameter to arena_get2.
39729         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39730         arena_get2.
39731         (__libc_malloc): Unify retrying after main arena failure with
39732         __libc_memalign version.
39733         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39735 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39737         [BZ #14166]
39738         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39739         to __redirect_strstr.
39740         (__strstr_sse42): Use typeof __redirect_strstr.
39741         (__strstr_ia32): Likewise.
39742         (__libc_strstr): New prototype.
39743         (strstr): Renamed to ...
39744         (__libc_strstr): This.
39745         (strstr): New strong alias of __libc_strstr.
39746         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39747         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39748         __redirect_time.
39749         Include <time.h>.
39750         (__libc_time): New prototype.
39751         (time_ifunc): Replace time with __libc_time.
39752         (time): New strong alias and hidden definition of __libc_time.
39753         (__GI_time): Remove strong alias.
39754         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39755         Include <stddef.h>.
39756         (memmove): Redefined to __redirect_memmove.
39757         (__memmove_sse2): Use typeof __redirect_memmove.
39758         (__memmove_ssse3): Likewise.
39759         (__memmove_ssse3_back): Likewise.
39760         (__libc_memmove): New prototype.
39761         (memmove): Renamed to ...
39762         (__libc_memmove): This.
39763         (memmove): New strong alias of __libc_memmove.
39765 2012-08-08  Mark Salter  <msalter@redhat.com>
39767         * elf/elf.h
39768         (R_MN10300_TLS_GD): Define.
39769         (R_MN10300_TLS_LD): Likewise.
39770         (R_MN10300_TLS_LDO): Likewise.
39771         (R_MN10300_TLS_GOTIE): Likewise.
39772         (R_MN10300_TLS_IE): Likewise.
39773         (R_MN10300_TLS_LE): Likewise.
39774         (R_MN10300_TLS_DTPMOD): Likewise.
39775         (R_MN10300_TLS_DTPOFF): Likewise.
39776         (R_MN10300_TLS_TPOFF): Likewise.
39777         (R_MN10300_SYM_DIFF): Likewise.
39778         (R_MN10300_ALIGN): Likewise.
39779         (R_MN10300_NUM): Update.
39781 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39783         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39784         Remove.
39786 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39788         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39790         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39791         sysdeps/unix -> sysdeps/posix move.
39792         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39794 2012-08-07      Allan McRae     <allan@archlinux.org>
39796         [BZ #14303]
39797         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39798         (SUNOS_CPP): Likewise.
39799         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39800         not found.
39801         (open_input): Call CPP using execvp.
39803 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39805         * sysdeps/unix/sysv/linux/kernel-features.h
39806         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39807         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39808         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39809         (__ASSUME_WAITID_SYSCALL): Likewise.
39810         * sysdeps/unix/sysv/linux/dl-execstack.c
39811         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39812         code unconditional.
39813         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39814         conditional code.
39815         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39816         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39817         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39818         code.
39819         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39820         unconditional.
39821         [__ASSUME_WAITID_SYSCALL]: Likewise.
39822         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39824 2012-08-07  Roland McGrath  <roland@hack.frob.com>
39826         * sysdeps/unix/closedir.c: Renamed to ...
39827         * sysdeps/posix/closedir.c: ... here.
39828         * sysdeps/unix/dirfd.c: Renamed to ...
39829         * sysdeps/posix/dirfd.c: ... here.
39830         * sysdeps/unix/dirstream.h: Renamed to ...
39831         * sysdeps/posix/dirstream.h: ... here.
39832         * sysdeps/unix/fdopendir.c: Renamed to ...
39833         * sysdeps/posix/fdopendir.c: ... here.
39834         * sysdeps/unix/opendir.c: Renamed to ...
39835         * sysdeps/posix/opendir.c: ... here.
39836         * sysdeps/unix/readdir.c: Renamed to ...
39837         * sysdeps/posix/readdir.c: ... here.
39838         * sysdeps/unix/readdir_r.c: Renamed to ...
39839         * sysdeps/posix/readdir_r.c: ... here.
39840         * sysdeps/unix/rewinddir.c: Renamed to ...
39841         * sysdeps/posix/rewinddir.c: ... here.
39842         * sysdeps/unix/seekdir.c: Renamed to ...
39843         * sysdeps/posix/seekdir.c: ... here.
39844         * sysdeps/unix/telldir.c: Renamed to ...
39845         * sysdeps/posix/telldir.c: ... here.
39846         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39847         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39848         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39849         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39851         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39852         * bits/fcntl.h: ... here.
39854         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39855         not 0.
39856         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39857         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39858         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39859         (struct flock): Move l_start, l_len to the beginning.
39860         Use __pid_t for l_pid.
39861         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39862         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39863         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39864         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39865         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39866         [__USE_LARGEFILE64] (struct flock64): New type.
39867         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39869         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39870         * bits/dirent.h: ... here.
39872         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39873         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39875 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39877         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39878         Change from 2.6.0 to 2.6.16.
39879         * sysdeps/unix/sysv/linux/configure: Regenerated.
39880         * sysdeps/unix/sysv/linux/kernel-features.h
39881         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39882         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39883         version.
39884         (__ASSUME_UTIMES): Likewise.
39885         (__ASSUME_CLONE_STOPPED): Remove.
39886         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39887         architectures, not kernel version.
39888         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39889         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39890         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39891         (__ASSUME_WAITID_SYSCALL): Likewise.
39892         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39893         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39894         * README: State 2.6.16 as minimum Linux kernel version.  Do not
39895         refer to older versions.
39897 2012-08-06  Roland McGrath  <roland@hack.frob.com>
39899         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39900         Define alphasort64 as an alias.
39901         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39902         Define versionsort64 as an alias.
39903         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39904         Define scandir64 as an alias.
39905         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39906         Define scandirat64 as an alias.
39907         * dirent/alphasort64.c (alphasort64):
39908         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39909         * dirent/versionsort64.c: Likewise.
39910         * dirent/scandir64.c: Likewise.
39911         * dirent/scandirat64.c: Likewise.
39912         * sysdeps/wordsize-64/alphasort.c: File removed.
39913         * sysdeps/wordsize-64/alphasort64.c: File removed.
39914         * sysdeps/wordsize-64/scandir.c: File removed.
39915         * sysdeps/wordsize-64/scandir64.c: File removed.
39916         * sysdeps/wordsize-64/scandirat.c: File removed.
39917         * sysdeps/wordsize-64/scandirat64.c: File removed.
39918         * sysdeps/wordsize-64/versionsort.c: File removed.
39919         * sysdeps/wordsize-64/versionsort64.c: File removed.
39920         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39921         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39922         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39923         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39924         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39925         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39926         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39927         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39929         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39930         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39931         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39932         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39933         [defined __arch64__ || defined __sparcv9]
39934         (__INO_T_MATCHES_INO64_T): New macro.
39935         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39936         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39937         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39938         * sysdeps/unix/sysv/linux/bits/dirent.h
39939         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39940         (_DIRENT_MATCHES_DIRENT64): New macro.
39942         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39943         Define lockf64 as an alias.
39944         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39945         Define fseeko64 as an alias.
39946         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39947         Define ftello64 as an alias.
39948         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39949         Define _IO_fgetpos64 and fgetpos64 as aliases.
39950         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39951         Define _IO_fsetpos64 and fsetpos64 as aliases.
39952         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39953         Conditionalize body on this.
39954         * libio/fseeko64.c: Likewise.
39955         * libio/ftello64.c: Likewise.
39956         * libio/iofgetpos64.c: Likewise.
39957         * libio/iofsetpos64.c: Likewise.
39958         * sysdeps/wordsize-64/lockf.c: File removed.
39959         * sysdeps/wordsize-64/lockf64.c: File removed.
39960         * sysdeps/wordsize-64/fseeko.c: File removed.
39961         * sysdeps/wordsize-64/fseeko64.c: File removed.
39962         * sysdeps/wordsize-64/ftello.c: File removed.
39963         * sysdeps/wordsize-64/ftello64.c: File removed.
39964         * sysdeps/wordsize-64/iofgetpos.c: File removed.
39965         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39966         * sysdeps/wordsize-64/iofsetpos.c: File removed.
39967         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39968         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39969         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39970         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39971         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39972         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39973         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39974         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39975         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39976         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39977         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39979         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39980         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39981         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39982         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39983         [defined __arch64__ || defined __sparcv9]
39984         (__OFF_T_MATCHES_OFF64_T): New macro.
39985         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39986         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39988         (__OFF_T_MATCHES_OFF64_T): New macro.
39990 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39992         * stdlib/secure-getenv.c (__secure_getenv): Replace
39993         GLIBC_2_16 with GLIBC_2_17.
39995 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39997         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39998         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40000 2012-08-03  David S. Miller  <davem@davemloft.net>
40002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40004 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40006         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40007         Remove.
40008         (__ASSUME_CORRECT_SI_PID): Likewise.
40009         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40010         (__ASSUME_TMPFS_NAME): Likewise.
40011         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40012         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40013         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40014         (HAVE_AUX_SECURE): Make definition unconditional.
40015         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40016         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40018 2012-08-03  Roland McGrath  <roland@hack.frob.com>
40020         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40021         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40022         * sysdeps/mach/hurd/eloop-threshold.h: New file.
40023         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40024         __eloop_threshold instead of SYMLOOP_MAX.
40026         * sysdeps/generic/eloop-threshold.h: New file.
40027         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40028         of MAXSYMLINKS.
40029         * elf/chroot_canon.c (chroot_canon): Likewise.
40031 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
40033         [BZ #13717]
40034         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40035         Change to 2.6.0 everywhere.
40036         * sysdeps/unix/sysv/linux/configure: Regenerated.
40037         * sysdeps/unix/sysv/linux/kernel-features.h
40038         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40039         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40040         kernel versions.
40041         (__ASSUME_POSIX_TIMERS): Define unconditionally.
40042         (__ASSUME_FUTEX_REQUEUE): Remove.
40043         (__ASSUME_STATFS64): Define unconditionally.
40044         (__ASSUME_AT_SECURE): Likewise.
40045         (__ASSUME_CORRECT_SI_PID): Likewise.
40046         (__ASSUME_TGKILL): Define without depending on kernel version for
40047         i386.
40048         (__ASSUME_UTIMES): Likewise.
40049         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40050         kernel version.
40051         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40052         (__ASSUME_TMPFS_NAME): Likewise.
40053         * README: Update reference to Linux kernel versions.
40055 2012-08-02  Marek Polacek  <polacek@redhat.com>
40057         [BZ# 14150]
40058         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
40059         libc_cv_asm_type_prefix with %.
40060         * configure: Regenerated.
40061         * include/libc-symbols.h: Remove comment about
40062         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40063         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40064         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40065         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40066         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40067         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40068         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40069         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40070         * elf/tst-unique2mod1.c: Likewise.
40071         * elf/tst-unique1mod2.c: Likewise.
40072         * elf/tst-unique1mod1.c: Likewise.
40073         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40074         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40075         Replace ASM_TYPE_DIRECTIVE with .type.
40076         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40077         * sysdeps/i386/sysdep.h: Likewise.
40078         * sysdeps/x86_64/sysdep.h: Likewise.
40079         * sysdeps/sh/sysdep.h: Likewise.
40080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40081         Do not define ASM_TYPE_DIRECTIVE.
40082         * sysdeps/powerpc/sysdep.h: Likewise.
40083         * sysdeps/powerpc/powerpc32/sysdep.h:
40084         Replace ASM_TYPE_DIRECTIVE with .type.
40085         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40086         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40087         * sysdeps/i386/fpu/e_powf.S: Likewise.
40088         * sysdeps/i386/fpu/e_expl.S: Likewise.
40089         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40090         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40091         * sysdeps/i386/fpu/e_pow.S: Likewise.
40092         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40093         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40094         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40095         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40096         * sysdeps/i386/fpu/e_log2.S: Likewise.
40097         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40098         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40099         * sysdeps/i386/fpu/e_powl.S: Likewise.
40100         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40101         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40102         * sysdeps/i386/fpu/e_logl.S: Likewise.
40103         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40104         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40105         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40106         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40107         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40108         * sysdeps/i386/fpu/e_log.S: Likewise.
40109         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40110         * sysdeps/i386/fpu/e_logf.S: Likewise.
40111         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40112         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40113         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40114         * sysdeps/i386/fpu/e_log10.S: Likewise.
40115         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40116         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40117         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40118         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40119         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40120         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40121         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40122         * sysdeps/i386/i686/strtok.S: Likewise.
40123         * sysdeps/i386/i386-mcount.S: Likewise.
40124         * sysdeps/i386/strtok.S: Likewise.
40125         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40126         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40127         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40128         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40129         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40130         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40131         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40132         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40133         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40134         * sysdeps/x86_64/_mcount.S: Likewise.
40135         * sysdeps/x86_64/strtok.S: Likewise.
40136         * sysdeps/sh/_mcount.S: Likewise.
40138 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40140         * libio/iofopen.c: Include <fcntl.h>.
40141         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40142         (_IO_fopen64, fopen64): Define as aliases.
40143         * libio/iofopen64.c: Include <fcntl.h>.
40144         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40145         Conditionalize body on this.
40146         * sysdeps/wordsize-64/iofopen.c: File removed.
40147         * sysdeps/wordsize-64/iofopen64.c: File removed.
40149 2012-08-01  Marek Polacek  <polacek@redhat.com>
40151         * libc/Makeconfig: Use elf in place of binfmt-subdir.
40152         Use dlfcn directly instead of a variable.
40153         (binfmt-subdir): Do not define.
40154         (dlfcn): Likewise.
40156 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
40158         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40159         Remove all definitions.
40160         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40161         <kernel-features.h>.
40162         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40163         (miss_F_GETOWN_EX): Remove all definitions.
40164         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40165         macro definition.
40166         [!__ASSUME_FCNTL64]: Remove conditional code.
40167         [__ASSUME_FCNTL64]: Make code unconditional.
40168         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40169         <kernel-features.h>.
40170         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40171         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40172         (lockf64) [__NR_fcntl64]: Make code unconditional.
40173         (lockf64) [__ASSUME_FCNTL64]: Likewise.
40175         * sysdeps/unix/sysv/linux/kernel-features.h
40176         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40177         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40178         Make code unconditional.
40179         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40180         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40182         [__NR_vfork]: Make code unconditional.
40183         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40184         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40186         [__NR_vfork]: Make code unconditional.
40187         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40188         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40190 2012-08-01  Roland McGrath  <roland@hack.frob.com>
40192         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40193         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40195         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40196         Define mkstemp64 as an alias.
40197         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40198         Define mkstemps64 as an alias.
40199         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40200         Define mkostemp64 as an alias.
40201         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40202         Define mkostemps64 as an alias.
40203         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40204         Conditionalize body on this.
40205         * misc/mkostemp64.c: Likewise.
40206         * misc/mkostemps64.c: Likewise.
40207         * misc/mkstemps64.c: Likewise.
40208         * sysdeps/wordsize-64/mkstemp64.c: File removed.
40209         * sysdeps/wordsize-64/mkostemp64.c: File removed.
40210         * sysdeps/wordsize-64/mkostemp.c: File removed.
40211         * sysdeps/wordsize-64/mkstemp.c: File removed.
40212         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40213         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40214         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40215         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40217         [BZ #14138]
40218         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40219         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40220         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40221         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40223         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40224         compat_symbol macros from <shlib-compat.h> rather than the underlying
40225         default_symbol_version and symbol_version macros, so that DEFAULT
40226         lines in shlib-versions are respected.
40227         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40229 2012-08-01  Florian Weimer  <fweimer@redhat.com>
40231         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40232         Declare with warn_unused_result.
40233         (setgid, setregid, setegid, setresgid): Likewise.
40234         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40235         Likewise.
40236         * WUR-REPORT: Remove set*id functions.
40238 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
40240         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40242 2012-07-31  Roland McGrath  <roland@hack.frob.com>
40244         [BZ #10191]
40245         * include/sys/socket.h (__libc_accept, __libc_accept4):
40246         Add attribute_hidden.
40247         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40249         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40250         use of PTR_MANGLE.
40251         * inet/getnetgrent_r.c (setup): Likewise.
40253         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40255 2012-07-31  David S. Miller  <davem@davemloft.net>
40257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40259 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
40261         [BZ #13629]
40262         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40263         value between 1.0 and 2.0 and smaller part has absolute value less
40264         than 1.0.
40265         * math/s_clog10.c (__clog10): Likewise.
40266         * math/s_clog10f.c (__clog10f): Likewise.
40267         * math/s_clog10l.c (__clog10l): Likewise.
40268         * math/s_clogf.c (__clogf): Likewise.
40269         * math/s_clogl.c (__clogl): Likewise.
40270         * math/libm-test.inc (clog_test): Add more tests.
40271         (clog10_test): Likewise.
40272         * sysdeps/i386/fpu/libm-test-ulps: Update.
40273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40275 2012-07-31  Florian Weimer  <fweimer@redhat.com>
40277         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40278         Exit with zero in case no suitable GID is found, and write a
40279         message to standard error.
40281 2012-07-30  Roland McGrath  <roland@hack.frob.com>
40283         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40284         rather than to 1.
40285         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40286         (MAXPATHLEN): Removed.
40287         (NOGROUP, NODEV): New macros.
40288         (setbit, clrbit, isset, isclr): New macros.
40289         (howmany, roundup, powerof2): New macros.
40290         (DEV_BSIZE): New macro.
40292         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40293         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40295         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40296         definition on [!__NO_LONG_DOUBLE_MATH].
40298         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40299         PTR_MANGLE and PTR_DEMANGLE.
40301         * socket/accept4.c (accept4): Rename to __libc_accept4.
40302         Define accept4 as a weak alias.
40304         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40305         on [_DIRENT_HAVE_D_TYPE].
40306         * io/ftw.c (ftw_dir): Likewise.
40308         * io/xmknod.c (__xmknod): Don't check PATH for being null.
40310         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40312         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40313         Use the BSD numbers rather than the arbitrary ones we had.
40314         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40315         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40316         (SIGXCPU, SIGXFSZ): New macros.
40317         (_NSIG): Now 32.
40319         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40320         initializer on [_LIBC_REENTRANT].
40322         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40323         definitions inside [_POSIX_MAPPED_FILES].
40325         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40327         * dirent/opendir.c: Include <fcntl.h>.
40329         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40330         (__libc_getspecific): Likewise.
40331         (__libc_key_create): Likewise.
40333         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40334         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40335         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40336         (tmpfile64): Define as alias.
40337         * sysdeps/wordsize-64/tmpfile.c: File removed.
40338         * sysdeps/wordsize-64/tmpfile64.c: File removed.
40339         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40340         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40342         * stdio-common/vfscanf.c: Include <stdbool.h>.
40343         * nss/makedb.c: Likewise.
40344         * stdio-common/_i18n_number.h: Likewise.
40345         * argp/argp-help.c: Likewise.
40346         * posix/wordexp.c: Likewise.
40347         * sysdeps/posix/spawni.c: Likewise.
40348         * nss/nss_files/files-initgroups.c: Likewise.
40349         * stdio-common/reg-modifier.c: Include <stdlib.h>.
40350         * nss/nss_files/files-initgroups.c: Likewise.
40351         * nss/nss_db/db-netgrp.c: Likewise.
40352         * nss/nss_db/db-initgroups.c: Likewise.
40353         * io/fchmodat.c: Include <sys/stat.h>.
40355         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40356         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40358         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40359         [HAVE_MMAP].
40361         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40362         Add multiple inclusion protection.
40364 2012-07-27  David S. Miller  <davem@davemloft.net>
40366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40368 2012-07-27  Gary Benson  <gbenson@redhat.com>
40370         [BZ #14298]
40371         * elf/rtld.c: Include <stap-probe.h>.
40372         (dl_main): Added static probes "init_start" and "init_complete".
40373         * elf/dl-load.c: Include <stap-probe.h>.
40374         (lose): Take new parameter "nsid".
40375         Added static probe "map_failed".
40376         (_dl_map_object_from_fd): Pass namespace id to lose.
40377         Added static probe "map_start".
40378         (open_verify): Pass namespace id to lose.
40379         * elf/dl-open.c: Include <stap-probe.h>.
40380         (dl_open_worker) Added static probes "map_complete", "reloc_start"
40381         and "reloc_complete".
40382         * elf/dl-close.c: Include <stap-probe.h>.
40383         (_dl_close_worker): Added static probes "unmap_start" and
40384         "unmap_complete".
40385         * elf/rtld-debugger-interface.txt: New file documenting the above.
40387 2012-07-26  Roland McGrath  <roland@hack.frob.com>
40389         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40390         rather than a string variable.
40391         * sunrpc/rpc_main.c (h_output): Likewise.
40392         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40394 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
40396         * inet/check_native.c: New file.
40398 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
40400         [BZ #13629]
40401         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40402         if larger part has absolute value 1.0.
40403         * math/s_clog10.c (__clog10): Likewise.
40404         * math/s_clog10f.c (__clog10f): Likewise.
40405         * math/s_clog10l.c (__clog10l): Likewise.
40406         * math/s_clogf.c (__clogf): Likewise.
40407         * math/s_clogl.c (__clogl): Likewise.
40408         * math/libm-test.inc (clog_test): Add more tests.
40409         (clog10_test): Likewise.
40410         * sysdeps/i386/fpu/libm-test-ulps: Update.
40411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40413         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40414         (pltexit): Likewise.
40415         (La_regs): Likewise.
40416         (La_retval): Likewise.
40417         (int_retval): Likewise.
40418         Update #error for removed macros to refer only to definitions in
40419         tst-audit.h.
40420         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
40421         macro.
40422         (pltexit): Likewise.
40423         (La_regs): Likewise.
40424         (La_retval): Likewise.
40425         (int_retval): Likewise.
40426         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
40427         macro.
40428         (pltexit): Likewise.
40429         (La_regs): Likewise.
40430         (La_retval): Likewise.
40431         (int_retval): Likewise.
40432         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
40433         macro.
40434         (pltexit): Likewise.
40435         (La_regs): Likewise.
40436         (La_retval): Likewise.
40437         (int_retval): Likewise.
40438         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
40439         macro.
40440         (pltexit): Likewise.
40441         (La_regs): Likewise.
40442         (La_retval): Likewise.
40443         (int_retval): Likewise.
40444         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
40445         macro.
40446         (pltexit): Likewise.
40447         (La_regs): Likewise.
40448         (La_retval): Likewise.
40449         (int_retval): Likewise.
40450         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
40451         macro.
40452         (pltexit): Likewise.
40453         (La_regs): Likewise.
40454         (La_retval): Likewise.
40455         (int_retval): Likewise.
40456         * sysdeps/generic/tst-audit.h: Update comment to refer only to
40457         macro definitions in tst-audit.h.
40458         * sysdeps/i386/tst-audit.h: New file.
40459         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
40460         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
40461         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
40462         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
40463         * sysdeps/sh/tst-audit.h: Likewise.
40464         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
40465         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
40466         * sysdeps/x86_64/tst-audit.h: Likewise.
40468 2012-07-26  Andreas Jaeger  <aj@suse.de>
40470         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
40471         ptrace.
40473         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
40474         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
40475         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
40476         PTRACE_O_MASK.
40477         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
40478         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
40479         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
40481         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
40482         value.
40484         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
40485         _sigsys.
40486         (si_call_addr, si_syscall, si_arch): Define new macro.
40487         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
40488         _sigsys.
40489         (si_call_addr, si_syscall, si_arch): Define new marcro.
40490         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
40491         _sigsys.
40492         (si_call_addr, si_syscall, si_arch): Define new macro.
40493         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
40494         _sigsys.
40495         (si_call_addr, si_syscall, si_arch): Define new macro.
40497 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40499         [BZ #13717]
40500         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40501         Change to 2.4.21 where previously 2.4.1.
40502         * sysdeps/unix/sysv/linux/configure: Regenerated.
40503         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
40504         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
40505         Linux kernel version.
40506         (__ASSUME_STD_AUXV): Remove.
40507         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
40508         kernel version.
40509         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
40510         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
40511         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
40512         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
40513         (__ASSUME_NETLINK_SUPPORT): Likewise.
40514         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
40515         (__no_netlink_support): Remove conditional definition.
40516         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
40517         Remove.
40518         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40519         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
40520         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
40521         (if_nameindex_ioctl): Remove.
40522         (if_nameindex_netlink): Do not handle __no_netlink_support.
40523         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40524         code.
40525         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
40526         Remove conditional code.
40527         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
40528         code.
40529         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
40530         unconditional.
40531         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
40532         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
40533         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
40534         Remove.
40535         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
40536         [!__ASSUME_STD_AUXV]: Remove conditional code.
40537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
40538         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
40539         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
40540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
40541         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
40542         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40543         code.
40544         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40546         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
40547         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40548         conditional code.
40549         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
40550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40551         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
40552         code.
40553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40554         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
40555         conditional code.
40556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
40557         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40558         code unconditional.
40559         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40560         conditional code.
40561         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40562         unconditional.
40563         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40564         conditional code.
40565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40566         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40567         unconditional.
40568         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40569         conditional code.
40570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
40571         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40572         code unconditional.
40573         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40574         conditional code.
40575         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40576         unconditional.
40577         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40578         conditional code.
40579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
40580         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
40581         code unconditional.
40582         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40583         conditional code.
40584         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
40585         unconditional.
40586         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
40587         conditional code.
40589 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
40591         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
40592         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
40593         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
40594         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
40595         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
40596         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
40597         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
40598         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
40599         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
40600         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
40601         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
40602         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
40603         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
40604         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
40605         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
40606         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
40607         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
40608         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
40609         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
40610         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
40611         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
40612         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
40613         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40615 2012-07-25  Florian Weimer  <fweimer@redhat.com>
40617         * Versions.def: Add GLIBC_2.17.
40618         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
40619         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
40620         Introduce __libc_secure_getenv.
40621         * stdlib/Versions (2.17): Add secure_getenv
40622         (GLIBC_PRIVATE): Add __libc_secure_getenv.
40623         * stdlib/secure-getenv.c: Rename __secure_getenv to
40624         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
40625         symbol __secure_getenv for GLIBC_2.0.
40626         * stdlib/tst-secure-getenv.c: New.
40627         * stdlib/Makefile (tests): Add testcase.
40628         * manual/startup.texi (Environment Access): Document
40629         secure_getenv.
40630         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
40631         __libc_secure_getenv.
40632         * inet/ruserpass.c (ruserpass): Likewise.
40633         * malloc/mtrace.c (mtrace): Likewise.
40634         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
40635         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
40636         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
40637         * sysdeps/posix/tempname.c: Likewise.  Evaluate
40638         HAVE_SECURE_GETENV.
40639         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
40640         __secure_getenv to __libc_secure_getenv.
40641         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
40642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40643         Likewise.
40644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40645         Likewise.
40646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40651         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40654 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
40656         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
40657         (struct La_i86_retval): Likewise.
40658         (struct La_x86_64_regs): Likewise.
40659         (struct La_x86_64_retval): Likewise.
40660         (struct La_x32_regs): Likewise.
40661         (struct La_x32_retval): Likewise.
40662         (struct La_ppc32_regs): Likewise.
40663         (struct La_ppc32_retval): Likewise.
40664         (struct La_ppc64_regs): Likewise.
40665         (struct La_ppc64_retval): Likewise.
40666         (struct La_sh_regs): Likewise.
40667         (struct La_sh_retval): Likewise.
40668         (struct La_s390_32_regs): Likewise.
40669         (struct La_s390_32_retval): Likewise.
40670         (struct La_s390_64_regs): Likewise.
40671         (struct La_s390_64_retval): Likewise.
40672         (struct La_sparc32_regs): Likewise.
40673         (struct La_sparc32_retval): Likewise.
40674         (struct La_sparc64_regs): Likewise.
40675         (struct La_sparc64_retval): Likewise.
40676         (struct audit_ifaces): Remove architecture-specific pltenter and
40677         pltexit members.
40678         * sysdeps/i386/ldsodefs.h: New file.
40679         * sysdeps/powerpc/ldsodefs.h: Likewise.
40680         * sysdeps/s390/ldsodefs.h: Likewise.
40681         * sysdeps/sh/ldsodefs.h: Likewise.
40682         * sysdeps/sparc/ldsodefs.h: Likewise.
40683         * sysdeps/x86_64/ldsodefs.h: Likewise.
40685 2012-07-25  Marek Polacek  <polacek@redhat.com>
40687         [BZ #6808]
40688         * math/libm-test.inc (yn_test): Add another test.
40689         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40690         to ERANGE when the result is +-Inf.
40691         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40692         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40693         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40694         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40696 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40698         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40699         equal to 0.
40700         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40701         clock_t.
40702         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40704 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40706         * configure.in <sysdeps resolving>: Correct printing
40707         Implies_before.
40708         * configure: Regenerate.
40710 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40712         * math/w_ilogb.c: Include <limits.h>.
40713         * math/w_ilogbl.c: Likewise.
40715 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40717         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40718         va_copy.  Document allowing for unavailable va_copy only as
40719         pre-C99 compatibility.
40720         * manual/string.texi (Copying and Concatenation): Use va_copy
40721         instead of __va_copy in concat example.
40723 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40725         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40726         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40727         it if not null.
40729         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40730         with O_NOLINK passed to __file_name_lookup.
40732         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40733         with O_NOLINK passed to __file_name_lookup.
40735         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40736         negative N or less than NGIDS.
40738         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40739         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40740         enough.  Use memcpy instead of strncpy.
40742 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40744         * elf/Makefile (check-data): Remove.
40745         (localplt.data): New vpath directive.
40746         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40747         instead of $(check-data).
40748         * scripts/data/localplt-generic.data: Move to ...
40749         * sysdeps/generic/localplt.data: ... here.
40750         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40751         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40752         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40754         ... here.
40755         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40757         ... here.
40758         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40759         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40760         ... here.
40761         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40763         ... here.
40764         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40766         ... here.
40767         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40768         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40769         ... here.
40771 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40773         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40774         PPC32 and PPC64 files.
40775         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40776         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40778 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40780         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40781         __makecontext_ret to ...
40782         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40783         ... here and call exit if uc_link is NULL.  New file.
40784         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40785         __makecontext_ret.S.
40786         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40787         __makecontext_ret to ...
40788         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40789         ... here and call exit if uc_link is NULL.  New file.
40790         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40791         __makecontext_ret.S.
40793 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40795         * elf/elf.h (R_390_IRELATIVE): New definition.
40796         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40797         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40798         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40799         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40800         (elf_machine_lazy_rel): Likewise.
40801         * sysdeps/s390/dl-irel.h: New file.
40802         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40803         * sysdeps/s390/s390-64/memset.S: New asm code.
40804         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40805         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40806         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40807         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40808         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40809         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40810         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40811         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40812         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40813         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40814         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40815         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40816         * sysdeps/s390/s390-32/memset.S: New asm code.
40817         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40819 2012-07-17  Marek Polacek  <polacek@redhat.com>
40821         [BZ #14349]
40822         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40823         * sysdeps/s390/s390-64/configure.in: Likewise.
40824         * sysdeps/sparc/configure.in: Likewise.
40825         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40826         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40827         * sysdeps/i386/configure.in: Likewise.
40828         * sysdeps/x86_64/configure.in: Likewise.
40829         * sysdeps/sh/configure.in: Likewise.
40830         * sysdeps/s390/s390-32/configure: Regenerated.
40831         * sysdeps/s390/s390-64/configure: Likewise.
40832         * sysdeps/x86_64/configure: Likewise.
40833         * sysdeps/sh/configure: Likewise.
40834         * sysdeps/powerpc/powerpc64/configure: Likewise.
40835         * sysdeps/powerpc/powerpc32/configure: Likewise.
40836         * sysdeps/sparc/configure: Likwise.
40837         * sysdeps/i386/configure: Likewise.
40839         * elf/dl-open.c: Comment fixes.
40841 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
40843         * Makefile [CXX] (check-data): Remove.
40844         [CXX] (c++-types.data): New vpath directive.
40845         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40846         vpath.  Do not allow for C++ type data being missing.
40847         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40848         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40849         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40850         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40851         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40852         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40853         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40855         ... here.
40856         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40858         ... here.
40859         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40861         ... here.
40862         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40864         ... here.
40865         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40866         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40867         ... here.
40868         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40870         ... here.
40871         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40873         ... here.
40874         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40875         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40877         * elf/tls-macros.h (TLS_LE): Move architecture-specific
40878         definitions to architecture-specific files.
40879         (TLS_IE): Likewise.
40880         (TLS_LD): Likewise.
40881         (TLS_GD): Likewise.
40882         * sysdeps/i386/tls-macros.h: New file.
40883         * sysdeps/powerpc/tls-macros.h: Likewise.
40884         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40885         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40886         * sysdeps/sh/tls-macros.h: Likewise.
40887         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40888         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40889         * sysdeps/x86_64/tls-macros.h: Likewise.
40891 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40893         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40894         zero value for regular exit case.
40896         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40897         (__start_context): Preserve zero value for regular exit case.
40899 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40900             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40902         * manual/setjmp.texi (setcontext): Clarify normal process
40903         termination when uc_link is the null pointer.
40904         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40905         exit call.
40907 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
40909         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40910         preprocessor.  Test for each exception mask separately.
40912 2012-07-16  Andreas Jaeger  <aj@suse.de>
40914         * po/ru.po: Update from translation team.
40916 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
40918         * conform/data/string.h-data (NULL): Use macro-constant.  Require
40919         equal to 0.
40920         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40921         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40922         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40923         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40924         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40926 2012-07-13  Andreas Jaeger  <aj@suse.de>
40928         * po/fr.po: Update from translation team.
40930 2012-07-12  Marek Polacek  <polacek@redhat.com>
40932         [BZ #14173]
40933         * math/libm-test.inc (yn_test): Add test for BZ #14173.
40934         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40935         loop condition.
40937 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
40939         [BZ #13717]
40940         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40941         Change to 2.4.1 where previously 2.4.0.
40942         * sysdeps/unix/sysv/linux/configure: Regenerated.
40943         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40944         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40945         version.
40946         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40947         (__ASSUME_AT_CLKTCK): Remove.
40948         (__ASSUME_AT_PAGESIZE): Likewise.
40949         (__ASSUME_AT_XID): Likewise.
40950         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40951         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40952         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40953         unconditionally.
40954         (HAVE_AUX_PAGESIZE): Likewise.
40955         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40956         [__ASSUME_AT_CLKTCK]: Make code unconditional.
40957         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40959 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
40961         [BZ #14307]
40962         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40963         the temporary buffer used to invoke __gethostbyname2_r,
40964         __gethostbyaddr_r and gethostbyname4_r to make room for struct
40965         host_data / struct gaih_addrtuple.
40966         * resolv/nss_dns/dns-host.c (global scope): Move definition of
40967         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40968         header file nss/nsswitch.h.
40969         * nss/nsswitch.h (global scope): Add definition of implementation
40970         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40971         resolv/nss_dns/dns-host.c).
40973 2012-07-11  Andreas Jaeger  <aj@suse.de>
40975         * po/fr.po: Update from translation team.
40977         * po/sv.po: Update from translation team
40978         * po/fr.po: Another update from translation team.
40980 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40982         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40983         for subnormals or multiply small sinh result by itself.
40984         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40987 2012-07-11  David S. Miller  <davem@davemloft.net>
40989         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40991 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
40993         [BZ #14347]
40994         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40995         (INTERNAL_MARK): Shift it here.
40997 2012-07-10  Marek Polacek  <polacek@redhat.com>
40999         [BZ #14151]
41000         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
41001         libc_cv_asm_global_directive with .globl.
41002         * configure: Regenerated.
41003         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41004         with .globl.
41005         * sysdeps/i386/configure: Regenerated.
41006         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41007         with .globl.
41008         * sysdeps/x86_64/configure: Regenerated.
41009         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41010         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41011         * elf/tst-unique2mod2.c: Likewise.
41012         * elf/tst-unique2mod1.c: Likewise.
41013         * elf/tst-unique1mod2.c: Likewise.
41014         * elf/tst-unique1mod1.c: Likewise.
41015         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41016         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41017         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41018         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41019         * sysdeps/mach/sysdep.h: Likewise.
41020         * sysdeps/i386/sysdep.h: Likewise.
41021         * sysdeps/i386/i386-mcount.S: Likewise.
41022         * sysdeps/x86_64/_mcount.S: Likewise.
41023         * sysdeps/x86_64/sysdep.h: Likewise.
41024         * sysdeps/sh/_mcount.S: Likewise.
41025         * sysdeps/sh/sysdep.h: Likewise.
41026         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41027         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41028         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41029         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41030         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41031         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41032         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41033         * locale/localeinfo.h: Likewise.
41034         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41035         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41037 2012-07-09  Roland McGrath  <roland@hack.frob.com>
41039         [BZ #14336]
41040         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41041         system".
41042         * manual/message.texi (The Uniforum approach): Likewise.
41043         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41044         (glibc iconv Implementation): Likewise.
41046 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
41048         [BZ #14337]
41049         * math/s_clog.c (__clog): Avoid scaling a value down where that
41050         could result in underflow.
41051         * math/s_clog10.c (__clog10): Likewise.
41052         * math/s_clog10f.c (__clog10f): Likewise.
41053         * math/s_clog10l.c (__clog10l): Likewise.
41054         * math/s_clogf.c (__clogf): Likewise.
41055         * math/s_clogl.c (__clogl): Likewise.
41056         * math/libm-test.inc (clog_test): Add more tests.
41057         (clog10_test): Likewise.
41058         * sysdeps/i386/fpu/libm-test-ulps: Update.
41059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41061 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
41063         [BZ #14283]
41064         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41065         by 7 not 8 to examine high bit of fractional part.
41067         [BZ #14042]
41068         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41069         for call to __mcount_internal.
41070         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41071         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41072         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41074 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
41076         [BZ #14154]
41077         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41078         approximation for values within 0x1p-13f of an odd multiple of
41079         pi/4.
41080         * math/libm-test.inc (tan_test): Do not allow spurious underflow
41081         exception.  Add more tests.
41082         * sysdeps/i386/fpu/libm-test-ulps: Update.
41084         [BZ #6778]
41085         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41086         inputs and return -1 for them.  Do not check for +Inf in case not
41087         reachable for +Inf.
41088         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41089         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41090         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41091         and return -1 for them.  Do not check for +Inf in case not
41092         reachable for +Inf.
41093         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41094         define.
41095         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41096         and return -1 for them.  Do not check for +Inf in case not
41097         reachable for +Inf.
41098         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
41099         spurious underflow.
41100         * sysdeps/i386/fpu/libm-test-ulps: Update.
41101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41103 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
41105         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41107 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
41109         [BZ #14157]
41110         [BZ #14331]
41111         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41112         could result in spurious underflow.  Scale down values above
41113         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41114         * math/s_csqrtf.c (__csqrtf): Likewise.
41115         * math/s_csqrtl.c (__csqrtl): Likewise.
41116         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
41117         spurious underflow.
41118         * sysdeps/i386/fpu/libm-test-ulps: Update.
41119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41121 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
41123         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41124         xopen-msg.sed.
41125         * catgets/xopen-msg.awk: New file.
41126         * catgets/xopen-msg.sed: Removed.
41128         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41129         po2text.sed.
41130         * intl/po2test.awk: New file.
41131         * intl/po2test.sed: Removed.
41133 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
41135         [BZ #14328]
41136         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41137         or multiply small sinh result by itself.
41138         * math/s_ctanf.c (__ctanf): Likewise.
41139         * math/s_ctanh.c (__ctanh): Likewise.
41140         * math/s_ctanhf.c (__ctanhf): Likewise.
41141         * math/s_ctanhl.c (__ctanhl): Likewise.
41142         * math/s_ctanl.c (__ctanl): Likewise.
41143         * math/libm-test.inc (ctan_test_tonearest): New function.
41144         (ctan_test_towardzero): Likewise.
41145         (ctan_test_downward): Likewise.
41146         (ctan_test_upward): Likewise.
41147         (ctanh_test_tonearest): Likewise.
41148         (ctanh_test_towardzero): Likewise.
41149         (ctanh_test_downward): Likewise.
41150         (ctanh_test_upward): Likewise.
41151         (main): Call these new functions.
41152         * sysdeps/i386/fpu/libm-test-ulps: Update.
41153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41155 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
41157         * .gitignore: Delete /ports entry.
41159 2012-07-03  Andreas Jaeger  <aj@suse.de>
41161         * po/bg.po: Update from translation team.
41162         * po/cs.po: Likewise.
41163         * po/de.po: Likewise.
41164         * po/hr.po: Likewise.
41165         * po/nl.pl: Likewise.
41166         * po/pl.po: Likewise.
41167         * po/vi.po: Likewise.
41169 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
41171         * Makeconfig [!+link] (+link-before-libc): New variable.
41172         [!+link] (+link-after-libc): Likewise.
41173         [!+link] (+link-tests): Likewise.
41174         [!+link] (+link): Define in terms of $(+link-before-libc) and
41175         $(+link-after-libc).
41176         [!+link-static] (+link-static-before-libc): New variable.
41177         [!+link-static] (+link-static-after-libc): Likewise.
41178         [!+link-static] (+link-static-tests): Likewise.
41179         [!+link-static] (+link-static): Define in terms of
41180         $(+link-static-before-libc) and $(+link-static-after-libc).
41181         [build-shared] (link-libc-before-gnulib): New variable.
41182         [build-shared] (link-libc-tests): Likewise.
41183         [build-shared] (link-libc): Define in terms of
41184         $(link-libc-before-gnulib).
41185         [!build-shared] (link-libc-tests): New variable.
41186         (link-libc-static-tests): New variable.
41187         [!gnulib] (gnulib-arch): New variable.
41188         [!gnulib] (gnulib-tests): Likewise.
41189         [!gnulib] (static-gnulib-arch): Likewise.
41190         [!gnulib] (static-gnulib-tests): Likewise.
41191         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
41192         Define with "=" instead of ":=".
41193         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
41194         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
41195         * Rules (binaries-all-notests): New variable.
41196         (binaries-all-tests): Likewise.
41197         (binaries-static-notests): Likewise.
41198         (binaries-static-tests): Likewise.
41199         (binaries-all): Define using $(binaries-all-notests) and
41200         $(binaries-all-tests).
41201         (binaries-static): Define using $(binaries-static-notests) and
41202         $(binaries-static-tests).
41203         (binaries-shared-tests): New variable.
41204         (binaries-shared-notests): Likewise.
41205         (binaries-shared): Remove variable.
41206         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41207         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41208         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41209         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41210         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41211         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41212         * elf/Makefile (sln-modules): New variable.
41213         (extra-objs): Add $(sln-modules:=.o).
41214         (ldconfig-modules): Add static-stubs.
41215         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41216         * elf/static-stubs.c: New file.
41218         [BZ #14283]
41219         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41220         by 7 not 8 to examine high bit of fractional part.  Use volatile
41221         variables when splitting into final array of floats if
41222         __FLT_EVAL_METHOD__ != 0.
41223         * math/libm-test.inc (cos_test): Add another test.
41224         (sin_test): Likewise.
41225         * sysdeps/i386/fpu/libm-test-ulps: Update.
41227         [BZ #14273]
41228         * math/libm-test.inc (cosh_test): Add more tests.
41230         * version.h (RELEASE): Set to "development".
41231         (VERSION): Set to "2.16.90".
41233 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
41235         * NEWS: Update copyright. Remove last-updated date.
41236         Mention math library bug fixes and timezone data changes.
41237         * README: Mention GNU/Hurd, x32, and HPPA support status.
41239 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
41241         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41243 2012-06-27  Andreas Jaeger  <aj@suse.de>
41245         * manual/contrib.texi (Contributors): Add Samuel Thibault.
41247 2012-06-25  Andreas Jaeger  <aj@suse.de>
41249         * sysdeps/s390/fpu/libm-test-ulps: Update.
41251 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
41252             Thomas Schwinge  <thomas@codesourcery.com>
41254         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41255         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41256         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41257         fanotify_mark.
41259 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
41261         * sysdeps/mach/start.c: Remove file.
41262         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41263         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41264         * sysdeps/sh/init-first.c: Likewise.
41266         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41267         registers for frame unwinding purposes, add CFI directives.
41268         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41269         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41270         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41271         Likewise.
41273         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41274         __fortify_fail returning.
41275         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41277         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41278         sysdeps/sh/____longjmp_chk.S.
41279         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41280         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41281         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41282         (gen-as-const-headers): Append sigaltstack-offsets.sym.
41284         * sysdeps/sh/abort-instr.h: New file.
41285         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41286         process in case exit returns.
41288         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41289         initialize the GOT register before use.
41291         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41292         calculation of ARGC > 4.
41294         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41295         meaningful names to some local labels.
41297 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41298             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41300         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41301         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41302         (__arch_compare_and_exchange_val_16_acq): Likewise.
41303         (__arch_compare_and_exchange_val_32_acq): Likewise.
41304         (atomic_exchange_and_add): Fix gUSA sequence.
41305         (atomic_add): Likewise.
41306         (atomic_add_negative): Likewise.
41307         (atomic_add_zero): Likewise.
41308         (atomic_bit_test_set): Likewise.
41310 2012-06-22  Andreas Schwab  <schwab@redhat.com>
41312         [BZ #13579]
41313         * include/link.h (struct link_map): Add l_free_initfini.
41314         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41315         l_initfini.
41316         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41317         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41318         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41319         set.
41321 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
41323         * configure.in: Use AC_LANG_SOURCE.
41324         * configure: Regenerate.
41326 2012-06-22  Roland McGrath  <roland@hack.frob.com>
41328         * configure.in (libc_cv_localstatedir): New substituted variable.
41329         * configure: Regenerated.
41330         * config.make.in (localstatedir): New variable, substituted from
41331         libc_cv_localstatedir.
41332         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41333         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41334         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41335         * sysdeps/gnu/configure: Regenerated.
41337 2012-06-21  Jeff Law  <law@redhat.com>
41339         [BZ #14277]
41340         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41341         free.  Simplify list management for _LIBC case.
41343 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
41345         [BZ #14273]
41346         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41347         Clear sign bit of 64-bit integer value before comparing against
41348         overflow value.
41350         * sysdeps/mach/configure: Regenerated.
41352 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
41354         [BZ #14278]
41355         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41357 2012-06-21  Jeff Law  <law@redhat.com>
41359         [BZ #13882]
41360         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
41361         uint16_t for elements in the "seen" array to avoid char overflows.
41362         * elf/dl-fini.c (_dl_sort_fini): Likewise.
41363         * elf/dl-open.c (dl_open_worker): Likewise.
41365 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
41367         * scripts/list-sources.sh: Scan PORTS for translations.
41368         * po/libc.pot: Regenerated.
41370 2012-06-21  Andreas Jaeger  <aj@suse.de>
41372         [BZ #12194]
41373         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41374         warning.
41375         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41376         * bits/byteswap-16.h (__bswap_16): Likewise.
41377         * bits/byteswap.h (__bswap_constant_16): Likewise.
41379 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
41381         [BZ #14117]
41382         * sysdeps/i386/fpu_control.h: Removed.
41383         * sysdeps/x86_64/fpu_control.h: Moved to ...
41384         * sysdeps/x86/fpu_control.h: Here.
41386         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41387         (_FPU_SETCW): Likewise.
41389 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
41391         [BZ #14117]
41392         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41393         * sysdeps/x86/fpu/bits/mathinline.h: This.
41394         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41396         [BZ #14050]
41397         [BZ #14117]
41398         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41399         functions if __x86_64__ is defined.
41401 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
41403         * string/endian.h: Add !__ASSEMBLER__ condition for including
41404         conversion interfaces.
41406 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
41408         [BZ #14241]
41409         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41410         of ABS(x) in calculating zero to negative powers other than odd
41411         integers.
41412         * math/libm-test.inc (pow_test): Add more tests.
41414 2012-06-15  Andreas Jaeger  <aj@suse.de>
41416         * manual/contrib.texi (Contributors): Update entry of Liubov
41417         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
41418         Machado Filho.
41420 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
41422         * string/string.h: Add __wur to GNU version of strerror_r.
41424 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
41426         [BZ #14229]
41427         * string/Makefile (tests): Add tst-strtok_r.
41428         * string/tst-strtok_r.c: New file.
41429         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
41430         RAX_LP/RDX_LP on SAVE_PTR.
41432 2012-06-14  Roland McGrath  <roland@hack.frob.com>
41434         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
41436 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
41438         * libm_test.inc (csqrt_test): Allow more spurious underflow
41439         exceptions.
41440         (j0_test): Likewise.
41441         (j1_test): Likewise.
41442         (y0_test): Likewise.
41443         (y1_test): Likewise.
41445 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
41447         * po/Makefile (libc.pot): Use UTF-8 charset.
41449 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
41451         [BZ #14210]
41452         Suppress sign-conversion warning from FD_SET.
41453         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
41454         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
41455         not unsigned long int.
41456         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
41458 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
41460         [BZ #14050]
41461         [BZ #14117]
41462         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
41463         __extern_always_inline instead of __extern_inline.
41464         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
41465         (__signbit): Likewise.
41466         (__signbitl): Support C++ namespace.
41467         (lrintf): New inline function.
41468         (lrint): Likewise.
41469         (llrintf): Likewise.
41470         (llrint): Likewise.
41471         (fmaxf): Likewise.
41472         (fmax): Likewise.
41473         (fminf): Likewise.
41474         (fmin): Likewise.
41475         (rint): Likewise.
41476         (rintf): Likewise.
41477         (ceil): Likewise.
41478         (ceilf): Likewise.
41479         (floor): Likewise.
41480         (floorf): Likewise.
41481         (nearbyint): Likewise.
41482         (nearbyintf): Likewise.
41484 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
41486         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
41487         non-default versions.
41489 2012-06-11  Roland McGrath  <roland@hack.frob.com>
41491         [BZ #14218]
41492         * manual/argp.texi (Argp): Reword argp_parse description slightly.
41494 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
41496         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
41497         (FE_UPWARD, FE_DOWNWARD): Don't define.
41498         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
41499         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41501         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
41502         reading it.
41503         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41504         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41506 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41508         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41509         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
41510         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
41511         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
41513 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
41515         [BZ #14117]
41516         * sysdeps/i386/fpu/bits/fenv.h: Removed.
41517         * sysdeps/i386/fpu/Implies: New file.
41518         * sysdeps/x86_64/fpu/Implies: Likewise.
41519         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
41520         * sysdeps/x86/fpu/bits/fenv.h: This.
41522         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
41523         __SSE_MATH__.
41525 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
41527         [BZ #14134]
41528         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
41529         character 0xffff that matches the last element of the
41530         conversion table.
41532 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41534         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
41535         fmodl commit.
41537 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41539         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
41540         values higher than 25.6283.
41542 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41544         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
41545         subnormal exponent extraction and add some __builtin_expect.
41546         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
41547         Fix for subnormal mantissa calculation.
41549 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
41551         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
41552         cpu2 is -1 and errno is not ENOSYS.
41554 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
41556         [BZ #14117]
41557         * sysdeps/i386/i486/bits/string.h: Renamed to ...
41558         * sysdeps/x86/bits/string.h: This.
41559         * sysdeps/x86_64/bits/string.h: Removed.
41561         * sysdeps/i386/i486/bits/string.h: Define inline functions only
41562         if not compiling for x86-64, but compiling for >= i486.
41564         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
41565         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
41567         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
41568         New macro from Linux kernel 3.4.0.
41569         (FP_XSTATE_MAGIC2): Likewise.
41570         (FP_XSTATE_MAGIC2_SIZE): Likewise.
41571         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
41572         (struct _fpx_sw_bytes): New struct.
41573         (struct _xsave_hdr): Likewise.
41574         (struct _ymmh_state): Likewise.
41575         (struct _xstate): Likewise.
41577         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
41578         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
41579         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
41580         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
41581         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
41582         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
41584         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
41585         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
41586         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
41587         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
41588         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
41589         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
41591 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41593         [BZ #13743]
41594         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
41595         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
41596         (sysdep_headers): Include sys/platform/ppc.h.
41597         * sysdeps/powerpc/test-gettimebase.c: Test for
41598         __ppc_get_timebase() to catch future ISA opcode/insn changes.
41599         * manual/Makefile (appendices): Include platform.texi.
41600         * manual/contrib.texi (Contributors): Update @node pointers.
41601         * manual/maint.texi (Maintenance): Likewise.
41602         (Platform): New node.
41603         * manual/platform.texi: New file.  Document the new features.
41605 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41606             Jakub Jelinek  <jakub@redhat.com>
41608         [BZ #14188]
41609         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
41610         where __builtin_expect is unavailable.
41612 2012-06-03  David S. Miller  <davem@davemloft.net>
41614         * stdlib/longlong.h: Updated from GCC.
41616 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
41618         [BZ #14042]
41619         * sysdeps/powerpc/powerpc32/mcount.c: New file.
41620         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
41621         __mcount_internal.
41622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41623         (GLIBC_2.16): Likewise.
41625 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41627         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
41629 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
41632         (default-abi): New variable.
41633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
41634         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
41635         variable.
41636         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
41637         Likewise.
41638         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
41639         Likewise.
41640         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
41641         Likewise.
41643         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
41644         definition.  Document in comment.
41646 2012-06-01  David S. Miller  <davem@davemloft.net>
41648         * stdlib/longlong.h: Updated from GCC.
41650 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41652         [BZ #14117]
41653         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
41654         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
41655         sys/debugreg.h sys/io.h here.
41656         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
41657         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
41658         sys/io.h.
41659         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41660         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41661         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41662         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41663         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41664         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41666         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41667         Define only if __x86_64__ is defined.
41669 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41671         [BZ #14048]
41672         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41673         Use int64_t for variable i.
41674         * math/libm-test.inc (fmod_test): Add more tests.
41676         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41677         z computation is not scheduled after fetestexcept.
41678         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41679         Use math_force_eval instead of asm to ensure calculation scheduled
41680         before exception test.
41681         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41682         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41684 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41687         computation is not scheduled after fetestexcept.
41689 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41691         [BZ #14117]
41692         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41693         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41695 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41697         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41698         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41700 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41702         [BZ #14117]
41703         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41704         <bits/wordsize.h>.
41705         (__WCHAR_MIN): Support __WORDSIZE == 64.
41706         (__WCHAR_MAX): Likewise.
41708         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41709         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41711         [BZ #14183]
41712         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41713         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41715         [BZ #14117]
41716         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41717         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41719         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41720         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41722         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41723         Defined to 1 if __x86_64__ isn't defined.
41724         (_STAT_VER_LINUX_OLD): New.
41725         (st_atime): Remove duplicate.
41726         (st_mtime): Likewise.
41727         (st_ctime): Likewise.
41729 2012-05-31  David S. Miller  <davem@davemloft.net>
41731         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41732         entries.
41734 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41736         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41737         gen-libm-test.pl.
41739         [BZ #14132]
41740         * elf/dl-reloc.c: Include <_itoa.h>.
41741         (_dl_reloc_bad_type): Remove use of INTUSE.
41742         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41743         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41744         * stdio-common/psiginfo.c (psiginfo): Likewise.
41745         * stdio-common/psignal.c (psignal): Likewise.
41746         * string/strsignal.c (strsignal): Likewise.
41747         * include/signal.h (_sys_siglist): Declare hidden proto.
41748         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41749         INTVARDEF with libc_hidden_data_def.
41750         * stdio-common/itoa-udigits.c: Likewise.
41751         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41752         (_itoa_lower_digits_internal): Remove declaration.
41753         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41754         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41755         (_sys_sigabbrev_internal): Remove aliases.
41756         (_sys_siglist): Define hidden alias.
41758 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41760         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41761         bits/sysctl.h.
41763 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41765         [BZ #14117]
41766         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41767         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41769         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41770         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41771         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41772         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41773         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41774         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41776         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41777         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41778         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41780         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41781         with __addr.
41782         (insw): Likewise.
41783         (insl): Likewise.
41784         (outsb): Likewise.
41785         (outsw): Likewise.
41786         (outsl): Likewise.
41788         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41789         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41790         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41792         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41793         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41794         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41795         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41796         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41797         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41799         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41800         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41802         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41803         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41805         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41806         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41807         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41809         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41810         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41811         to ...
41812         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41814         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41815         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41816         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41818         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41819         for x86-64.
41820         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41822 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41824         * math/math.h (M_El): Use two more decimal places.
41825         (M_LOG2El): Likewise.
41826         (M_LOG10El): Likewise.
41827         (M_LN2l): Likewise.
41828         (M_LN10l): Likewise.
41829         (M_PIl): Likewise.
41830         (M_PI_2l): Likewise.
41831         (M_PI_4l): Likewise.
41832         (M_1_PIl): Likewise.
41833         (M_2_PIl): Likewise.
41834         (M_2_SQRTPIl): Likewise.
41835         (M_SQRT2l): Likewise.
41836         (M_SQRT1_2l): Likewise.
41838 2012-05-31  David S. Miller  <davem@davemloft.net>
41840         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41841         values between float registers.
41842         * sysdeps/sparc/sparc64/memset.S: Likewise.
41843         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41845 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
41847         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41848         -D_FORTIFY_SOURCE=1.
41849         (CPPFLAGS-tst-longjmp_chk.c): Define.
41850         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41851         (CPPFLAGS-tst-longjmp_chk2.c): Define.
41852         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41853         CFLAGS-tst-wchar-h.c.
41855 2012-05-31  Marek Polacek  <polacek@redhat.com>
41857         [BZ #14132]
41858         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41859         __endmntent_internal): Remove declaration.
41860         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41861         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41862         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41864 2012-05-30  David S. Miller  <davem@davemloft.net>
41866         * sysdeps/sparc/sparc32/soft-fp/q_util.c
41867         (___Q_simulate_exceptions): Use real FP ops rather than writing
41868         into the %fsr.
41869         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41870         Likewise.
41872 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41874         [BZ #14117]
41875         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41876         * sysdeps/x86/bits/xtitypes.h: This.
41878         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41879         * sysdeps/x86/bits/wordsize.h: This.
41881         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41882         * sysdeps/x86/bits/huge_vall.h: This.
41884         * sysdeps/i386/bits/select.h: Removed.
41885         * sysdeps/x86_64/bits/select.h: Renamed to ...
41886         * sysdeps/x86/bits/select.h: This.
41888         * sysdeps/i386/bits/setjmp.h: Removed.
41889         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41890         * sysdeps/x86/bits/setjmp.h: This.
41892         * sysdeps/i386/bits/mathdef.h: Removed.
41893         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41894         * sysdeps/x86/bits/mathdef.h: This.
41896 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
41898         [BZ #14132]
41899         * include/sys/socket.h (__connect_internal)
41900         (__libc_sa_len_internal): Remove declaration.
41901         (__connect, __libc_sa_len): Declare hidden_proto.
41902         (SA_LEN): Remove use of INTUSE.
41903         * socket/connect.c: Add libc_hidden_def.
41904         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41905         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41906         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41907         alias.
41908         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41909         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41910         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41911         of adding _internal alias.
41913 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41915         [BZ #14117]
41916         * sysdeps/i386/bits/link.h: Removed.
41917         * sysdeps/i386/bits/linkmap.h: Likewise.
41918         * sysdeps/x86_64/bits/link.h: Renamed to ...
41919         * sysdeps/x86/bits/link.h: This.
41920         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41921         * sysdeps/x86/bits/linkmap.h: This.
41923         * sysdeps/i386/bits/endian.h: Removed.
41924         * sysdeps/x86_64/bits/endian.h: Renamed to ...
41925         * sysdeps/x86/bits/endian.h: This.
41927         * sysdeps/i386/bits/byteswap.h: Removed.
41928         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41929         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41930         * sysdeps/x86/bits/byteswap.h: This.
41931         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41932         * sysdeps/x86/bits/byteswap-16.h: This.
41933         * sysdeps/i386/Implies: Add x86.
41934         * sysdeps/x86_64/Implies: Likewise.
41936 2012-05-30  David S. Miller  <davem@davemloft.net>
41938         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41939         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41940         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41941         (FP_TRAPPING_EXCEPTIONS): Define.
41942         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41943         (FP_TRAPPING_EXCEPTIONS): Define.
41944         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41945         subnormals only when inexact has been signalled or underflow
41946         exceptions are enabled.
41947         (_FP_PACK_CANONICAL): Likewise.
41949 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41951         [BZ #14183]
41952         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41953         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41955 2012-05-30  Richard Henderson  <rth@twiddle.net>
41957         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41958         with #ifndef NOT_IN_libc.
41960         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
41961         marked to avoid plt entry.
41963 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41965         [BZ #14112]
41966         * Makeconfig (default-abi): New macro.
41967         (abi-includes): Likewise.
41968         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
41969         $(abi-$(default-abi)-lib-soname) for soname if defined.
41970         ($(common-objpfx)gnu/lib-names.stmp): Generate from
41971         abi-variants.
41972         * Makefile (installed-stubs): Likewise.
41973         * include/stubs-biarch.h: Removed.
41974         * scripts/lib-names.awk: Only handle one library at a time.
41975         * scripts/soversions.awk: Remove WORDSIZE support.
41976         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41977         entries.
41978         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41979         Removed.
41980         (syscall-list-default-condition): Likewise.
41981         (syscall-list-default-condition): Likewise.
41982         (syscall-list-includes): Likewise.
41983         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41984         syscall-list-* with abi-*.  Handle undefined abi-variants.
41985         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41986         * sysdeps/unix/sysv/linux/i386/Implies: New file.
41987         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41988         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41989         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41990         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41991         Removed.
41992         (syscall-list-32-options): Likewise.
41993         (syscall-list-32-condition): Likewise.
41994         (syscall-list-64-options): Likewise.
41995         (syscall-list-64-condition): Likewise.
41996         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41997         macro.
41998         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41999         Renamed to ...
42000         (abi-*): This.
42001         (abi-64-ld-soname): New macro.
42002         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42003         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42004         Renamed to ...
42005         (abi-*): This.
42006         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42007         * sysdeps/x86_64/x32/shlib-versions: Likewise.
42009 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
42011         * sysdeps/unix/sysv/linux/kernel-features.h
42012         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42013         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42014         include <kernel-features.h>.
42015         [!__NR_ftruncate64]: Remove conditional code.
42016         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42017         [__NR_ftruncate64]: Make code unconditional.
42018         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42019         * sysdeps/unix/sysv/linux/truncate64.c: Do not
42020         include <kernel-features.h>.
42021         [!__NR_ftruncate64]: Remove conditional code.
42022         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42023         [__NR_ftruncate64]: Make code unconditional.
42024         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42026         include <kernel-features.h>.
42027         [!__NR_ftruncate64]: Remove conditional code.
42028         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42029         [__NR_ftruncate64]: Make code unconditional.
42030         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42032         include <kernel-features.h>.
42033         [!__NR_ftruncate64]: Remove conditional code.
42034         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42035         [__NR_ftruncate64]: Make code unconditional.
42036         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42038         * configure.in (libc_cv_fpie): Weaken to a compile test using
42039         LIBC_TRY_CC_OPTION.
42040         * configure: Regenerated.
42042 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42044         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42045         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42046         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42047         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42048         Refreshed.
42049         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42050         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42051         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42052         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42054         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42055         Refreshed.
42057 2012-05-27  David S. Miller  <davem@davemloft.net>
42059         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42060         (___Q_zero): New.
42061         (__Q_simulate_exceptions): Return void.  Change to simulate
42062         exceptions by writing into the %fsr.
42063         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42064         (__Qp_handle_exceptions): Likewise.
42065         (numbers): Delete.
42066         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42067         __Qp_handle_exceptions.
42068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42069         __Qp_handle_exceptions.
42070         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42071         as unused and give dummy FP_RND_NEAREST initializer.
42072         (FP_INHIBIT_RESULTS): Define.
42073         (___Q_simulate_exceptions): Update declaration.
42074         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42075         formatting.
42076         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42077         as unused and give dummy FP_RND_NEAREST initializer.
42078         (__Qp_handle_exceptions): Update declaration.
42079         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42080         formatting.
42082 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
42084         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42085         the temporary FPU control word.
42086         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42087         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42088         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42089         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42090         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42091         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42092         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42093         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42094         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42095         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42096         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42098 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42100         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42101         fields.
42103 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
42105         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42106         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42107         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42108         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42109         Likewise.
42110         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42111         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42112         Likewise.
42114 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
42116         * po/h.po: Update from translation team.
42118 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
42120         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42122         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42123         handling of denormals.
42124         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42125         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42126         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42127         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42128         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42129         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42130         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42131         Likewise.
42133 2012-05-26  Marek Polacek  <polacek@redhat.com>
42135         [BZ #14152]
42136         * math/libm-test.inc (fma_test): Don't always expect underflow
42137         exception.
42139 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42141         [BZ #12416]
42142         * elf/tst-execstack.c: Include stackinfo.h.
42143         (do_test): Adjust test case to ensure that pthread_getattr_np
42144         behaviour remains the same after marking stack executable.
42146 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42148         * sysdeps/unix/sysv/linux/kernel-features.h
42149         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42150         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42151         kernel-features.h.
42152         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42153         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42154         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42155         kernel-features.h.
42156         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42157         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42159 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
42161         * configure.in: Define the default includes to being none.
42162         * configure: Regenerated.
42164 2012-05-25  Roland McGrath  <roland@hack.frob.com>
42166         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42167         * sysdeps/x86_64/setjmp.S: Likewise.
42168         * sysdeps/i386/bsd-setjmp.S: Likewise.
42169         * sysdeps/i386/bsd-_setjmp.S: Likewise.
42170         * sysdeps/i386/setjmp.S: Likewise.
42171         * sysdeps/i386/__longjmp.S: Likewise.
42172         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42173         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42175         * include/stap-probe.h: New file.
42176         * configure.in: Handle --enable-systemtap.
42177         * configure: Regenerated.
42178         * config.h.in (USE_STAP_PROBE): New #undef.
42179         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42180         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42181         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42183 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
42185         [BZ #13717]
42186         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42187         to 2.4.0 where earlier.
42188         * sysdeps/unix/sysv/linux/configure: Regenerated.
42189         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42190         <kernel-features.h>.
42191         [__ASSUME_32BITUIDS]: Make code unconditional.
42192         [!__ASSUME_32BITUIDS]: Remove conditional code.
42193         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42194         <kernel-features.h>.
42195         [__ASSUME_32BITUIDS]: Make code unconditional.
42196         [!__ASSUME_32BITUIDS]: Remove conditional code.
42197         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42198         [__ASSUME_32BITUIDS]: Make code unconditional.
42199         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42200         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42201         <kernel-features.h>.
42202         [__ASSUME_32BITUIDS]: Make code unconditional.
42203         [!__ASSUME_32BITUIDS]: Remove conditional code.
42204         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42205         <kernel-features.h>.
42206         [__ASSUME_32BITUIDS]: Make code unconditional.
42207         [!__ASSUME_32BITUIDS]: Remove conditional code.
42208         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42209         <kernel-features.h>.
42210         [__ASSUME_32BITUIDS]: Make code unconditional.
42211         [!__ASSUME_32BITUIDS]: Remove conditional code.
42212         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42213         <kernel-features.h>.
42214         [__ASSUME_32BITUIDS]: Make code unconditional.
42215         [!__ASSUME_32BITUIDS]: Remove conditional code.
42216         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42217         <kernel-features.h>.
42218         [__ASSUME_32BITUIDS]: Make code unconditional.
42219         [!__ASSUME_32BITUIDS]: Remove conditional code.
42220         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42221         <kernel-features.h>.
42222         [__ASSUME_32BITUIDS]: Make code unconditional.
42223         [!__ASSUME_32BITUIDS]: Remove conditional code.
42224         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42225         <kernel-features.h>.
42226         [__ASSUME_32BITUIDS]: Make code unconditional.
42227         [!__ASSUME_32BITUIDS]: Remove conditional code.
42228         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42229         <kernel-features.h>.
42230         [__ASSUME_32BITUIDS]: Make code unconditional.
42231         [!__ASSUME_32BITUIDS]: Remove conditional code.
42232         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42233         <kernel-features.h>.
42234         [__ASSUME_32BITUIDS]: Make code unconditional.
42235         [!__ASSUME_32BITUIDS]: Remove conditional code.
42236         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42237         <kernel-features.h>.
42238         [__ASSUME_32BITUIDS]: Make code unconditional.
42239         [!__ASSUME_32BITUIDS]: Remove conditional code.
42240         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42241         <kernel-features.h>.
42242         [__NR_setresgid] (__setresgid): Do not declare.
42243         [__ASSUME_32BITUIDS]: Make code unconditional.
42244         [!__ASSUME_32BITUIDS]: Remove conditional code.
42245         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42246         <kernel-features.h>.
42247         [__NR_setresuid] (__setresuid): Do not declare.
42248         [__ASSUME_32BITUIDS]: Make code unconditional.
42249         [!__ASSUME_32BITUIDS]: Remove conditional code.
42250         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42251         <kernel-features.h>.
42252         [__ASSUME_32BITUIDS]: Make code unconditional.
42253         [!__ASSUME_32BITUIDS]: Remove conditional code.
42254         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42255         <kernel-features.h>.
42256         [__ASSUME_32BITUIDS]: Make code unconditional.
42257         [!__ASSUME_32BITUIDS]: Remove conditional code.
42258         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42259         <kernel-features.h>.
42260         [__ASSUME_32BITUIDS]: Make code unconditional.
42261         [!__ASSUME_32BITUIDS]: Remove conditional code.
42262         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42263         <kernel-features.h>.
42264         [__ASSUME_32BITUIDS]: Make code unconditional.
42265         [!__ASSUME_32BITUIDS]: Remove conditional code.
42266         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42267         <kernel-features.h>.
42268         [__ASSUME_32BITUIDS]: Make code unconditional.
42269         [!__ASSUME_32BITUIDS]: Remove conditional code.
42270         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42271         <kernel-features.h>.
42272         [__ASSUME_32BITUIDS]: Make code unconditional.
42273         [!__ASSUME_32BITUIDS]: Remove conditional code.
42274         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42275         <kernel-features.h>.
42276         [__ASSUME_32BITUIDS]: Make code unconditional.
42277         [!__ASSUME_32BITUIDS]: Remove conditional code.
42278         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42279         <kernel-features.h>.
42280         [__ASSUME_32BITUIDS]: Make code unconditional.
42281         [!__ASSUME_32BITUIDS]: Remove conditional code.
42282         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42283         <kernel-features.h>.
42284         [__ASSUME_32BITUIDS]: Make code unconditional.
42285         [!__ASSUME_32BITUIDS]: Remove conditional code.
42286         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42287         <kernel-features.h>.
42288         [__ASSUME_32BITUIDS]: Make code unconditional.
42289         [!__ASSUME_32BITUIDS]: Remove conditional code.
42290         * sysdeps/unix/sysv/linux/kernel-features.h
42291         (__ASSUME_SETRESUID_SYSCALL): Remove.
42292         (__ASSUME_SETRESGID_SYSCALL): Likewise.
42293         (__ASSUME_32BITUIDS): Likewise.
42294         (__ASSUME_LDT_WORKS): Likewise.
42295         (__ASSUME_O_DIRECTORY): Likewise.
42296         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42297         architecture but not kernel version.
42298         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42299         (__ASSUME_MMAP2_SYSCALL): Likewise.
42300         (__ASSUME_STAT64_SYSCALL): Likewise.
42301         (__ASSUME_IPC64): Likewise.
42302         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42303         <kernel-features.h>.
42304         [__ASSUME_32BITUIDS]: Make code unconditional.
42305         [!__ASSUME_32BITUIDS]: Remove conditional code.
42306         * sysdeps/unix/sysv/linux/opendir.c: Do not include
42307         <kernel-features.h>.
42308         [__ASSUME_O_DIRECTORY]: Make code unconditional.
42309         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42310         132096]: Remove conditional code.
42311         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42312         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42313         <kernel-features.h>.
42314         [__ASSUME_32BITUIDS]: Make code unconditional.
42315         [!__ASSUME_32BITUIDS]: Remove conditional code.
42316         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42317         <kernel-features.h>.
42318         [__ASSUME_32BITUIDS]: Make code unconditional.
42319         [!__ASSUME_32BITUIDS]: Remove conditional code.
42320         * sysdeps/unix/sysv/linux/setegid.c: Do not include
42321         <kernel-features.h>.
42322         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42323         unconditional.
42324         (__setresgid): Do not declare.
42325         [__ASSUME_32BITUIDS]: Make code unconditional.
42326         [!__ASSUME_32BITUIDS]: Remove conditional code.
42327         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42328         <kernel-features.h>.
42329         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42330         unconditional.
42331         (__setresuid): Do not declare.
42332         [__ASSUME_32BITUIDS]: Make code unconditional.
42333         [!__ASSUME_32BITUIDS]: Remove conditional code.
42334         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42335         <kernel-features.h>.
42336         [__ASSUME_32BITUIDS]: Make code unconditional.
42337         [!__ASSUME_32BITUIDS]: Remove conditional code.
42338         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42339         <kernel-features.h>.
42340         [__ASSUME_32BITUIDS]: Make code unconditional.
42341         [!__ASSUME_32BITUIDS]: Remove conditional code.
42343 2012-05-25  Richard Henderson  <rth@twiddle.net>
42345         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42346         dl_hwcap to ifunc resolver.
42347         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42348         elf_ifunc_invoke.
42349         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42350         dl_hwcap to ifunc resolver.
42351         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42353 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42355         [BZ #14153]
42356         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42357         for |x| <= 2**-26, not 2**-57.
42358         * math/libm-test.inc (acos_test): Do not allow spurious underflow
42359         exception.
42361 2012-05-24  Jeff Law  <law@redhat.com>
42363         * stdio-common/Makefile (tests): Add bug25.
42364         * stdio-common/bug25.c: New test.
42366 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42368         [BZ #13576]
42369         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42370         multiple of MALLOC_ALIGNMENT in size.
42371         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42373 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42375         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42376         Require >= 256.
42377         (FILENAME_MAX): Use macro-int-constant.
42378         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
42379         (_IOFBF): Use macro-int-constant.
42380         (_IOLBF): Likewise.
42381         (_IONBF): Likewise.
42382         (SEEK_CUR): Likewise.
42383         (SEEK_END): Likewise.
42384         (SEEK_SET): Likewise.
42385         (TMP_MAX): Likewise.
42386         (EOF): Use macro-int-constant.  Require < 0.
42387         (NULL): Use macro-constant.  Require == 0.
42388         (stdin): Require type to be FILE *.
42389         (stdout): Likewise.
42390         (stderr): Likewise.
42391         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42392         macro-int-constant.
42393         (EXIT_SUCCESS): Likewise.
42394         (NULL): Use macro-constant.  Require == 0.
42395         (RAND_MAX): Use macro-int-constant.
42396         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42397         [C99-based standards] (strtof): Require function.
42398         [C99-based standards] (strtold): Likewise.
42399         [C99-based standards] (strtoll): Likewise.
42400         [C99-based standards] (strtoull): Likewise.
42401         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42402         [ISO || ISO99 || ISO11] (limits.h): Likewise.
42403         [ISO || ISO99 || ISO11] (math.h): Likewise.
42404         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42405         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42406         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42408 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
42410         [BZ #14132]
42411         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42412         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42413         * intl/dgettext.c (DCGETTEXT): Likewise.
42414         * intl/gettext.c (DCGETTEXT): Likewise.
42415         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
42416         * posix/regex_internal.h (gettext): Likewise.
42417         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
42418         Remove declaration.
42419         * include/argz.h (__argz_count_internal)
42420         (__argz_stringify_internal): Remove declaration.
42421         (__argz_count, __argz_stringify): Declare hidden proto.
42422         * intl/dcgettext.c: Remove use of INTDEF.
42423         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
42424         * string/argz-stringify.c: Likewise.
42425         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42426         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42427         Declare hidden proto.
42428         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
42429         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
42430         Declare hidden proto.
42431         * include/stdio.h (__asprintf_internal): Don't declare.
42432         (__asprintf): Don't define as macro.  Declare hidden proto.
42433         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
42434         (__fsetlocking): Declare hidden proto.
42435         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
42436         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
42437         hidden proto.
42438         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
42439         (_IO_setlinebuf): Remove use of INTUSE.
42440         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
42441         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
42442         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
42443         Remove declaration.
42444         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
42445         (_IO_do_flush): Remove use of INTUSE.
42446         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
42447         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
42448         (_IO_adjust_column, _IO_least_wmarker)
42449         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
42450         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
42451         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
42452         (_IO_default_doallocate, _IO_wdefault_doallocate)
42453         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
42454         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
42455         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
42456         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
42457         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
42458         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
42459         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
42460         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
42461         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
42462         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
42463         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
42464         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
42465         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
42466         proto.
42467         (_IO_flush_all_internal, _IO_adjust_column_internal)
42468         (_IO_default_uflow_internal, _IO_default_finish_internal)
42469         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
42470         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
42471         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
42472         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
42473         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
42474         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
42475         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
42476         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
42477         (_IO_file_close_internal, _IO_file_close_it_internal)
42478         (_IO_file_underflow_internal, _IO_file_overflow_internal)
42479         (_IO_file_init_internal, _IO_file_attach_internal)
42480         (_IO_file_fopen_internal, _IO_file_read_internal)
42481         (_IO_file_sync_internal, _IO_file_seek_internal)
42482         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
42483         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
42484         (_IO_str_underflow_internal, _IO_str_overflow_internal)
42485         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
42486         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
42487         (_IO_list_all_internal, _IO_link_in_internal)
42488         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
42489         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
42490         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
42491         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
42492         (_IO_do_write_internal, _IO_padn_internal)
42493         (_IO_getline_info_internal, _IO_getline_internal)
42494         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
42495         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
42496         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
42497         (_IO_vfscanf_internal, _IO_vfprintf_internal)
42498         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
42499         (_IO_init_internal, _IO_un_link_internal): Don't declare.
42500         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
42501         with libc_hidden_ver, remove use of INTUSE.
42502         * libio/genops.c: Likewise.
42503         * libio/freopen.c: Likewise.
42504         * libio/freopen64.c: Likewise.
42505         * libio/iofclose.c: Likewise.
42506         * libio/iofdopen.c: Likewise.
42507         * libio/iofflush.c: Likewise.
42508         * libio/iofflush_u.c: Likewise.
42509         * libio/iofgets.c: Likewise.
42510         * libio/iofgets_u.c: Likewise.
42511         * libio/iofopen.c: Likewise.
42512         * libio/iofopncook.c: Likewise.
42513         * libio/iofread.c: Likewise.
42514         * libio/iofread_u.c: Likewise.
42515         * libio/ioftell.c: Likewise.
42516         * libio/iofwrite.c: Likewise.
42517         * libio/iogetline.c: Likewise.
42518         * libio/iogets.c: Likewise.
42519         * libio/iogetwline.c: Likewise.
42520         * libio/iopadn.c: Likewise.
42521         * libio/iopopen.c: Likewise.
42522         * libio/ioseekoff.c: Likewise.
42523         * libio/ioseekpos.c: Likewise.
42524         * libio/iosetbuffer.c: Likewise.
42525         * libio/iosetvbuf.c: Likewise.
42526         * libio/ioungetc.c: Likewise.
42527         * libio/ioungetwc.c: Likewise.
42528         * libio/iovdprintf.c: Likewise.
42529         * libio/iovsprintf.c: Likewise.
42530         * libio/iovsscanf.c: Likewise.
42531         * libio/memstream.c: Likewise.
42532         * libio/obprintf.c: Likewise.
42533         * libio/oldfileops.c: Likewise.
42534         * libio/oldiofclose.c: Likewise.
42535         * libio/oldiofdopen.c: Likewise.
42536         * libio/oldiofopen.c: Likewise.
42537         * libio/oldiopopen.c: Likewise.
42538         * libio/oldstdfiles.c: Likewise.
42539         * libio/putc.c: Likewise.
42540         * libio/setbuf.c: Likewise.
42541         * libio/setlinebuf.c: Likewise.
42542         * libio/stdfiles.c: Likewise.
42543         * libio/strops.c: Likewise.
42544         * libio/vasprintf.c: Likewise.
42545         * libio/vscanf.c: Likewise.
42546         * libio/vsnprintf.c: Likewise.
42547         * libio/vswprintf.c: Likewise.
42548         * libio/wfiledoalloc.c: Likewise.
42549         * libio/wfileops.c: Likewise.
42550         * libio/wgenops.c: Likewise.
42551         * libio/wmemstream.c: Likewise.
42552         * libio/wstrops.c: Likewise.
42553         * libio/__fpurge.c: Likewise.
42554         * libio/__fsetlocking.c: Likewise.
42555         * assert/assert.c: Likewise.
42556         * debug/fgets_chk.c: Likewise.
42557         * debug/fgets_u_chk.c: Likewise.
42558         * debug/fread_chk.c: Likewise.
42559         * debug/fread_u_chk.c: Likewise.
42560         * debug/gets_chk.c: Likewise.
42561         * debug/obprintf_chk.c: Likewise.
42562         * debug/vasprintf_chk.c: Likewise.
42563         * debug/vdprintf_chk.c: Likewise.
42564         * debug/vsnprintf_chk.c: Likewise.
42565         * debug/vsprintf_chk.c: Likewise.
42566         * malloc/mtrace.c: Likewise.
42567         * misc/error.c: Likewise.
42568         * misc/syslog.c: Likewise.
42569         * stdio-common/asprintf.c: Likewise.
42570         * stdio-common/fxprintf.c: Likewise.
42571         * stdio-common/getw.c: Likewise.
42572         * stdio-common/isoc99_fscanf.c: Likewise.
42573         * stdio-common/isoc99_scanf.c: Likewise.
42574         * stdio-common/isoc99_vfscanf.c: Likewise.
42575         * stdio-common/isoc99_vscanf.c: Likewise.
42576         * stdio-common/isoc99_vsscanf.c: Likewise.
42577         * stdio-common/printf-prs.c: Likewise.
42578         * stdio-common/printf_fp.c: Likewise.
42579         * stdio-common/printf_fphex.c: Likewise.
42580         * stdio-common/printf_size.c: Likewise.
42581         * stdio-common/putw.c: Likewise.
42582         * stdio-common/scanf.c: Likewise.
42583         * stdio-common/sprintf.c: Likewise.
42584         * stdio-common/tmpfile.c: Likewise.
42585         * stdio-common/vfprintf.c: Likewise.
42586         * stdio-common/vfscanf.c: Likewise.
42587         * stdlib/strfmon_l.c: Likewise.
42588         * sunrpc/openchild.c: Likewise.
42589         * sunrpc/xdr_stdio.c: Likewise.
42590         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
42591         * sysdeps/mach/hurd/tmpfile.c: Likewise.
42593 2012-05-24  Roland McGrath  <roland@hack.frob.com>
42595         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42597         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
42598         in the third column, to generate for the shared library an IFUNC
42599         that uses _dl_vdso_vsym.
42600         * Makerules (COMPILE.c, compile-stdin.c): New variables.
42601         * Makeconfig (object-suffixes-noshared): New variable.
42603         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
42604         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
42605         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
42606         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
42608         [BZ #14132]
42609         * include/sys/time.h (__gettimeofday): Remove macro.
42610         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
42611         * time/gettimeofday.c (__gettimeofday): Remove #undef.
42612         Remove INTDEF.
42613         (__gettimeofday): Add libc_hidden_def.
42614         (gettimeofday): Add libc_hidden_weak.
42615         * sysdeps/mach/gettimeofday.c: Likewise.
42616         * sysdeps/posix/gettimeofday.c: Likewise.
42617         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
42618         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
42619         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
42620         (__gettimeofday_internal): Remove strong_alias.
42621         (__gettimeofday): Add libc_hidden_def.
42622         (gettimeofday): Add libc_hidden_weak.
42623         * sysdeps/unix/syscalls.list (gettimeofday):
42624         Remove __gettimeofday_internal alias.
42626 2012-05-24  Daniel Jacobowitz  <drow@false.org>
42627             H.J. Lu  <hongjiu.lu@intel.com>
42629         [BZ #12495]
42630         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
42631         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
42632         (largebin_index_32_big): New.
42633         (largebin_index): Use it for 16-byte alignment.
42634         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
42635         correction with front_misalign.
42637 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
42639         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
42640         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
42641         Likewise.
42642         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
42643         Likewise.
42644         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
42645         Likewise.
42646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
42647         Likewise.
42648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
42649         Likewise.
42650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
42651         Likewise.
42652         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
42653         Likewise.
42654         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
42655         Likewise.
42656         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
42657         Likewise.
42658         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42659         Likewise.
42660         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42661         Likewise.
42662         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42663         Likewise.
42665         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42666         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42668 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42670         [BZ #10846]
42671         [BZ #14036]
42672         * math/libm-test.inc (exp_test): Add test from bug 14036.
42673         (pow_test): Add test from bug 10846.
42675         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42676         and other flags.
42677         (special_function): Do not include flags in test name.
42678         (parse_args): Likewise.
42679         * sysdeps/i386/fpu/libm-test-ulps: Update.
42680         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42681         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42682         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42683         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42685         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42686         exceptions.
42687         * math/libm-test.inc ("Philosophy"): Update comment about
42688         exception testing.
42689         (UNDERFLOW_EXCEPTION): New macro.
42690         (UNDERFLOW_EXCEPTION_OK): Likewise.
42691         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42692         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42693         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42694         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42695         (INVALID_EXCEPTION_OK): Update value.
42696         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42697         (OVERFLOW_EXCEPTION_OK): Likewise.
42698         (IGNORE_ZERO_INF_SIGN): Likewise.
42699         (test_exceptions): Handle underflow exceptions.
42700         (acos_test): Update for underflow exception expectations.
42701         (cexp_test): Likewise.
42702         (clog_test): Likewise.
42703         (clog10_test): Likewise.
42704         (csqrt_test): Likewise.
42705         (ctan_test): Likewise.
42706         (ctanh_test): Likewise.
42707         (exp_test): Likewise.
42708         (exp10_test): Likewise.
42709         (exp2_test): Likewise.
42710         (expm1_test): Likewise.
42711         (fma_test): Likewise.
42712         (j0_test): Likewise.
42713         (jn_test): Likewise.
42714         (nexttoward_test): Likewise.
42715         (pow_test): Likewise.
42716         (scalbn_test): Likewise.
42717         (scalbln_test): Likewise.
42718         (tan_test): Likewise.
42719         (y1_test): Likewise.
42720         * sysdeps/i386/fpu/libm-test-ulps: Update.
42721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42723 2012-05-23  David S. Miller  <davem@davemloft.net>
42725         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42726         (__libc_sigaction): Remove unused local variables.
42728 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42730         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42732 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42734         mktime: avoid signed integer overflow
42735         * time/mktime.c (__mktime_internal): Do not mishandle the case
42736         where diff == INT_MIN.
42738         mktime: simplify computation of average
42739         * time/mktime.c (ranged_convert): Use new time_t_avg function
42740         instead of rolling our own (probably-slower) code.
42742         mktime: do not assume signed right shift propagates sign bit
42743         * time/mktime.c (isdst_differ): New static function.
42744         (__mktime_internal): No need to normalize tm_isdst now.
42745         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42746         tm_isdst values.
42748         mktime: merge another wrapv change from gnulib
42749         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42750         from some compilers.
42752         mktime: remove incorrect attempt at unusual arithmetics
42753         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42754         The code didn't really work on such machines anyway.
42755         (TYPE_MINIMUM): Assume two's complement.
42756         (twos_complement_arithmetic): Verify that long_int and time_t
42757         are two's complement (or unsigned, in the latter case).
42759         mktime: check signed shifts on long_int and time_t, too
42760         * time/mktime.c (SHR): Check that shifts work as desired
42761         on the types long_int and time_t too, as SHR is used on
42762         such types.
42764         mktime: do not assume 'long' is wide enough
42765         * time/mktime.c (verify): Move decl up.
42766         (long_int): New type.
42767         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42768         to remove assumption in the code that 'long' is wide enough to
42769         store year values.  This assumption is not true on x32 and on
42770         some non-glibc platforms.
42772         mktime: merge wrapv change from gnulib
42773         * time/mktime.c (WRAPV): New macro.
42774         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42775         (guess_time_tm, __mktime_internal): Do not assume that signed
42776         integer overflow wraps around; modern compilers generate code
42777         where this assumption is no longer valid.
42779 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42781         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42782         Replace "jmp L(pseudo_end)" with "ret".
42783         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42784         Likewise.
42786 2012-05-23  Andreas Jaeger  <aj@suse.de>
42788         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42789         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42791 2012-05-23  Andreas Jaeger  <aj@suse.de>
42792             Maximilian Attems  <max@stro.at>
42794         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42795         New macros.
42797 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42799         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42800         code so that pseudo_end is just ret and the stack pointer is
42801         correct also for static library in error case.
42803 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42805         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42806         move to syscalls.list.
42807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42812         * manual/install.texi (Running make install): Do not mention Linux
42813         kernel version for which pt_chown is not needed.
42814         (Linux): Do not mention problems with nscd with 2.0 kernels.
42815         * INSTALL: Regenerated.
42817 2012-05-23  Andreas Jaeger  <aj@suse.de>
42819         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42820         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42821         macro.
42822         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42823         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42824         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42825         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42826         * sysdeps/unix/sysv/linux/i386/bits/mman.h
42827         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42828         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42829         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42830         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42831         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42832         * sysdeps/unix/sysv/linux/bits/in.h
42833         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42835 2012-05-22  Roland McGrath  <roland@hack.frob.com>
42837         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42838         (PREPARE_VERSION): Just use assert instead, it will be elided
42839         under [NDEBUG] anyway.
42841 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42843         * sysdeps/unix/sysv/linux/Makefile: Include
42844         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42845         (sysdep_routines): Remove sysctl.
42846         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42847         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42848         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42849         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42850         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42852 2012-05-22  Andreas Jaeger  <aj@suse.de>
42854         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42855         that pseudo_end is just ret and the stack pointer is correct also
42856         for static library in error case.
42858 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
42860         [BZ #14122]
42861         * nss/nsswitch.c (defconfig_entries): New variable.
42862         (__nss_database_lookup): Don't leak defconfig entries.
42863         (nss_parse_service_list): Don't leak on error paths.
42864         (free_database_entries): New function.
42865         (free_defconfig): New function.
42866         (free_mem): Move common code to free_database_entries.
42868 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42870         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42871         Add arch_prctl.
42872         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42874         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42875         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42876         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42877         New macro.
42878         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42879         (INTERNAL_SYSCALL_TYPES): Likewise.
42880         (LOAD_ARGS_TYPES_[1-6]): Likewise.
42881         (LOAD_REGS_TYPES_[1-6]): Likewise.
42882         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42883         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42885 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42887         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42888         copysignl for GLIBC_2_0.
42889         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42890         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42892         logbl for GLIBC_2_0.
42893         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42894         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42896 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42898         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42899         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42901         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42902         Use "neg %eax".
42904         * time/mktime.c: Update copyright years.
42906 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
42908         mktime: merge comment-quoting-style change from gnulib
42909         * time/mktime.c: Quote 'like this' in comments.
42910         The GNU coding standards suggest that we no longer quote `like this',
42911         as "`" and "'" are typically rendered asymmetrically nowadays.
42912         The typical gnulib style is to quote 'like this' when quoting
42913         code, and "like this" when quoting English.
42915         * time/mktime.c (compile-command): Add "-I.".
42917         mktime: merge mktime-internal.h change from gnulib
42918         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42920         mktime: merge time_r change from gnulib
42921         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42923         mktime: merge DEBUG change from gnulib
42924         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42925         case system <time.h> has a #define.
42927         mktime: merge <sys/types.h> change from gnulib
42928         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42929         since <time.t> is now guaranteed to define time_t.
42931         mktime: merge HAVE_CONFIG_H change from gnulib
42932         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42934 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42936         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42937         Use "neg %eax".
42939         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42940         __rlim_t cast.
42941         (struct rusage): Use anonymous union to pad each field to
42942         __syscall_slong_t.
42944 2012-05-21  David S. Miller  <davem@davemloft.net>
42946         * Makefules (o-iterator): Remove .s cases.
42947         (compile-command.s): Delete.
42948         (COMPILE.s): Delete.
42949         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42951 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
42953         * configure.in (libc_cv_predef_stack_protector): Only consider
42954         "foobar" and "__stack_chk_fail" lines in libc_undefs.
42955         * configure: Regenerated.
42957 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42959         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42960         New macro.  Use R*LP on int and pointer.
42961         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42962         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42963         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42964         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42966         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42967         [__WORDSIZE_TIME64_COMPAT32] instead of
42968         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42969         (struct utmp): Likewise.
42970         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42971         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42972         Renamed to ...
42973         (__WORDSIZE_TIME64_COMPAT32): This.
42974         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42975         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42976         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42977         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42978         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42979         (__WORDSIZE_TIME64_COMPAT32): New macro.
42981 2012-05-21  Andreas Jaeger  <aj@suse.de>
42983         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42984         only if [SHARED]. Add prototype for __wcschr_ia32.
42986 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42988         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42989         of %rbp unmolested in the jmp_buf while mangling the low bits.
42990         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42991         unmolested high bits of %rbp while demangling the low bits.
42992         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42994 2012-05-21  Andreas Jaeger  <aj@suse.de>
42996         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42997         * sunrpc/svc_simple.c: Use it for registerrpc.
42998         * sunrpc/xcrypt.c: Use it for passwd2des.
43000         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43002 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43004         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43005         Don't define if [__SYSCALL_WORDSIZE != 32].
43006         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43007         New macro.
43009 2012-05-21  Bruno Haible  <bruno@clisp.org>
43010             Andreas Jaeger  <aj@suse.de>
43012         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43013         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43014         inptr and inend for must_buffer_ch.
43015         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43016         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43017         * stdio-common/Makefile (tests): Remove bug15.
43018         (bug15-ENV): Remove macro.
43019         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43020         anymore.
43022 2012-05-19  Andreas Jaeger  <aj@suse.de>
43023             Roland McGrath  <roland@hack.frob.com>
43025         * manual/contrib.texi: Completely rewritten. It contains now an
43026         alphabetical list of contributors and their contributions.
43028 2012-05-21  Richard Henderson  <rth@twiddle.net>
43030         * misc/getauxval.c (__getauxval): Use unsigned long int.
43031         * misc/sys/auxv.h: Include <sys/cdefs.h>.
43032         (getauxval): Use unsigned long int.
43034 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
43036         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43038 2012-05-21  Roland McGrath  <roland@hack.frob.com>
43040         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43041         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43042         __alignof__ (long double).
43044 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43046         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43048 2012-05-20  Richard Henderson  <rth@twiddle.net>
43050         * misc/getauxval.c: New file.
43051         * misc/sys/auxv.h: New file.
43052         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43053         (routines): Add getauxval.
43054         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43055         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43056         * elf/dl-sysdep.c (_dl_auxv): Remove.
43057         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43058         * elf/dl-support.c (_dl_auxv): New variable.
43059         (_dl_aux_init): Initialize it.
43060         * manual/startup.texi (Auxiliary Vector): New node.
43061         * sysdeps/generic/bits/hwcap.h: New file.
43062         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43063         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
43064         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43065         * sysdeps/sparc/sysdep.h: ... here.  Include it.
43066         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43067         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
43068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43069         Update.
43070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43073         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43074         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43077         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43079 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43083 2012-05-19  David S. Miller  <davem@davemloft.net>
43085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43087 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43089         [BZ #14123]
43090         * math/s_ccosh.c: Include <float.h>
43091         (__ccosh): Avoid internal overflow calculating sinh and cosh
43092         values before multiplying by sin and cos values.
43093         * math/s_ccoshf.c: Likewise.
43094         * math/s_ccoshl.c: Likewise.
43095         * math/s_csin.c: Likewise.
43096         * math/s_csinf.c: Likewise.
43097         * math/s_csinl.c: Likewise.
43098         * math/s_csinh.c: Likewise.
43099         * math/s_csinhf.c: Likewise.
43100         * math/s_csinhl.c: Likewise.
43101         * math/libm-test.inc (ccos_test): Add more tests.
43102         (ccosh_test): Likewise.
43103         (csin_test): Likewise.
43104         (csinh_test): Likewise.
43105         * sysdeps/i386/fpu/libm-test-ulps: Update.
43106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43108 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
43110         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43111         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43113         * sysdeps/x86_64/x32/_itoa.h: Add comment.
43115 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
43117         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43118         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43119         * sysdeps/powerpc/soft-fp/Versions: Likewise.
43120         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43121         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43122         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43123         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43124         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43125         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43126         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43127         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43128         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43129         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43130         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43131         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43132         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43133         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43134         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43135         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43136         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43137         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43138         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43139         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43140         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43141         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43142         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43143         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43144         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43145         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43146         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43147         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43149 2012-05-18  Andreas Jaeger  <aj@suse.de>
43151         * csu/.gitignore: Delete.
43153 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43155         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43156         (timex): Use __syscall_slong_t.
43158 2012-05-18  Andreas Jaeger  <aj@suse.de>
43159             Carlos O'Donell  <carlos_odonell@mentor.com>
43161         * manual/install.texi (Configuring and compiling): Update
43162         description about files modified in the source directory.
43163         * INSTALL: Regenerated.
43165 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43167         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43168         value.  Use "or" to set return value to -1.
43169         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43170         negate return value.
43172 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43174         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43175         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
43176         failure if the compiler has Graphite support disabled.
43177         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43178         Likewise.
43179         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43180         (CFLAGS-memmove.c): Likewise.
43181         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43182         Likewise.
43184 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
43186         * sysdeps/x86_64/x32/_itoa.h: New file.
43188         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43189         getdents system call only if kernel and user dirents have the
43190         same d_ino and d_off.
43192         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43193         LLONG_MAX != LONG_MAX.
43194         (_itoa_word): Use _ITOA_WORD_TYPE on value.
43195         (_fitoa_word): Likewise.
43197         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43198         years.
43199         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43200         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43201         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43203         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43204         include <bits/wordsize.h>.  Check __x86_64__ instead of
43205         __WORDSIZE.
43206         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43207         if __x86_64__ is defined.  Use anonymous union on fpstate.
43209         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43210         anonymous union.
43212 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
43214         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43215         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43216         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43217         Refer to _rtld_local_ro instead of _rtld_global_ro.
43218         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43219         Likewise.
43220         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43221         Likewise.
43222         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43223         Likewise.
43224         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43225         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43226         of _rtld_global, and rtld_progname instead of _dl_argv[0].
43228         * sysdeps/powerpc/powerpc32/dl-machine.c
43229         (__elf_machine_runtime_setup) [PROF]: Don't reference
43230         _dl_prof_resolve.
43232 2012-05-18  Andreas Jaeger  <aj@suse.de>
43234         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43235         function only available for GCCs before 3.4 since GCC 3.4
43236         introduced a builtin.
43237         (lrint): Likewise.
43238         (llrintf): Likewise.
43239         (llrint): Likewise.
43240         (fmaxf): Likewise.
43241         (fmax): Likewise.
43242         (fminf): Likewise.
43243         (fmin): Likewise.
43244         (rint): Likewise.
43245         (rintf): Likewise.
43246         (nearbyint): Likewise.
43247         (nearbyintf): Likewise.
43248         (ceil): Likewise.
43249         (ceilf): Likewise.
43250         (floor): Likewise.
43251         (floorf): Likewise.
43253 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43255         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43256         on both fields and cast pointer to __syscall_ulong_t.
43258         * bits/types.h (__fsword_t): New type.
43259         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43260         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43261         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43262         (__FSWORD_T_TYPE): Likewise.
43263         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43264         (__FSWORD_T_TYPE): Likewise.
43265         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43266         (__FSWORD_T_TYPE): Likewise.
43267         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43268         (__FSWORD_T_TYPE): Likewise.
43269         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43270         __SWORD_TYPE with __fsword_t.
43271         (statfs64): Likewise.
43273 2012-05-17  David S. Miller  <davem@davemloft.net>
43275         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43277 2012-05-17  Andreas Jaeger  <aj@suse.de>
43279         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43280         warning.
43282 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43284         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43286 2012-05-17  Andreas Jaeger  <aj@suse.de>
43288         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43289         when it is used.
43291 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43293         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43295 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
43297         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43298         * sysdeps/x86_64/tst-mallocalign1.c: New file.
43300 2012-05-17  Andreas Jaeger  <aj@suse.de>
43301             Carlos O'Donell  <carlos_odonell@mentor.com>
43303         [BZ #14059]
43304         * sysdeps/x86_64/multiarch/init-arch.h
43305         (bit_YMM_Usable): Rename to...
43306         (bit_AVX_Usable): ... this.
43307         (bit_FMA4_Usable): New macro.
43308         (bit_XMM_state): New macro.
43309         (bit_YMM_state): New macro.
43310         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43311         [__ASSEMBLER__] (index_AVX_Usable): ... this.
43312         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43313         (CPUID_OSXSAVE): New macro.
43314         (CPUID_AVX): New macro.
43315         (CPUID_FMA4): New macro.
43316         (index_YMM_Usable): Rename to...
43317         (index_AVX_Usable): ... this.
43318         (HAS_AVX): Use HAS_ARCH_FEATURE.
43319         (HAS_FMA4): Likewise.
43320         (HAS_YMM_USABLE): Remove.
43321         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43322         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43323         are present.
43324         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43325         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43326         * sysdeps/x86_64/multiarch/Makefile: Likewise.
43327         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43328         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43330 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
43332         * math/libm-test.c: Support platforms without multiple rounding modes.
43333         * math/bug-nextafter.c: Support platforms without FP exceptions.
43334         * math/bug-nexttoward.c: Likewise.
43335         * math/test-fenv.c: Likewise.
43336         * math/test-misc.c: Likewise.
43337         * stdlib/bug-getcontext.c: Likewise.
43339 2012-05-17  Andreas Jaeger  <aj@suse.de>
43341         * manual/examples/search.c (critter_cmp): Change signature to
43342         avoid warnings.
43343         * manual/string.texi (Collation Functions): Likewise.
43345 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43347         * bits/types.h: Fold copyright years.
43348         * bits/typesizes.h: Likewise.
43349         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43350         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43351         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43352         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43353         * time/time.h: Likewise.
43355 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
43357         [BZ #208]
43358         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43359         in instead of returning them.  Return void.
43360         (__libc_mallinfo): Accumulate over all arenas.
43361         (__malloc_stats): Adjust for change in int_mallinfo interface.
43363 2012-05-16  Roland McGrath  <roland@hack.frob.com>
43365         [BZ #10375]
43366         * configure.in (NM): Add AC_CHECK_TOOL for it.
43367         (libc_extra_cflags): New substituted variable.
43368         Check for -fstack-protector being used implicitly.
43369         * configure: Regenerated.
43370         * config.make.in (config-extra-cflags): New variable,
43371         gets @libc_extra_cflags@.
43372         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43374         [BZ #10375]
43375         * configure.in: Check for _FORTIFY_SOURCE being predefined.
43376         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43377         * configure: Regenerated.
43378         * config.make.in (CPPUNDEFS): New substituted variable.
43379         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43380         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43381         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43383 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43385         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43386         (mq_attr): Use __syscall_slong_t.
43388 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43390         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43391         Check __x86_64__ instead of __WORDSIZE.
43392         (_STAT_VER_LINUX): Likewise.
43393         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
43394         __syscall_ulong_t and __syscall_slong_t.
43395         (stat64): Likewise.
43397 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43399         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43401 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43403         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43405 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43407         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43408         __syscall_ulong_t.
43410         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43411         include <bits/wordsize.h>.  Check __x86_64__ instead of
43412         __WORDSIZE.
43413         (greg_t): Use "__extension__ long long int" if __x86_64__ is
43414         defined.
43415         (mcontext_t): Replace "unsigned long" with "unsigned long long".
43417         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
43418         include <bits/wordsize.h>.  Check __x86_64__ instead of
43419         __WORDSIZE.
43420         (user_regs_struct): Use "__extension__ unsigned long long"
43421         instead of "unsigned long" if __x86_64__ is defined.
43422         (user): Likewise.  Pad after pointer field if __ILP32__ is
43423         defined.
43425 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
43427         * configure.in (makeinfo): Require version 4.5 or later.  Allow
43428         versions 5 to 9.
43429         * configure: Regenerated.
43430         * manual/install.texi (texinfo): Increase version requirement to
43431         4.5 or later.
43432         * INSTALL: Regenerated.
43434         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
43436 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
43438         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
43440         * sysdeps/x86_64/x32/ffs.c: New file.
43442         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
43443         __syscall_ulong_t.
43444         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
43445         defined.  Use __syscall_ulong_t.
43446         (shminfo): Use __syscall_ulong_t.
43447         (shm_info): Likewise.
43449         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
43450         __syscall_ulong_t.
43452         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
43453         <bits/wordsize.h>.
43454         (msgqnum_t): Use __syscall_ulong_t.
43455         (msglen_t): Likewise.
43456         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
43457         __syscall_ulong_t.
43459         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
43460         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43462         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
43464         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
43465         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
43467         * sysvipc/sys/msg.h (msgbuf): Replace long int with
43468         __syscall_slong_t.
43470         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
43471         include <bits/wordsize.h>.  Check __x86_64__ instead of
43472         __WORDSIZE.
43474         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
43475         "unsigned long long int" if __x86_64__ is defined.
43476         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
43478         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
43479         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
43480         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
43482         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
43483         <stdint.h>.
43484         (GET_PC): Cast to uintptr_t first.
43485         (GET_FRAME): Likewise.
43486         (GET_STACK): Likewise.
43488         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
43489         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
43490         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
43491         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
43492         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
43493         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
43494         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
43495         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
43496         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
43497         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
43498         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
43499         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
43500         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43501         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
43502         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
43503         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
43504         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
43505         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
43506         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
43507         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
43508         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
43509         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
43510         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
43511         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
43512         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
43513         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
43514         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
43515         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
43516         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
43518 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
43520         * Makerules (+depfiles): Also collect depfiles from .oS in
43521         $(extra-objs).
43522         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
43523         .oS, $(libnldbl-routines)).
43525         * Makerules (native-compile-mkdep-flags): Define.
43526         * sunrpc/Makefile (extra-objs): Add $(addprefix
43527         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
43528         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
43529         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
43530         calling $(make-target-directory).
43532 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43534         * bits/types.h (__snseconds_t): Removed.
43535         * time/time.h (struct timespec): Replace __snseconds_t with
43536         __syscall_slong_t.
43537         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
43538         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
43539         Likewise.
43540         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43541         (__SNSECONDS_T_TYPE): Likewise.
43542         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43543         (__SNSECONDS_T_TYPE): Likewise.
43544         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43545         (__SNSECONDS_T_TYPE): Likewise.
43547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43549         * sysdeps/mach/hurd/bits/typesizes.h
43550         (__SYSCALL_SLONG_TYPE): New macro.
43551         (__SYSCALL_ULONG_TYPE): Likewise.
43553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43555         * bits/types.h (__syscall_slong_t): New type.
43556         (__syscall_ulong_t): Likewise.
43558         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
43559         (__SYSCALL_ULONG_TYPE): Likewise.
43560         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43561         (__SYSCALL_SLONG_TYPE): Likewise.
43562         (__SYSCALL_ULONG_TYPE): Likewise.
43563         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43564         (__SYSCALL_SLONG_TYPE): Likewise.
43565         (__SYSCALL_ULONG_TYPE): Likewise.
43566         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43567         (__SYSCALL_SLONG_TYPE): Likewise.
43568         (__SYSCALL_ULONG_TYPE): Likewise.
43570 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43572         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
43573         Add sigaltstack-offsets.sym.
43574         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
43575         <sigaltstack-offsets.h>.
43576         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
43577         longjmp_msg pointer.
43578         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
43579         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
43580         signal stack.
43581         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
43583 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43585         * elf/stackguard-macros.h: Remove file.
43586         * sysdeps/generic/stackguard-macros.h: New file.
43587         * sysdeps/i386/stackguard-macros.h: Likewise.
43588         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
43589         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
43590         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
43591         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
43592         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
43593         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
43594         * sysdeps/x86_64/stackguard-macros.h: Likewise.
43595         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
43596         <elf/stackguard-macros.h>.
43598         [BZ #14109]
43599         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
43600         __aligned__ in attribute.
43601         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
43602         (gregset_t): Likewise.
43604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43606         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
43607         * sysdeps/x86_64/64/Implies-after: Here.  New file.
43608         * sysdeps/x86_64/x32/Implies-after: New file.
43610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43612         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
43613         and access return value for _dl_profile_fixup.  Use R10_LP to
43614         load frame size.
43616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43618         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
43620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43622         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
43623         * sysdeps/x86_64/x32/sysdep.h: New file.
43625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43627         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
43628         * sysdeps/x86_64/setjmp.S: Likewise.
43630 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43632         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
43633         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
43634         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
43635         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
43636         remove unused global constant.
43638 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
43640         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
43641         include of <not-cancel.h>.
43643 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43645         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
43647 2012-05-15  Jeff Law  <law@redhat.com>
43648             Andreas Jaeger  <aj@suse.de>
43650         [BZ #13594]
43651         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
43652         out from...
43653         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
43654         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
43655         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
43656         code changing __hst_map_handle.map.
43658 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43660         * configure.in (sysnames): Look for Implies-before and Implies-after
43661         files.
43662         * configure: Regenerated.
43664 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43666         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43667         8-byte data alignment with LP_SIZE alignment.
43669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43671         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43672         into R10_LP.
43674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43676         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43678 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43680         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43681         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43682         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43683         Likewise.
43684         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43688         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43689         (stackinfo_sub_sp): Likewise.
43691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43693         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43694         RAX_LP.
43696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43698         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43699         into R*_LP.
43701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43704         sizes into R*_LP.
43706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43708         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43710 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43712         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43713         into R11_LP and load __x86_64_shared_cache_size_half into
43714         R8_LP.
43716 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43718         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43719         R8_LP.
43721 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43723         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43724         logb for POWER7.
43725         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43726         logbf for POWER7.
43727         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43728         logbl for POWER7.
43729         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43730         powerpc32/power7/fpu/s_logb.c via #include.
43731         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43732         powerpc32/power7/fpu/s_logbf.c via #include.
43733         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43734         powerpc32/power7/fpu/s_logbl.c via #include.
43736 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43738         * README.libm: Remove file.
43740 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43742         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43743         count for x32.  Use R*_LP and omit operand-size suffix.
43745 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43747         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43748         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43749         * sysdeps/x86_64/x32/shlib-versions: New file.
43751 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43753         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43754         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43755         Use _dl_fatal_printf instead.
43757 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43759         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43760         set if not set by the user.  Do not allow for being unset.
43761         * sysdeps/unix/sysv/linux/configure: Regenerated.
43763 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43765         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43766         the `q' suffix from lea and replace .quad with ASM_ADDR.
43768 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43770         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43771         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43772         instead of $17.
43773         (PTR_DEMANGLE): Likewise.
43775 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43777         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43778         (LP_OP): Likewise.
43779         (ASM_ADDR): Likewise.
43780         (RAX_LP): Likewise.
43781         (RBP_LP): Likewise.
43782         (RBX_LP): Likewise.
43783         (RCX_LP): Likewise.
43784         (RDI_LP): Likewise.
43785         (RSI_LP): Likewise.
43786         (RSP_LP): Likewise.
43787         (R8_LP): Likewise.
43788         (R9_LP): Likewise.
43789         (R10_LP): Likewise.
43790         (R10_LP): Likewise.
43791         (R11_LP): Likewise.
43792         (R12_LP): Likewise.
43793         (R13_LP): Likewise.
43794         (R14_LP): Likewise.
43795         (R15_LP): Likewise.
43797 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43799         * sysdeps/x86_64/x32/dl-machine.h: New file.
43801 2012-05-14  Andreas Jaeger  <aj@suse.de>
43803         * manual/Makefile (subdir): Remove export of subdir.
43804         (all): Remove target.
43805         (.PHONY): Remove all from list.
43806         (mkinstalldirs): Remove.
43807         (.PHONY): Remove installdirs from list.
43808         ($(inst_infodir)/libc.info): Use make-target-directory.
43809         (installdirs): Remove.
43810         (subdir_%): Remove.
43811         (glibc-targets): Remove.
43812         (lib): Remove.
43813         (stubs): Remove.
43814         ($(objpfx)stubs ../po/manual.pot): Remove.
43815         ($(objpfx)stamp%): Remove.
43816         (make-target-directory): Remove.
43817         (subdir_install): Remove.
43818         (routines): Remove.
43819         (aux): Remove.
43820         (sources): Remove.
43821         (objects): Remove.
43822         (headers): Remove.
43824         [BZ #13750]
43825         * manual/.gitignore: Remove, it's not needed anymore.
43826         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43827         all files in it.
43828         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43829         directory.
43830         (texis): Renamed to $(objpfx)texis.
43831         (texis-path): New, contains path to generated files.
43832         (chapters.%): Use texis-path for complete path, add extra argument
43833         libc-texinfo.sh.
43834         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43835         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43836         (summary,texi, stamp-summary): Use complete path of
43837         files. Generate files in build dir.
43838         (dir-add.texi): Build in build dir.
43839         (libm-err.texi,stamp-libm-err): Likewise.
43840         (version.texi, stamp-version): Likewise.
43841         (.%c.texi): Likewise.
43842         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43843         (mostlyclean): Remove target.
43844         (realclean): Remove target.
43845         (generated): Add new variable with contents from mostlyclean and
43846         realclean, remove entries duplicated in common-mostlyclean, add
43847         stamp-libm-err and stamp-version.
43848         (generated-dirs): Add libc directory.
43849         ($(inst_infodir)/libc.info): Install files from build dir.
43851         * manual/install.texi (Configuring and compiling): Adjust since
43852         the info files are not part of the tar ball anymore.
43854 2012-05-14  Andreas Jaeger  <aj@suse.de>
43856         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43857         variable.
43859 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43861         [BZ #13717]
43862         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43863         to 2.2.0 where earlier.
43864         * sysdeps/unix/sysv/linux/configure: Regenerated.
43865         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43866         Remove conditional code.
43867         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43868         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43869         Remove conditional code.
43870         [!__NR_lchown]: Likewise.
43871         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43872         [__NR_lchown]: Likewise.
43873         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43874         comment referencing __ASSUME_LCHOWN_SYSCALL.
43875         * sysdeps/unix/sysv/linux/i386/sigaction.c
43876         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43877         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43878         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43879         Remove conditional code.
43880         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43881         (__protocol_available): Remove #if 0 code.
43882         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43883         conditional code.
43884         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43885         * sysdeps/unix/sysv/linux/kernel-features.h
43886         (__ASSUME_GETCWD_SYSCALL): Don't define.
43887         (__ASSUME_REALTIME_SIGNALS): Likewise.
43888         (__ASSUME_PREAD_SYSCALL): Likewise.
43889         (__ASSUME_PWRITE_SYSCALL): Likewise.
43890         (__ASSUME_POLL_SYSCALL): Likewise.
43891         (__ASSUME_LCHOWN_SYSCALL): Likewise.
43892         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43893         non-SPARC.
43894         (__ASSUME_SIOCGIFNAME): Don't define.
43895         (__ASSUME_MSG_NOSIGNAL): Likewise.
43896         (__ASSUME_SENDFILE): Define unconditionally.
43897         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43898         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43899         conditional code.
43900         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43901         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43902         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43903         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43904         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43905         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43906         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43908         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43909         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43911         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43912         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43914         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43915         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43917         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43918         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43920         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43921         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43923         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43924         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43926         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43927         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43929         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43930         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43931         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43932         Remove conditional code.
43933         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43934         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43935         Remove conditional code.
43936         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43937         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43938         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43939         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43940         Remove conditional code.
43941         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43942         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43943         Remove conditional code.
43944         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43945         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43946         Remove conditional code.
43947         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43948         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43949         Remove conditional code.
43950         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43951         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43952         Remove conditional code.
43953         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43954         * sysdeps/unix/sysv/linux/sh/pwrite64.c
43955         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43956         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43957         * sysdeps/unix/sysv/linux/sigaction.c
43958         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43959         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43960         * sysdeps/unix/sysv/linux/sigpending.c
43961         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43962         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43963         * sysdeps/unix/sysv/linux/sigprocmask.c
43964         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43965         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43966         * sysdeps/unix/sysv/linux/sigsuspend.c
43967         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43968         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43969         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43970         (__libc_missing_rt_sigs): Remove.
43971         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43972         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43973         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43974         Remove conditional code.
43975         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43976         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43977         return 1.
43978         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43979         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43980         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43981         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43983 2012-05-14  Andreas Jaeger  <aj@suse.de>
43985         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43986         it's not used in glibc.
43987         (__coshm1): Likewise.
43988         (__acosh1p): Likewise.
43989         (__sgn): Likewise.
43991         * manual/string.texi (Copying and Concatenation): Add missing
43992         variable in concat example.
43993         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43995 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43997         [BZ #14103]
43998         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43999         __builtin_clzl with __builtin_clzll.
44001 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
44003         [BZ #14104]
44004         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44005         libc_freeres_ptr.
44007 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44009         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44010         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44011         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44012         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44014 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
44016         * NEWS: Update ia64 info.
44018 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
44020         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44021         used as bcopy.
44023 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
44025         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44026         * sysdeps/unix/syscalls.list (dup3): Likewise.
44027         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44028         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44030 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44032         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44033         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44035 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
44037         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44038         thread pointer.
44039         (TLS_IE): Use mov/add instead of movq/addq to load thread
44040         pointer.
44041         (TLS_GD_PREFIX): New.
44042         (TLS_GD): Use it.
44044 2012-05-11  David S. Miller  <davem@davemloft.net>
44046         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44047         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44048         (_FPU_SETCW): Likewise.
44050 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44052         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44053         is 32-byte aligned.
44055 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
44057         [BZ #11837]
44058         * iconvdata/gb18030.c: Update tables.
44059         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
44060         characters specially.
44061         (BODY for TO_LOOP): Add encoding of missing ranges.
44063 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
44065         [BZ #13673]
44066         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44067         * sysdeps/mach/hurd/dup3.c: Likewise.
44068         * sysdeps/mach/hurd/readlinkat.c: Likewise.
44069         * sysdeps/powerpc/memmove.c:: Likewise.
44071 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44073         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44074         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44076 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44078         * elf/elf.h (R_X86_64_RELATIVE64): New.
44079         (R_X86_64_NUM): Updated.
44080         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44081         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
44082         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44083         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44084         tst-quad1pie tst-quad2pie
44085         (modules-names): Add tst-quadmod1 tst-quadmod2.
44086         ($(objpfx)tst-quad1): New dependency.
44087         ($(objpfx)tst-quad2): Likewise.
44088         ($(objpfx)tst-quad1pie): Likewise.
44089         ($(objpfx)tst-quad2pie): Likewise.
44090         * sysdeps/x86_64/tst-quad1.c: New file.
44091         * sysdeps/x86_64/tst-quad1pie.c: New file.
44092         * sysdeps/x86_64/tst-quad2.c: Likewise.
44093         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44094         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44095         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44096         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44097         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44101         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44102         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44103         * streams/stropts.h (t_scalar_t): Define type.
44105         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44106         (_PATH_PRESERVE): Set to "/var/lib".
44107         (_PATH_RWHODIR): Set to "/var/spool/rwho".
44109         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44110         instead of int.
44112         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44113         if __dir_mkfile succeeded.
44115         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44116         checking for _hurd_dtablesize.  Unlock it right after having
44117         finished _hurd_dtable allocation.
44119 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44121         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44122         * sysdeps/mach/hurd/configure: Regenerated.
44123         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44124         special-casing to...
44125         * sysdeps/gnu/configure.in: ... this new file.
44126         * sysdeps/unix/sysv/linux/configure: Regenerated.
44127         * sysdeps/gnu/configure: New generated file.
44129         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44130         for Linux: use nsec instead of usec, as well as:
44131         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44132         members of type struct timespec.
44133         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44134         New macros.
44135         (struct stat64): Likewise.
44136         (_STATBUF_ST_NSEC): New macro.
44137         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44139         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44140         __strtoul_internal rather than strtoul.
44142 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44144         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44145         and reject them.
44147 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44149         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44150         which preserves existing values.
44151         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44153 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44155         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44156         TIMEOUT values.  Return EINVAL for NFDS values either negative or
44157         greater than FD_SETSIZE.
44159 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44161         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44162         allocated, call __vm_protect to finish enabling the existing space, and
44163         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44164         allocate the remainder.
44166 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44168         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44169         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
44171 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44173         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44174         sysdeps/mach/hurd/readlink.c.
44176         * posix/tst-sysconf.c (posix_options): Only use
44177         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44178         _POSIX_SYNCHRONIZED_IO when they are defined
44179         * sysdeps/mach/hurd/bits/posix_opt.h:
44180         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44181         (_XOPEN_REALTIME): Undefine macro.
44182         (_XOPEN_REALTIME_THREADS): Undefine macro.
44183         (_XOPEN_SHM): Undefine macro.
44184         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44185         macro to -1.
44186         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44187         macro to -1.
44188         (_POSIX_ASYNC_IO): Undefine macro.
44189         (_POSIX_PRIORITIZED_IO): Undefine macro.
44190         (_POSIX_SPIN_LOCKS): Define macro to -1.
44192         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44193         SA_NODEFER, SA_RESETHAND.
44194         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44195         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44196         F_DUPFD_CLOEXEC.
44198 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44200         * elf/Makefile (pldd-modules): Define unconditionally.
44202 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44204         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44206 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44208         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44209         Return ENOENT when name is empty.
44210         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44212 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44214         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44216         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44218 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44220         Fix mlock in all cases except non-readable pages.
44221         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44222         instead of VM_PROT_ALL as parameter to __vm_wire function.
44224         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44225         (__mkdir): When path is `/', just fail with EEXIST.
44226         * sysdeps/mach/hurd/mkdirat.c: Likewise.
44228 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44230         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44231         <sys/uio.h> (for writev).
44232         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44233         and <sys/param.h> (for MIN).
44235 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
44237         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44238         REQUESTED_TIME.  Properly set the remaining time and return EINTR
44239         if interrupted.
44241 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44243         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44244         Depend on against $(link-rpcuserlibs).
44246 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44248         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44249         (__libc_stack_end): Do not use attribute_relro.
44250         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44251         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
44252         to libthread-provided value.
44253         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44254         attribute_relro.
44256 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44258         [BZ #3748]
44259         * bits/libc-lock.h (__libc_once_get): New macro.
44260         * sysdeps/mach/bits/libc-lock.h: Likewise.
44261         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44262         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44263         instead of using implementation details.
44265         * libio/fileops.c: Unconditionally include <kernel-features.h>.
44266         * libio/freopen.c: Likewise.
44267         * libio/freopen64.c: Likewise.
44268         * misc/syslog.c: Likewise.
44269         * nscd/connections.c: Likewise.
44270         * nscd/netgroupcache.c: Likewise.
44271         * sysdeps/posix/getcwd.c: Likewise.
44273 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44275         * math/w_ilogbf.c: Add #include <limits.h>.
44277 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44279         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
44280         path instead of returning without unlocking.
44282         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44283         immediate-write ioctls.
44284         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44286 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44288         * sysdeps/mach/hurd/i386/init-first.c (init): Use
44289         __builtin_frame_address instead of making assumptions about the
44290         location of the return address relative to DATA.  Force early load of
44291         the return address.
44292         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44293         __builtin_frame_address.
44295         dup3 for GNU Hurd.
44296         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44297         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
44298         implement dup3 and do some further code clean-ups.
44299         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44300         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44302 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44304         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44306         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44307         HURD_CRITICAL_END around holding _hurd_dtable_lock.
44308         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44309         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44310         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44311         d->port.lock.
44313         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44314         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
44315         when handler == SIG_ERR, not when handler != SIG_ERR.
44317 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44319         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44320         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44321         definitions.
44323         accept4 for GNU Hurd.
44324         * include/sys/socket.h (__libc_accept4): New prototype.
44325         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
44326         to implement __libc_accept4.
44327         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44328         __libc_accept4.
44329         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44331         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44332         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44333         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44334         signal-defines.sym.
44336 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44338         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
44340 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
44342         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44343         assertion on O_CLOEXEC flag.
44344         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44345         * hurd/intern-fd.c: Likewise.
44346         * hurd/port2fd.c: Likewise.
44348 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44350         [BZ #3906]
44351         * bits/in.h (IPV6_PKTINFO): Define new macro.
44352         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44354 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44356         [BZ #13954]
44357         [BZ #13955]
44358         [BZ #13956]
44359         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44360         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44361         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44362         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44363         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44364         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44365         * math/libm-test.inc (logb_test) : Additional logb tests.
44367 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
44368             Andreas Jaeger  <aj@suse.de>
44370         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44371         * configure: Regenerated.
44372         * config.h.in (LINK_OBSOLETE_RPC): New macro.
44373         * config.make.in (link-obsolete-rpc): New substituted variable.
44374         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44375         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44376         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44377         (shared-only-routines): Don't set it under [link-obsolete-rpc],
44378         so that libc.a contains the symbols.
44379         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44380         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44381         * sunrpc/auth_none.c: Likewise.
44382         * sunrpc/auth_unix.c: Likewise.
44383         * sunrpc/authdes_prot.c: Likewise.
44384         * sunrpc/authuxprot.c: Likewise.
44385         * sunrpc/clnt_gen.c: Likewise.
44386         * sunrpc/clnt_perr.c: Likewise.
44387         * sunrpc/clnt_raw.c: Likewise.
44388         * sunrpc/clnt_simp.c: Likewise.
44389         * sunrpc/clnt_tcp.c: Likewise.
44390         * sunrpc/clnt_udp.c: Likewise.
44391         * sunrpc/clnt_unix.c: Likewise.
44392         * sunrpc/des_crypt.c: Likewise.
44393         * sunrpc/des_soft.c: Likewise.
44394         * sunrpc/get_myaddr.c: Likewise.
44395         * sunrpc/key_call.c: Likewise.
44396         * sunrpc/key_prot.c: Likewise.
44397         * sunrpc/netname.c: Likewise.
44398         * sunrpc/pm_getmaps.c: Likewise.
44399         * sunrpc/pm_getport.c: Likewise.
44400         * sunrpc/pmap_clnt.c: Likewise.
44401         * sunrpc/pmap_prot.c: Likewise.
44402         * sunrpc/pmap_prot2.c: Likewise.
44403         * sunrpc/pmap_rmt.c: Likewise.
44404         * sunrpc/publickey.c: Likewise.
44405         * sunrpc/rpc_cmsg.c: Likewise.
44406         * sunrpc/rpc_common.c: Likewise.
44407         * sunrpc/rpc_dtable.c: Likewise.
44408         * sunrpc/rpc_prot.c: Likewise.
44409         * sunrpc/rpc_thread.c: Likewise.
44410         * sunrpc/rtime.c: Likewise.
44411         * sunrpc/svc.c: Likewise.
44412         * sunrpc/svc_auth.c: Likewise.
44413         * sunrpc/svc_raw.c: Likewise.
44414         * sunrpc/svc_run.c: Likewise.
44415         * sunrpc/svc_tcp.c: Likewise.
44416         * sunrpc/svc_udp.c: Likewise.
44417         * sunrpc/svc_unix.c: Likewise.
44418         * sunrpc/svcauth_des.c: Likewise.
44419         * sunrpc/xcrypt.c: Likewise.
44420         * sunrpc/xdr.c: Likewise.
44421         * sunrpc/xdr_array.c: Likewise.
44422         * sunrpc/xdr_float.c: Likewise.
44423         * sunrpc/xdr_intXX_t.c: Likewise.
44424         * sunrpc/xdr_mem.c: Likewise.
44425         * sunrpc/xdr_rec.c: Likewise.
44426         * sunrpc/xdr_ref.c: Likewise.
44427         * sunrpc/xdr_sizeof.c: Likewise.
44428         * sunrpc/xdr_stdio.c: Likewise.
44430 2012-05-10  Roland McGrath  <roland@hack.frob.com>
44432         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
44433         change.  Update copyright years.
44435 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44437         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
44439 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
44440             Joseph Myers  <joseph@codesourcery.com>
44441             Paul Pluzhnikov  <ppluzhnikov@google.com>
44443         [BZ #14012]
44444         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
44445         requiring rpcgen.
44446         [cross-compiling] (extra-libs): Likewise.
44447         [cross-compiling] (extra-libs-others): Likewise.
44448         [cross-compiling] (librpcsvc-routines): Likewise.
44449         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
44450         [cross-compiling] (omit-deps): Likewise.
44451         (sunrpc-CPPFLAGS): New variable.
44452         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
44453         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
44454         (cross-rpcgen-objs): New variable.
44455         (extra-objs): Append $(cross-rpcgen-objs).
44456         ($(cross-rpcgen-objs)): New rule.
44457         ($(objpfx)cross-rpcgen): Likewise.
44458         (rpcgen-cmd): Define to use $(built-program-file).  Expand
44459         comment.
44460         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
44461         ($(objpfx)x%.stmp): Likewise.
44462         * sunrpc/proto.h [IS_IN_build] (_): Define.
44463         [IS_IN_build] (_libc_intl_domainname): Likewise.
44465 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
44467         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
44468         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
44469         and R_X86_64_TPOFF64.
44471 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
44473         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
44474         sysdeps/unix/sysv/syscalls.list.
44475         (stime): Likewise.
44476         (utime): Likewise.
44477         * sysdeps/unix/sysv/syscalls.list: Remove file.
44479 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
44481         [BZ #3440]
44482         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
44483         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
44484         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
44485         (__LC_IDENTIFICATION): Make these macros useful in #if
44486         expressions, as required by C99.
44488 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
44490         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
44491         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
44492         after this.
44494 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
44496         * stdlib/longlong.h: Updated from GCC.
44498 2012-05-09  Andreas Jaeger  <aj@suse.de>
44500         * nscd/nscd.c (run_modes): Make named enum, reorder so that
44501         default is first entry.
44502         (run_mode): Set type.
44503         (main): Remove informal message about syslog.
44504         (options): Fix typo.
44506         [BZ #14053]
44507         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
44508         to asm.
44509         (lrint): Likewise.
44510         (llrintf): Likewise.
44511         (llrint): Likewise.
44512         (rint): Likewise.
44513         (rintf): Likewise.
44514         (nearbyint): Likewise.
44515         (nearbyintf): Likewise.
44517 2012-05-09  Andreas Jaeger  <aj@suse.de>
44518             Pedro Alves  <palves@redhat.com>
44520         * nscd/nscd.c (run_mode): Use enum.
44521         (main): Cleanup coding style issue.
44523 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
44524             Andreas Jaeger  <aj@suse.de>
44526         * nscd/nscd.c (go_background): Replaced with...
44527         (run_mode): ... this.
44528         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
44529         (options): Add -F --foreground.
44530         (main): Implement it.
44531         (parse_opt): Parse it.
44533 2012-05-09  Andreas Jaeger  <aj@suse.de>
44535         [BZ #14083]
44536         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
44537         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
44538         -Wconversion warning.
44539         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
44540         Likewise.
44542 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
44544         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
44545         == 0.
44546         (LC_ALL): Use macro-int-constant.
44547         (LC_COLLATE): Likewise.
44548         (LC_CTYPE): Likewise.
44549         (LC_MESSAGES): Likewise.
44550         (LC_MONETARY): Likewise.
44551         (LC_NUMERIC): Likewise.
44552         (LC_TIME): Likewise.
44553         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
44554         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44555         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44556         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
44557         Specify type.
44558         [C99-based standards] (float_t): Expect type.
44559         [C99-based standards] (double_t): Expect type.
44560         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
44561         type.
44562         [C99-based standards] (HUGE_VALL): Likewise.
44563         [C99-based standards] (INFINITY): Likewise.
44564         [C99-based standards] (NAN): Likewise.
44565         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
44566         [C99-based standards] (FP_NAN): Likewise.
44567         [C99-based standards] (FP_NORMAL): Likewise.
44568         [C99-based standards] (FP_SUBNORMAL): Likewise.
44569         [C99-based standards] (FP_ZERO): Likewise.
44570         [C99-based standards] (FP_FAST_FMA): Use
44571         optional-macro-int-constant.  Specify type.  Require == 1.
44572         [C99-based standards] (FP_FAST_FMAF): Likewise.
44573         [C99-based standards] (FP_FAST_FMAL): Likewise.
44574         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
44575         [C99-based standards] (FP_ILOGBNAN): Likewise.
44576         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
44577         Specify type.
44578         [C99-based standards] (MATH_ERREXCEPT): Likewise.
44579         [C99-based standards] (math_errhandling): Specify type.
44580         [ISO99 || ISO11] (signgam): Do not allow.
44581         [non-C99-based standards] (copysignf): Do not allow.
44582         [non-C99-based standards] (exp2f): Likewise.
44583         [non-C99-based standards] (log2f): Likewise.
44584         [non-C99-based standards] (modff): Allow.
44585         [non-C99-based standards] (erff): Do not allow.
44586         [non-C99-based standards] (erfcf): Likewise.
44587         [non-C99-based standards] (gammaf): Likewise.
44588         [non-C99-based standards] (hypotf): Likewise.
44589         [non-C99-based standards] (j0f): Likewise.
44590         [non-C99-based standards] (j1f): Likewise.
44591         [non-C99-based standards] (jnf): Likewise.
44592         [non-C99-based standards] (lgammaf): Likewise.
44593         [non-C99-based standards] (tgammaf): Likewise.
44594         [non-C99-based standards] (y0f): Likewise.
44595         [non-C99-based standards] (y1f): Likewise.
44596         [non-C99-based standards] (ynf): Likewise.
44597         [non-C99-based standards] (isnanf): Likewise.
44598         [non-C99-based standards] (acoshf): Likewise.
44599         [non-C99-based standards] (asinhf): Likewise.
44600         [non-C99-based standards] (atanhf): Likewise.
44601         [non-C99-based standards] (cbrtf): Likewise.
44602         [non-C99-based standards] (expm1f): Likewise.
44603         [non-C99-based standards] (ilogbf): Likewise.
44604         [non-C99-based standards] (log1pf): Likewise.
44605         [non-C99-based standards] (logbf): Likewise.
44606         [non-C99-based standards] (nextafterf): Likewise.
44607         [non-C99-based standards] (remainderf): Likewise.
44608         [non-C99-based standards] (rintf): Likewise.
44609         [non-C99-based standards] (scalbf): Likewise.
44610         [non-C99-based standards] (copysignl): Likewise.
44611         [non-C99-based standards] (exp2l): Likewise.
44612         [non-C99-based standards] (log2l): Likewise.
44613         [non-C99-based standards] (modfl): Allow.
44614         [non-C99-based standards] (erfl): Do not allow.
44615         [non-C99-based standards] (erfcl): Likewise.
44616         [non-C99-based standards] (gammal): Likewise.
44617         [non-C99-based standards] (hypotl): Likewise.
44618         [non-C99-based standards] (j0l): Likewise.
44619         [non-C99-based standards] (j1l): Likewise.
44620         [non-C99-based standards] (jnl): Likewise.
44621         [non-C99-based standards] (lgammal): Likewise.
44622         [non-C99-based standards] (tgammal): Likewise.
44623         [non-C99-based standards] (y0l): Likewise.
44624         [non-C99-based standards] (y1l): Likewise.
44625         [non-C99-based standards] (ynl): Likewise.
44626         [non-C99-based standards] (isnanl): Likewise.
44627         [non-C99-based standards] (acoshl): Likewise.
44628         [non-C99-based standards] (asinhl): Likewise.
44629         [non-C99-based standards] (atanhl): Likewise.
44630         [non-C99-based standards] (cbrtl): Likewise.
44631         [non-C99-based standards] (expm1l): Likewise.
44632         [non-C99-based standards] (ilogbl): Likewise.
44633         [non-C99-based standards] (log1pl): Likewise.
44634         [non-C99-based standards] (logbl): Likewise.
44635         [non-C99-based standards] (nextafterl): Likewise.
44636         [non-C99-based standards] (remainderl): Likewise.
44637         [non-C99-based standards] (rintl): Likewise.
44638         [non-C99-based standards] (scalbl): Likewise.
44639         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44640         [non-C99-based standards] (FP_*): Do not allow.
44641         [C99-based standards] (FP_*): Change to
44642         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
44643         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44644         allow.
44645         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
44646         (SIG_ERR): Likewise.
44647         [X/Open-based standards] (SIG_HOLD): Likewise.
44648         (SIG_IGN): Likewise.
44649         (SIGABRT): Use macro-int-constant.  Specify type.  Require
44650         positive value.
44651         (SIGFPE): Likewise.
44652         (SIGILL): Likewise.
44653         (SIGINT): Likewise.
44654         (SIGSEGV): Likewise.
44655         (SIGTER): Likewise.
44656         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
44657         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
44658         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44659         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44660         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44661         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44662         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44663         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44664         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44665         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44666         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44667         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44668         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44669         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44670         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44671         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44672         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44673         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44674         [X/Open-based standards] (SIGTRAP): Likewise.
44675         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44676         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44677         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44678         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44679         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44680         allow.
44682 2012-05-08  Ian Wienand  <ianw@vmware.com>
44684         [BZ #14080]
44685         * time/tzset.c (__tzset_parse_tz): Update default rules for
44686         daylight time changes in the Energy Policy Act of 2005.
44688 2012-05-09  Andreas Jaeger  <aj@suse.de>
44690         [BZ #13983]
44691         * elf/ldconfig.c (parse_conf): Change string to make clear that
44692         ldconfig only issued a warning if ld.so.conf does not exist.
44694 2012-05-08  David S. Miller  <davem@davemloft.net>
44696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44697         movxtod instead of popping the value on the stack.
44699         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44701 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44703         * config.h.in: Add HAVE_ARM_PCS_VFP.
44705 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44707         [BZ #13979]
44708         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44709         checking but the checks are disabled for any reason.
44711 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44713         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44714         and ELF64_R_TYPE with ELFW(R_TYPE).
44716 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44718         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44719         (ulimit): Likewise.
44721         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44722         (settimeofday): Likewise.
44724 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44726         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44727         a struct th_u2 inside the union, and move tu_block/tu_code into
44728         a new th_u3 union of tu_block/tu_code inside of that.  Move
44729         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44730         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44731         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44732         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44733         (th_stuff): Change to th_u1.tu_stuff.
44734         (th_data): Define.
44735         (th_msg): Change to th_u1.th_u2.tu_data.
44737 2012-05-07  David S. Miller  <davem@davemloft.net>
44739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44741         [BZ #14074]
44742         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44743         (SETUP_PIC_REG): Use it.
44744         (SETUP_PIC_REG_LEAF): Use it.
44746 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44748         [BZ #13885]
44749         [BZ #13923]
44750         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44751         USE_AS_EXPM1L.
44752         (EXPL_FINITE): Likewise.
44753         (FLDLOG): Likewise.
44754         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44755         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44756         e_expl.S.
44757         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44758         USE_AS_EXPM1L.
44759         (EXPL_FINITE): Likewise.
44760         (FLDLOG): Likewise.
44761         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44762         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44763         e_expl.S.
44764         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44765         test of -max_value argument for long double.
44766         * sysdeps/i386/fpu/libm-test-ulps: Update.
44767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44769 2012-05-06  David S. Miller  <davem@davemloft.net>
44771         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44772         quad soft-float symbols whose references which are compiler
44773         generated.
44774         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44776 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44778         [BZ #13884]
44779         [BZ #13914]
44780         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44781         USE_AS_EXP10L.
44782         (EXPL_FINITE): Likewise.
44783         (FLDLOG): Likewise.
44784         (c0): Likewise.
44785         (c1): Likewise.
44786         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44787         Adjust comments for base varying.
44788         (__expl_finite): Change alias to EXPL_FINITE.
44789         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44790         e_expl.S.
44791         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44792         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44793         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44794         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44795         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44796         USE_AS_EXP10L.
44797         (EXPL_FINITE): Likewise.
44798         (FLDLOG): Likewise.
44799         (c0): Likewise.
44800         (c1): Likewise.
44801         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44802         Adjust comments for base varying.
44803         (__expl_finite): Change alias to EXPL_FINITE.
44804         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44805         tests for bugs.
44806         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44808         [BZ #14064]
44809         * math/libm-test.inc (check_float_internal): Correct ulp
44810         calculation for subnormal expected results.
44812 2012-05-06  Andreas Jaeger  <aj@suse.de>
44814         * Makeconfig (+math-flags): New, set to -frounding-math.
44815         (+cflags): Add +math-flags so that all of glibc gets compiled with
44816         it.
44818         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44820 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44822         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44823         Disable one test.
44825         [BZ #13787]
44826         [BZ #13922]
44827         [BZ #14036]
44828         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44829         (__ieee754_expl): Allow for and saturate large arguments.
44830         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44831         (u_threshold): Likewise.
44832         (__exp): Call __ieee754_exp before checking for overflow and
44833         underflow.
44834         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44835         (u_threshold): Likewise.
44836         (__expf): Call __ieee754_expf before checking for overflow and
44837         underflow.
44838         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44839         (u_threshold): Likewise.
44840         (__expl): Call __ieee754_expl before checking for overflow and
44841         underflow.
44842         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44843         (__ieee754_expl): Allow for and saturate large arguments.
44844         * math/libm-test.inc (exp_test): Add another test.  Do not allow
44845         missing overflow exception on overflow.
44846         (expm1_test): Do not allow missing overflow exception on overflow.
44848         * sysdeps/i386/fpu/e_expl.c: Move to ...
44849         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
44850         rather than using inline asm.
44851         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44852         * sysdeps/x86_64/fpu/e_expl.S: Copy from
44853         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44855         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44856         (nice): Likewise.
44857         (poll): Likewise.
44858         (signal): Likewise.
44859         (time): Likewise.
44860         (times): Likewise.
44862 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44864         * sysdeps/unix/syscalls.list (adjtime): Add entry from
44865         sysdeps/unix/common/syscalls.list.
44866         (fchmod): Likewise.
44867         (fchown): Likewise.
44868         (ftruncate): Likewise.
44869         (getrusage): Likewise.
44870         (gettimeofday): Likewise.
44871         (setpgid): Likewise.
44872         (setregid): Likewise.
44873         (setreuid): Likewise.
44874         (sigaction): Likewise.
44875         (truncate): Likewise.
44876         (vhangup): Likewise.
44877         * sysdeps/unix/common/syscalls.list: Remove file.
44878         * sysdeps/unix/bsd/Implies: Don't include unix/common.
44879         * sysdeps/unix/sysv/linux/Implies: Likewise.
44881 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
44883         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44885         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44886         Moved to ...
44887         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44888         Here.
44889         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44890         to ...
44891         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44892         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44893         to ...
44894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44895         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44896         to ...
44897         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44898         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44899         to ...
44900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44901         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44902         to ...
44903         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44904         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44905         to ...
44906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44907         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44908         to ...
44909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44910         Here.
44911         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44912         to ...
44913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44914         Here.
44915         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44916         to ...
44917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44918         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44919         Moved to ...
44920         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44921         Here.
44922         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44923         to ...
44924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44926 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44928         * sysdeps/unix/common/bits/dirent.h: Remove file.
44929         * sysdeps/unix/common/bits/fcntl.h: Likewise.
44931         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44932         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44933         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44934         * sysdeps/unix/bsd/isatty.c: Likewise.
44935         * sysdeps/unix/bsd/tcdrain.c: Likewise.
44936         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44937         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44939 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44941         [BZ #13563]
44942         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44943         long double comparison inaccuracies.
44944         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44947 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
44949         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44950         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44952 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44954         [BZ #14049]
44955         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44956         nonzero digits before rounding a hex value.
44957         * stdlib/tst-strtod.c (tests): Add another test.
44959 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44961         * sysdeps/s390/fpu/libm-test-ulps: Update.
44963 2012-05-03  Andreas Jaeger  <aj@suse.de>
44965         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44966         does not get optimized out.
44967         (malloc_opt_barrier): New.
44969 2012-05-03  Andreas Jaeger  <aj@suse.de>
44970             Roland McGrath  <roland@hack.frob.com>
44972         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44973         intermediate file deletion.
44974         (generated): Add .symlist files.
44976 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
44978         [BZ #13775]
44979         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44980         Redirect under this condition.
44981         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44982         [__USE_GNU] (__dprintf_chk): Not under this condition.
44983         [__USE_GNU] (__vdprintf_chk): Likewise.
44984         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44985         under this condition.
44986         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44987         [__USE_XOPEN2K8] (dprintf): Define under this condition.
44988         [__USE_XOPEN2K8] (vdprintf): Likewise.
44989         [__USE_GNU] (__dprintf_chk): Not under this condition.
44990         [__USE_GNU] (__vdprintf_chk): Likewise.
44991         [__USE_GNU] (dprintf): Likewise.
44992         [__USE_GNU] (vdprintf): Likewise.
44994 2012-05-03  Roland McGrath  <roland@hack.frob.com>
44996         * elf/Makefile (common-generated): Set this instead of generated for
44997         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
44998         $(all-built-dso)-derived lists.
45000 2012-05-03  Andreas Jaeger  <aj@suse.de>
45002         * sysdeps/i386/fpu/libm-test-ulps: Update.
45004         * FAQ: Removed.
45005         * FAQ.in: Likewise.
45006         * scripts/gen-FAQ.pl: Likewise.
45007         * manual/install.texi (Installation): Point to online location of
45008         FAQ.
45009         * Makefile (files-for-dist): Remove FAQ.
45010         (FAQ): Remove.
45012 2012-05-02  Allan McRae  <allan@archlinux.org>
45014         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45015         (LDFLAGS-reldepmod5.so): Likewise.
45016         (LDFLAGS-reldep6mod1.so): Likewise.
45017         (LDFLAGS-reldep6mod4.so): Likewise.
45018         (LDFLAGS-reldep8mod3.so): Likewise.
45019         (LDFLAGS-unload4mod1.so): Likewise.
45020         (LDFLAGS-unload4mod2.so): Likewise.
45021         (LDFLAGS-tst-initorder): Likewise.
45022         (LDFLAGS-tst-initordera2.so): Likewise.
45023         (LDFLAGS-tst-initordera3.so): Likewise.
45024         (LDFLAGS-tst-initordera4.so): Likewise.
45025         (LDFLAGS-tst-initorderb2.so): Likewise.
45026         (LDFLAGS-noload): Likewise.
45027         (LDFLAGS-next): Likewise.
45028         (LDFLAGS-order2mod1.so): Likewise.
45029         (LDFLAGS-order2mod2.so): Likewise.
45030         (LDFLAGS-tst-initorder2): Likewise.
45031         (LDFLAGS-tst-initorder2a.so): Likewise.
45032         (LDFLAGS-tst-initorder2b.so): Likewise.
45033         (LDFLAGS-tst-initorder2c.so): Likewise.
45034         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45036 2012-05-02  David S. Miller  <davem@davemloft.net>
45038         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45040 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
45042         [BZ #14055]
45043         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45045 2012-05-02  Andreas Jaeger  <aj@suse.de>
45047         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45048         since we manipulate rounding mode.
45049         (CPPFLAGS-test-idouble.c): Likewise.
45050         (CPPFLAGS-test-ifloat.c): Likewise.
45051         (CFLAGS-test-ldouble.c): Likewise.
45052         (CFLAGS-test-double.c): Likewise.
45053         (CFLAGS-test-float.c): Likewise.
45054         (CFLAGS-test-misc.c): Likewise.
45055         (CFLAGS-test-test-fenv.c): Likewise.
45057 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45059         [BZ #2550]
45060         [BZ #2570]
45061         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45062         comparisons to determine direction to adjust input.
45064 2012-05-01  Roland McGrath  <roland@hack.frob.com>
45066         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45067         output to the target.
45069         * scripts/localplt.awk: New file.
45070         * elf/Makefile ($(objpfx)check-localplt): Target removed.
45071         (check-localplt-CFLAGS): Variable removed.
45072         ($(all-built-dso:=.jmprel)): New static pattern rule.
45073         (generated): Add those targets.
45074         (localplt-built-dso): New variable.
45075         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45077         * elf/check-localplt.c: File removed.
45079         * scripts/check-execstack.awk: New file.
45080         * elf/Makefile ($(objpfx)check-execstack): Target removed.
45081         (check-execstack-CFLAGS): Variable removed.
45082         ($(objpfx)check-execstack.h): Target removed.
45083         ($(objpfx)execstack-default): New target.
45084         (generated): Add that instead of check-execstack.h.
45085         ($(all-built-dso:=.phdr)): New static pattern rule.
45086         (generated): Add those targets.
45087         * elf/check-execstack.c: File removed.
45089         * scripts/check-textrel.awk: New file.
45090         * elf/Makefile ($(objpfx)check-textrel): Target removed.
45091         (check-textrel-CFLAGS): Variable removed.
45092         (all-built-dso): Use := to define.o
45093         ($(all-built-dso:=.dyn)): New static pattern rule.
45094         (generated): Add those targets.
45095         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45096         * config.make.in (READELF): New substituted variable.
45097         * elf/check-textrel.c: File removed.
45099 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45101         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45102         allow.
45103         * conform/data/ctype.h-data [C99-based standards] (isblank):
45104         Expect function.
45105         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45106         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45107         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45108         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45109         Specify type.  Require positive value.
45110         (EILSEQ): Likewise.
45111         (ERANGE): Likewise.
45112         [ISO || POSIX] (EILSEQ): Do not expect.
45113         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45114         Specify type.  Require positive value.
45115         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45116         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45117         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45118         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45119         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45120         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45121         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45122         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45123         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45124         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45125         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45126         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45127         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45128         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45129         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45130         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45131         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45132         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45133         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45134         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45135         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45136         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45137         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45138         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45139         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45140         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45141         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45142         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45143         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45144         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45145         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45146         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45147         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45148         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45149         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45150         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45151         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45152         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45153         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45154         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45155         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45156         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45157         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45158         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45159         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45160         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45161         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45162         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45163         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45164         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45165         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45166         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45167         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45168         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45169         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45170         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45171         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45172         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45173         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45174         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45175         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45176         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45177         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45178         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45179         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45180         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45181         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45182         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45183         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45184         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45185         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45186         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45187         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45188         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45189         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45190         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45191         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45192         Require >= 2.
45193         (FLT_ROUNDS): Expect as macro, not constant.
45194         (FLT_MANT_DIG): Use macro-int-constant.
45195         (DBL_MANT_DIG): Likewise.
45196         (LDBL_MANT_DIG): Likewise.
45197         (FLT_DIG): Likewise.
45198         (DBL_DIG): Likewise.
45199         (LDBL_DIG): Likewise.
45200         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
45201         (DBL_MIN_EXP): Likewise.
45202         (LDBL_MIN_EXP): Likewise.
45203         (FLT_MAX_EXP): Use macro-int-constant.
45204         (DBL_MAX_EXP): Likewise.
45205         (LDBL_MAX_EXP): Likewise.
45206         (FLT_MAX_10_EXP): Likewise.
45207         (DBL_MAX_10_EXP): Likewise.
45208         (LDBL_MAX_10_EXP): Likewise.
45209         (FLT_MAX): Use macro-constant.
45210         (DBL_MAX): Likewise.
45211         (LDBL_MAX): Likewise.
45212         (FLT_EPSILON): Use macro-constant.  Give upper bound.
45213         (DBL_EPSILON): Likewise.
45214         (LDBL_EPSILON): Likewise.
45215         (FLT_MIN): Likewise.
45216         (DBL_MIN): Likewise.
45217         (LDBL_MIN): Likewise.
45218         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45219         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45220         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45221         [ISO11] (FLT_HAS_SUBNORM): Likewise.
45222         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45223         [ISO11] (DBL_DECIMAL_DIG): Likewise.
45224         [ISO11] (FLT_DECIMAL_DIG): Likewise.
45225         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45226         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45227         [ISO11] (FLT_TRUE_MIN): Likewise.
45228         [ISO11] (LDBL_TRUE_MIN): Likewise.
45229         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45230         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45231         (SCHAR_MIN): Use macro-int-constant.  Specify type.
45232         (SCHAR_MAX): Likewise.
45233         (UCHAR_MAX): Likewise.
45234         (CHAR_MIN): Likewise.
45235         (CHAR_MAX): Likewise.
45236         (MB_LEN_MAX): Use macro-int-constant.
45237         (SHRT_MIN): Use macro-int-constant.  Specify type.
45238         (SHRT_MAX): Likewise.
45239         (USHRT_MAX): Likewise.
45240         (INT_MAX): Likewise.
45241         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
45242         bound negative.
45243         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45244         bound with "U".
45245         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45246         bound with "L".
45247         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
45248         bound negative.  Suffix upper bound with "L".
45249         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
45250         bound with "UL".
45251         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45252         Specify type.
45253         [C99-based standards] (LLONG_MAX): Likewise.
45254         [C99-based standards] (ULLONG_MAX): Likewise.
45255         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
45256         == 0.
45257         [ISO11] (max_align_t): Require type.
45258         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45260         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45261         from $CFLAGS, without defining away __attribute__ calls.
45262         (checknamespace): Use $CFLAGS_namespace.
45264         * conform/conformtest.pl (@keywords): Only include C99 keywords
45265         for standards based on C99 or C11.
45267         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45268         Disable tests.
45269         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45270         UNIX98]: Likewise.
45272         * conform/conformtest.pl: Handle "macro-int-constant" and test for
45273         usability of symbols in #if.
45275         * conform/conformtest.pl: If macro or constant types start
45276         "promoted:", expect the symbol to be of the following type
45277         promoted by the integer promotions.
45279         * conform/conformtest.pl: Parse all "constant" and "macro" lines
45280         in one place.  Also handle "macro-constant".
45282         * conform/conformtest.pl: Only accept expected macro values with
45283         "==".  Parse all "macro" lines in one place.
45284         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45286         * conform/conformtest.pl: Handle braced types on "constant" lines
45287         instead of handling "typed-constant".
45288         * conform/data/signal.h-data: Use "constant" instead of
45289         "typed-constant".
45291         * conform/conformtest.pl: Handle "optional-" at start of lines in
45292         one place rather than duplicating several cases.  Handle each
45293         format of "macro" line with initial "optional-".
45295         * conform/conformtest.pl: Only accept expected constant or
45296         optional-constant values with "==".  Parse all "constant" lines in
45297         one place.  Parse all "optional-constant" lines in one place.
45298         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45299         * conform/data/fmtmsg.h-data: Likewise.
45300         * conform/data/netinet/in.h-data: Likewise.
45301         * conform/data/tar.h-data: Likewise.
45302         * conform/data/limits.h-data: Use "==" form on "constant" and
45303         "optional-constant" lines.
45305         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45306         Use -std=c99 for XOPEN2K.
45307         (@knownproblems): Remove.
45308         (newtoken): Don't check %isknown.
45310         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45311         Do not expect macro.
45312         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45313         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45314         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45315         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45316         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45317         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45318         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45319         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45320         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45321         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45322         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45323         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45324         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45325         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45326         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45327         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45328         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45329         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45330         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45331         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45332         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45333         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45334         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45335         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45336         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45337         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45338         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45339         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45340         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45341         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45342         [XPG3] (acosh): Likewise.
45343         [XPG3] (asinh): Likewise.
45344         [XPG3] (atanh): Likewise.
45345         [XPG3] (cbrt): Likewise.
45346         [XPG3] (expm1): Likewise.
45347         [XPG3] (ilogb): Likewise.
45348         [XPG3] (log1p): Likewise.
45349         [XPG3] (logb): Likewise.
45350         [XPG3] (nextafter): Likewise.
45351         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45352         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45353         [XPG3] (remainder): Likewise.
45354         [XPG3] (rint): Likewise.
45355         [XPG3 || XPG4 || UNIX98] (round): Likewise.
45356         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45357         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45358         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45359         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45360         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45361         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45362         [UNIX98 || XOPEN2K] (scalb): Expect.
45363         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45364         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45365         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45366         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45367         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45368         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45369         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45370         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45371         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45372         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45373         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45374         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45375         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45376         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45377         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45378         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45379         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45380         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45381         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45382         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45383         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45384         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45385         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45386         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45387         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45388         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45389         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45390         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45391         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45392         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45393         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45394         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45395         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45396         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45397         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45398         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45399         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45400         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45401         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45402         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45403         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45404         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45405         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45406         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45407         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45408         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45409         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45410         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45411         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45412         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45413         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45414         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45415         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
45416         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
45417         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
45418         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
45419         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
45420         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
45421         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
45422         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
45423         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
45424         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
45425         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
45426         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
45427         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
45428         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
45429         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
45430         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
45431         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
45432         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
45433         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
45434         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
45435         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
45436         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
45437         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
45438         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
45439         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
45440         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
45441         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
45442         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
45443         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
45444         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
45445         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
45446         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
45447         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
45448         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
45449         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
45450         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
45451         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
45452         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
45453         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
45454         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
45455         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
45456         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
45457         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
45458         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
45459         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
45460         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
45461         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
45462         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
45463         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
45464         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
45465         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
45466         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
45467         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
45468         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
45469         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
45470         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
45471         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
45472         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
45473         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
45474         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
45475         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
45476         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
45477         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
45478         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
45479         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
45480         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
45481         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
45482         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
45483         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
45484         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
45485         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
45486         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
45487         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
45488         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
45489         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
45490         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
45491         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
45492         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
45493         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
45494         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
45495         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
45496         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
45497         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
45498         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
45499         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
45501         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
45502         _XOPEN_SOURCE_EXTENDED for XPG4.
45504         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
45506         * Makeconfig (localtime): Remove variable.
45507         (inst_localtime-file): Likewise.
45509 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
45512         Update.
45513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45514         Update.
45515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
45516         Update.
45517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
45518         Update.
45519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
45520         Update.
45521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
45522         Update.
45523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
45524         Update.
45525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
45526         Update.
45527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45528         Update.
45530 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
45532         [BZ #2550]
45533         [BZ #2570]
45534         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
45535         comparisons to determine direction to adjust input.
45536         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
45537         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
45538         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
45539         Likewise.
45540         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
45541         Likewise.
45542         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45543         Likewise.
45544         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
45545         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
45546         Likewise.
45547         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
45548         Likewise.
45549         * math/libm-test.inc (nexttoward_test): Add more tests.
45551 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
45553         [BZ #14040]
45554         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
45555         in version GLIBC_2.1, not GLIBC_2.0.
45556         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
45557         Likewise.
45559 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
45561         [BZ #13942]
45562         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
45563         (1 - x) * (1 + x).
45564         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45565         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
45566         * math/libm-test.inc (acos_test): Add more tests.
45567         (asin_test): Likewise.
45568         * sysdeps/i386/fpu/libm-test-ulps: Update.
45569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45571         [BZ #14034]
45572         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
45573         of square root.
45574         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
45575         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
45576         * math/libm-test.inc (acos_test_tonearest): New function.
45577         (acos_test_towardzero): Likewise.
45578         (acos_test_downward): Likewise.
45579         (acos_test_upward): Likewise.
45580         (asin_test_tonearest): Likewise.
45581         (asin_test_towardzero): Likewise.
45582         (asin_test_downward): Likewise.
45583         (asin_test_upward): Likewise.
45584         (main): Call the new functions.
45585         * sysdeps/i386/fpu/libm-test-ulps: Update.
45586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45588         [BZ #13884]
45589         [BZ #13924]
45590         * math/e_exp10.c: Include <float.h>.
45591         (__ieee754_exp10): Handle underflow here rather than multiplying
45592         large negative argument by M_LN10.
45593         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
45594         of __ieee754_expf.
45595         * math/e_exp10l.c: Include <float.h>.
45596         (__ieee754_exp10l): Handle underflow here rather than multiplying
45597         large negative argument by M_LN10l.
45598         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
45599         spurious overflow exception on underflow.
45601 2012-04-29  Marek Polacek  <polacek@redhat.com>
45603         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
45604         (__fortify_function): New macro.
45605         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
45606         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
45607         __extern_always_inline.
45608         * libio/bits/stdio2.h: Likewise.
45609         * libio/bits/stdio.h: Likewise.
45610         * string/string.h: Likewise.
45611         * string/bits/string3.h: Likewise.
45612         * include/stdio.h: Likewise.
45613         * stdlib/bits/stdlib.h: Likewise.
45614         * stdlib/stdlib.h: Likewise.
45615         * rt/bits/mqueue2.h: Likewise.
45616         * rt/mqueue.h: Likewise.
45617         * posix/bits/unistd.h: Likewise.
45618         * posix/unistd.h: Likewise.
45619         * io/bits/poll2.h: Likewise.
45620         * io/bits/fcntl2.h: Likewise.
45621         * io/fcntl.h: Likewise.
45622         * io/sys/poll.h: Likewise.
45623         * misc/bits/syslog.h: Likewise.
45624         * misc/bits/syslog-ldbl.h: Likewise.
45625         * misc/sys/syslog.h: Likewise.
45626         * socket/bits/socket2.h: Likewise.
45627         * socket/sys/socket.h: Likewise.
45628         * debug/tst-chk1.c: Likewise.
45629         * wcsmbs/bits/wchar2.h: Likewise.
45630         * wcsmbs/bits/wchar-ldbl.h: Likewise.
45631         * wcsmbs/wchar.h: Likewise.
45633 2012-04-29  Andreas Jaeger  <aj@suse.de>
45635         * Makerules (tests): Remove enable-check-abi protection.
45636         (check-abi-warn): Remove.
45637         (check-abi-%): Remove check-abi-warn usage.
45639         * configure.in: Remove check-abi configure option.
45640         * configure: Regenerated.
45641         * config.make.in (enable-check-abi): Remove.
45643 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
45645         [BZ #14033]
45646         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
45647         double functions to double *_finite functions.
45649         [BZ #13941]
45650         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
45651         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
45652         LDBL_MIN_EXP.
45653         * stdio-common/Makefile (tests): Add tst-sprintf3.
45654         * stdio-common/tst-sprintf3.c: New file.
45656         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
45657         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45659 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45661         * conform/conformtest.pl: Remove duplicate typed-constant
45662         handling.
45664 2012-04-28  David S. Miller  <davem@davemloft.net>
45666         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45667         (check-abi-%): Remove AWK script prerequisite and explicit
45668         abilist directory.
45669         (check-abi): Rewrite to just diff the symlist with the abilist.
45670         (config-tls, config-abi-config): Delete, no longer used.
45671         (update-abi-%): Remove AWK script and explicit abilist directory.
45672         (update-abi): Rewrite to simply compare and conditionally copy the
45673         symlist and the sysdep abilist file.  Remove update-abi-config
45674         checks.
45675         * abilist/ld.abilist: Remove.
45676         * abilist/libBrokenLocale.abilist: Remove.
45677         * abilist/libanl.abilist: Remove.
45678         * abilist/libcrypt.abilist: Remove.
45679         * abilist/libdl.abilist: Remove.
45680         * abilist/librt.abilist: Remove.
45681         * abilist/libthread_db.abilist: Remove.
45682         * abilist/libutil.abilist: Remove.
45683         * scripts/extract-abilist.awk: Remove.
45684         * scripts/merge-abilist.awk: Remove.
45685         * sysdeps/generic/libcidn.abilist: New file.
45686         * sysdeps/generic/libnss_compat.abilist: New file.
45687         * sysdeps/generic/libnss_db.abilist: New file.
45688         * sysdeps/generic/libnss_dns.abilist: New file.
45689         * sysdeps/generic/libnss_files.abilist: New file.
45690         * sysdeps/generic/libnss_hesiod.abilist: New file.
45691         * sysdeps/generic/libnss_nis.abilist: New file.
45692         * sysdeps/generic/libnss_nisplus.abilist: New file.
45693         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45694         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45695         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45696         file.
45697         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45698         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45699         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45700         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45701         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45702         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45703         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45704         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45705         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45706         file.
45707         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45708         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45709         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45710         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45711         file.
45712         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45713         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45714         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45715         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45716         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45717         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45718         file.
45719         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45720         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45721         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45722         file.
45723         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45724         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45725         New file.
45726         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45727         New file.
45728         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45729         New file.
45730         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45731         New file.
45732         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45733         New file.
45734         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45735         New file.
45736         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45737         New file.
45738         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45739         New file.
45740         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45741         New file.
45742         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45743         New file.
45744         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45745         New file.
45746         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45747         New file.
45748         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45749         New file.
45750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45751         file.
45752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45753         New file.
45754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45755         New file.
45756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45757         file.
45758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45759         New file.
45760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45761         New file.
45762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45763         file.
45764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45765         New file.
45766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45767         New file.
45768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45769         New file.
45770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45771         New file.
45772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45773         New file.
45774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45775         New file.
45776         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45778         file.
45779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45780         New file.
45781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45782         file.
45783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45784         file.
45785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45786         file.
45787         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45788         file.
45789         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45790         file.
45791         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45792         New file.
45793         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45794         file.
45795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45796         file.
45797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45798         New file.
45799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45800         file.
45801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45803         file.
45804         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45805         New file.
45806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45807         file.
45808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45809         file.
45810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45811         file.
45812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45813         file.
45814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45815         file.
45816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45817         New file.
45818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45819         file.
45820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45821         file.
45822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45823         New file.
45824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45825         file.
45826         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45827         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45828         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45829         file.
45830         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45831         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45832         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45833         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45834         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45835         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45836         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45837         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45838         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45839         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45841         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45842         file.
45843         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45844         New file.
45845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45846         file.
45847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45848         file.
45849         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45850         file.
45851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45852         file.
45853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45854         file.
45855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45856         New file.
45857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45858         New file.
45859         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45860         file.
45861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45862         New file.
45863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45864         file.
45865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45867         file.
45868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45869         New file.
45870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45871         file.
45872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45873         file.
45874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45875         file.
45876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45877         file.
45878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45879         file.
45880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45881         New file.
45882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45883         New file.
45884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45885         file.
45886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45887         New file.
45888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45889         file.
45891 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45893         * conform/conformtest.pl: Fix typo in handling typed-constant from
45894         allow-header.
45896 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45898         * README: Cut down references to pre-2.6 Linux kernels and
45899         Linuxthreads.  Update lists of configurations in libc and ports
45900         and sort alphabetically.  Say "or newer" with Linux kernel version
45901         requirements.
45903         * config.h.in [IS_IN_build]: Allow compiling without optimization.
45905 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45907         [BZ #887]
45908         * math/libm-test.inc (logb_test_downward): New test to expose
45909         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45910         rounding mode.
45912 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45914         [BZ #14027]
45915         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45916         to be done.
45917         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45918         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45920 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
45922         * sysdeps/unix/i386/brk.S: Remove file.
45923         * sysdeps/unix/i386/dl-brk.S: Likewise.
45924         * sysdeps/unix/i386/pipe.S: Likewise.
45925         * sysdeps/unix/i386/sigreturn.S: Likewise.
45926         * sysdeps/unix/i386/syscall.S: Likewise.
45927         * sysdeps/unix/i386/vfork.S: Likewise.
45928         * sysdeps/unix/i386/wait.S: Likewise.
45930         * sysdeps/unix/common/tcsendbrk.c: Move to ...
45931         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45933         * configure.in (arm*-none*): Do not allow without
45934         --enable-hacker-mode.
45935         (netbsd*): Remove case setting base_os.
45936         (386bsd*): Likewise.
45937         (freebsd*): Likewise.
45938         (bsdi*): Likewise.
45939         (osf*): Likewise.
45940         (sunos*): Likewise.
45941         (ultrix*): Likewise.
45942         (newsos*): Likewise.
45943         (dynix*): Likewise.
45944         (*bsd*): Likewise.
45945         (sysv*): Likewise.
45946         (isc*): Likewise.
45947         (esix*): Likewise.
45948         (sco*): Likewise.
45949         (minix*): Likewise.
45950         (irix4*): Likewise.
45951         (irix6*): Likewise.
45952         (solaris[2-9]*): Likewise.
45953         (none): Likewise.
45954         * configure: Regenerated.
45956 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45958         [BZ #11521]
45959         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45960         overflow or cancellation in calculating denominator.
45961         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45962         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45963         down expression to avoid unexpected rounding in newer GCCs.
45964         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45966 2012-04-26  David S. Miller  <davem@davemloft.net>
45968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45969         long-double compat symbols.
45970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45975         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45982         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45984 2012-04-25  David S. Miller  <davem@davemloft.net>
45986         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45987         HWCAP_* values only after the memory barriers have been defined.
45988         (atomic_full_barrier): Define.
45989         (atomic_read_barrier): Define.
45990         (atomic_write_barrier): Define.
45992 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45994         * shlib-versions: Add libgcc_s version information.
45995         * sysdeps/generic/libgcc_s.h: Remove.
45996         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45997         libgcc_s.h.
45998         * sysdeps/gnu/unwind-resume.c: Likewise.
45999         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46001 2012-04-25  David S. Miller  <davem@davemloft.net>
46003         * sysdeps/unix/sparc/brk.S: Delete.
46004         * sysdeps/unix/sparc/dl-brk.S: Delete.
46005         * sysdeps/unix/sparc/pipe.S: Delete.
46006         * sysdeps/unix/sparc/sysdep.S: Delete.
46007         * sysdeps/unix/sparc/sysdep.h: Delete.
46008         * sysdeps/unix/sparc/vfork.S: Delete.
46009         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46010         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46011         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46012         (ret_ERRVAL, r0, r1, MOVE): Define.
46013         (JUMPTARGET): Remove.
46014         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46015         sysdeps/unix/sparc/sysdep.h
46016         (ENTRY, END): Remove.
46017         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46019 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
46021         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46022         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46023         -DIS_IN_build.
46025         * timezone/README: Update upstream location and email address for
46026         tzcode and tzdata.
46027         * timezone/zdump.c: Update from tzcode 2012b.
46028         * timezone/zic.c: Likewise.
46030         * configure.in (libc_cv_as_needed): Remove test.
46031         * configure: Regenerated.
46032         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46033         conditional definition.
46034         [$(have-as-needed) != yes] (no-as-needed): Likewise.
46035         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46036         * config.make.in (have-as-needed): Remove variable.
46038 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46039             Paul Pluzhnikov  <ppluzhnikov@google.com>
46041         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46042         strings correctly.
46044 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
46046         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46047         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46048         * sysdeps/sh/strlen.S: Likewise.
46050 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46052         * sysdeps/unix/fork.S: Remove file.
46053         * sysdeps/unix/i386/fork.S: Likewise.
46054         * sysdeps/unix/sparc/fork.S: Likewise.
46056         * sysdeps/unix/system.c: Remove file.
46057         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46059         * sysdeps/unix/getegid.S: Remove file.
46060         * sysdeps/unix/geteuid.S: Likewise.
46062 2012-04-24  Roland McGrath  <roland@hack.frob.com>
46064         * scripts/check-localplt.awk: New file.
46065         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46066         of diff.
46067         * scripts/data/localplt-generic.data: Add a comment.
46069         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46070         NODE when __dir_mkfile failed.
46071         * sysdeps/mach/hurd/symlinkat.c: Likewise.
46072         Reported by Ludovic Courtès <ludo@gnu.org>.
46074 2012-04-24  Andreas Jaeger  <aj@suse.de>
46076         * Makerules (common-clean): Also remove gen-as-const-headers
46077         files.
46079 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46081         * Makerules (native-compile): Do not change working directory for
46082         build.  Use $(OUTPUT_OPTION) in command.
46083         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46085 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46087         [BZ #13886]
46088         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46089         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46090         * math/libm-test.inc (floor_test): Add more tests.
46091         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46093 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
46095         * sysdeps/unix/getdents.c: Remove file.
46096         * sysdeps/unix/sysv/getdents.c: Likewise.
46097         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46099         * sysdeps/unix/syscalls.list (madvise): Add syscall from
46100         sysdeps/unix/mman/syscalls.list.
46101         (mmap): Likewise.
46102         (mprotect): Likewise.
46103         (msync): Likewise.
46104         (munmap): Likewise.
46105         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46106         * sysdeps/unix/mman/syscalls.list: Remove.
46107         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46109         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46110         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46111         * configure: Regenerated.
46112         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46113         $(libgcc_s_suffix).
46114         * config.make.in (libgcc_s_suffix): Remove variable.
46116 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
46118         * sysdeps/unix/sysv/gethostname.c: Move to ...
46119         * sysdeps/posix/gethostname.c: ... here.
46121         * sysdeps/unix/execve.S: Remove file.
46123         * sysdeps/unix/_exit.S: Remove file.
46125 2012-04-23  Andreas Jaeger  <aj@suse.de>
46127         [BZ #13739]
46128         * manual/Makefile: Remove make dist support, there's no
46129         need for a stand-alone documentation tar ball.
46130         (TEXI2DVI): Define always, it's not in Makeconfig.
46131         (dist): Removed.
46132         (tar-it): Removed.
46133         (edition): Removed.
46134         (glibc-doc-$(edition).tar): Removed
46135         (%.Z): Removed.
46136         (%.gz): Removed.
46137         (%.uu): Removed.
46138         (ETAGS): Remove, it's in Makeconfig.
46139         (move-if-change): Remove, it's in Makeconfig.
46141 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
46143         [BZ #13970]
46144         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46145         (strtod, strtof, strtold, strtol, strtoul, strtoq)
46146         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46147         (strtod_l, strtof_l, strtold_l): Remove __wur.
46148         It is not necessarily an error to ignore strtol's return value.
46149         One can reliably look at the stored endptr to decide whether
46150         the number had valid syntax.
46152 2012-04-21  Andreas Jaeger  <aj@suse.de>
46154         [BZ #13739]
46155         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46157 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
46159         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46160         * sysdeps/unix/sysv/Versions: Remove file.
46162 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
46164         [BZ #13927]
46165         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46167 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
46169         [BZ #7064]
46170         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46171         version from __vm86.
46173 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
46175         * sysdeps/unix/common/lxstat.c: Remove file.
46176         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46178         * sysdeps/unix/sysv/Makefile: Remove file.
46180         * sysdeps/unix/sysv/direct.h: Remove file.
46182         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46183         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46184         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46185         * sysdeps/unix/sysv/bits/signum.h: Likewise.
46186         * sysdeps/unix/sysv/bits/stat.h: Likewise.
46187         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46188         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46190         * sysdeps/unix/sysv/setrlimit.c: Remove file.
46192         * sysdeps/unix/xmknod.c: Remove file.
46193         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46195         * sysdeps/unix/sysv/settimeofday.c: Remove file.
46197         * sysdeps/unix/sysv/i386/time.S: Remove file.
46199         * sysdeps/unix/fxstat.c: Remove file.
46200         * sysdeps/unix/xstat.c: Likewise.
46201         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46203         * sysdeps/unix/sysv/sigaction.c: Remove file.
46205         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46206         (sysdep_headers): Remove variable.
46207         [termio.h not in sysdep_headers] (generated): Likewise.
46208         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46209         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46210         * sysdeps/unix/sysv/tcdrain.c: Likewise.
46211         * sysdeps/unix/sysv/tcflow.c: Likewise.
46212         * sysdeps/unix/sysv/tcflush.c: Likewise.
46213         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46214         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46215         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46216         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46217         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46219         * sysdeps/unix/siglist.c: Remove file.
46221         * sysdeps/unix/getppid.S: Remove file.
46223         * sysdeps/unix/mkdir.c: Remove file.
46224         * sysdeps/unix/rmdir.c: Likewise.
46226 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
46228         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46229         ERR_MAX value.
46230         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46231         errlist-compat value.
46233 2012-04-18  David S. Miller  <davem@davemloft.net>
46235         * sysdeps/generic/memcopy.h (reg_char): Delete.
46236         * debug/strcat_chk.c: Use char, not reg_char.
46237         * debug/strcpy_chk.c: Likewise.
46238         * debug/strncat_chk.c: Likewise.
46239         * debug/strncpy_chk.c: Likewise.
46240         * string/memchr.c: Likewise.
46241         * string/memrchr.c: Likewise.
46242         * string/rawmemchr.c: Likewise.
46243         * string/strcat.c: Likewise.
46244         * string/strchr.c: Likewise.
46245         * string/strchrnul.c: Likewise.
46246         * string/strcmp.c: Likewise.
46247         * string/strcpy.c: Likewise.
46248         * string/strncat.c: Likewise.
46249         * string/strncmp.c: Likewise.
46250         * string/strncpy.c: Likewise.
46252 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46254         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46255         __builtin_memcopy is called when src and dest ranges are known to not
46256         overlap.
46258 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46260         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46261         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46262         fwd_align_merge macro call.
46263         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46264         bwd_align_merge macro call.
46265         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46267 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
46269         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46270         bwd_align_merge macros.
46271         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46272         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46273         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46275 2012-04-18  David S. Miller  <davem@davemloft.net>
46277         * sysdeps/sparc/sparc64/memcopy.h: Delete.
46279 2012-04-18  Andreas Jaeger  <aj@suse.de>
46281         [BZ# 6794]
46282         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46283         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46284         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46286         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46287         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46288         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46290         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46291         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46292         Adjust for changed ldbl-128 files.
46294         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46295         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46296         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46298 2012-04-17  David S. Miller  <davem@davemloft.net>
46300         * sysdeps/sparc/sparc32/memcopy.h: Delete.
46302 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
46304         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46305         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46306         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46307         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46308         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46309         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46311 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46313         [BZ #6794]
46314         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46315         * math/libm-test.inc: Add ilogb errno and exception tests.
46316         * math/w_ilogb.c: New file: ilogb wrapper.
46317         * math/w_ilogbf.c: New file: ilogbf wrapper.
46318         * math/w_ilogbl.c: New file: ilogbl wrapper.
46319         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46320         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46321         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46322         exception being thrown with 0.0 as argument.
46323         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46324         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46325         exception being thrown with 0.0 as argument.
46326         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46327         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46328         exception being thrown with 0.0 as argument.
46329         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46330         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46331         exception being thrown with 0.0 as argument.
46332         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46333         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
46334         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
46335         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46336         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46337         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46338         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46339         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46340         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46342 2012-04-17  Petr Baudis  <pasky@ucw.cz>
46344         * include/sys/uio.h: Change __vector to __iovec to avoid clash
46345         with altivec.
46347 2012-04-16  Marek Polacek  <polacek@redhat.com>
46349         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46351 2012-04-16  Marek Polacek  <polacek@redhat.com>
46353         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46354         operands of fdivp instruction.
46356 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46358         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46359         * elf/tst-auditmod3b.c: Likewise.
46360         * elf/tst-auditmod4b.c: Likewise.
46361         * elf/tst-auditmod5b.c: Likewise.
46362         * elf/tst-auditmod6b.c: Likewise.
46363         * elf/tst-auditmod6c.c: Likewise.
46364         * elf/tst-auditmod7b.c: Likewise.
46365         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46366         * sysdeps/x86_64/preconfigure.in: Likewise.
46367         * sysdeps/x86_64/preconfigure: Regenerated.
46369 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
46371         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46372         __ILP32__.
46374 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
46376         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46377         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46379 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
46381         [BZ #13973]
46382         * locale/iso-639.def: Fix gl language name. Spotted by
46383         Yaron Shahrabani.
46385 2012-04-12  Roland McGrath  <roland@hack.frob.com>
46387         [BZ #2074]
46388         * libio/libio.h (__io_write_fn): Update comment.
46390 2012-04-12  Petr Baudis  <pasky@ucw.cz>
46392         [BZ #2074]
46393         * stdio.texi (Hook Functions): The user provided writer function
46394         is not allowed to return -1.
46396 2012-04-11  David S. Miller  <davem@davemloft.net>
46398         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46400 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
46402         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46403         Add a leading slash to rtkaio.
46405 2012-04-11  Jim Meyering  <meyering@redhat.com>
46407         [BZ #11959]
46408         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46409         It is not necessarily an error to ignore fwrite's return
46410         value.  One can reliably use ferror to test for errors after
46411         the fact.
46413 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46415         * bits/types.h (__snseconds_t): New type.
46416         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
46418         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
46419         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46420         (__SNSECONDS_T_TYPE): Likewise.
46421         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46422         (__SNSECONDS_T_TYPE): Likewise.
46423         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46424         (__SNSECONDS_T_TYPE): Likewise.
46426 2012-04-10  Andreas Jaeger  <aj@suse.de>
46428         [BZ #2636]
46429         * manual/time.texi (Processor Time): Return type of times is
46430         elapsed real time since an arbitrary point in the past.
46431         (CPU Time): Move CLK_TCK from here...
46432         (Processor Time): ...to here.  Correct description.
46433         * manual/conf.texi (Constants for Sysconf): Correct description of
46434         _SC_CLK_TCK.
46436 2012-04-10  David S. Miller  <davem@davemloft.net>
46438         [BZ #13967]
46439         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
46440         where the is a gap between DT_REL(A) and DT_JMPREL.
46442 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
46444         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
46445         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46446         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46448 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46450         * elf/dl-support.c (_dl_inhibit_cache): New variable.
46451         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
46452         (dl_main): Handle --inhibit-cache.
46453         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
46454         _dl_inhibit_cache.
46455         * elf/dl-load.c (_dl_map_object): Use it.
46456         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
46458 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46460         [BZ #13872]
46461         * sysdeps/i386/fpu/e_powl.S (p78): New object.
46462         (__ieee754_powl): Saturate large exponents rather than testing for
46463         overflow of y*log2(x).
46464         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
46465         * math/libm-test.inc (pow_test): Do not permit spurious overflow
46466         exceptions.
46468         [BZ #11521]
46469         * math/s_ctan.c: Include <float.h>.
46470         (__ctan): Avoid internal overflow or cancellation in calculating
46471         denominator.
46472         * math/s_ctanf.c: Likewise.
46473         * math/s_ctanl.c: Likewise.
46474         * math/s_ctanh.c: Likewise.
46475         * math/s_ctanhf.c: Likewise.
46476         * math/s_ctanhl.c: Likewise.
46477         * math/libm-test.inc (ctan_test): Add more tests.
46478         (ctanh_test): Likewise.
46479         * sysdeps/i386/fpu/libm-test-ulps: Update.
46480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46482 2012-04-09  Andreas Jaeger  <aj@suse.de>
46484         [BZ #6894]
46485         * manual/filesys.texi (Directory Entries): Mention that d_namlen
46486         is an optional BSD extension.
46488         [BZ #10254]
46489         * manual/stdio.texi (Opening Streams): Document additional fopen
46490         parameters.
46492 2012-04-09  Roland McGrath  <roland@hack.frob.com>
46494         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
46495         %eax without telling the compiler.
46497 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
46499         [BZ # 13963]
46500         * manual/install.texi: Use sourceware.org.
46502 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
46504         [BZ #13873]
46505         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
46506         (__ieee754_pow): Generate overflow and underflow using huge*huge
46507         and tiny*tiny rather than just returning constant infinity or zero
46508         for large exponents.
46509         * math/libm-test.inc (pow_test): Require overflow exceptions for
46510         applicable cases of large exponents.
46512         [BZ #706]
46513         * sysdeps/i386/fpu/e_pow.S (p10): New object.
46514         (__ieee754_pow): Use iterative multiplication algorithm only for
46515         integer exponents with absolute value below 1024.  Check for odd
46516         integer exponents when using algorithm for real exponents.
46517         * math/libm-test.inc (pow_test): Add more tests.
46518         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46520 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
46522         [BZ #13705]
46523         * math/libm-test.inc (exp_test): Do not allow overflow exception
46524         on underflow test.
46526 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
46528         [BZ #13705]
46529         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
46530         instead of __kernel_standard_f.
46532 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
46534         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
46535         * sysdeps/x86_64/memset_chk.S: Likewise.
46537 2012-04-08  Andreas Jaeger  <aj@suse.de>
46539         [BZ #10153]
46540         * manual/startup.texi (Environment Access): Describe return value
46541         for putenv and setenv.
46543         [BZ #6895]
46544         * manual/filesys.texi (Directory Entries): Add description for
46545         DT_LNK.
46547         [BZ #6890]
46548         * manual/filesys.texi (Directory Entries): Clarify that it's file
46549         system not operating system in the description of DT_UNKNOWN.
46551         [BZ #6578]
46552         * manual/syslog.texi (closelog): Fix reference, it's openlog.
46554 2012-04-08  Stephen Compall  <s11@member.fsf.org>
46556         [BZ #6649]
46557         * manual/llio.texi (Opening and Closing Files): Add cross
46558         reference to explain mode argument.
46560 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
46562         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
46563         * sysdeps/x86_64/memset_chk.S: Likewise.
46565 2012-04-07  David S. Miller  <davem@davemloft.net>
46567         * elf/elf.h (R_SPARC_WDISP10): Define.
46568         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
46569         R_SPARC_SIZE32.
46570         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
46571         R_SPARC_SIZE64 and R_SPARC_H34.
46573 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
46575         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
46576         conditions and remove no longer applicable assertion.
46578 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46580         * bits/byteswap.h: Include <features.h>.
46581         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
46582         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
46584 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
46586         * bits/byteswap.h (__bswap_16): Removed.
46587         Include <bits/byteswap-16.h> to get __bswap_16.
46588         * sysdeps/i386/bits/byteswap.h: Likewise.
46589         * sysdeps/s390/bits/byteswap.h: Likewise.
46590         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46591         * bits/byteswap-16.h: New file.
46592         * sysdeps/i386/bits/byteswap-16.h: Likewise.
46593         * sysdeps/s390/bits/byteswap-16.h: Likewise.
46594         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
46595         * string/Makefile (headers): Add bits/byteswap-16.h.
46597 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
46599         [BZ #13895]
46600         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
46601         extra indirection.
46602         * nss/Makefile (tests-static, tests): Add tst-nss-static.
46603         * nss/tst-nss-static.c: New.
46605 2012-04-06  Robert Millan  <rmh@gnu.org>
46607         [BZ #6486]
46608         * manual/llio.texi (File Position Primitive): lseek
46609         refers to WHENCE when it really means OFFSET.
46611 2012-04-06  Andreas Jaeger  <aj@suse.de>
46613         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
46614         strncmp declarations.
46616         * abilist/libc.abilist: Add __poll and __ppoll.
46618 2012-04-05  David S. Miller  <davem@davemloft.net>
46620         * scripts/check-local-headers.sh: Accept a host triplet in the
46621         path matched by the exclude regexp.
46623         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
46624         definition.
46625         * sysdeps/powerpc/powerpc32/dl-machine.h
46626         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
46627         * sysdeps/s390/s390-32/dl-machine.h
46628         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46629         * sysdeps/sparc/sparc32/dl-machine.h
46630         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46631         * sysdeps/sparc/sparc64/dl-machine.h
46632         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
46634         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
46635         lazy binding.
46636         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
46637         undefined symbol errors.
46639         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
46640         DT_NEEDED entries.
46642 2012-04-05  Michael Matz  <matz@suse.de>
46644         [BZ #13592]
46645         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
46647 2012-04-05  Andreas Jaeger  <aj@suse.de>
46649         [BZ #13908]
46650         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
46651         comment.
46653 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46655         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
46656         which ROUND is no valid rounding mode.
46658 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46660         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46661         read again.
46662         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46664 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46666         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46667         an exception using FPU order intentionally.
46669 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46671         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46672         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46673         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46674         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46676 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46678         [BZ #12340]
46679         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46680         EINVAL when BUFLEN is too smal.
46682 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46684         [BZ #13553]
46685         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46686         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46688 2012-04-03  Andreas Jaeger  <aj@suse.de>
46690         [BZ #13938]
46691         * manual/setjmp.texi (System V contexts): Fix sentence.
46693         [BZ #13926]
46694         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46695         New macro for this case.
46696         [!__GNUC__] (__bswap_64): New inline function for this case.
46697         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46698         * bits/byteswap.h: Likewise.
46699         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46700         ull, guard with __GLIBC_HAVE_LONG_LONG.
46702         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46703         __GLIBC_HAVE_LONG_LONG.
46705         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46706         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46708 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46710         [BZ #13691]
46711         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46712         inptr and inend, rather than using last_ch.
46714 2012-04-02  David S. Miller  <davem@davemloft.net>
46716         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46717         * stdio-common/printf-parse.h (read_int): Change return type to
46718         'int', return -1 on INT_MAX overflow.
46719         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46720         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46721         overflows INT_MAX.  Check for overflow of in-format-string precision
46722         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46723         SIZE_MAX not INT_MAX for integer overflow test.
46724         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46725         skip the construct in the format string but do not record anything.
46726         * stdio-common/bug22.c: Adjust to test both width/prevision
46727         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46728         explicitly for proper errno values.
46730 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46732         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46733         CHAR_MAX.
46734         * string/test-strcmp.c [! WIDE]: Likewise.
46735         * time/tst-mktime2.c: Likewise for INT_MAX.
46736         * string/test-string.h: #include <sys/param.h> for MIN.
46738         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46739         * sysdeps/i386/init-first.c (init): Likewise.
46740         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46741         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46742         * sysdeps/sh/init-first.c (init): Likewise.
46744 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46746         * po/ru.po: Update from translation team.
46747         * po/vi.po: Likewise.
46749 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46751         * resolv/nss_dns/dns-host.c: Merge copyright years.
46753 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46755         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46756         Optimize memcpy with prefetch if
46757         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46758         src, dst pointers have unequal 16 byte alignments.
46760 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46762         [BZ #13928]
46763         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46764         from a CNAME entry and return the minimum ttl for the query.
46765         (gaih_getanswer_slice): Likewise.
46767 2012-03-30  Jeff Law  <law@redhat.com>
46769         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46770         due to long keys.
46771         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46772         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46774         * resolv/nss_dns/dns-host.c: Update copyright year.
46776 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46778         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46779         requests to save a system call.  Fix check that all bytes are sent.
46781         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46782         comments for sendmmsg.
46784 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46786         [BZ #13691]
46787         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46788         with only 1 character between 0x0041 and 0x01b0.
46789         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46790         * wcsmbs/tst-mbsnrtowcs.c: New file.
46792 2012-03-29  David S. Miller  <davem@davemloft.net>
46794         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46795         small copies by hand.
46797 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46799         [BZ #13761]
46800         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46801         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46802         group memberships.
46804 2012-03-28  David S. Miller  <davem@davemloft.net>
46806         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46807         that branches into memcpy.
46808         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46809         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46810         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46811         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46812         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46813         bits.
46814         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46815         implementation too.
46816         * sysdeps/sparc/mempcpy.S: New file.
46818         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46819         the IFUNC routine in the libc case.
46820         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46822         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46823         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46824         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46825         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46826         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46827         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46828         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46829         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46831         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46832         loop to 256 bytes instead of 64 bytes and fix test signedness.
46834         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46835         * sysdeps/sparc/sparc32/Makefile: rather than here...
46836         * sysdeps/sparc/sparc64/Makefile: and here.
46838 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
46840         * malloc/mallocbug.c: Avoid warnings about unused variables.
46842 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46844         [BZ #13760]
46845         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46846         in the right place. Discard and retry query if response is
46847         larger than input buffer size.
46849 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
46851         [BZ #369]
46852         [BZ #2678]
46853         [BZ #3866]
46854         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46855         x for large integer exponent.
46856         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46857         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
46858         sign of result as needed afterwards.
46859         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46860         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46861         result for underflowing pow the same as for overflow.
46862         (__kernel_standard_l): Handle powl overflow and underflow here
46863         rather than calling __kernel_standard.
46864         * math/libm-test.inc (pow_test): Add more tests.
46866         [BZ #3868]
46867         [BZ #13879]
46868         [BZ #13910]
46869         [BZ #13911]
46870         [BZ #13912]
46871         [BZ #13913]
46872         [BZ #13915]
46873         [BZ #13916]
46874         [BZ #13917]
46875         [BZ #13918]
46876         [BZ #13919]
46877         [BZ #13920]
46878         [BZ #13921]
46879         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46880         * sysdeps/ieee754/k_standard.c: Include <float.h>.
46881         (__kernel_standard_l): New function.
46882         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46883         __kernel_standard.
46884         * math/w_acosl.c (__acosl): Likewise.
46885         * math/w_asinl.c (__asinl): Likewise.
46886         * math/w_atan2l.c (__atan2l): Likewise.
46887         * math/w_atanhl.c (__atanhl): Likewise.
46888         * math/w_coshl.c (__coshl): Likewise.
46889         * math/w_exp10l.c (__exp10l): Likewise.
46890         * math/w_exp2l.c (__exp2l): Likewise.
46891         * math/w_fmodl.c (__fmodl): Likewise.
46892         * math/w_hypotl.c (__hypotl): Likewise.
46893         * math/w_j0l.c (__j0l, __y0l): Likewise.
46894         * math/w_j1l.c (__j1l, __y1l): Likewise.
46895         * math/w_jnl.c (__jnl, __ynl): Likewise.
46896         * math/w_lgammal.c (__lgammal): Likewise.
46897         * math/w_log10l.c (__log10l): Likewise.
46898         * math/w_log2l.c (__log2l): Likewise.
46899         * math/w_logl.c (__logl): Likewise.
46900         * math/w_powl.c (__powl): Likewise.
46901         * math/w_remainderl.c (__remainderl): Likewise.
46902         * math/w_scalbl.c (sysv_scalbl): Likewise.
46903         * math/w_sinhl.c (__sinhl): Likewise.
46904         * math/w_sqrtl.c (__sqrtl): Likewise.
46905         * math/w_tgammal.c (__tgammal): Likewise.
46906         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46907         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46908         * math/libm-test.inc (acos_test): Add more tests.
46909         (acosh_test): Likewise.
46910         (asin_test): Likewise.
46911         (atanh_test): Likewise.
46912         (exp_test): Likewise.
46913         (exp10_test): Likewise.
46914         (exp2_test): Likewise.
46915         (expm1_test): Likewise.
46916         (lgamma_test): Likewise.
46917         (log_test): Likewise.
46918         (log10_test): Likewise.
46919         (log1p_test): Likewise.
46920         (log2_test): Likewise.
46921         (pow_test): Do not allow some spurious overflow exceptions.
46922         (sqrt_test): Add more tests.
46923         (tgamma_test): Likewise.
46924         (y0_test): Likewise.
46925         (y1_test): Likewise.
46926         (yn_test): Likewise.
46928 2012-03-27  Anton Blanchard  <anton@samba.org>
46930         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46931         MAP_HUGETLB.
46932         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46933         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46936 2012-03-27  David S. Miller  <davem@davemloft.net>
46938         * conform/Makefile: Run run-conformtest.sh using $(BASH).
46940         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46941         have-as-vis3 check.
46943 2012-03-27  Andreas Jaeger  <aj@suse.de>
46945         * sysdeps/x86_64/elf/configure.in: Moved to ...
46946         * sysdeps/x86_64/configure.in: ... here.
46947         * sysdeps/x86_64/elf/start.S: Moved to ...
46948         * sysdeps/x86_64/start.S: ... here.
46949         * sysdeps/x86_64/elf/configure: Delete.
46951         * sysdeps/x86_64/configure.in: Merge contents from
46952         sysdeps/i386/configure.in (without i686 check).
46954         * sysdeps/i386/elf/Versions: Merge into ...
46955         * sysdeps/i386/Versions: ... this.
46956         * sysdeps/i386/elf/Versions: Delete file.
46957         * sysdeps/i386/elf/start.S: Moved to ...
46958         * sysdeps/i386/start.S: ...here.
46959         * sysdeps/i386/elf/configure.in: Merge into...
46960         * sysdeps/i386/configure.in: ...here.
46961         * sysdeps/i386/elf/configure.in: Delete file.
46962         * sysdeps/i386/elf/configure: Delete file.
46964         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46965         * debug/backtracesyms.c: ... here.
46966         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46967         * debug/backtracesymsfd.c: ... here.
46968         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46969         * sysdeps/generic/ifunc-sel.h: ... here.
46971         * sysdeps/unix/i386/start.c: Delete file.
46972         * sysdeps/unix/sparc/start.c: Delete file.
46973         * sysdeps/unix/start.c: Delete file.
46975         * sysdeps/sh/elf/configure.in: Moved to ...
46976         * sysdeps/sh/configure.in: ... here.
46977         * sysdeps/sh/elf/start.S: Moved to ...
46978         * sysdeps/sh/start.S: ... here.
46979         * sysdeps/sh/elf/configure: Delete file.
46981         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46982         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46983         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46984         * sysdeps/powerpc/powerpc64/entry.h: ... here.
46985         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46986         * sysdeps/powerpc/powerpc64/start.S: here.
46987         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46988         * sysdeps/powerpc/powerpc64/Makefile: ... this.
46989         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46990         * sysdeps/powerpc/powerpc64/configure.in: ... this.
46991         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46993         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46994         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46995         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46996         * sysdeps/powerpc/powerpc32/start.S: ... here.
46997         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46998         * sysdeps/powerpc/powerpc32/configure.in: ... this.
46999         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47001         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47002         * sysdeps/powerpc/ifunc-sel.h: ... here.
47003         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47004         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47006         * sysdeps/sparc/elf/configure.in: Moved to ...
47007         * sysdeps/sparc/configure.in: ... here.
47008         * sysdeps/sparc/elf/configure: Delete file.
47009         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47010         * sysdeps/sparc/sparc32/start.S: ... here.
47011         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47012         * sysdeps/sparc/sparc64/start.S: ... here.
47013         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47014         * sysdeps/sparc/sparc32/Makefile: ... this.
47015         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47016         * sysdeps/sparc/sparc64/Makefile: ... this.
47018         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47019         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47020         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47021         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47022         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47023         * sysdeps/s390/s390-32/setjmp.S: ... here.
47024         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47025         * sysdeps/s390/s390-32/configure.in: ... here.
47026         * sysdeps/s390/s390-32/elf/configure: Delete file.
47027         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47028         * sysdeps/s390/s390-32/start.S: ... here.
47030         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47031         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47032         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47033         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47034         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47035         * sysdeps/s390/s390-64/setjmp.S: ... here.
47036         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47037         * sysdeps/s390/s390-64/configure.in: ... here
47038         * sysdeps/s390/s390-64/elf/configure: Delete file.
47039         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47040         * sysdeps/s390/s390-64/start.S: ... here.
47041         * sysdeps/s390/s390-64/elf/configure: Delete.
47043         * configure.in: Remove support for elf directories in sysdeps.
47045         * configure: Regenerated.
47046         * sysdeps/i386/configure: Regenerated.
47047         * sysdeps/powerpc/powerpc32/configure: Regenerated.
47048         * sysdeps/powerpc/powerpc64/configure: Regenerated.
47049         * sysdeps/s390/s390-32/configure: Regenerated.
47050         * sysdeps/s390/s390-64/configure: Regenerated.
47051         * sysdeps/sh/configure: Regenerated.
47052         * sysdeps/sparc/configure: Regenerated.
47053         * sysdeps/x86_64/configure: Regenerated.
47055 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
47057         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47059         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47060         denormal result into account.
47062 2012-03-25  Roland McGrath  <roland@hack.frob.com>
47064         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47065         Reported by Allan McRae <allan@archlinux.org>.
47067 2012-03-23  Jeff Law  <law@redhat.com>
47069         * nss/getnssent.c (__nss_getent): Fix typo.
47071 2012-03-23  David S. Miller  <davem@davemloft.net>
47073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47075 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
47077         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47078         to pad to uint64_t for each field.
47079         (dl_tls_index): Replace unsigned long with uint64_t.
47081 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
47082         Paul Pluzhnikov  <ppluzhnikov@google.com>
47084         [BZ #6528]
47085         * grp/Makefile (otherlibs): Don't set it.
47086         * inet/Makefile (otherlibs): Likewise.
47087         * login/Makefile (otherlibs): Likewise.
47088         * nscd/Makefile (otherlibs): Likewise.
47089         * posix/Makefile (otherlibs): Likewise.
47090         * pwd/Makefile (otherlibs): Likewise.
47091         * rt/Makefile (otherlibs): Likewise.
47092         * sunrpc/Makefile (otherlibs): Likewise.
47093         * nss/Makefile (otherlibs): Likewise.
47094         Add libnss_files to routines and static-only-routines.
47095         ($(objpfx)getent): Remove rule.
47096         * resolv/Makefile: Add libnss_dns and libresolv to routines and
47097         static-only-routines.
47099 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47101         [BZ #13892]
47102         * math/s_cexp.c: Include <float.h>.
47103         (__cexp): Handle exp result overflowing not necessarily
47104         overflowing both real and imaginary parts of result.
47105         * math/s_cexpf.c: Likewise.
47106         * math/s_cexpl.c: Likewise.
47107         * math/libm-test.inc (cexp_test): Add more tests.
47108         * sysdeps/i386/fpu/libm-test-ulps: Update.
47109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47111 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47113         * include/link.h (ELFW): New macro.
47114         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47115         Replace ELF64_R_TYPE with ELFW(R_TYPE).
47117 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47119         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47120         with uint64_t.
47122 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47124         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47125         declaration.
47126         (struct La_x32_retval): Likewise.
47128 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
47130         * sysdeps/x86_64/preconfigure.in: New file.
47131         * sysdeps/x86_64/preconfigure: New generated file.
47133 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
47135         [BZ #13824]
47136         * math/e_exp2l.c: Include <float.h>.
47137         (__ieee754_exp2l): Handle overflow and underflow cases
47138         separately.  Only pass fractional part of argument to
47139         __ieee754_expl.
47140         * math/libm-test.inc (exp2_test): Add more tests.
47142         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47143         negating x to take absolute value.
47144         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47145         Likewise.
47146         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47147         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47148         Likewise.
47149         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47150         computing low part if x was negated.
47151         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47153 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47155         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47156         la_x32_gnu_pltexit.
47157         (pltexit): Cast int_retval to ptrdiff_t.
47158         * elf/tst-auditmod3b.c: Likewise.
47159         * elf/tst-auditmod4b.c: Likewise.
47160         * elf/tst-auditmod5b.c: Likewise.
47161         * elf/tst-auditmod6b.c: Likewise.
47162         * elf/tst-auditmod6c.c: Likewise.
47163         * elf/tst-auditmod7b.c: Likewise.
47165         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47166         and x32_gnu_pltexit.
47168         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47169         __ELF_NATIVE_CLASS.
47170         (La_x32_regs): New macro.
47171         (La_x32_retval): Likewise.
47172         (la_x32_gnu_pltenter): New function prototype.
47173         (la_x32_gnu_pltexit): Likewise.
47175 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
47177         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47178         exponent.
47180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47182         * configure.in (libc_cv_cc_nofma): Check for option to disable
47183         generation of FMA instructions.
47184         * configure: Regenerate.
47185         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47186         * sysdeps/ieee754/dbl-64/Makefile: New file.
47187         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47188         Remove brandred-fma4.
47189         (CFLAGS-brandred-fma4.c): Remove.
47190         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47191         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47192         define.
47193         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47194         define.
47196 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47198         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47199         LLONG_MAX != LONG_MAX.
47200         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47201         (_fitoa_word): Likewise.
47202         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47203         LLONG_MAX != LONG_MAX.
47204         * stdio-common/_itowa.h: Include <_itoa.h>.
47205         (_itowa_word): Use _ITOA_WORD_TYPE on value.
47206         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
47207         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
47208         only if not defined.
47209         (_ITOA_WORD_TYPE): Likewise.
47210         (_itoa_word): Use _ITOA_WORD_TYPE on value.
47211         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47213 2012-03-21  David S. Miller  <davem@davemloft.net>
47215         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47217 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
47219         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47220         of x86_64 when setting libc_cv_slibdir, libdir and
47221         libc_cv_localedir.
47222         * sysdeps/unix/sysv/linux/configure: Regenerated.
47224 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47226         * manual/lang.texi (Old Varargs): Remove section.
47227         (How Variadic): Update menu.
47228         (va_start): Do not mention varargs.h.
47230 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47231             Joseph Myers  <joseph@codesourcery.com>
47233         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47234         link test.
47235         * configure: Regenerated.
47237 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
47239         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47240         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47241         conformtest.pl
47243 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47245         * NOTES: Remove.
47246         * Makefile (files-for-dist): Remove NOTES.
47247         (NOTES): Remove rule.
47248         * README: Don't refer to NOTES.
47249         * manual/creature.texi: Don't include macros.texi.
47250         * manual/intro.texi (creature.texi): Remove comment referring to
47251         NOTES.
47253         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47254         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47255         * configure: Regenerated.
47256         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47257         LIBC_TRY_CC_OPTION.
47258         (libc_cv_as_i686): Likewise.
47259         (libc_cv_cc_avx): Likewise.
47260         (libc_cv_cc_sse2avx): Likewise.
47261         (libc_cv_cc_fma4): Likewise.
47262         (libc_cv_cc_novzeroupper): Likewise.
47263         * sysdeps/i386/configure: Regenerated.
47265         [BZ #13883]
47266         * sysdeps/i386/fpu/s_cexp.S: Remove.
47267         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47268         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47269         * math/libm-test.inc (cexp_test): Add more tests.
47270         * sysdeps/i386/fpu/libm-test-ulps: Update.
47271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47273 2012-03-21  Allan McRae  <allan@archlinux.org>
47275         * timezone/Makefile: Do not install iso3166.tab and zone.tab
47277 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
47279         [BZ #13871]
47280         * math/w_exp2.c: Do not include <float.h>.
47281         (o_threshold, u_threshold): Remove.
47282         (__exp2): Calculate result before checking finiteness and calling
47283         __kernel_standard.
47284         * math/w_exp2f.c: Likewise.
47285         * math/w_exp2l.c: Likewise.
47286         * math/libm-test.inc (exp2_test): Require overflow exception for
47287         1e6 input.
47289         [BZ #3866]
47290         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47291         range of signed 64-bit integers before using fistpll.  Remove
47292         checks for whether integers fit in mantissa bits.
47293         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47294         the range of signed 32-bit integers before using fistpl.  Remove
47295         checks for whether integers fit in mantissa bits.
47296         * sysdeps/i386/fpu/e_powl.S (p64): New object.
47297         (__ieee754_powl): Test for y outside the range of signed 64-bit
47298         integers before using fistpll.  Reduce 64-bit values to 63-bit
47299         ones as needed.
47300         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47301         divide-by-zero is raised for zero to large negative powers.
47302         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47303         (__ieee754_powl): Test for y outside the range of signed 64-bit
47304         integers before using fistpll.  Reduce 64-bit values to 63-bit
47305         ones as needed.
47306         * math/libm-test.inc (pow_test): Add more tests.
47308 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47310         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47311         <stdio-common/_itoa.h>.
47312         * debug/segfault.c: Likewise.
47313         * elf/dl-cache.c: Likewise.
47314         * elf/dl-minimal.c: Likewise.
47315         * elf/dl-misc.c: Likewise.
47316         * elf/dl-sysdep.c: Likewise.
47317         * elf/dl-version.c: Likewise.
47318         * elf/rtld.c: Likewise.
47319         * hurd/hurdsock.c: Likewise.
47320         * hurd/lookup-retry.c: Likewise.
47321         * malloc/malloc.c: Likewise.
47322         * malloc/mtrace.c: Likewise.
47323         * nscd/nscd_getgr_r.c: Likewise.
47324         * nscd/nscd_getpw_r.c: Likewise.
47325         * nscd/nscd_getserv_r.c: Likewise.
47326         * posix/getopt_init.c: Likewise.
47327         * posix/wordexp.c: Likewise.
47328         * stdio-common/_itoa.c: Likewise.
47329         * stdio-common/printf_fphex.c: Likewise.
47330         * stdio-common/vfprintf.c: Likewise.
47331         * string/_strerror.c: Likewise.
47332         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47333         * sysdeps/i386/i686/hp-timing.h: Likewise.
47334         * sysdeps/mach/_strerror.c: Likewise.
47335         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47336         * sysdeps/mach/hurd/sethostid.c: Likewise.
47337         * sysdeps/mach/hurd/xmknodat.c: Likewise.
47338         * sysdeps/mach/xpg-strerror.c: Likewise.
47339         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47340         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47341         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47342         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47343         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47344         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47345         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47346         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47347         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47348         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47349         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47350         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47351         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47352         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47353         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47354         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47355         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47356         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47357         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47358         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47359         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47361         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47363         * stdio-common/_itoa.h: Moved to ...
47364         * sysdeps/generic/_itoa.h: Here.
47366         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47368         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47369         instead of "_itoa.h" and "_itowa.h".
47370         * stdio-common/vfprintf.: Likewise.
47372 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47374         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47375         <bits/wordsize.h>.
47376         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47377         (__signbit): Likwise.
47378         (llrintf): Likwise.
47379         (llrint): Likwise.
47381 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
47383         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47384         __WORDSIZE != 64.
47386 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
47388         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47389         OVERFLOW_EXCEPTION_OK.
47390         * math/libm-test.inc ("Philosophy"): Update comment about
47391         exception testing.
47392         (OVERFLOW_EXCEPTION): Define.
47393         (OVERFLOW_EXCEPTION_OK): Likewise.
47394         (INVALID_EXCEPTION_OK): Renumber.
47395         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47396         (IGNORE_ZERO_INF_SIGN): Likewise.
47397         (test_exceptions): Handle FE_OVERFLOW.
47398         (exp10_test): Expect overflow exceptions.
47399         (exp2_test): Likewise.
47400         (expm1_test): Likewise.
47401         (nextafter_test): Likewise.
47402         (pow_test): Likewise.
47403         (scalbn_test): Likewise.
47404         (scalbln_test): Likewise.
47406 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47408         * sysdeps/x86_64/bits/atomic.h
47409         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47410         64bit integer.
47411         (atomic_exchange_acq): Likewise.
47412         (__arch_exchange_and_add_body): Likewise.
47413         (__arch_add_body): Likewise.
47414         (atomic_add_negative): Likewise.
47415         (atomic_add_zero): Likewise.
47417 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47419         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
47420         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
47422 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47424         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
47425         Check __x86_64__ instead of __WORDSIZE.
47427 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47429         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
47431 2012-03-19  David S. Miller  <davem@davemloft.net>
47433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47435         * sysdeps/sparc/fpu/fenv_private.h: New file.
47436         * sysdeps/sparc/fpu/math_private.h: Use it.
47437         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
47438         Remove.
47439         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
47440         (libc_feholdexcept_setroundl): Remove.
47441         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
47442         Remove.
47443         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
47444         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
47446 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47448         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
47449         int64_t instead of long int.
47450         (INSERT_WORDS64): Likwise.
47452 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
47454         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
47455         _Unwind_GetCFA return to _Unwind_Ptr first.
47457 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
47459         [BZ #13629]
47460         * math/s_clog.c: Include <float.h>.
47461         (__clog): Scale large or subnormal inputs.
47462         * math/s_clogf.c: Likewise.
47463         * math/s_clogl.c: Likewise.
47464         * math/s_clog10.c: Include <float.h>.
47465         (M_LOG10_2): Define.
47466         (__clog10): Scale large or subnormal inputs.
47467         * math/s_clog10f.c: Likewise.
47468         * math/s_clog10l.c: Likewise.
47469         * math/libm-test.inc (clog_test): Add more tests.
47470         (clog10_test): Likewise.
47471         * sysdeps/i386/fpu/libm-test-ulps: Update.
47472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47474         [BZ #11451]
47475         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
47476         x and y.
47477         * math/libm-test.inc (atan2_test): Add another test.
47479         * Makerules (common-objdir-compile): Remove.
47480         * sysdeps/unix/Makefile (config-generated): Do not add
47481         $(unix-generated) to variable.
47482         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
47483         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
47484         Remove rule.
47485         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
47486         Likewise.
47487         [generic bits/local_lim.h] (before-compile): Do not append to
47488         variable.
47489         [generic bits/local_lim.h] (common-generated): Likewise.
47490         [generic sys/param.h] (before-compile): Do not append to variable.
47491         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
47492         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
47493         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
47494         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
47495         include.
47496         [generic sys/param.h] (sys/param.h-includes): Remove variable.
47497         [generic sys/param.h] (sys/param.h-includes): Remove rule.
47498         [generic sys/param.h] ($(addprefix
47499         $(common-objpfx),$(sys/param.h-includes))): Likewise.
47500         [generic sys/param.h] (common-generated): Do not append to
47501         variable.
47502         [generic sys/param.h] (sysdep_headers): Likewise.
47503         [generic bits/errno.h] (before-compile): Do not append to
47504         variable.
47505         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
47506         rule.
47507         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
47508         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
47509         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
47510         [generic bits/errno.h] (common-generated): Do not append to
47511         variable.
47512         [generic bits/ioctls.h] (before-compile): Do not append to
47513         variable.
47514         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
47515         rule.
47516         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
47517         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
47518         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
47519         rule.
47520         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
47521         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
47522         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
47523         [generic bits/ioctls.h] (common-generated): Do not append to
47524         variable.
47525         [generic sys/syscall.h] (syscall.h): Remove variable.
47526         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
47527         rule.
47528         [generic sys/syscall.h] (before-compile): Do not append to
47529         variable.
47530         [generic sys/syscall.h] (common-generated): Likewise.
47531         * sysdeps/unix/errnos-tmpl.c: Remove file.
47532         * sysdeps/unix/errnos.awk: Likewise.
47533         * sysdeps/unix/ioctls-tmpl.c: Likewise.
47534         * sysdeps/unix/ioctls.awk: Likewise.
47535         * sysdeps/unix/mk-local_lim.c: Likewise.
47536         * sysdeps/unix/snarf-ioctls: Likewise.
47538 2012-03-19  Richard Henderson  <rth@twiddle.net>
47540         * sysdeps/i386/fpu/fenv_private.h: New file.
47541         * sysdeps/i386/fpu/math_private.h: Use it.
47542         (math_opt_barrier, math_force_eval): Remove.
47543         (libc_feholdexcept_setround_53bit): Remove.
47544         (libc_feupdateenv_53bit): Remove.
47545         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47546         (math_opt_barrier, math_force_eval): Remove.
47547         (libc_feholdexcept): Remove.
47548         (libc_feholdexcept_setround): Remove.
47549         (libc_fetestexcept, libc_fesetenv): Remove.
47550         (libc_feupdateenv_test): Remove.
47551         (libc_feupdateenv, libc_feholdsetround): Remove.
47552         (libc_feresetround): Remove.
47554         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
47555         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
47557         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
47558         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
47559         (libc_feupdateenv_testl): New.
47560         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
47561         (libc_feupdateenv_testf): New.
47562         (libc_feupdateenv): Use libc_feupdateenv_test.
47563         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
47564         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
47566         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
47567         (libc_feholdsetroundf, libc_feholdsetroundl): New.
47568         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
47569         (libc_feresetround_noex): New.
47570         (libc_feresetround_noexf): New.
47571         (libc_feresetround_noexl): New.
47572         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
47573         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
47574         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
47575         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
47576         SET_RESTORE_ROUND.
47577         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
47578         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
47579         (__cos): Likewise.
47580         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
47581         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
47582         SET_RESTORE_ROUND_NOEX.
47583         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
47584         SET_RESTORE_ROUND_NOEXF.
47585         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
47586         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
47587         (libc_feholdsetroundf): New.
47588         (libc_feresetround, libc_feresetroundf): New.
47590         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
47591         (libc_feholdexcept_setround_53bit): Convert from macro to function.
47592         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
47594         * sysdeps/generic/math_private.h: Include <fenv.h>.
47595         (default_libc_feholdexcept): New.
47596         (default_libc_feholdexcept_setround): New.
47597         (default_libc_fesetenv, default_libc_feupdateenv): New.
47598         (libc_feholdexcept): Only define if undefined.
47599         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
47600         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
47601         (libc_feholdexcept_setroundl): Likewise.
47602         (libc_feholdexcept_setround_53bit): Likewise.
47603         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
47604         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
47605         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
47606         (libc_feupdateenv_53bit): Likewise.
47607         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
47608         (libc_feholdexcept): Convert from macro to inline function.
47609         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
47610         (libc_fesetenv, libc_feupdateenv): Likewise.
47612         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
47613         not previously defined.
47614         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
47615         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
47616         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
47617         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
47618         * sysdeps/ieee754/flt-32/math_private.h: New file.
47619         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
47620         math_private.h below SET_FLOAT_WORD.
47621         (__isnan, __isinf_ns, __finite): Remove.
47622         (__isnanf, __isinf_nsf, __finitef): Remove.
47624 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
47626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47628 2012-03-17  David S. Miller  <davem@davemloft.net>
47630         [BZ #6471]
47631         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
47632         for 2.16.
47634 2012-03-16  David S. Miller  <davem@davemloft.net>
47636         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
47637         warnings.
47639         [BZ #6471]
47640         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
47641         properly.
47642         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
47643         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
47644         sysdep_routines when subdir is sysvipc.
47645         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
47646         __getshmlba helper.
47648         * sysdeps/sparc/fpu/libm-test/ulps: Update.
47650 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47652         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
47653         [__LP64__].
47655 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47657         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
47658         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47659         (__lround): Renamed to ...
47660         (__llround): This.  Replace long int with long long int.
47661         Define lround functions as aliases of llround functions.
47662         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47664 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47666         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47667         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47668         adresses to uintptr_t.  Replace "long int" and "unsigned long
47669         int" with "greg_t" on va_arg.
47671 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47673         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47674         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47676         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47677         Move e_machine check before EI_CLASS check.  Handle x32
47678         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47679         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47680         SKIP_EM_IA_64 and include
47681         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47683         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47684         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47685         (add_system_dir): New macro.
47687         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47688         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47690 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47692         [BZ #2551]
47693         [BZ #2552]
47694         [BZ #2553]
47695         [BZ #2554]
47696         [BZ #2562]
47697         [BZ #2563]
47698         [BZ #2565]
47699         [BZ #2566]
47700         [BZ #2576]
47701         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47702         (y0): Likewise.
47703         * math/w_j0f.c (j0f): Likewise.
47704         (y0f): Likewise.
47705         * math/w_j0l.c (__j0l): Likewise.
47706         (__y0l): Likewise.
47707         * math/w_j1.c (j1): Likewise.
47708         (y1): Likewise.
47709         * math/w_j1f.c (j1f): Likewise.
47710         (y1f): Likewise.
47711         * math/w_j1l.c (__j1l): Likewise.
47712         (__y1l): Likewise.
47713         * math/w_jn.c (jn): Likewise.
47714         (yn): Likewise.
47715         * math/w_jnf.c (jnf): Likewise.
47716         (ynf): Likewise.
47717         * math/w_jnl.c (__jnl): Likewise.
47718         (__ynl): Likewise.
47719         * math/libm-test.inc (j0_test): Add more tests.
47720         (j1_test): Likewise.
47721         (jn_test): Likewise.  Add trailing semicolon to existing test.
47722         (y0_test): Likewise.
47723         (y1_test): Likewise.
47724         * sysdeps/i386/fpu/libm-test-ulps: Update.
47725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47727         [BZ #13851]
47728         [BZ #13854]
47729         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47730         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47731         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47732         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47733         (__tanl): Set errno for infinite argument.
47734         * sysdeps/i386/fpu/mptan.c: Remove.
47735         * sysdeps/i386/fpu/s_tan.S: Likewise.
47736         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47737         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47738         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47739         * math/libm-test.inc (tan_test): Add more tests and enable more
47740         tests for double and long double.
47741         * sysdeps/i386/fpu/libm-test-ulps: Update.
47742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47744 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47746         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47747         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47749 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47751         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47752         * configure.in: Use it for both main tree and add-ons.
47753         * configure: Regenerated.
47755 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47757         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47759 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47761         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47762         in comment.
47764         [BZ #13851]
47765         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47766         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47767         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47768         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47769         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47770         infinite argument.
47771         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47772         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47773         != 0 for prec == 2.
47774         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47775         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47776         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47777         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47778         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47779         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47780         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47781         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47782         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47783         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47784         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47785         * math/libm-test.inc (cos_test): Add more tests and enable more
47786         tests for long double.
47787         (sin_test): Likewise.
47788         (sincos_test): Likewise.
47789         * sysdeps/i386/fpu/libm-test-ulps: Update.
47790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47792 2012-03-16  David S. Miller  <davem@davemloft.net>
47794         * sysdeps/sparc/fpu/math_private.h: New file.
47796 2012-03-15  David S. Miller  <davem@davemloft.net>
47798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47799         file.
47800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47802         file.
47803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47804         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47805         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47806         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47807         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47808         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47809         sysdep routines.
47810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47812         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47813         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47815         * sysdeps/sparc/sparc-ifunc.h: New file.
47816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47817         sparc-ifunc.h
47818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47820         Likewise.
47821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47822         Likewise.
47823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47827         Likewise.
47828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47833         Likewise.
47834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47835         Likewise.
47836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47840         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47842         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47843         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47845         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47846         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47847         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47848         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47849         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47850         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47851         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47852         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47853         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47854         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47855         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47856         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47857         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47858         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47859         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47861 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47863         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47864         scaling.
47865         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47867 2012-03-15  Andreas Jaeger  <aj@suse.de>
47869         [BZ #13852]
47870         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47871         ieee754/flt-32 implementation for sin, cos and sincos.
47872         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47873         * sysdeps/i386/fpu/s_cosf.S: Likewise.
47874         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47875         * sysdeps/i386/fpu/s_sinf.S: Likewise.
47876         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47877         ieee754/flt-32 implementation for tan.
47879         * math/libm-test.inc (cos_test): Enable some large input tests for
47880         float as well
47881         (sin_test): Likewise.
47882         (sincos_test): Likewise.
47883         (tan_test): Add tests for large input.
47885         * sysdeps/i386/fpu/libm-test-ulps: Update.
47887 2012-03-15  Andreas Jaeger  <aj@suse.de>
47889         [BZ #13658]
47890         * math/libm-test.inc (cos_test): Add more test cases.
47891         (sin_test): Likewise.
47892         (sincos_test): Likewise.
47894 2012-03-15  Andreas Jaeger  <aj@suse.de>
47896         [BZ #13837]
47897         * math/libm-test.inc (cos_test): Add a test case for large input
47898         value.
47899         (sin_test): Likewise.
47900         (sincos_test): Likewise.
47902 2012-03-15  Andreas Jaeger  <aj@suse.de>
47903             Joseph Myers  <joseph@codesourcery.com>
47905         [BZ #13658]
47906         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47907         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47908         * sysdeps/i386/fpu/branred.c: Likewise.
47909         * sysdeps/i386/fpu/dosincos.c: Likewise.
47910         * sysdeps/i386/fpu/mpa.c: Likewise.
47911         * sysdeps/i386/fpu/s_cos.S: Likewise.
47912         * sysdeps/i386/fpu/s_sin.S: Likewise.
47913         * sysdeps/i386/fpu/s_sincos.S: Likewise.
47914         * sysdeps/i386/fpu/sincos32.c: Likewise.
47916         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47917         Define.
47918         (libc_feupdateenv_53bit): Define.
47919         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47920         Define.
47921         (libc_feupdateenv_53bit): Define.
47923         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47924         53 bit (without extend i386 double precision).
47926         * math/libm-test.inc (sincos_test): Add tests for large input.
47927         (sin): Likewise.
47928         (cos): Likewise.
47930         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47932 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47936 2012-03-15  David S. Miller  <davem@davemloft.net>
47938         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47939         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47940         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47941         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47942         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47943         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47944         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47945         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47946         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47947         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47948         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47949         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47950         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47951         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47952         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47954         file.
47955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47957         file.
47958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47960         file.
47961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47963         file.
47964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47965         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47966         fmin/fmax sysdep routines.
47967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47969 2012-03-14  David S. Miller  <davem@davemloft.net>
47971         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47972         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47973         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47974         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47975         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47976         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47977         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47978         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47979         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47980         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47981         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47982         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47983         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47984         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47985         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47986         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47987         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47988         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47989         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47990         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47991         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47992         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47993         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47994         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47995         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47996         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47997         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47998         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47999         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48000         routines.
48001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48002         file.
48003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
48004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48005         file.
48006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
48007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48008         file.
48009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
48010         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48011         file.
48012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
48013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48014         file.
48015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
48016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48017         file.
48018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48019         file.
48020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48021         file.
48022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48023         file.
48024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48025         New file.
48026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48027         file.
48028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48029         file.
48030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
48031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48032         file.
48033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
48034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48035         file.
48036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
48037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48038         file.
48039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
48040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48041         VIS3 routines.
48043         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48044         New file.
48046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48048         * sysdeps/sparc/configure.in: New file.
48049         * sysdeps/sparc/configure: Generate.
48050         * configure.in (libc_cv_sparc_as_vis3): Substitute.
48051         * configure: Regenerate.
48052         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48053         * config.make.in (have-as-vis3): New.
48054         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48055         available use -Av9d instead of -Av9a.
48056         * sysdeps/sparc/sparc64/Makefile: Likewise.
48057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
48058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48059         New file.
48060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48061         file.
48062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48063         New file.
48064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48065         file.
48066         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48067         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48068         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48069         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48070         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48072         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48073         fzeros/fnegs to load 0x80000000 into a float register instead of
48074         using the stack.
48075         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48077 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48080         bits/syscall.h.
48081         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48082         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48083         ($(inst_includedir)/bits/syscall.h): Remove rule.
48084         ($(objpfx)bits/syscall.d): Include instead of
48085         $(objpfx)syscall-list.d.
48086         (generated): Change syscall-list.h and syscall-list.d to
48087         bits/syscall.h and bits/syscall.d.
48089 2012-03-14  Roland McGrath  <roland@hack.frob.com>
48091         [BZ #13846]
48092         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48094 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
48096         [BZ #13841]
48097         * math/s_csqrt.c: Include <float.h>.
48098         (__csqrt): Scale large or subnormal inputs.
48099         * math/s_csqrtf.c: Likewise.
48100         * math/s_csqrtl.c: Likewise.
48101         * math/libm-test.inc (csqrt_test): Add more tests.
48102         * sysdeps/i386/fpu/libm-test-ulps: Update.
48103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48105         [BZ #13840]
48106         * math/libm-test.inc (hypot_test): Add more tests.
48108 2012-03-13  David S. Miller  <davem@davemloft.net>
48110         [BZ #13840]
48111         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48112         double-precision for the calculation instead of scaling.
48114 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
48116         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48117         manipulate bits before adding and subtracting TWO52[sx].
48118         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48119         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48120         Likewise.
48121         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48123 2012-03-13  David S. Miller  <davem@davemloft.net>
48125         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48126         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48127         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48128         rtld-global-offsets.h
48129         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48131         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48132         large parameters.
48134         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48136         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48137         'err' in the ifdef scope in which it is actually used.
48139         * nss/nss_db/db-init.c: Include string.h
48141 2012-03-12  David S. Miller  <davem@davemloft.net>
48143         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48144         masking out of the most significant byte of random value used.
48145         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48146         Fix coding style in previous change.
48148         * sysdeps/unix/sysv/linux/kernel-features.h
48149         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48150         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48151         expression.
48152         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48153         later.
48155 2012-03-11  David S. Miller  <davem@davemloft.net>
48157         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48158         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48159         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48160         for 'resultvar' otherwise things get truncated on 64-bit.
48162         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48163         Fix masking out of the most significant byte of random value used.
48165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48167 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
48169         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48171 2012-03-09  David S. Miller  <davem@davemloft.net>
48173         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48174         variables with appropriate CPP guards.
48175         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48176         from the frame pointer, not the stack pointer.  Correct layout
48177         comments.  Fix test on resulting framesize and the management of
48178         the outregs buffer for pltexit.  Preserve floating point return
48179         values across _dl_call_pltexit call.
48180         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48181         framesize and the management of the outregs buffer for pltexit.
48182         Preserve floating point return values across _dl_call_pltexit
48183         call.
48184         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48185         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48186         (la_sparc64_gnu_pltexit): New functions.
48187         (print_exit): Fix format string for return register value.
48189 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
48191         * sunrpc/Makefile (others): Add rpcgen.
48192         ($(objpfx)rpcgen): Remove special build rule and dependency on
48193         libc.
48194         * sunrpc/rpcgen.c: New file.
48196 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
48198         [BZ #13673]
48199         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48200         * stdio-common/bug-vfprintf-nargs.c: Likewise.
48201         * sysdeps/i386/crti.S: Likewise.
48202         * sysdeps/i386/crtn.S: Likewise.
48203         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48204         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48205         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48206         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48207         * sysdeps/sh/crti.S: Likewise.
48208         * sysdeps/sh/crtn.S: Likewise.
48209         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48211         [BZ #13673]
48212         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48213         with URL.
48214         * locale/programs/locfile-kw.gperf: Likewise.
48215         * locale/programs/charmap-kw.h: Regenerated.
48216         * locale/programs/locfile-kw.h: Likewise.
48218         [BZ #13673]
48219         * intl/plural.y: Replace FSF snail mail address with URL.
48220         * intl/plural.c: Regenerated.
48222 2012-03-09  Richard Henderson  <rth@twiddle.net>
48224         * include/math_private.h: Remove file.
48225         * math/math_private.h: Move file ...
48226         * sysdeps/generic/math_private.h: ... here.
48228         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48229         * sysdeps/powerpc/fpu/math_private.h: Likewise.
48230         * sysdeps/x86_64/fpu/math_private.h: Likewise.
48232         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
48233         and <math_private.h>.
48234         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48235         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48236         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48237         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48238         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48239         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48240         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48241         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48242         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48243         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48244         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48245         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48246         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48247         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48248         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48249         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48250         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48251         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48252         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48253         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48254         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48255         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48256         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48257         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48258         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48259         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48260         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48261         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48262         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48263         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48264         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48265         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48266         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48267         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48268         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48269         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48270         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48271         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48272         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48273         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48274         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48275         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48276         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48277         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48278         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48279         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48280         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48281         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48282         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48283         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48284         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48285         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48286         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48287         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48288         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48289         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48290         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48291         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48292         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48293         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48294         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48295         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48296         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48297         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48298         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48299         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48300         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48301         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48302         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48303         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48304         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48305         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48306         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48307         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48308         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48309         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48310         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48311         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48312         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48313         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48314         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48315         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48316         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48317         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48318         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48319         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48320         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48321         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48322         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48323         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48324         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48325         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48326         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48327         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48328         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48329         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48330         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48331         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48332         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48333         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48334         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48335         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48336         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48337         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48338         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48339         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48340         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48341         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48342         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48343         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48344         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48345         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48346         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48347         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48348         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48349         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48350         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48351         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48352         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48353         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48354         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48355         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48356         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48357         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48358         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48359         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48360         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48361         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48362         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48363         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48364         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48365         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48366         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48367         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48368         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48369         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48370         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48371         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48372         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48373         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48374         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48375         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48376         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48377         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48378         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48379         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48380         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48381         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48382         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48383         * sysdeps/ieee754/k_standard.c: Likewise.
48384         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48385         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48386         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48387         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48388         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48389         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48390         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48391         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48392         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48393         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48394         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48395         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48396         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48397         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48398         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48399         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48400         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48401         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48402         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48403         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48404         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48405         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48406         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48407         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48408         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48409         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48410         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48411         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48412         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48413         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48414         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48415         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48416         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48417         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48418         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48419         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48420         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48421         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
48422         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
48423         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48424         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48425         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48426         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48427         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48428         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48429         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48430         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48431         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48432         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48433         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48434         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48435         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48436         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48437         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
48438         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48439         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48440         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
48441         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
48442         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48443         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48444         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48445         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48446         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48447         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48448         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48449         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48450         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48451         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48452         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48453         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48454         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48455         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48456         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48457         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48458         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48459         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48460         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
48461         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48462         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48463         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48464         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48465         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48466         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48467         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48468         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
48469         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48470         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48471         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
48472         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48473         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48474         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
48475         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48476         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
48477         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48478         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48479         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48480         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
48481         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
48482         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
48483         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
48484         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48485         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48486         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48487         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48488         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
48489         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48490         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48491         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
48492         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
48493         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48494         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48495         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48496         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48497         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48498         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48499         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48500         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48501         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48502         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48503         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48504         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48505         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48506         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48507         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48508         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48509         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
48510         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48511         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48512         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48513         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48514         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48515         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48516         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48517         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
48518         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48519         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48520         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
48521         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
48522         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48523         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
48524         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
48525         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48526         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
48527         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
48528         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48529         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48530         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48531         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48532         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48533         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
48534         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48535         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48536         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48537         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48538         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
48539         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
48540         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48541         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48542         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48543         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
48544         * sysdeps/ieee754/s_lib_version.c: Likewise.
48545         * sysdeps/ieee754/s_matherr.c: Likewise.
48546         * sysdeps/ieee754/s_signgam.c: Likewise.
48547         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48548         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48549         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
48550         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
48551         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
48552         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
48553         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
48554         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
48555         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
48556         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
48557         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48558         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
48559         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48560         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48561         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
48562         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
48563         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
48564         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
48565         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
48566         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48567         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48569 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48571         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
48572         * sunrpc/rpc_main.c: Likewise.
48573         * sunrpc/rpc_svcout.c: Likewise.
48575 2012-03-09  David S. Miller  <davem@davemloft.net>
48577         * include/math_private.h: New file.
48579 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
48581         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
48582         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
48583         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
48584         from <bits/socket_type.h>.
48585         (enum __socket_type): Don't define here.
48586         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
48587         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48588         bits/socket_type.h.
48590         [BZ #13566]
48591         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
48592         checking __USE_GNU.
48594         * Makerules ($(inst_includedir)/%.h): New rule.
48595         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
48596         (install-others): Remove variable setting.
48597         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
48599 2012-03-08  Richard Henderson  <rth@twiddle.net>
48601         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
48602         from macro to inline function; merge with the
48603         !__LIBC_INTERNAL_MATH_INLINES version.
48604         (__ieee754_sqrtf): Likewise.
48606         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
48607         to inline function.
48608         (__rintf, __floor, __floorf): Likewise.
48610         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
48611         macro to inline function.
48612         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
48614         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
48615         not <math/math_private.h>.
48617 2012-03-08  David S. Miller  <davem@davemloft.net>
48619         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
48620         copyright year.
48621         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
48623 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
48625         * resolv/gai_misc.c (handle_requests): Fix struct timespec
48626         normalization.
48627         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
48628         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
48630 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
48632         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
48633         be defined individually, they must be defined as a block.  Define
48634         S for printing a string instead of hidint the different by using a
48635         macro for adding the 'l'.
48636         * stdio-common/tst-fphex-wide.c: Adjust.
48638 2012-03-07  Marek Polacek  <polacek@redhat.com>
48640         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
48642 2012-03-08  Marek Polacek  <polacek@redhat.com>
48644         [BZ #13806]
48645         * stdio-common/Makefile (tests): Add tst-fphex-wide.
48646         * stdio-common/tst-fphex.c: Define a few macros to make the
48647         test reusable.  Use them.
48648         * stdio-common/tst-fphex-wide.c: New file.
48650 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
48652         [BZ #6911]
48653         * manual/macros.texi (gnusystems): New macro.
48654         (nongnusystems): Likewise.
48655         (gnulinuxhurdsystems): Likewise.
48656         (gnuhurdsystems): Likewise..
48657         (gnulinuxsystems): Likewise.
48658         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48659         variants of the GNU system, not "GNU system".
48660         * manual/conf.texi: Likewise.
48661         * manual/errno.texi: Likewise.  Update example of errno macro
48662         expansion.
48663         * manual/filesys.texi: Likewise.
48664         (getumask): Document as specific to GNU/Hurd.
48665         * manual/install.texi: Likewise.  Reword some references to
48666         GNU/Linux.
48667         * manual/intro.texi: Likewise.
48668         * manual/io.texi: Likewise.
48669         (File Name Portability): Detail which constraints are inapplicable
48670         to all GNU systems and which are only inapplicable to GNU/Hurd.
48671         * manual/job.texi: Likewise.
48672         * manual/llio.texi: Likewise.
48673         (O_NOCTTY): Document as present on GNU/Linux.
48674         * manual/maint.texi: Likewise.
48675         * manual/memory.texi: Likewise.
48676         * manual/pattern.texi: Likewise.
48677         * manual/pipe.texi: Likewise.
48678         * manual/process.texi: Likewise.
48679         * manual/resource.texi: Likewise.
48680         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48681         child on GNU/Hurd.
48682         * manual/setjmp.texi: Likewise.
48683         * manual/signal.texi: Likewise.
48684         * manual/startup.texi: Likewise.
48685         * manual/stdio.texi: Likewise.
48686         * manual/terminal.texi: Likewise.
48687         (ONLCR): Document as POSIX.
48688         (OXTABS): Document availability on GNU/Linux as XTABS.
48689         (ONOEOT): Document availability separately from other bits.
48690         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48691         * manual/time.texi: Likewise.
48692         * manual/users.texi: Likewise.
48693         * INSTALL: Regenerated.
48694         * sysdeps/gnu/errlist.c: Regenerated.
48696         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48697         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48698         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48699         puts.
48700         * configure: Regenerated.
48702 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48704         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48705         default includes instead of AC_HEADER_CHECK.
48706         * sysdeps/i386/configure: Regenerated.
48708         [BZ #10716]
48709         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48710         * math/s_cacoshf.c (__cacoshf): Likewise.
48711         * math/s_cacoshl.c (__cacoshl): Likewise.
48712         * math/s_casinh.c (__casinh): Set signs of result from argument.
48713         * math/s_casinhf.c (__casinhf): Likewise.
48714         * math/s_casinhl.c (__casinhl): Likewise.
48715         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48716         (casinh_test): Add more tests.
48717         * sysdeps/i386/fpu/libm-test-ulps: Update.
48718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48720 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48722         * po/zh_TW.po: Update from translation team.
48724         * login/Makefile (distribute): Remove variable.
48725         * catgets/Makefile: Likewise.
48726         * mach/Makefile: Likewise.
48727         * malloc/Makefile: Likewise.
48728         * misc/Makefile: Likewise.
48729         * iconv/Makefile: Likewise.
48730         * nscd/Makefile: Likewise.
48731         * hurd/Makefile: Likewise.
48732         * manual/Makefile: Likewise.
48733         * locale/Makefile: Likewise.
48734         * intl/Makefile: Likewise.
48735         * conform/Makefile: Likewise.
48736         * nss/Makefile: Likewise.
48737         * time/Makefile: Likewise.
48738         * soft-fp/Makefile: Likewise.
48739         * dirent/Makefile: Likewise.
48740         * gmon/Makefile: Likewise.
48741         * po/Makefile: Likewise.
48742         * rt/Makefile: Likewise.
48743         * socket/Makefile: Likewise.
48744         * math/Makefile: Likewise.
48745         * signal/Makefile: Likewise.
48746         * debug/Makefile: Likewise.
48747         * elf/Makefile: Likewise.
48748         * timezone/Makefile: Likewise.
48749         * stdlib/Makefile: Likewise.
48750         * iconvdata/Makefile: Likewise.
48751         * sunrpc/Makefile: Likewise.
48752         * io/Makefile: Likewise.
48753         * argp/Makefile: Likewise.
48754         * inet/Makefile: Likewise.
48755         * hesiod/Makefile: Likewise.
48756         * grp/Makefile: Likewise.
48757         * csu/Makefile: Likewise.
48758         * wctype/Makefile: Likewise.
48759         * crypt/Makefile: Likewise.
48760         * libio/Makefile: Likewise.
48761         * string/Makefile: Likewise.
48762         * nis/Makefile: Likewise.
48763         * resolv/Makefile: Likewise.
48764         * stdio-common/Makefile: Likewise.
48765         * wcsmbs/Makefile: Likewise.
48766         * dlfcn/Makefile: Likewise.
48767         * posix/Makefile: Likewise.
48769         [BZ #6959]
48770         * timezone/Makefile: Don't install timezone files, just the programs
48771         and scripts.
48773 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48775         * nss/databases.def: Add missing gshadow entry.
48777         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48779 2012-03-06  Marek Polacek  <polacek@redhat.com>
48781         [BZ #13726]
48782         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48783         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48784         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48785         * stdio-common/tst-long-dbl-fphex.c: New file.
48787 2012-03-06  David S. Miller  <davem@davemloft.net>
48789         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48790         (set_obp_int): New function.
48791         (get_obp_int): New function.
48792         (__get_clockfreq_via_dev_openprom): Likewise.
48793         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48794         Avoid unused variable warnings on 'val' and use builtin_expect.
48795         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48796         __builtin_expect.
48797         (INLINE_CLONE_SYSCALL): Likewise.
48799 2012-03-05  David S. Miller  <davem@davemloft.net>
48801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48803 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48807         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48808         only for |x| >= 40.
48809         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48811 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48813         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48814         Replace gettimeofday with __vdso_gettimeofday.
48816         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48817         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48818         __vdso_clock_gettime and __vdso_getcpu.
48820         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48821         time with __vdso_time.
48823 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48825         * manual/lang.texi (size_t): Note types to which size_t may be
48826         equivalent with the GNU C Library, but do not describe when
48827         differences between them are significant.
48829 2012-03-05  Andreas Jaeger  <aj@suse.de>
48831         * sysdeps/i386/fpu/libm-test-ulps: Update.
48833 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48835         [BZ #3976]
48836         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48837         (__ieee754_pow): Save and restore rounding mode and use
48838         round-to-nearest for main computations.
48839         * math/libm-test.inc (pow_test_tonearest): New function.
48840         (pow_test_towardzero): Likewise.
48841         (pow_test_downward): Likewise.
48842         (pow_test_upward): Likewise.
48843         (main): Call the new functions.
48844         * sysdeps/i386/fpu/libm-test-ulps: Update.
48845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48847         [BZ #3976]
48848         * math/libm-test.inc (cosh_test_tonearest): New function.
48849         (cosh_test_towardzero): Likewise.
48850         (cosh_test_downward): Likewise.
48851         (cosh_test_upward): Likewise.
48852         (sinh_test_tonearest): Likewise.
48853         (sinh_test_towardzero): Likewise.
48854         (sinh_test_downward): Likewise.
48855         (sinh_test_upward): Likewise.
48856         (main): Call the new functions.
48857         * sysdeps/i386/fpu/libm-test-ulps: Update.
48858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48860 2012-03-05  Tom de Vries  <tom@codesourcery.com>
48862         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48863         default stack guard is set in last bytes.
48864         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48866 2012-03-05  Kees Cook  <keescook@chromium.org>
48868         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48870         [BZ #13656]
48871         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48872         possibly allocate from heap instead of stack.
48873         * stdio-common/bug-vfprintf-nargs.c: New file.
48874         * stdio-common/Makefile (tests): Add nargs overflow test.
48876 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
48878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48880 2012-03-03  Marek Polacek  <polacek@redhat.com>
48882         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48883         * math/math_private.h: Likewise.
48884         * stdlib/tst-strtod.c: Likewise.
48885         * sysdeps/i386/i486/bits/atomic.h: Likewise.
48886         * sysdeps/x86_64/bits/atomic.h: Likewise.
48888 2012-03-02  David S. Miller  <davem@davemloft.net>
48890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48893         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48894         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48895         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48896         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48897         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48899 2012-03-02  Roland McGrath  <roland@hack.frob.com>
48901         [BZ #13792]
48902         * manual/examples/README: New file, says the example source files
48903         can be used under GPL>=2.
48904         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48905         line containing just "*/".
48906         * manual/examples/add.c: Add copyright header (GPL>=2).
48907         * manual/examples/argp-ex1.c: Likewise.
48908         * manual/examples/argp-ex2.c: Likewise.
48909         * manual/examples/argp-ex3.c: Likewise.
48910         * manual/examples/argp-ex4.c: Likewise.
48911         * manual/examples/atexit.c: Likewise.
48912         * manual/examples/db.c: Likewise.
48913         * manual/examples/dir.c: Likewise.
48914         * manual/examples/dir2.c: Likewise.
48915         * manual/examples/execinfo.c: Likewise.
48916         * manual/examples/filecli.c: Likewise.
48917         * manual/examples/filesrv.c: Likewise.
48918         * manual/examples/fmtmsgexpl.c: Likewise.
48919         * manual/examples/genpass.c: Likewise.
48920         * manual/examples/inetcli.c: Likewise.
48921         * manual/examples/inetsrv.c: Likewise.
48922         * manual/examples/isockad.c: Likewise.
48923         * manual/examples/longopt.c: Likewise.
48924         * manual/examples/memopen.c: Likewise.
48925         * manual/examples/memstrm.c: Likewise.
48926         * manual/examples/mkfsock.c: Likewise.
48927         * manual/examples/mkisock.c: Likewise.
48928         * manual/examples/mygetpass.c: Likewise.
48929         * manual/examples/pipe.c: Likewise.
48930         * manual/examples/popen.c: Likewise.
48931         * manual/examples/rprintf.c: Likewise.
48932         * manual/examples/search.c: Likewise.
48933         * manual/examples/select.c: Likewise.
48934         * manual/examples/setjmp.c: Likewise.
48935         * manual/examples/sigh1.c: Likewise.
48936         * manual/examples/sigusr.c: Likewise.
48937         * manual/examples/stpcpy.c: Likewise.
48938         * manual/examples/strdupa.c: Likewise.
48939         * manual/examples/strftim.c: Likewise.
48940         * manual/examples/strncat.c: Likewise.
48941         * manual/examples/subopt.c: Likewise.
48942         * manual/examples/swapcontext.c: Likewise.
48943         * manual/examples/termios.c: Likewise.
48944         * manual/examples/testopt.c: Likewise.
48945         * manual/examples/testpass.c: Likewise.
48946         * manual/examples/timeval_subtract.c: Likewise.
48948         [BZ #13792]
48949         * manual/time.texi (Elapsed Time): Move timeval_subtract example
48950         function to ...
48951         * manual/timeval_subtract.c.texi: ... here, new file.
48953 2012-03-02  David S. Miller  <davem@davemloft.net>
48955         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48957 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
48959         [BZ #3976]
48960         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48961         (__sin): Save and restore rounding mode and use round-to-nearest
48962         for all computations.
48963         (__cos): Save and restore rounding mode and use round-to-nearest
48964         for all computations.
48965         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48966         <fenv.h>.
48967         (tan): Save and restore rounding mode and use round-to-nearest for
48968         all computations.
48969         * math/libm-test.inc (cos_test_tonearest): New function.
48970         (cos_test_towardzero): Likewise.
48971         (cos_test_downward): Likewise.
48972         (cos_test_upward): Likewise.
48973         (sin_test_tonearest): Likewise.
48974         (sin_test_towardzero): Likewise.
48975         (sin_test_downward): Likewise.
48976         (sin_test_upward): Likewise.
48977         (tan_test_tonearest): Likewise.
48978         (tan_test_towardzero): Likewise.
48979         (tan_test_downward): Likewise.
48980         (tan_test_upward): Likewise.
48981         (main): Call the new functions.
48982         * sysdeps/i386/fpu/libm-test-ulps: Update.
48983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48985         [BZ #10135]
48986         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48987         small n, then large n, before computing and testing k+n.
48988         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48989         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48990         Likewise.
48991         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48992         Likewise.
48993         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48994         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48995         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48996         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48997         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48998         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48999         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49000         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49001         * math/libm-test.inc (scalbn_test): Add more tests.
49002         (scalbln_test): Likewise.
49004         * manual/filesys.texi (mode_t): Describe constraints on size and
49005         signedness, not exact equivalence to a particular type.
49006         (ino_t): Likewise.
49007         (ino64_t): Likewise.
49008         (dev_t): Likewise.
49009         (nlink_t): Likewise.
49010         (blkcnt_t): Likewise.
49011         (blkcnt64_t): Likewise.
49012         * manual/llio.texi (off_t): Likewise.
49014         [BZ #3976]
49015         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49016         (__ieee754_exp): Save and restore rounding mode and use
49017         round-to-nearest for all computations.
49018         * math/libm-test.inc (exp_test_tonearest): New function.
49019         (exp_test_towardzero): Likewise.
49020         (exp_test_downward): Likewise.
49021         (exp_test_upward): Likewise.
49022         (main): Call the new functions.
49023         * sysdeps/i386/fpu/libm-test-ulps: Update.
49024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49026 2012-03-01  Chris Demetriou  <cgd@google.com>
49028         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49029         have predictable order.
49031 2012-03-01  David S. Miller  <davem@davemloft.net>
49033         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49035         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49036         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49037         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49038         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49040         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49041         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49042         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49043         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49044         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49045         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49046         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49047         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49048         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49050         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49052         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49053         * sysdeps/sparc/fpu/libm-test-ulps: to here.
49054         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49056         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49057         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49058         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49059         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49060         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49061         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49062         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49063         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49064         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49065         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49066         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49067         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49068         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49069         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49070         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49071         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49072         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49073         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49074         * sysdeps/sparc/elf/configure: Regenerated.
49076 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
49078         * configure.in (AS, LD): Require binutils 2.20 or later.
49079         * configure: Regenerated.
49080         * manual/install.texi (Tools for Compilation): Give binutils 2.20
49081         as required minimum version.
49082         * INSTALL: Regenerated.
49084         [BZ #2541]
49085         [BZ #4108]
49086         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49087         before squaring exponent.
49088         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49089         bottom long double and 27 bits of top long double before squaring
49090         exponent.
49091         * math/libm-test.inc (erfc_test): Add more tests.
49092         * sysdeps/i386/fpu/libm-test-ulps: Update.
49093         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49096 2012-03-01  Kai Tietz  <ktietz@redhat.com>
49098         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49099         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49100         containing bit-fields.
49101         * soft-fp/extended.h (_FP_UNION_E): Likewise.
49102         * soft-fp/single.h (_FP_UNION_S): Likewise.
49103         * soft-fp/double.h (_FP_UNION_D): Likewise.
49105 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49107         [BZ #13786]
49108         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49109         not include ../strcmp.S.
49110         [USE_AS_STRNCASECMP_L]: Likewise.
49111         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49112         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49113         * sysdeps/i386/i686/multiarch/strncase_l-c.c
49114         (__strncasecmp_l_ia32): Define as alias to
49115         __strncasecmp_l_nonascii.
49117         [BZ #5794]
49118         * math/libm-test.inc (expm1_test): Add test for bug 5794.
49119         * sysdeps/i386/fpu/libm-test-ulps: Update.
49120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49122         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49125 2012-02-29  Jeff Law  <law@redhat.com>
49127         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49128         out of bounds read.
49130 2012-02-29  Marek Polacek  <polacek@redhat.com>
49132         [BZ #13706]
49133         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49134         * elf/Makefile: Add rules to run tst-unused-dep.out.
49136 2012-02-28  David S. Miller  <davem@davemloft.net>
49138         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49139         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49140         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49141         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49142         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49143         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49145 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
49147         * math/libm-test.inc (llround_test): Move one test from
49148         lround_test.  Use TEST_f_L in moved test.
49149         (lround_test): Move misplaced test to llround_test.  Add testcase
49150         from bug 2561.
49152 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
49154         * sysdeps/x86_64/fpu/e_expf.S: New file.
49155         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49157 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
49159         [BZ #13637]
49160         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49161         of remain_len that may cause incomplete multi-byte character and
49162         false match.
49163         * posix/bug-regex33.c: New file.
49164         * posix/Makefile (tests): Add bug-regex33.
49166 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
49168         * manual/macros.texi: New file.
49169         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49170         * manual/libc.texinfo: Include macros.texi.
49171         * manual/creatute.texi: Likewise.
49172         * manual/install.texi: Likewise.
49173         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49174         @glibcadj{} in references to the GNU C Library.
49175         * manual/charset.texi: Likewise.
49176         * manual/conf.texi: Likewise.
49177         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
49178         when not using those macros.
49179         * manual/creature.texi: Likewise.
49180         * manual/crypt.texi: Likewise.
49181         * manual/errno.texi: Likewise.
49182         * manual/filesys.texi: Likewise.
49183         * manual/header.texi: Likewise.
49184         * manual/install.texi: Likewise.
49185         * manual/intro.texi: Likewise.
49186         * manual/io.texi: Likewise.
49187         * manual/job.texi: Likewise.
49188         * manual/lang.texi: Likewise.
49189         * manual/libc.texiinfo: Likewise.
49190         * manual/llio.texi: Likewise.
49191         * manual/locale.texi: Likewise.
49192         * manual/maint.texi: Likewise.
49193         * manual/math.texi: Likewise.
49194         * manual/memory.texi: Likewise.
49195         * manual/message.texi: Likewise.
49196         * manual/nss.texi: Likewise.
49197         * manual/pattern.texi: Likewise.
49198         * manual/process.texi: Likewise.
49199         * manual/resource.texi: Likewise.
49200         * manual/search.texi: Likewise.
49201         * manual/setjmp.texi: Likewise.
49202         * manual/signal.texi: Likewise.
49203         * manual/socket.texi: Likewise.
49204         * manual/startup.texi: Likewise.
49205         * manual/stdio.texi: Likewise.
49206         * manual/string.texi: Likewise.
49207         * manual/sysinfo.texi: Likewise.
49208         * manual/syslog.texi: Likewise.
49209         * manual/terminal.texi: Likewise.
49210         * manual/time.texi: Likewise.
49211         * manual/users.texi: Likewise.
49212         * INSTALL: Regenerated.
49213         * NOTES: Regenerated.
49214         * sysdeps/gnu/errlist.c: Regenerated.
49216 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
49218         * include/dirent.h: Include <dirstream.h> before
49219         <dirent/dirent.h>.
49221 2012-02-28  David S. Miller  <davem@davemloft.net>
49223         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49224         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49225         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49226         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49228 2012-02-27  David S. Miller  <davem@davemloft.net>
49230         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49232         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49233         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49236         frame pointer instead of stack pointer relative arg slot.
49237         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49238         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49239         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49241 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
49243         [BZ #3992]
49244         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49246 2012-02-27  David S. Miller  <davem@davemloft.net>
49248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49249         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49250         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49251         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49252         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49253         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49254         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49255         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49257 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49259         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49260         later.  Allow versions 5-9.
49261         * configure: Regenerated.
49262         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49263         required minimum version and 4.6 as recommended version.  Do not
49264         mention bugs in GCC 2.7 and 2.8.
49265         * INSTALL: Regenerated.
49267 2012-02-27  David S. Miller  <davem@davemloft.net>
49269         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49270         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49271         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49272         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49273         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49274         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49275         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49276         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49278         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49279         manipulate bits before adding and subtracting TWO112[sx].
49280         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49282 2012-02-27  Roland McGrath  <roland@hack.frob.com>
49284         [BZ #13775]
49285         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49286         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49287         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49288         being in POSIX, because they are in 1003.1-2008.
49290         * rt/tst-aio.c: Include <fcntl.h>.
49291         * rt/tst-aio7.c: Likewise.
49292         * rt/tst-aio64.c: Likewise.
49294         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49296 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
49298         * manual/install.texi (--with-headers): Describe headers as
49299         interface headers, not private headers.
49300         (Specific advice for GNU/Linux systems): Describe use of headers
49301         from "make headers_install", not private headers from older
49302         kernels.
49303         * INSTALL: Regenerated.
49304         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49305         Change to 2.6.19.
49306         * sysdeps/unix/sysv/linux/configure: Regenerated.
49308         * manual/llio.texi (fclean): Remove documentation.
49310         * manual/Makefile (libc-texi-generated): New variable.  Include
49311         version.texi.
49312         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49313         $(libc-texi-generated), not duplicated list of files.
49314         (version.texi, stamp-version): New rules.
49315         (realclean): Remove $(libc-texi-generated), not individual files
49316         from that list.  Do not remove dir-add.texinfo.
49317         * manual/libc.texinfo: Comment out uses of edition numbers and
49318         references to printed manual.  Remove last-updated dates.
49319         (EDITION): Comment out.
49320         (ISBN): Likewise.
49321         (VERSION, UPDATED): Remove.
49322         (version.texi): Include.
49324 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
49326         * sysdeps/posix/spawni.c: Include <signal.h>.
49327         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49328         * sysdeps/pthread/aio_fsync.c: Likewise.
49330 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
49332         * conform/Makefile (tests): Run only when not cross-compiling and
49333         when fast-check is not defined.
49335         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49336         * conform/data/limits.h-data: Fixes for POSIX2008.
49337         * conform/run-conformtest.sh: Run all tests.
49338         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49339         headers.
49340         * include/bits/dlfcn.h: Likewise.
49341         * include/langinfo.h: Likewise.
49342         * include/monetary.h: Likewise.
49343         * include/sys/poll.h: Likewise.
49345         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49346         for __USE_GNU.
49347         * posix/spawn.h: Define __need_sigset_t.
49348         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49349         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49350         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
49351         to get sigevent_t only.
49352         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49353         only for __USE_GNU.
49354         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49355         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49356         process_vm_writev only for __USE_GNU.
49357         * termios/termios.h: Declare tcgetsid also for POSIX2008.
49359         * conform/Makefile: For now ignore errors from run-conformtest.
49360         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
49361         POSIX to avoid namespace pollution.  Don't prepend headers.
49362         * conform/data/aio.h-data: Fixes for POSIX testing.
49363         * conform/data/fcntl.h-data: Likewise.
49364         * conform/data/glob.h-data: Likewise.
49365         * conform/data/grp.h-data: Likewise.
49366         * conform/data/pthread.h-data: Likewise.
49367         * conform/data/pwd.h-data: Likewise.
49368         * conform/data/signal.h-data: Likewise.
49369         * conform/data/spawn.h-data: Likewise.
49370         * conform/data/stdio.h-data: Likewise.
49371         * conform/data/stdlib.h-data: Likewise.
49372         * conform/data/stropts.h-data: Likewise.
49373         * conform/data/sys/mman.h-data: Likewise.
49374         * conform/data/sys/stat.h-data: Likewise.
49375         * conform/data/sys/types.h-data: Likewise.
49376         * conform/data/sys/wait.h-data: Likewise.
49377         * conform/data/time.h-data: Likewise.
49378         * conform/data/unistd.h-data: Likewise.
49379         * conform/data/utime.h-data: Likewise.
49381         * io/sys/stat.h: fchmod was always in POSIX.
49382         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49383         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49384         * rt/aio.h: Define __need_timespec before including <time.h>.
49385         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49386         struct.  Add forward declaration of pthread_attr_t and use it in
49387         sigevent.
49388         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49389         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49390         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49391         always remove CLK_TCK definition.
49393 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
49395         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49397 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
49399         * conform/run-conformtest.sh: New file.
49400         * conform/Makefile: Run run-conformtest for tests.
49401         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
49402         support.
49404         * conform/data/uchar.h-data: New file.
49405         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49406         * conform/data/arpa/inet.h-data: Likewise.
49407         * conform/data/assert.h-data: Likewise.
49408         * conform/data/complex.h-data: Likewise.
49409         * conform/data/cpio.h-data: Likewise.
49410         * conform/data/ctype.h-data: Likewise.
49411         * conform/data/dirent.h-data: Likewise.
49412         * conform/data/dlfcn.h-data: Likewise.
49413         * conform/data/errno.h-data: Likewise.
49414         * conform/data/fcntl.h-data: Likewise.
49415         * conform/data/float.h-data: Likewise.
49416         * conform/data/fmtmsg.h-data: Likewise.
49417         * conform/data/fnmatch.h-data: Likewise.
49418         * conform/data/ftw.h-data: Likewise.
49419         * conform/data/glob.h-data: Likewise.
49420         * conform/data/grp.h-data: Likewise.
49421         * conform/data/iconv.h-data: Likewise.
49422         * conform/data/inttypes.h-data: Likewise.
49423         * conform/data/langinfo.h-data: Likewise.
49424         * conform/data/libgen.h-data: Likewise.
49425         * conform/data/limits.h-data: Likewise.
49426         * conform/data/locale.h-data: Likewise.
49427         * conform/data/math.h-data: Likewise.
49428         * conform/data/monetary.h-data: Likewise.
49429         * conform/data/mqueue.h-data: Likewise.
49430         * conform/data/ndbm.h-data: Likewise.
49431         * conform/data/net/if.h-data: Likewise.
49432         * conform/data/netdb.h-data: Likewise.
49433         * conform/data/netinet/in.h-data: Likewise.
49434         * conform/data/nl_types.h-data: Likewise.
49435         * conform/data/poll.h-data: Likewise.
49436         * conform/data/pthread.h-data: Likewise.
49437         * conform/data/pwd.h-data: Likewise.
49438         * conform/data/regex.h-data: Likewise.
49439         * conform/data/sched.h-data: Likewise.
49440         * conform/data/search.h-data: Likewise.
49441         * conform/data/semaphore.h-data: Likewise.
49442         * conform/data/setjmp.h-data: Likewise.
49443         * conform/data/signal.h-data: Likewise.
49444         * conform/data/spawn.h-data: Likewise.
49445         * conform/data/stdarg.h-data: Likewise.
49446         * conform/data/stdio.h-data: Likewise.
49447         * conform/data/stdlib.h-data: Likewise.
49448         * conform/data/string.h-data: Likewise.
49449         * conform/data/strings.h-data: Likewise.
49450         * conform/data/stropts.h-data: Likewise.
49451         * conform/data/sys/ipc.h-data: Likewise.
49452         * conform/data/sys/mman.h-data: Likewise.
49453         * conform/data/sys/msg.h-data: Likewise.
49454         * conform/data/sys/resource.h-data: Likewise.
49455         * conform/data/sys/select.h-data: Likewise.
49456         * conform/data/sys/sem.h-data: Likewise.
49457         * conform/data/sys/shm.h-data: Likewise.
49458         * conform/data/sys/socket.h-data: Likewise.
49459         * conform/data/sys/stat.h-data: Likewise.
49460         * conform/data/sys/statvfs.h-data: Likewise.
49461         * conform/data/sys/time.h-data: Likewise.
49462         * conform/data/sys/timeb.h-data: Likewise.
49463         * conform/data/sys/times.h-data: Likewise.
49464         * conform/data/sys/types.h-data: Likewise.
49465         * conform/data/sys/uio.h-data: Likewise.
49466         * conform/data/sys/un.h-data: Likewise.
49467         * conform/data/sys/utsname.h-data: Likewise.
49468         * conform/data/sys/wait.h-data: Likewise.
49469         * conform/data/syslog.h-data: Likewise.
49470         * conform/data/tar.h-data: Likewise.
49471         * conform/data/termios.h-data: Likewise.
49472         * conform/data/utime.h-data: Likewise.
49473         * conform/data/utmpx.h-data: Likewise.
49474         * conform/data/varargs.h-data: Likewise.
49475         * conform/data/wchar.h-data: Likewise.
49476         * conform/data/wctype.h-data: Likewise.
49477         * conform/data/wordexp.h-data: Likewise.
49479         * include/stropts.h: New file.
49480         * include/uchar.h: New file.
49481         * include/aio.h: Changes to allow conformtest.pl to use the headers.
49482         * include/assert.h: Likewise.
49483         * include/ctype.h: Likewise.
49484         * include/dirent.h: Likewise.
49485         * include/dlfcn.h: Likewise.
49486         * include/fcntl.h: Likewise.
49487         * include/fnmatch.h: Likewise.
49488         * include/glob.h: Likewise.
49489         * include/grp.h: Likewise.
49490         * include/libio.h: Likewise.
49491         * include/locale.h: Likewise.
49492         * include/math.h: Likewise.
49493         * include/net/if.h: Likewise.
49494         * include/netdb.h: Likewise.
49495         * include/netinet/in.h: Likewise.
49496         * include/pthread.h: Likewise.
49497         * include/pwd.h: Likewise.
49498         * include/regex.h: Likewise.
49499         * include/sched.h: Likewise.
49500         * include/search.h: Likewise.
49501         * include/setjmp.h: Likewise.
49502         * include/signal.h: Likewise.
49503         * include/stdio.h: Likewise.
49504         * include/stdlib.h: Likewise.
49505         * include/string.h: Likewise.
49506         * include/sys/cdefs.h: Likewise.
49507         * include/sys/mman.h: Likewise.
49508         * include/sys/msg.h: Likewise.
49509         * include/sys/resource.h: Likewise.
49510         * include/sys/select.h: Likewise.
49511         * include/sys/socket.h: Likewise.
49512         * include/sys/stat.h: Likewise.
49513         * include/sys/statvfs.h: Likewise.
49514         * include/sys/time.h: Likewise.
49515         * include/sys/times.h: Likewise.
49516         * include/sys/uio.h: Likewise.
49517         * include/sys/utsname.h: Likewise.
49518         * include/sys/wait.h: Likewise.
49519         * include/termios.h: Likewise.
49520         * include/time.h: Likewise.
49521         * include/ulimit.h: Likewise.
49522         * include/unistd.h: Likewise.
49523         * include/utime.h: Likewise.
49524         * include/wchar.h: Likewise.
49525         * include/wctype.h: Likewise.
49526         * include/wordexp.h: Likewise.
49528         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
49530         * time/time.h: TIME_UTC must be a macro.
49531         Make timespec_get available for ISO C11 only as well.
49533 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
49535         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
49536         Reported by Peng Haitao <penght@cn.fujitsu.com>.
49538 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49540         * configure.in: Use -o not -a in test for unsupported multi-arch.
49542 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49544         * manual/texinfo.tex: Update to version 2012-01-19.16.
49546 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
49548         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
49550 2012-02-24  Roland McGrath  <roland@hack.frob.com>
49552         [BZ #13738]
49553         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
49554         * manual/fdl-1.3.texi: New file.
49555         * manual/fdl-1.1.texi: File removed.
49557         [BZ #13738]
49558         * manual/libc.texinfo (FDL_VERSION): New @set.
49559         Use it for mention of FDL in cover text.
49560         (Documentation License): Use it in @include file name.
49562 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49563             Roland McGrath  <roland@hack.frob.com>
49565         [BZ #5461]
49566         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
49567         (not LONG_LONG_MAX and LONG_LONG_MIN.
49568         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
49569         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
49570         name.
49571         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
49573 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49575         [BZ #2547]
49576         [BZ #11365]
49577         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
49578         manipulate bits before adding and subtracting TWO23[sx].
49579         * math/libm-test.inc (nearbyint_test): Add more tests.
49581 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49583         [BZ #2548]
49584         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
49585         bits before adding and subtracting TWO23[sx].
49586         * math/libm-test.inc (rint_test): Add more tests.
49587         (rint_test_tonearest): Likewise.
49588         (rint_test_towardzero): Likewise.
49589         (rint_test_downward): Likewise.
49590         (rint_test_upward: Likewise.
49592 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49594         [BZ #10110]
49595         * include/stdc-predef.h: New file.  Extracted from features.h.
49596         * include/features.h: Include stdc-predef.h.
49597         * Makefile (headers): Add stdc-predef.h.
49598         * CONFORMANCE (Compiler limitations): Update.
49600 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
49602         * manual/libc.texinfo (VERSION, UPDATED): Revert.
49604 2012-02-21  David S. Miller  <davem@davemloft.net>
49606         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
49607         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49609 2012-02-20  David S. Miller  <davem@davemloft.net>
49611         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
49612         using a normal save/restore sequence, rather than allocating a
49613         dummy stack frame just to store a frame pointer and restore.
49614         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49616 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49618         * manual/install.texi: Fix stray word in line-wrapped comment.
49620 2012-02-20  David S. Miller  <davem@davemloft.net>
49622         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
49623         both binutils and gcc support GOTDATA.
49625         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
49626         "rd %pc" in the PIC register setup sequences.
49628         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
49629         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
49630         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49631         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
49632         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49633         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49634         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49635         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49636         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
49637         (SYSCALL_ERROR_HANDLER): Likewise.
49638         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49639         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49640         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
49641         (SYSCALL_ERROR_HANDLER): Likewise.
49643         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
49644         (HAVE_GCC_GOTDATA): New.
49645         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
49646         relocation support in both binutils and gcc.
49647         * sysdeps/sparc/elf/configure: Regenerate.
49649         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
49650         * sysdeps/sparc/sparc32/elf/configure: Delete.
49651         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
49652         * sysdeps/sparc/sparc64/elf/configure: Delete.
49653         * sysdeps/sparc/elf/configure.in: New file.
49654         * sysdeps/sparc/elf/configure: Generate.
49656         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
49657         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
49658         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49659         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49660         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49662 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49664         * manual/install.texi: Do not mention specific glibc version
49665         numbers.
49666         * manual/libc.texinfo (VERSION, UPDATED): Update.
49667         (@copying): Use @copyright{} and range of years.
49669 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49671         [BZ #13695]
49672         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49673         [crti.S not in sysdirs] (generated): Do not append.
49674         [crti.S not in sysdirs] (omit-deps): Likewise.
49675         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49676         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49677         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49678         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49679         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49680         Likewise.
49681         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49682         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49683         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49684         * csu/defs.awk: Remove file.
49685         * sysdeps/generic/initfini.c: Likewise.
49686         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49687         variable.
49688         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49689         Likewise.
49691 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49693         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49694         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49695         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49696         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49697         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49698         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49699         <bits/epoll.h>.
49700         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49701         (__EPOLL_PACKED): Define to empty if not defined by
49702         <bits/epoll.h>.
49703         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49704         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49705         bits/epoll.h.
49707 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49709         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49710         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49711         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49712         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49713         <bits/timerfd.h>.
49714         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49715         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49716         bits/timerfd.h.
49718 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49720         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49721         in C locale.
49722         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49723         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49724         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49727 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49729         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49730         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49732 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49734         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49735         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49736         defined.
49737         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49738         Likewise.
49739         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49740         entry for 2.16.
49742 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49744         * math/w_acos.c: Use non-signaling floating-point comparisons.
49745         * math/w_acosf.c: Likewise.
49746         * math/w_acosh.c: Likewise.
49747         * math/w_acoshf.c: Likewise.
49748         * math/w_acoshl.c: Likewise.
49749         * math/w_acosl.c: Likewise.
49750         * math/w_asin.c: Likewise.
49751         * math/w_asinf.c: Likewise.
49752         * math/w_asinl.c: Likewise.
49753         * math/w_atanh.c: Likewise.
49754         * math/w_atanhf.c: Likewise.
49755         * math/w_atanhl.c: Likewise.
49756         * math/w_exp2.c: Likewise.
49757         * math/w_exp2f.c: Likewise.
49758         * math/w_exp2l.c: Likewise.
49759         * math/w_j0.c: Likewise.
49760         * math/w_j0f.c: Likewise.
49761         * math/w_j0l.c: Likewise.
49762         * math/w_j1.c: Likewise.
49763         * math/w_j1f.c: Likewise.
49764         * math/w_j1l.c: Likewise.
49765         * math/w_jn.c: Likewise.
49766         * math/w_jnf.c: Likewise.
49767         * math/w_log.c: Likewise.
49768         * math/w_log10.c: Likewise.
49769         * math/w_log10f.c: Likewise.
49770         * math/w_log10l.c: Likewise.
49771         * math/w_log2.c: Likewise.
49772         * math/w_log2f.c: Likewise.
49773         * math/w_log2l.c: Likewise.
49774         * math/w_logf.c: Likewise.
49775         * math/w_logl.c: Likewise.
49776         * math/w_sqrt.c: Likewise.
49777         * math/w_sqrtf.c: Likewise.
49778         * math/w_sqrtl.c: Likewise.
49779         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49780         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49781         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49782         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49783         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49785 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49787         [BZ #9739]
49788         * manual/string.texi (strnlen): Use correct parameter name in
49789         equivalent expression.
49791 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49793         [BZ #11174]
49794         * manual/users.texi (seteuid): Consistently use neweuid for
49795         argument name.
49797 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49799         [BZ #13704]
49800         * manual/nss.texi (Services in the NSS configuration): Correct
49801         list of services in example configuration file.
49803 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49805         [BZ #11322]
49806         * manual/arith.texi: Remove statements about negative zero
49807         behaving identically to zero.
49809 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49811         [BZ #5993]
49812         * manual/install.texi: Do not document upgrading from libc5.
49814 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49816         [BZ #4596]
49817         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49819 2012-02-18  David S. Miller  <davem@davemloft.net>
49821         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49822         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49823         %o7 across the call.
49824         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49825         instead.
49826         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49827         SETUP_PIC_REG_LEAF.
49828         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49829         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49830         * sysdeps/sparc/crtn.S: Likewise.
49832 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
49834         * aout/Makefile: Remove.
49836 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
49838         [BZ #13058]
49839         * manual/examples/argp-ex1.c (main): Format definition in GNU
49840         style.
49841         * manual/examples/argp-ex2.c (main): Likewise.
49842         * manual/examples/argp-ex3.c (main): Likewise.
49843         * manual/examples/argp-ex4.c (main): Likewise.
49844         * manual/examples/longopt.c (main): Use new-style prototype
49845         definition.
49846         * manual/examples/strncat.c (main): Specify return type and use
49847         (void) for arguments.
49848         * manual/examples/subopt.c (main): Use char **argv argument.
49850 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49852         [BZ #5077]
49853         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49854         rounding modes.
49856 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
49858         [BZ #6907]
49859         * manual/string.texi (strchr): Change when strchrnul is
49860         recommended.
49862 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
49864         [BZ #174]
49865         * manual/locale.texi (setlocale): Document LOCPATH.
49867 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49869         [BZ #10210]
49870         * manual/process.texi (execle): Move @dots{} before last argument.
49872 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
49874         [BZ #12047]
49875         * manual/charset.texi (Generic Charset Conversion): Fix typo
49876         (LC_TYPE -> LC_CTYPE).
49878 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
49880         [BZ #5805]
49881         * manual/arith.texi (scalbn): Use @var{} on parameter names.
49882         (scalbnf): Likewise.
49883         (scalbnl): Likewise.
49884         (scalbln): Likewise.
49885         (scalblnf): Likewise.
49886         (scalblnl): Likewise.
49887         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49888         (vwarnx): Likewise.
49889         (verr): Likewise.
49890         (verrx): Likewise.
49891         * manual/filesys.texi (telldir): Use braces around return type.
49892         * manual/llio.texi (mmap): Add space after comma.
49893         (mmap64): Likewise.
49894         * manual/math.texi (jn): Use @var{} on parameter names.
49895         (jnf): Likewise.
49896         (jnl): Likewise.
49897         (yn): Likewise.
49898         (ynf): Likewise.
49899         (ynl): Likewise.
49900         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49901         line.
49902         * manual/resource.texi (ulimit): Use @dots{} instead of literal
49903         "...".
49904         (sched_get_priority_min): Remove semicolon on @deftypefun line.
49905         (sched_get_priority_max): Likewise.
49906         * manual/signal.texi (sigvec): Add space after comma.
49907         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49908         names.
49909         (if_indextoname): Likewise.
49910         (if_freenameindex): Likewise.
49911         (sendto): Use ',' instead of '.' in prototype.
49912         * manual/startup.texi (syscall): Use @dots{} instead of literal
49913         "...".
49914         * manual/stdio.texi (__fpending): Separate initial words of
49915         paragraph from @deftypefun line.
49916         * manual/syslog.texi (syslog): Use @dots{} instead of literal
49917         "...".
49918         (vsyslog): Use @var{} on parameter names.
49919         * manual/terminal.texi (stty): Use @var{} on parameter names.
49920         * manual/users.texi (getutmp): Use @var{} on parameter names.
49921         (getutmpx): Likewise.
49923 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49925         [BZ #6884]
49926         * manual/stdio.texi (fopen): Fix typos in description of
49927         ",ccs=STRING".
49929 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
49931         [BZ #4026]
49932         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49933         get clock_id definition.
49935 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
49937         [BZ #4822]
49938         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49939         (madvise): Cast every argument to void on its own.
49941 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49943         [BZ #9902]
49944         * manual/startup.texi (Exit Status): Fix typo.
49946 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49948         [BZ #10140]
49949         * manual/examples/argp-ex1.c: Include <stdlib.h>.
49950         * manual/examples/argp-ex2.c: Likewise.
49951         * manual/examples/argp-ex3.c: Likewise.
49953 2012-02-16  Richard Henderson  <rth@redhat.com>
49955         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49956         * sysdeps/s390/s390-32/initfini.c: Remove.
49957         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49958         * sysdeps/s390/s390-64/initfini.c: Remove.
49960 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49962         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49963         compiler output for sysdeps/generic/initfini.c.
49964         * sysdeps/sh/elf/initfini.c: Remove file.
49966 2012-02-16  David S. Miller  <davem@davemloft.net>
49968         [BZ #11494]
49969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49971         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49972         * sysdeps/sparc/crti.S: New file.
49973         * sysdeps/sparc/crtn.S: New file.
49974         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49975         * sysdeps/sparc/sparc64/Makefile: Likewise.
49977 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
49979         [BZ #3335]
49980         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49982 2012-02-15  Roland McGrath  <roland@hack.frob.com>
49984         [BZ #4822]
49985         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49987         * mach/devstream.c (cookie_io_functions_t): Macro removed.
49988         (write, read, close): Likewise.
49989         Patch by Aurelien Jarno <aurelien@aurel32.net>.
49991 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
49993         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49994         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49995         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49996         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49997         <bits/signalfd.h>.
49998         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49999         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50000         bits/signalfd.h.
50002 2012-02-14  Marek Polacek  <polacek@redhat.com>
50004         * sysdeps/x86_64/crti.S: New file.
50005         * sysdeps/x86_64/crtn.S: New file.
50006         * sysdeps/x86_64/elf/initfini.c: Remove file.
50008 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50010         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50011         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50012         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50013         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50014         <bits/inotify.h>.
50015         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50016         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50017         bits/inotify.h.
50019 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
50021         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50022         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50023         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50024         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50025         <bits/eventfd.h>.
50026         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50027         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50028         bits/eventfd.h.
50030 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
50032         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50033         __feraiseexcept instead of feraiseexcept.
50035         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50036         nanosleep invocations.
50037         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50038         strings, and add error checking for a nanosleep invocations.
50040 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
50042         Replace FSF snail mail address with URLs, as per GNU coding standards.
50043         Most of the snail mail addresses were wrong anyway, and omitting
50044         them makes the source code easier to maintain.  Almost all of the
50045         changes are to license notices and to locale LC_IDENTIFICATION
50046         addresses, except for this one:
50047         * manual/libc.texinfo: In "Published by", give the FSF's URL,
50048         not its snail mail address.
50050 2012-02-09  Richard Henderson  <rth@twiddle.net>
50052         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50053         of kernel-features.h.
50055         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50057 2012-02-08  Marek Polacek  <polacek@redhat.com>
50059         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50060         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50061         * sysdeps/gnu/_G_config.h: Likewise.
50062         * sysdeps/generic/_G_config.h: Likewise.
50064 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
50066         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50067         tests.
50068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50070         * sysdeps/powerpc/powerpc32/crti.S: New file.
50071         * sysdeps/powerpc/powerpc32/crtn.S: New file.
50072         * sysdeps/powerpc/powerpc64/crti.S: New file.
50073         * sysdeps/powerpc/powerpc64/crtn.S: New file.
50075         * Makeconfig (have-initfini): Don't set.
50076         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50077         * configure.in (nopic_initfini): Don't substitute.
50078         * config.h.in (HAVE_INITFINI): Don't #undef.
50079         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50080         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50082 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
50084         Support crti.S and crtn.S provided directly by architectures.
50085         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50086         [crti.S in sysdirs] (omit-deps): Likewise.
50087         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50088         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50089         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50090         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50091         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50092         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50093         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50094         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50095         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50096         compiler output for sysdeps/generic/initfini.c.
50097         * sysdeps/i386/elf/Makefile: Remove file.
50098         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50100 2012-02-07  Marek Polacek  <polacek@redhat.com>
50102         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50103         * sysdeps/gnu/_G_config.h: Likewise.
50104         * sysdeps/mach/hurd/_G_config.h: Likewise.
50106 2012-02-07  Marek Polacek  <polacek@redhat.com>
50108         * math/Makefile (tests): Add tst-CMPLX2.
50109         * math/tst-CMPLX2.c: New file.
50111 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
50113         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50115         * math/libm-test.inc (jn_test): Add missing L suffix.
50117 2012-02-06  Marek Polacek  <polacek@redhat.com>
50119         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50120         * sysdeps/i386/fpu/e_powf.S: Likewise.
50121         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50122         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50123         * sysdeps/i386/fpu/e_acosh.S: Likewise.
50124         * sysdeps/i386/fpu/e_pow.S: Likewise.
50125         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50126         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50127         * sysdeps/i386/fpu/s_expm1.S: Likewise.
50128         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50129         * sysdeps/i386/fpu/e_log2.S: Likewise.
50130         * sysdeps/i386/fpu/e_log2l.S: Likewise.
50131         * sysdeps/i386/fpu/e_scalb.S: Likewise.
50132         * sysdeps/i386/fpu/e_powl.S: Likewise.
50133         * sysdeps/i386/fpu/s_log1p.S: Likewise.
50134         * sysdeps/i386/fpu/e_log10f.S: Likewise.
50135         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50136         * sysdeps/i386/fpu/e_logl.S: Likewise.
50137         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50138         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50139         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50140         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50141         * sysdeps/i386/fpu/e_log2f.S: Likewise.
50142         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50143         * sysdeps/i386/fpu/e_log.S: Likewise.
50144         * sysdeps/i386/fpu/s_cexp.S: Likewise.
50145         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50146         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50147         * sysdeps/i386/fpu/e_logf.S: Likewise.
50148         * sysdeps/i386/fpu/e_log10l.S: Likewise.
50149         * sysdeps/i386/fpu/e_atanh.S: Likewise.
50150         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50151         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50152         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50153         * sysdeps/i386/fpu/e_log10.S: Likewise.
50154         * sysdeps/i386/fpu/s_frexp.S: Likewise.
50155         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50156         * sysdeps/i386/fpu/s_asinh.S: Likewise.
50157         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50158         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50159         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50160         * sysdeps/i386/asm-syntax.h: Likewise.
50161         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50162         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50163         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50164         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50165         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50166         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50167         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50168         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50169         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50170         * sysdeps/powerpc/sysdep.h: Likewise.
50171         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50172         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50174 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50176         [BZ #411]
50177         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50179 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
50181         * sysdeps/i386/sysdep.h: Include <features.h>.
50182         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50183         version.
50185 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
50187         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50188         Define.
50189         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50190         LOAD_PIC_REG_STR.
50192 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50194         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50195         (SETUP_PIC_REG): Use GET_PC_THUNK.
50196         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50197         macro.
50199 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50201         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50202         for non-PIC compilation.
50203         (SETUP_PIC_REG): Add .p2align directive.
50204         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50205         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50206         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50207         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50208         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50209         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50210         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50211         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50212         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50213         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50214         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50215         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50216         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50217         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50218         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50219         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50220         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50221         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50222         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50223         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50224         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50225         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50226         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50227         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50228         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50229         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50230         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50231         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50232         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50233         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50234         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50235         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50236         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50237         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50238         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50239         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50240         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50241         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50242         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50243         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50244         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50246 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
50248         * math/tst-CMPLX.c: Include <stdio.h>.
50250 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
50252         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50253         float.
50254         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50255         * sysdeps/sparc/bits/mathdef.h: Likewise.
50257 2012-01-31  Marek Polacek  <polacek@redhat.com>
50259         * libio/libio.h: Don't define _PARAMS.
50260         * locale/programs/config.h: Don't define PARAMS.
50261         * stdlib/strtol_l.c: Likewise.
50262         (__strtol_l): Remove PARAMS from the prototype.
50264 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
50266         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
50267         names.  Just use the correct names.  Remove unnecessary wrapper
50268         functions.
50269         * malloc/arena.c: Likewise.
50270         * malloc/hooks.c: Likewise.
50272         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50273         ARENA_TEST says not to.  Simplify test for creation of a new arena.
50274         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50276 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
50278         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50279         into tail calls.
50280         (update_get_addr): New function.
50281         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50282         GET_ADDR_MODULE parameter.
50284 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50286         * crypt/cert.c: Remove __STDC__ conditionals.
50287         * crypt/crypt-entry.c: Likewise.
50288         * crypt/crypt_util.c: Likewise.
50289         * libio/filedoalloc.c: Likewise.
50290         * libio/fileops.c: Likewise.
50291         * libio/genops.c: Likewise.
50292         * libio/iofclose.c: Likewise.
50293         * libio/iofdopen.c: Likewise.
50294         * libio/iofopen.c: Likewise.
50295         * libio/iofopen64.c: Likewise.
50296         * libio/iogetdelim.c: Likewise.
50297         * libio/iopopen.c: Likewise.
50298         * libio/obprintf.c: Likewise.
50299         * libio/oldfileops.c: Likewise.
50300         * libio/oldiofclose.c: Likewise.
50301         * libio/oldiofdopen.c: Likewise.
50302         * libio/oldiofopen.c: Likewise.
50303         * libio/oldiopopen.c: Likewise.
50304         * libio/wfiledoalloc.c: Likewise.
50305         * libio/wgenops.c: Likewise.
50306         * locale/programs/xmalloc.c: Likewise.
50307         * misc/syslog.c: Likewise.
50308         * stdio-common/xbug.c: Likewise.
50309         * string/memchr.c: Likewise.
50310         * string/memcmp.c: Likewise.
50311         * string/memrchr.c: Likewise.
50312         * string/rawmemchr.c: Likewise.
50313         * sysdeps/posix/getcwd.c: Likewise.
50314         * time/strftime_l.c: Likewise.
50316 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
50318         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
50319         * config.make.in (config-cflags-sse2avx): Define.
50320         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50321         Fix typo.
50323 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
50325         * scripts/config.guess: Update from upstream config git repository.
50326         * scripts/config.sub: Likewise.
50328 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
50330         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50331         (EM_NUM): Update.
50332         (R_TILEPRO_*, R_TILEGX_*): New macros.
50334         * scripts/firstversions.awk: Fix bug in version range handling.
50336         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50338         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50340         * include/sys/epoll.h: New file.
50341         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50342         libc_hidden_def.
50344 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
50346         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50347         Avoid unnecessary __WORDSIZE == 64 test.
50348         (fmaxf): Use VEX format if possible.
50349         (fmax): Likewise.
50350         (fminf): Likewise.
50351         (fmin): Likewise.
50353         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50354         * math/math_private.h: Remove libc_fegetround* and
50355         libc_fesetround*.
50356         * sysdeps/i386/configure.in: Check for -msse2avx.
50357         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50358         also if SSE2AVX is defined.
50359         Remove libc_fegetround* and libc_fesetround*.
50360         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50361         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
50362         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50363         of HAS_YMM_USABLE.
50364         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50365         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50366         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50367         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50368         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50370         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50372 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50374         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50375         size is not set.
50376         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50378 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
50380         [BZ #13618]
50381         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50382         relocation.
50383         * Makeconfig (libm): Define.
50384         * elf/Makefile: Add rules to build and run tst-relsort1.
50385         * elf/tst-relsort1.c: New file.
50386         * elf/tst-relsort1mod1.c: New file.
50387         * elf/tst-relsort1mod2.c: New file.
50389 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
50391         * math/s_ldexp.c: Remove __STDC__ conditionals.
50392         * math/s_ldexpf.c: Likewise.
50393         * math/s_ldexpl.c: Likewise.
50394         * math/s_nextafter.c: Likewise.
50395         * math/s_nexttowardf.c: Likewise.
50396         * math/s_significand.c: Likewise.
50397         * math/s_significandf.c: Likewise.
50398         * math/s_significandl.c: Likewise.
50399         * math/w_jnl.c: Likewise.
50400         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50401         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50402         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50403         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50404         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50405         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50406         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50407         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50408         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50409         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50410         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50411         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50412         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50413         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50414         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50415         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50416         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50417         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50418         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50419         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50420         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50421         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50422         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50423         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50424         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50425         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50426         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50427         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50428         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50429         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50430         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50431         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50432         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50433         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50434         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50435         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50436         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50437         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50438         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50439         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50440         * sysdeps/ieee754/k_standard.c: Likewise.
50441         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50442         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50443         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50444         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50445         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50446         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50447         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50448         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50449         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50450         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50451         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50452         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50453         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50454         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50455         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50456         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50457         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50458         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50459         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50460         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50461         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50462         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50463         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50464         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50465         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50466         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50467         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50468         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50469         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50470         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50471         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50472         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
50473         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50474         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50475         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50476         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50477         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
50478         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50479         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50480         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
50481         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
50482         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50483         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
50484         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
50485         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50486         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
50487         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50488         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50489         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50490         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
50491         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
50492         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50493         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50494         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50495         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50496         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50497         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
50498         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50499         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50500         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50501         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50502         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50503         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50504         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50505         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50506         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50507         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50508         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50509         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50510         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50511         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50512         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50513         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50514         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50515         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50516         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50517         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50518         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50519         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50520         * sysdeps/ieee754/s_matherr.c: Likewise.
50521         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50522         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50523         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50524         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50526 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50528         * crypt/md5.h: Remove __STDC__ conditionals.
50529         * libio/libioP.h: Likewise.
50530         * locale/programs/config.h: Likewise.
50531         * sysdeps/generic/sysdep.h: Likewise.
50532         * sysdeps/i386/asm-syntax.h: Likewise.
50533         * sysdeps/s390/asm-syntax.h: Likewise.
50534         * sysdeps/unix/sysdep.h: Likewise.
50535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
50536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
50538 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
50540         * libio/libio.h: Remove __STDC__ conditionals.
50541         * malloc/obstack.h: Likewise.
50542         * math/complex.h: Likewise.
50543         * math/math.h: Likewise.
50544         * sysdeps/generic/_G_config.h: Likewise.
50545         * sysdeps/gnu/_G_config.h: Likewise.
50546         * sysdeps/mach/hurd/_G_config.h: Likewise.
50547         * sysdeps/powerpc/bits/mathdef.h: Likewise.
50548         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50549         * sysdeps/sparc/bits/mathdef.h: Likewise.
50551 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
50553         [BZ #13583]
50554         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
50555         Clean up HAS_* macros.
50556         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
50557         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
50558         possible.
50559         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
50560         HAS_AVX.
50561         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50562         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50563         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50564         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50565         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50567 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
50569         * elf/tst-unique3.cc (gets): Remove declaration.
50570         * elf/tst-unique3lib.cc (gets): Likewise.
50571         * elf/tst-unique3lib2.cc (gets): Likewise.
50572         * elf/tst-unique4.cc (gets): Likewise.
50574 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
50576         * include/stdio.h: Add C++ protection.  Add gets declarations and
50577         definitions.
50578         * debug/tst-chk1.c: Don't declare gets here.
50579         * stdio-common/tst-gets.c: Likewise.
50581 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50583         * posix/glob: Remove directory.
50585 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
50587         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
50589 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
50591         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
50592         of the non-standard EPFNOSUPPORT.
50594 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50596         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
50597         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
50598         ANYWHERE set to 1 only on KERN_NO_SPACE error.
50600 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
50602         * wcsmbs/uchar.h: Test __STDC_VERSION__.
50604 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
50606         * nscd/aicache.c (addhstaiX): Do not cache negative results of
50607         transient errors.
50608         * nscd/grpcache.c (cache_addgr): Likewise.
50609         * nscd/hstcache.c (cache_addhst): Likewise.
50610         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50611         * nscd/pwdcache.c (cache_addpw): Likewise.
50612         * nscd/servicescache.c (cache_addserv): Likewise.
50614 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
50616         * malloc/malloc.c: Various cleanups.
50617         * malloc/hooks.c: Likewise.
50619         * stdlib/Makefile (tests): Add bug-fmtmsg1.
50620         * stdlib/bug-fmtmsg1.c: New file.
50622         * stdlib/fmtmsg.c (init): Add missing unlock.
50623         Patch by Peng Haitao <penght@cn.fujitsu.com>.
50625 2012-01-12  Marek Polacek  <polacek@redhat.com>
50627         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
50628         and _GNU_SOURCE.
50630 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50632         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
50633         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
50634         macro to ensure uniqueness of label name.
50635         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50636         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50638 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
50640         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
50642         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
50643         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50644         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50645         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
50647 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
50649         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
50651         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
50652         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50653         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50655         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
50657         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
50658         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50659         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50660         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50662         * math/bits/math-finite.h: Add ldexp support.
50664 2012-01-10  Marek Polacek  <polacek@redhat.com>
50666         * locale/programs/localedef.h (show_archive_content): Add noreturn
50667         attribute.
50669 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50671         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50673 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50675         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50677         * io/Makefile (headers): Add bits/poll2.h.
50679 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50682         typo #include statement.
50684 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50686         * include/sys/cdefs.h: Define __attribute_alloc_size.
50687         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50688         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50689         * elf/pldd.c: Likewise.
50690         * iconv/iconv_charmap.c: Likewise.
50691         * iconv/iconvconfig.c: Likewise.
50692         * iconv/strtab.c: Likewise.
50693         * locale/programs/locale.c: Likewise.
50694         * locale/programs/localedef.h: Likewise.
50695         * locale/programs/simple-hash.c: Likewise.
50696         * nscd/nscd.h: Likewise.
50697         * nss/makedb.c: Likewise.
50698         * sysdeps/generic/ldconfig.h: Likewise.
50699         * locale/programs/localedef.c: Remove xmalloc prototype.
50700         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50702 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50704         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50705         appropriate.
50707 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50709         * math/Makefile (tests): Add tst-CMPLX.
50710         * math/tst-CMPLX.c: New file.
50712         * math/complex.h (CMPLXL): Fix typo.
50714         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50715         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50716         GLIBC_2.16.
50717         * debug/tst-chk1.c: Add poll and ppoll tests.
50718         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50719         * include/sys/poll.h: Add hidden proto for ppoll.
50720         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50721         * sysdeps/mach/hurd/ppoll.c: Likewise.
50722         * io/ppoll.c: Likewise.
50723         * debug/poll_chk.c: New file.
50724         * debug/ppoll_chk.c: New file.
50725         * include/bits/poll2.h: New file.
50726         * io/bits/poll2.h: New file.
50728         [BZ #1350]
50729         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50731         * configure.in: static is always set to yes.  Remove.
50732         * config.make.in: Don't set build-static.
50733         * Makeconfig: Remove use of build-static.
50734         * dlfcn/Makefile: Likewise.
50735         * elf/Makefile: Likewise.
50736         * math/Makefile: Likewise.
50737         * misc/Makefile: Likewise.
50738         * nptl/Makefile: Likewise.
50739         * sysdeps/mach/hurd/Makefile: Likewise.
50741         * configure.in: PWD_P is not used anymore.
50742         * config.make.in: Remove PWD_P entry.
50744         * configure.in: Remove last remnants of RANLIB.
50745         No need to check for signed size_t anymore.
50746         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50747         and IA-64.
50748         Remove __builtin_expect test because we require at least gcc 3.4.
50749         * aclocal.m4: Likewise.
50751         * wcsmbs/mbrtoc16.c: Implement using towc function.
50752         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50753         * wcsmbs/wcsmbsload.c: Likewise.
50754         * iconv/gconv_simple.c: Likewise.
50755         * iconv/gconv_int.h: Likewise.
50756         * iconv/gconv_builtin.h: Likewise.
50757         * iconv/iconv_prog.c: Remove CHAR16 handling.
50759         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50761         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50763         * configure.in: Remove --with-elf and --enable-bounded options.
50764         Dont set base_machine for ia64.  More non-ELF conditions removed.
50765         Remove testing and setting of leading underscore information.
50766         * config.make.in (build-bounded): Set to no.
50767         * config.h.in: Remove NO_UNDERSCORES entry.
50768         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50769         them.
50770         * csu/start.c: Remove !NO_UNDERSCORE code.
50771         * locale/localeinfo.h: Likewise.
50772         * sysdeps/generic/machine-gmon.h: Likewise.
50773         * sysdeps/generic/sysdep.h: Likewise.
50774         * sysdeps/i386/sysdep.h: Likewise.
50775         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50776         * sysdeps/mach/sysdep.h: Likewise.
50777         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50778         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50779         * sysdeps/sh/sysdep.h: Likewise.
50780         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50781         * sysdeps/unix/i386/sysdep.S: Likewise.
50782         * sysdeps/unix/sparc/start.c: Likewise.
50783         * sysdeps/unix/sparc/sysdep.S: Likewise.
50784         * sysdeps/unix/sparc/sysdep.h: Likewise.
50785         * sysdeps/unix/start.c: Likewise.
50786         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50787         * sysdeps/x86_64/sysdep.h: Likewise.
50789 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50791         [BZ #13553]
50792         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50793         for non-gcc.
50794         * argp/argp-fmtstream.h: Use const instead __const.
50795         * argp/argp.h: Likewise.
50796         * assert/assert.h: Likewise.
50797         * bits/fenv.h: Likewise.
50798         * bits/sched.h: Likewise.
50799         * bits/sigset.h: Likewise.
50800         * bits/sigthread.h: Likewise.
50801         * catgets/nl_types.h: Likewise.
50802         * conform/data/pthread.h-data: Likewise.
50803         * crypt/crypt-private.h: Likewise.
50804         * crypt/crypt.h: Likewise.
50805         * crypt/crypt_util.c: Likewise.
50806         * ctype/ctype.h: Likewise.
50807         * debug/execinfo.h: Likewise.
50808         * debug/mbsnrtowcs_chk.c: Likewise.
50809         * debug/mbsrtowcs_chk.c: Likewise.
50810         * debug/wcsnrtombs_chk.c: Likewise.
50811         * debug/wcsrtombs_chk.c: Likewise.
50812         * debug/wcstombs_chk.c: Likewise.
50813         * dirent/dirent.h: Likewise.
50814         * dlfcn/dlfcn.h: Likewise.
50815         * elf/neededtest4.c: Likewise.
50816         * grp/grp.h: Likewise.
50817         * gshadow/gshadow.h: Likewise.
50818         * iconv/gconv.h: Likewise.
50819         * iconv/gconv_int.h: Likewise.
50820         * iconv/gconv_simple.c: Likewise.
50821         * iconv/iconv.h: Likewise.
50822         * iconv/loop.c: Likewise.
50823         * iconv/skeleton.c: Likewise.
50824         * include/aio.h: Likewise.
50825         * include/aliases.h: Likewise.
50826         * include/argz.h: Likewise.
50827         * include/arpa/inet.h: Likewise.
50828         * include/assert.h: Likewise.
50829         * include/dirent.h: Likewise.
50830         * include/dlfcn.h: Likewise.
50831         * include/execinfo.h: Likewise.
50832         * include/fcntl.h: Likewise.
50833         * include/fenv.h: Likewise.
50834         * include/glob.h: Likewise.
50835         * include/grp.h: Likewise.
50836         * include/libintl.h: Likewise.
50837         * include/mntent.h: Likewise.
50838         * include/netdb.h: Likewise.
50839         * include/pwd.h: Likewise.
50840         * include/rpc/netdb.h: Likewise.
50841         * include/sched.h: Likewise.
50842         * include/search.h: Likewise.
50843         * include/shadow.h: Likewise.
50844         * include/signal.h: Likewise.
50845         * include/stdio.h: Likewise.
50846         * include/stdlib.h: Likewise.
50847         * include/string.h: Likewise.
50848         * include/sys/socket.h: Likewise.
50849         * include/sys/stat.h: Likewise.
50850         * include/sys/statfs.h: Likewise.
50851         * include/sys/statvfs.h: Likewise.
50852         * include/sys/syslog.h: Likewise.
50853         * include/sys/time.h: Likewise.
50854         * include/sys/uio.h: Likewise.
50855         * include/time.h: Likewise.
50856         * include/unistd.h: Likewise.
50857         * include/utmp.h: Likewise.
50858         * include/wchar.h: Likewise.
50859         * include/wctype.h: Likewise.
50860         * inet/aliases.h: Likewise.
50861         * inet/arpa/inet.h: Likewise.
50862         * inet/netinet/ether.h: Likewise.
50863         * inet/netinet/in.h: Likewise.
50864         * intl/libintl.h: Likewise.
50865         * io/bits/fcntl2.h: Likewise.
50866         * io/fcntl.h: Likewise.
50867         * io/ftw.h: Likewise.
50868         * io/sys/poll.h: Likewise.
50869         * io/sys/stat.h: Likewise.
50870         * io/sys/statfs.h: Likewise.
50871         * io/sys/statvfs.h: Likewise.
50872         * io/utime.h: Likewise.
50873         * libio/bits/stdio.h: Likewise.
50874         * libio/bits/stdio2.h: Likewise.
50875         * libio/libio.h: Likewise.
50876         * libio/libioP.h: Likewise.
50877         * libio/stdio.h: Likewise.
50878         * locale/lc-ctype.c: Likewise.
50879         * locale/locale.h: Likewise.
50880         * login/utmp.h: Likewise.
50881         * malloc/arena.c: Likewise.
50882         * malloc/malloc.c: Likewise.
50883         * malloc/malloc.h: Likewise.
50884         * malloc/mcheck.c: Likewise.
50885         * malloc/mtrace.c: Likewise.
50886         * math/bits/mathcalls.h: Likewise.
50887         * math/fenv.h: Likewise.
50888         * math/math_private.h: Likewise.
50889         * misc/bits/error.h: Likewise.
50890         * misc/bits/syslog.h: Likewise.
50891         * misc/err.h: Likewise.
50892         * misc/error.h: Likewise.
50893         * misc/fstab.h: Likewise.
50894         * misc/mntent.h: Likewise.
50895         * misc/regexp.h: Likewise.
50896         * misc/search.h: Likewise.
50897         * misc/sgtty.h: Likewise.
50898         * misc/sys/mman.h: Likewise.
50899         * misc/sys/syslog.h: Likewise.
50900         * misc/sys/uio.h: Likewise.
50901         * misc/sys/xattr.h: Likewise.
50902         * misc/ttyent.h: Likewise.
50903         * nis/rpcsvc/ypclnt.h: Likewise.
50904         * nss/nss.h: Likewise.
50905         * posix/bits/unistd.h: Likewise.
50906         * posix/fnmatch.h: Likewise.
50907         * posix/glob.h: Likewise.
50908         * posix/sched.h: Likewise.
50909         * posix/spawn.h: Likewise.
50910         * posix/sys/wait.h: Likewise.
50911         * posix/unistd.h: Likewise.
50912         * posix/wordexp.h: Likewise.
50913         * pwd/pwd.h: Likewise.
50914         * resolv/netdb.h: Likewise.
50915         * resource/sys/resource.h: Likewise.
50916         * rt/aio.h: Likewise.
50917         * rt/bits/mqueue2.h: Likewise.
50918         * rt/mqueue.h: Likewise.
50919         * shadow/shadow.h: Likewise.
50920         * signal/signal.h: Likewise.
50921         * socket/send.c: Likewise.
50922         * socket/sendto.c: Likewise.
50923         * socket/sys/socket.h: Likewise.
50924         * stdio-common/printf.h: Likewise.
50925         * stdlib/bits/stdlib.h: Likewise.
50926         * stdlib/fmtmsg.h: Likewise.
50927         * stdlib/monetary.h: Likewise.
50928         * stdlib/stdlib.h: Likewise.
50929         * stdlib/ucontext.h: Likewise.
50930         * streams/stropts.h: Likewise.
50931         * string/argz.h: Likewise.
50932         * string/bits/string2.h: Likewise.
50933         * string/string.h: Likewise.
50934         * string/strings.h: Likewise.
50935         * sunrpc/rpc/auth.h: Likewise.
50936         * sunrpc/rpc/auth_des.h: Likewise.
50937         * sunrpc/rpc/clnt.h: Likewise.
50938         * sunrpc/rpc/netdb.h: Likewise.
50939         * sunrpc/rpc/pmap_clnt.h: Likewise.
50940         * sunrpc/rpc/xdr.h: Likewise.
50941         * sysdeps/generic/inttypes.h: Likewise.
50942         * sysdeps/generic/net/if.h: Likewise.
50943         * sysdeps/generic/sys/swap.h: Likewise.
50944         * sysdeps/gnu/net/if.h: Likewise.
50945         * sysdeps/gnu/utmpx.h: Likewise.
50946         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50947         * sysdeps/i386/i486/bits/string.h: Likewise.
50948         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50949         * sysdeps/s390/bits/string.h: Likewise.
50950         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50951         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50952         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50953         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50954         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50955         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50956         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50957         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50958         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50959         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50960         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50961         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50962         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50963         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50964         * sysdeps/unix/sysv/linux/readv.c: Likewise.
50965         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50966         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50967         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50968         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50969         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50970         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50971         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50972         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50973         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50974         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50975         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50976         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50977         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50978         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50979         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50980         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50981         * sysvipc/sys/ipc.h: Likewise.
50982         * sysvipc/sys/msg.h: Likewise.
50983         * sysvipc/sys/sem.h: Likewise.
50984         * sysvipc/sys/shm.h: Likewise.
50985         * termios/termios.h: Likewise.
50986         * time/sys/time.h: Likewise.
50987         * time/time.h: Likewise.
50988         * wcsmbs/bits/wchar2.h: Likewise.
50989         * wcsmbs/uchar.h: Likewise.
50990         * wcsmbs/wchar.h: Likewise.
50991         * wctype/wctype.h: Likewise.
50993         [BZ #13551]
50994         * Makeconfig: Remove all but ELF support including AIX support.
50995         * Makerules: Likewise.
50996         * config.h.in: Likewise.
50997         * config.make.in: Likewise.
50998         * configure: Likewise.
50999         * configure.in: Likewise.
51000         * csu/Makefile: Likewise.
51001         * csu/version.c: Likewise.
51002         * debug/Makefile: Likewise.
51003         * dlfcn/Makefile: Likewise.
51004         * elf/Makefile: Likewise.
51005         * extra-lib.mk: Likewise.
51006         * iconv/Makefile: Likewise.
51007         * include/libc-symbols.h: Likewise.
51008         * include/shlib-compat.h: Likewise.
51009         * resolv/Makefile: Likewise.
51010         * resolv/res_libc.c: Likewise.
51011         * rt/Makefile: Likewise.
51012         * sysdeps/i386/asm-syntax.h: Likewise.
51013         * sysdeps/i386/sysdep.h: Likewise.
51014         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51015         * sysdeps/mach/sysdep.h: Likewise.
51016         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51017         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51018         * sysdeps/s390/asm-syntax.h: Likewise.
51019         * sysdeps/s390/s390-32/sysdep.h: Likewise.
51020         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51021         * sysdeps/sh/sysdep.h: Likewise.
51022         * sysdeps/unix/sparc/sysdep.h: Likewise.
51023         * sysdeps/wordsize-32/divdi3.c: Likewise.
51024         * sysdeps/x86_64/sysdep.h: Likewise.
51026         * argp/Versions: Remove _argp_unlock_xxx.
51028         [BZ #13559]
51029         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
51030         * abilist/libBrokenLocale.abilist: Likewise.
51031         * abilist/libanl.abilist: Likewise.
51032         * abilist/libc.abilist: Likewise.
51033         * abilist/libcrypt.abilist: Likewise.
51034         * abilist/libdl.abilist: Likewise.
51035         * abilist/libm.abilist: Likewise.
51036         * abilist/libnsl.abilist: Likewise.
51037         * abilist/libpthread.abilist: Likewise.
51038         * abilist/libresolv.abilist: Likewise.
51039         * abilist/librt.abilist: Likewise.
51040         * abilist/libthread_db.abilist: Likewise.
51041         * abilist/libutil.abilist: Likewise.
51042         * abilist/libnss_db.abilist: New file.
51044         * scripts/abilist.awk: Add support for indirect functions.
51046         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51048         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51050         * shlib-versions: Remove entries for ports architectures.
51052         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
51053         files in ports.
51054         * elf/stackguard-macros.h: Remove support for IA-64.
51055         * elf/tst-auditmod1.c: Likewise.
51056         * sysdeps/generic/ldsodefs.h: Likewise.
51058         * sysdeps/unix/sysv/linux/configure.in: Ports should define
51059         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51060         configure files.
51062         [BZ #13552]
51063         * configure.in: Remove --enable-omitfp support.
51064         * FAQ.in: Adjust.
51065         * config.make.in: Likewise.
51066         * Makeconfig: Likewise.
51067         * manual/install.texi: Likewise.
51069         In case anyone cares, the IA-64 architecture could move to ports.
51070         * sysdeps/ia64/*: Removed.
51071         * sysdeps/unix/sysv/linux/ia64/*: Removed.
51072         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
51074         [BZ #13555]
51075         * configure.in: Remove entries for unsupported architectures.
51077         [BZ #13533]
51078         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51079         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
51080         routines.
51081         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51082         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51083         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
51084         fall back to using wcrtomb.
51085         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51086         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
51087         renaming.
51088         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51089         * wcsmbs/tst-c16c32-1.c: New file.
51091         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51092         local variable.
51094         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51096         * elf/tst-unique3.cc: Add explicit declaration of gets.
51097         * elf/tst-unique3lib.cc: Likewise.
51098         * elf/tst-unique3lib2.cc: Likewise.
51099         * elf/tst-unique4.cc: Likewise.
51101         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51103 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
51105         [BZ #13566]
51106         * assert/assert.h (static_assert): Don't define for C++.
51107         * libio/stdio.h (gets): Do declare for C++ <= C++11.
51108         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51110 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
51112         * iconv/loop.c (single loop): Fix assertion in storing of
51113         remaining bytes.
51115         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51117 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
51119         * posix/getconf.c: Update copyright year.
51120         * nss/getent.c: Likewise.
51121         * nss/makedb.c: Likewise.
51122         * iconv/iconvconfig.c: Likewise.
51123         * iconv/iconv_prog.c: Likewise.
51124         * elf/ldconfig.c: Likewise.
51125         * elf/pldd.c: Likewise.
51126         * elf/sotruss.ksh: Likewise.
51127         * catgets/gencat.c: Likewise.
51128         * csu/version.c: Likewise.
51129         * elf/ldd.bash.in: Likewise.
51130         * elf/sprof.c (print_version): Likewise.
51131         * locale/programs/locale.c: Likewise.
51132         * locale/programs/localedef.c: Likewise.
51133         * login/programs/pt_chown.c: Likewise.
51134         * nscd/nscd.c (print_version): Likewise.
51135         * debug/xtrace.sh: Likewise.
51136         * malloc/memusage.sh: Likewise.
51137         * malloc/mtrace.pl: Likewise.
51138         * debug/catchsegv.sh: Likewise.
51140 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
51142         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51143         pure attribute.
51145 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
51147         [BZ #13533]
51148         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51149         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51150         transformations.
51151         * iconv/gconv_int.h: Likewise.
51152         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51153         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51154         from libc for GLIBC_2.16.
51155         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51156         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51157         * wcsmbs/uchar.h: Really define mbstate_t.
51158         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51159         * wcsmbs/c16rtomb.c: New file.
51160         * wcsmbs/mbrtoc16.c: New file.
51161         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51162         for C/POSIX locale.
51163         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51164         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51166         * wcsmbs/wchar.h: Add missing __restrict.
51168 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51170         [BZ #13532]
51171         * time/Makefile (routines): Add timespec_get.
51172         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51173         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
51174         timespec for ISO C11.
51175         * time/timespec_get.c: New file.
51176         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51177         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51179         [BZ #13531]
51180         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51181         * stdlib/stdlib.h: Declare aligned_alloc.
51182         * Versions.def: Add GLIBC_2.16 for libc.
51183         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51185         [BZ 13527]
51186         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51187         ISO C11.
51189         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
51190         code.
51192         [BZ #13528]
51193         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51195         [BZ #13529]
51196         * assert/assert.h (static_assert): Define.
51198         * version.h: Update for 2.16 development version.
51200         [BZ #13526]
51201         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51202         _ISOC11_SOURCE.
51204         * version.h (RELEASE): Bump for 2.15 release.
51205         * include/features.h (__GLIBC_MINOR__): Bump to 15.
51207         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51208         Patch by Marek Polacek <mpolacek@redhat.com>.
51210         * bits/byteswap.h: Protect long long constants with __extension__.
51211         * sysdeps/i386/bits/byteswap.h: Likewise.
51212         * sysdeps/ia64/bits/byteswap.h: Likewise.
51213         * sysdeps/s390/bits/byteswap.h: Likewise.
51214         * sysdeps/x86_64/bits/byteswap.h: Likewise.
51216 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51218         [BZ #13540]
51219         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51220         destination buffer.
51221         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51223 2011-12-23  Marek Polacek  <polacek@redhat.com>
51225         * elf/dl-addr.c (determine_info): Add inline keyword.
51226         * elf/tst-auditmod4b.c (check_avx): Likewise.
51227         * elf/tst-auditmod6b.c (check_avx): Likewise.
51228         * elf/tst-auditmod6c.c (check_avx): Likewise.
51229         * elf/tst-auditmod7b.c (check_avx): Likewise.
51231 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
51233         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51234         !__SSE_MATH__.
51236 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51238         [BZ #13540]
51239         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51240         processing for last bytes.
51242 2011-08-06  Bruno Haible  <bruno@clisp.org>
51244         [BZ #13061]
51245         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51246         U+0385, not to U+1FEE.
51248         [BZ #13062]
51249         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51250         entry for U+00A5 U+0301.
51252 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51254         [BZ #13166]
51255         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51256         buffer for the output is too small.
51258         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51259         optimization.
51261         [BZ #13185]
51262         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51263         SSE flags if possible.
51265 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51267         [BZ #13540]
51268         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51269         processing for last bytes.
51271 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
51273         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51274         (syscall-list-default-options, syscall-list-default-condition)
51275         (syscall-list-includes): Define.
51276         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51277         list of ABIs and options and #if conditions for each ABI.  Do not
51278         handle common syscalls between ABIs specially.
51279         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51280         Remove.
51281         (syscall-list-variants, syscall-list-32bit-options)
51282         (syscall-list-32bit-condition, syscall-list-64bit-options)
51283         (syscall-list-64bit-condition): Define.
51284         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51285         (syscall-list-variants, syscall-list-32bit-options)
51286         (syscall-list-32bit-condition, syscall-list-64bit-options)
51287         (syscall-list-64bit-condition): Define.
51288         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51289         Remove.
51290         (syscall-list-variants, syscall-list-32bit-options)
51291         (syscall-list-32bit-condition, syscall-list-64bit-options)
51292         (syscall-list-64bit-condition): Define.
51293         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51294         Remove.
51295         (syscall-list-variants, syscall-list-32bit-options)
51296         (syscall-list-32bit-condition, syscall-list-64bit-options)
51297         (syscall-list-64bit-condition): Define.
51299 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
51301         * locale/iso-639.def: Add brx entry.
51303         [BZ #13328]
51304         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51305         Proposed by Mariusz_Cukr <marcukr@op.pl>.
51307         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51308         __feraiseexcept_renamed.
51310 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51312         [BZ #13538]
51313         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51314         EPOLLET with unsigned values.
51315         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51316         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51318         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51319         to large cancellation.
51320         * math/s_cacoshf.c: Likewise.
51321         * math/s_cacoshl.c: Likewise.
51323 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
51325         [BZ #13305]
51326         [BZ #12786]
51327         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51328         * math/s_cacoshf.c: Likewise.
51329         * math/s_cacoshl.c: Likewise.
51331 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
51333         [BZ #13439]
51334         * iconv/gconv.h: Define __GCONV_SWAP.
51335         * iconvdata/unicode.c: The swap bit must be stored in __flags.
51336         * iconvdata/utf-16.c: Likewise.
51337         * iconvdata/utf-32.c: Likewise.
51339 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
51341         [BZ #13524]
51342         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51343         numerator after shifting it by one limb.
51345 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
51347         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51348         under [__USE_EXTERN_INLINES].
51350 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51352         [BZ #13446]
51353         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51355 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51357         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51358         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51359         optimized code.
51360         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51361         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51362         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51363         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51364         for strncasecmp/strncasecmp_l compilation.
51365         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51366         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51368 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
51370         [BZ #13484]
51371         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51372         of __asm__.
51374 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
51376         [BZ #13506]
51377         * time/tzfile.c (__tzfile_read): Check values from file header.
51379 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
51381         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51382         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51383         * powerpc/powerpc32/dl-start.S: Likewise.
51384         * powerpc/powerpc32/elf/start.S: Likewise.
51385         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51386         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51387         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51388         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51389         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51390         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51391         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51392         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51393         * powerpc/powerpc32/fpu/s_round.S: Likewise.
51394         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51395         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51396         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51397         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51398         * powerpc/powerpc32/memset.S: Likewise.
51399         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51400         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51401         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51402         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51403         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51404         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51405         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51406         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51407         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51408         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51409         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51410         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51411         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51413 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51415         * math/libm-test.inc: Added more nearbyint tests.
51416         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
51417         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
51418         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
51419         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
51421 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
51423         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
51424         FD_CLOEXEC.
51426 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51428         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
51429         Add wcscpy-ssse3 wcscpy-c.
51430         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
51431         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
51432         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
51433         * sysdeps/x86_64/wcschr.S: New file.
51434         * sysdeps/x86_64/wcsrchr.S: New file.
51435         * string/test-strcmp.c: Remove checking of wcscmp function for
51436         wrong alignments.
51437         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
51438         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
51439         wcsrchr-sse2 wcsrchr-c.
51440         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
51441         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
51442         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
51443         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
51444         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
51445         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
51446         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
51447         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
51448         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
51449         * wcsmbc/wcschr.c (WCSCHR): New macro.
51451 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51453         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
51454         * wcsmbs/test-wcsrchr.c: New file.
51455         * string/test-strrchr.c: Add wcsrchr support.
51456         (WIDE): New macro.
51457         * wcsmbs/test-wcscpy.c: New file.
51458         * string/test-strcpy.c: Add wcscpy support.
51459         (WIDE): New macro.
51461 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
51463         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
51464         the inner loop.
51466 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
51468         [BZ #13472]
51469         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
51471 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
51473         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
51474         Minor optimizations.
51476         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
51477         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
51478         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
51480 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
51482         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
51483         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
51484         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
51485         for gcc to avoid warnings.
51486         * inet/Makefile (tests): Add tst-checks.
51487         * inet/tst-checks.c: New file.
51489         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
51490         warning.
51492         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
51493         __wmemcmp_sse2.
51495         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
51496         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
51498         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
51500 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
51502         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
51503         problem.
51505         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
51507 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
51509         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
51510         conditional on GCC version.
51511         (__arch_compare_and_exchange_val_8_acq)
51512         (__arch_compare_and_exchange_val_16_acq)
51513         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
51514         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
51515         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
51517 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
51519         * sysdeps/sh/backtrace.c: New file.
51521 2011-12-02  Andreas Schwab  <schwab@redhat.com>
51523         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
51524         parenthesis.
51526 2011-12-01  Andreas Schwab  <schwab@redhat.com>
51528         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
51529         falling back to utime.
51531 2011-11-30  Andreas Schwab  <schwab@redhat.com>
51533         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
51534         expectations for float.
51536 2011-11-29  Andreas Schwab  <schwab@redhat.com>
51538         * locale/weight.h (findidx): Add parameter len.
51539         * locale/weightwc.h (findidx): Likewise.
51540         * posix/fnmatch_loop.c (FCT): Adjust caller.
51541         * posix/regcomp.c (build_equiv_class): Likewise.
51542         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
51543         * posix/regexec.c (check_node_accept_bytes): Likewise.
51544         * string/strcoll_l.c (STRCOLL): Likewise.
51545         * string/strxfrm_l.c (STRXFRM): Likewise.
51547 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
51549         * Makefile.in: Remove CVSOPT handling.
51550         * configure.in: Remove use of AC_REVISION.
51551         * iconvdata/Makefile (distribute): No need to filter out CVS.
51552         * scripts/list-sources.sh: Remove CVS, subversion and monotone
51553         handling.
51555 2011-11-16  Andreas Schwab  <schwab@redhat.com>
51557         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
51558         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
51559         [USE_AS_STRNCASECMP_L]: Likewise.
51560         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
51561         NO_TLS_DIRECT_SEG_REFS.
51562         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
51563         Fix argument offsets for non-PIC.
51564         [USE_AS_STRNCASECMP_L]: Likewise.
51565         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
51566         NO_TLS_DIRECT_SEG_REFS.
51568 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51570         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
51571         O_CLOEXEC.
51572         * locale/loadlocale.c (_nl_load_locale): Likewise.
51574 2011-11-15  Andreas Schwab  <schwab@redhat.com>
51576         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
51577         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
51578         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
51579         (SYSCALL_GETTIME): Set errno on error.
51581         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
51582         count references to noai6ai_cached.
51584 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
51586         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
51588         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
51589         FD_CLOEXEC for /proc/self/maps.
51591         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
51592         FD_CLOEXEC for /proc/meminfo.
51594         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
51595         gai.conf.
51597         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
51598         FD_CLOEXEC for given file.
51600         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
51602         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
51603         FD_CLOEXEC for /etc/hosts.
51604         (_gethtent): Likewise.
51606         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
51608         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
51609         cancellation and set FD_CLOEXEC for /etc/netgroup.
51611         * nss/nss_files/files-key.c (search): Don't allow cancellation when
51612         reading /etc/publickey.
51614         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
51615         allow cancellation when reading /etc/group.
51617         * nss/nss_files/files-alias.c (internal_setent): Don't allow
51618         cancellation.
51619         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
51621         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
51622         when using data file.
51624         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
51626         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
51627         (write_nis_obj): Use "c" and "e" in fopen.
51629         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
51631         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
51633         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
51635         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
51637         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
51638         locale.alias.
51640         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
51642         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
51644         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
51646         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
51647         file parsing and set FD_CLOEXEC.
51649 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51651         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
51653 2011-11-14  Andreas Schwab  <schwab@redhat.com>
51655         * malloc/arena.c (arena_get2): Don't call reused_arena when
51656         _int_new_arena failed.
51658 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51660         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51661         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51662         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51663         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51664         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51665         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51666         to compile strcasecmp and strncasecmp.
51667         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51668         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51670         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51672 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51674         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51675         locale-defines.sym to gen-as-const-headers.
51676         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51677         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51678         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51679         to compile strcasecmp and strncasecmp.
51680         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51681         strcasecmp_l and strncasecmp_l.
51682         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51683         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51684         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51685         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51686         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51687         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51688         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51689         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51690         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51691         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51692         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51694 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51696         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51697         result of SYSDEP_GETTIME_CPU to retval.
51698         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51699         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51701         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51702         variable.
51704         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51705         mantissa words.
51706         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51708         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51709         from unused variable.
51711         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51712         DWARF definitions.
51713         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51714         for assembling.
51716         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51717         over namespaces.
51719         * sunrpc/rpc_prot.c (rejected): Fix case value.
51721         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51722         unsigned long long int to avoid warnings in shift.
51724         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51725         of use of trans.
51726         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51727         variable tmp.
51729         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51730         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51731         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51733         * nis/nis_table.c (nis_list): Use variable of correct type for
51734         result of __follow_path call.
51736 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51738         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51739         of math functions ceil, trunc, floor, round, and sqrt, when
51740         avaliable on the platform.
51741         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51742         name clash.
51743         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51744         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51745         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51747 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51749         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51750         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51752 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51754         * include/unistd.h: Fix __readlink return type.
51755         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51757 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51759         * stdlib/ucontext.h: Undo last change for makecontext.
51761 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51763         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51765         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51766         * setjmp/setjmp.h: Mark functions as non-leaf.
51767         * setjmp/bits/setjmp2.h: Likewise.
51768         * stdlib/ucontext.h: Likewise.
51770 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51772         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51773         (reused_arena): Don't check arena limit.
51774         (arena_get2): Atomically check arena limit.
51776 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51778         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51779         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51781         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51782         instructions.
51784 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51786         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51787         handler when locking.
51789         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51790         Fix size of allocated buffer.
51792 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51794         [BZ #10103]
51795         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51796         declarations for long double functions.
51797         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51799         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51801 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51803         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51804         installed.
51806         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51807         is disabled.
51809 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51811         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51813 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51815         * include/alloca.h (stackinfo_alloca_round): Define.
51816         (extend_alloca): Use it.
51817         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51818         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51819         here.
51821         * scripts/check-local-headers.sh: Ignore libaudit.h.
51823         * nscd/Makefile (extra-objs): Make recursively expanded.
51825 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
51827         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51828         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51830         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51831         * posix/tst-rfc3484-2.c: Likewise.
51832         * posix/tst-rfc3484-3.c: Likewise.
51834         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51835         process_vm_writev.
51836         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51837         process_vm_writev.
51838         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51839         process_vm_writev from libc using GLIBC_2.15 version.
51841         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51843 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
51845         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51846         stack usage.
51848 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
51850         [BZ #13367]
51851         * nss/getent.c (initgroups_keys): Show error message in case no group
51852         names are given.
51854         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51855         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51856         __bump_nl_timestamp.
51857         * nscd/connections (nscd_init): When host database is served open
51858         netlink socket and request notification about configuration changes.
51859         (main_loop_poll): Track netlink file descriptor and bump timestamp
51860         in case data becomes available.
51861         (main_loop_epoll): Likewise.
51862         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51863         (database_pers_head): Add extra_data fileds.
51864         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51865         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51866         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51867         Adjust caller.
51868         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51869         in6ai data, call __free_in6ai.
51870         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51871         Add -DHAVE_NETLINK.
51872         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
51873         interface information.  Reuse previous data if netlink timestamp
51874         is not changed.
51875         (__bump_nl_timestamp): New function.
51876         (__free_in6ai): New function.
51878 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
51880         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51881         close_not_cancel_no_status here.
51882         (__check_pf): Reorganize code a bit to not call close twice if OOM.
51884 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51886         [BZ #13276]
51887         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51888         return value.
51890         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51891         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51892         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51894 2011-07-03  Andreas Jaeger  <aj@suse.de>
51896         [BZ #10709]
51897         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51898         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51899         * math/libm-test.inc (sin_test): Add test case.
51901 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51903         [BZ #13337]
51904         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51905         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51907         * elf/chroot_canon.c (chroot_canon): Cleanups.
51909         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51911         [BZ #13335]
51912         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51913         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51915         * string/test-strchr.c: Make usable for strchrnul testing.
51916         * string/test-strchrnul.c: New file.
51917         * string/Makefile (strop-tests): Add strchrnul.
51919         * po/it.po: Update from translation team.
51920         * po/es.po: Likewise.
51922 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
51924         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51925         the three constants needed as parameters.  Drop the others.
51926         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51927         __m128i_strloadu_tolower.
51928         Create and initialize variable zero and use it in all the places
51929         where _mm_setzero_si128 was used.
51931         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51932         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51933         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51934         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51935         anymore.
51936         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51937         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51938         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51939         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51940         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51941         __mpranred, __mptan.
51942         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51943         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51944         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51945         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51946         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51947         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51948         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51949         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51950         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51952 2011-10-28  Andreas Schwab  <schwab@redhat.com>
51954         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51955         redefine if SHARED.
51956         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51958         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51959         wide char related routines to wcsmbs subdir.
51961 2011-10-27  Andreas Schwab  <schwab@redhat.com>
51963         [BZ #13344]
51964         * misc/sys/cdefs.h (__THROWNL): Define.
51965         * posix/unistd.h: Use __THREADNL instead of __THREAD
51966         for memory synchronization functions.
51968 2011-10-26  Roland McGrath  <roland@hack.frob.com>
51970         [BZ #13349]
51971         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51972         doesn't exist.
51973         * manual/stdio.texi (Obstack Streams): Node removed.
51975 2011-10-26  Andreas Schwab  <schwab@redhat.com>
51977         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51978         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51979         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51981         * math/math_private.h (math_force_eval): Allow non-addressable
51982         arguments.
51983         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51985 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51987         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51988         file is not needed.
51990         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51991         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51992         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51993         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51994         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51995         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51996         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51997         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51998         Add AVX variants.
51999         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52000         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52001         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52002         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52003         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52004         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52005         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52006         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52007         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52008         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52009         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52010         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52011         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52012         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52013         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52014         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52015         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52016         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52017         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52019         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52020         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
52022         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52023         place.  Use VEX encoding when compiling for AVX.
52025 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52027         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52028         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52030         * string/test-strchr.c (do_test): Don't generate NUL bytes.
52032 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52034         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
52035         useless if() expression.
52036         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52037         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52038         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52039         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52040         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52041         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52042         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52043         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52044         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52045         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52046         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52047         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52048         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52049         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52050         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52051         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52052         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52053         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52054         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52056         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52058 2011-10-25  Andreas Schwab  <schwab@redhat.com>
52060         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52061         condition.
52062         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52064 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
52066         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52067         .text section.  Avoid duplicate constants.
52068         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52069         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52070         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52072         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52073         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52075         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52076         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52077         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52078         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52079         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52080         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52081         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52082         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52083         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52084         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52085         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52086         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52087         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52088         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52089         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52090         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52091         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52092         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52093         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52094         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52095         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52096         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52097         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52098         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52099         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52100         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52101         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52102         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52103         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52104         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52105         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52106         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52107         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52108         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52109         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52110         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52111         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52112         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52114 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
52116         * sysdeps/x86_64/dla.h: Move to ...
52117         * sysdeps/x86_64/fpu/dla.h: ...here.
52118         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52119         situations.  Use __builtin_fma only for gcc 4.6 and up.
52121         * config.make.in: Add have-mfma4 entry.
52122         * configure.in: Substitute libc_cv_cc_fma4.
52123         * math/Makefile (dbl-only-routines): Add sincostab.
52124         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52125         Use __sincostab not sincos.
52126         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52127         name is a macro.
52128         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52130         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52131         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
52132         using __copysign.
52133         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
52134         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
52135         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52136         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52137         and __inv.
52138         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52139         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52140         __copysign.
52141         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
52142         define aliases when function name is a macro.
52143         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52144         sysdeps/ieee754/dbl-64/sincos.tbl.
52145         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52146         fma4-enabled routines.
52147         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52148         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52149         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52150         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52151         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52152         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52153         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52154         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52155         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52156         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52157         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52158         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52159         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52160         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52161         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52162         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52163         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52164         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52165         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52166         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52167         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52168         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52169         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52170         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52171         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52172         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52173         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52174         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52175         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52176         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52178         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52179         rename.
52180         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52181         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52182         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52183         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52185         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52186         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52187         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52189 2011-10-24  Andreas Schwab  <schwab@redhat.com>
52191         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52193 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52195         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52197         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52198         prediction.
52199         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52201         * string/strnlen.c: Don't define STRNLEN, reverse logic.
52202         Remove unused variable magic_bits.
52203         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52205         * string/strnlen.c: Define and use STRNLEN macro.
52206         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52207         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52208         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52209         * wcsmbs/wcslen.c: Define and use WCSLEN.
52210         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52211         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52212         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52213         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52214         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52215         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52216         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52218 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52220         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52221         strnlen-sse2-no-bsf.
52222         Rename strlen-no-bsf to strlen-sse2-no-bsf.
52223         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52224         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52225         Add strnlen support.
52226         (USE_AS_STRNLEN): New macro.
52227         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52228         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52229         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52230         * sysdeps/x86_64/wcslen.S: New file.
52232 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
52234         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52235         XMM-moves are used for copying on small sizes.
52237 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52239         * wcsmbs/Makefile (strop-tests): Add wcschr.
52240         * wcsmbs/test-wcschr.c: New file.
52241         * string/test-strchr.c: Update.
52242         Add wcschr support.
52243         (WIDE): New macro.
52245 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52247         * wcsmbs/Makefile (strop-tests): Add wcslen.
52248         * wcsmbs/test-wcslen.c: New file.
52249         * string/test-strlen.c: Update.
52250         Add wcslen support.
52251         (WIDE): New macro.
52253 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52255         * po/it.po: Update from translation team.
52257 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52259         * sysdeps/x86_64/wcscmp.S: Update.
52260         Fix wrong comparison semantics.
52261         wcscmp shall use signed comparison not unsigned.
52262         Don't use substraction to avoid overflow bug.
52263         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52264         * wcsmbc/wcscmp.c: Likewise.
52265         * string/test-strcmp.c: Likewise.
52266         Add new tests to check cases with negative values.
52268 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
52270         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52271         * sysdeps/x86_64/dla.h: ...here.  New file.
52272         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52273         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52274         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52275         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52277         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52278         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52279         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52280         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52282 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
52284         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52285         __ynl_finite aliases.
52287 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52291         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52292         define DLA_FMA.
52293         [DLA_FMA] (EMULV): Use DLA_FMA.
52294         [DLA_FMA] (MUL12): Use EMULV.
52295         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52296         that are not needed.
52297         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52299         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52300         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52301         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52302         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52303         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52305 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
52307         * math/s_nan.c: Undef __nan.
52308         * math/s_nanf.c: Undef __nanf.
52309         * math/s_nanl.c: Undef __nanl.
52310         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52311         "math_private.h".
52313 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
52315         * math/s_catan.c: Add branch predictions.
52316         * math/s_catanf.c: Likewise.
52317         * math/s_catanh.c: Likewise.
52318         * math/s_catanhf.c: Likewise.
52319         * math/s_catanhl.c: Likewise.
52320         * math/s_catanl.c: Likewise.
52321         * math/s_cexp.c: Likewise.
52322         * math/s_cexpf.c: Likewise.
52323         * math/s_cexpl.c: Likewise.
52324         * math/s_clog.c: Likewise.
52325         * math/s_clog10.c: Likewise.
52326         * math/s_clog10f.c: Likewise.
52327         * math/s_clog10l.c: Likewise.
52328         * math/s_clogf.c: Likewise.
52329         * math/s_clogl.c: Likewise.
52330         * math/s_csqrt.c: Likewise.
52331         * math/s_csqrtf.c: Likewise.
52332         * math/s_csqrtl.c: Likewise.
52333         * math/s_ctanf.c: Likewise.
52334         * math/s_ctanh.c: Likewise.
52335         * math/s_ctanhf.c: Likewise.
52336         * math/s_ctanhl.c: Likewise.
52337         * math/s_ctanl.c: Likewise.
52339         * math/math_private.h: Define __nan, __nanf, __nanl.
52340         * math/s_cacosh.c: Include <math_private.h>.
52341         * math/s_cacoshl.c: Likewise.
52342         * math/s_casinh.c: Likewise.
52343         * math/s_casinhf.c: Likewise.
52344         * math/s_casinhl.c: Likewise.
52345         * math/s_ccos.c: Rely entire on ccosh.
52346         * math/s_ccosf.c: Rely entire on ccoshf.
52347         * math/s_ccosl.c: Rely entirely on ccoshl.
52348         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
52349         Remove tests for FE_INVALID.
52350         * math/s_ccoshf.c: Likewise.
52351         * math/s_ccoshl.c: Likewise.
52352         * math/s_csin.c: Likewise.
52353         * math/s_csinf.c: Likewise.
52354         * math/s_csinh.c Likewise.
52355         * math/s_csinhf.c: Likewise.
52356         * math/s_csinhl.c: Likewise.
52357         * math/s_csinl.c: Likewise.
52358         * math/s_ctan.c: Likewise.
52359         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52360         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52361         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52363 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
52365         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52366         compilation problems.
52368         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52369         __builtin_expect.
52371 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
52373         * sysdeps/i386/configure.in: Test for -mfma4 option.
52374         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52375         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52376         COMMON_CPUID_INDEX_80000001.
52377         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52378         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52379         use it if FMA3 is not supported.
52380         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52382         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52383         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52385 2011-10-20  Andreas Schwab  <schwab@redhat.com>
52387         [BZ #12892]
52388         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52389         it would create a cycle with a link time dependency.
52391 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
52393         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52394         instruction.
52395         * string/Makefile (strop-tests): Add rawmemchr.
52396         * string/test-rawmemchr.c: New file.
52398         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52399         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
52400         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
52401         when compiling str{,n}casecmp and when AVX is available.  Hook up
52402         new optimized code in initializers.
52404 2011-10-19  Andreas Schwab  <schwab@redhat.com>
52406         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52407         __feraiseexcept instead of feraiseexcept.
52409 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
52411         * math/math_private.h: Define defaults for libc_fetestexcept and
52412         libc_feupdateenv.
52413         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52414         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52415         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52416         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52417         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
52418         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52419         libc_fetestexcept and libc_feupdateenv.
52421         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
52422         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
52423         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
52424         * sysdeps/x86_64/fpu/math_private.h: Define special version of
52425         libc_feholdexcept_setround.
52427         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
52428         Add s_nearbyint-c and s_nearbyintf-c.
52429         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
52430         nearbyintf inlines.
52431         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
52432         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
52433         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
52434         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
52436         * math/math_private.h: Define defaults for libc_fegetround,
52437         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
52438         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
52439         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
52440         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
52441         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
52442         standard functions.
52443         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52444         Remove comments and hacks for old compiler versions.
52445         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
52446         libc_fegetround, libc_fesetround, libc_feholdexcept, and
52447         libc_feholdexceptl.
52449 2011-10-18  Andreas Schwab  <schwab@redhat.com>
52451         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
52452         (__feraiseexcept_renamed): Add __NTH.
52453         (feraiseexcept): Add __NTH.  Rename local variables to fix
52454         namespace violations.
52456 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
52458         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
52460         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
52462         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
52463         recently added interfaces.
52464         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
52466         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
52467         about macro parameter expansion.
52469         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
52470         __NO_MATH_INLINES is defined.  Cleanups.
52472         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
52473         and __floorf is target has SSE4.1.
52474         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
52475         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
52476         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
52477         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
52479         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
52480         name.
52481         (floorf): Likewise.
52483         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
52485 2011-10-17  Andreas Schwab  <schwab@redhat.com>
52487         * misc/sys/cdefs.h: Fix last change.
52489         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
52490         database lookup.
52492 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
52494         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
52496         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
52497         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52498         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
52499         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52500         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52501         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
52502         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52503         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52504         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
52505         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
52506         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
52507         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
52508         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
52509         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
52510         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
52511         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
52512         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
52513         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
52514         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
52515         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
52516         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
52517         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
52519         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
52520         ceil, ceilf, floor, floorf.
52522         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
52523         Perform IRELATIVE relocations last.
52525         * elf/do-rel.h: Add another parameter nrelative, replacing the
52526         local variable with the same name.  Change name of the function
52527         to end in Rel or Rela (uppercase).
52528         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
52529         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
52530         elf_dynamic_do_##reloc function.
52532 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52534         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
52535         is sufficient, at least on modern CPUs.
52537         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
52539         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
52540         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
52542         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
52543         __expl_finite.
52544         * math/bits/math-finite.h: Add entries for exp.
52545         * math/e_expl.c: Add __*_finite alias.
52546         * sysdeps/i386/fpu/e_exp.S: Likewise.
52547         * sysdeps/i386/fpu/e_expf.S: Likewise.
52548         * sysdeps/i386/fpu/e_expl.c: Likewise.
52549         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52550         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
52551         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52552         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52553         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
52554         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52555         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52557         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
52558         is sufficient, at least on modern CPUs.
52560         * ctype/ctype-info.c (__ctype_init): Define.
52561         * include/ctype.h (__ctype_init): Declare.
52562         (__ctype_b_loc): The variable is always initialized.
52563         (__ctype_toupper_loc): Likewise.
52564         (__ctype_tolower_loc): Likewise.
52565         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
52566         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
52568 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
52570         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
52572         * configure.in: Also look in $cxxmachine/include for C++ system
52573         headers.
52575 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52577         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
52578         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
52579         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
52580         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
52581         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
52582         (USE_AS_WMEMCMP): New macro.
52583         Fixing indents.
52584         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
52585         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
52586         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
52587         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
52588         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52589         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
52590         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
52591         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
52592         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
52593         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
52594         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
52595         (USE_AS_WMEMCMP): New macro.
52596         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
52597         * sysdeps/string/test-memcmp.c: Update.
52598         Fix simple_wmemcmp.
52599         Add new tests.
52600         * wcsmbs/wmemcmp.c: Update.
52601         (WMEMCMP): New macro.
52602         Fix overflow bug.
52604 2011-10-12  Andreas Jaeger  <aj@suse.de>
52606         [BZ #13268]
52607         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
52609 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
52611         * libio/iofwide.c (do_length): Avoid warning.
52613         * ctype/ctype.h (__isctype_f): Add missing __THROW.
52615 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
52617         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
52619         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
52620         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
52621         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
52622         * sysdeps/i386/i686/fpu/e_log.S: New file.
52623         * sysdeps/i386/i686/fpu/e_logf.S: New file.
52624         * sysdeps/i386/i686/fpu/e_logl.S: New file.
52626         * ctype/ctype.h: Add support for inlined isXXX functions when
52627         compiling C++ code.
52629 2011-10-14  Andreas Schwab  <schwab@redhat.com>
52631         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52633         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
52635 2011-10-13  Roland McGrath  <roland@hack.frob.com>
52637         [BZ #13291]
52638         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
52640 2011-10-13  Andreas Schwab  <schwab@redhat.com>
52642         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
52643         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
52644         feraiseexcept.
52646         * sysdeps/x86_64/memrchr.S: Check for zero size.
52648         * string/stratcliff.c: Add memrchr tests.
52650 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52652         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52653         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
52654         rawmemchr-sse2 rawmemchr-sse2-bsf.
52655         * sysdeps/i386/i686/multiarch/memchr.S: New file.
52656         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
52657         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
52658         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52659         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52660         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52661         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52662         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52663         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52664         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52665         * string/memrchr.c (MEMRCHR): New macro.
52667 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52669         Add integration with gcc's -ffinite-math-only and optimize wrapper
52670         functions in libm.
52671         * Versions.def: Define GLIBC_2.15 version for libm.
52672         * math/Makefile (headers): Add bits/math-finite.h.
52673         * math/bits/math-finite.h: New file.
52674         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52675         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52676         * math/e_acoshl.c: Add __*_finite alias.
52677         * math/e_acosl.c: Likewise.
52678         * math/e_asinl.c: Likewise.
52679         * math/e_atan2l.c: Likewise.
52680         * math/e_atanhl.c: Likewise.
52681         * math/e_coshl.c: Likewise.
52682         * math/e_exp10.c: Likewise.
52683         * math/e_exp10f.c: Likewise.
52684         * math/e_exp10l.c: Likewise.
52685         * math/e_exp2l.c: Likewise.
52686         * math/e_fmodl.c: Likewise.
52687         * math/e_gammal_r.c: Likewise.
52688         * math/e_hypotl.c: Likewise.
52689         * math/e_j0l.c: Likewise.
52690         * math/e_j1l.c: Likewise.
52691         * math/e_jnl.c: Likewise.
52692         * math/e_lgammal_r.c: Likewise.
52693         * math/e_log10l.c: Likewise.
52694         * math/e_log2l.c: Likewise.
52695         * math/e_logl.c: Likewise.
52696         * math/e_powl.c: Likewise.
52697         * math/e_sinhl.c: Likewise.
52698         * math/e_sqrtl.c: Likewise.
52699         * math/e_scalb.c: Completely rewritten and optimized.
52700         * math/e_scalbf.c: Likewise.
52701         * math/e_scalbl.c: Likewise.
52702         * math/w_acos.c: Likewise.
52703         * math/w_acosf.c: Likewise.
52704         * math/w_acosl.c: Likewise.
52705         * math/w_acosh.c: Likewise.
52706         * math/w_acoshf.c: Likewise.
52707         * math/w_acoshl.c: Likewise.
52708         * math/w_asin.c: Likewise.
52709         * math/w_asinf.c: Likewise.
52710         * math/w_asinl.c: Likewise.
52711         * math/w_atan2.c: Likewise.
52712         * math/w_atan2f.c: Likewise.
52713         * math/w_atan2l.c: Likewise.
52714         * math/w_atanh.c: Likewise.
52715         * math/w_atanhf.c: Likewise.
52716         * math/w_atanhl.c: Likewise.
52717         * math/w_exp10.c: Likewise.
52718         * math/w_exp10f.c: Likewise.
52719         * math/w_exp10l.c: Likewise.
52720         * math/w_fmod.c: Likewise.
52721         * math/w_fmodf.c: Likewise.
52722         * math/w_fmodl.c: Likewise.
52723         * math/w_j0.c: Likewise.
52724         * math/w_j0f.c: Likewise.
52725         * math/w_j0l.c: Likewise.
52726         * math/w_j1.c: Likewise.
52727         * math/w_j1f.c: Likewise.
52728         * math/w_j1l.c: Likewise.
52729         * math/w_jn.c: Likewise.
52730         * math/w_jnf.c: Likewise.
52731         * math/w_log.c: Likewise.
52732         * math/w_logf.c: Likewise.
52733         * math/w_logl.c: Likewise.
52734         * math/w_log10.c: Likewise.
52735         * math/w_log10f.c: Likewise.
52736         * math/w_log10l.c: Likewise.
52737         * math/w_log2.c: Likewise.
52738         * math/w_log2f.c: Likewise.
52739         * math/w_log2l.c: Likewise.
52740         * math/w_pow.c: Likewise.
52741         * math/w_powf.c: Likewise.
52742         * math/w_powl.c: Likewise.
52743         * math/w_remainder.c: Likewise.
52744         * math/w_remainderf.c: Likewise.
52745         * math/w_remainderl.c: Likewise.
52746         * math/w_scalb.c: Likewise.
52747         * math/w_scalbf.c: Likewise.
52748         * math/w_scalbl.c: Likewise.
52749         * math/w_sqrt.c: Likewise.
52750         * math/w_sqrtf.c: Likewise.
52751         * math/w_sqrtl.c: Likewise.
52752         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52753         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52754         used.
52755         * math/math_private.h: Declare __kernel_standard_f.
52756         * math/w_cosh.c: Remove cruft and optimize a bit.
52757         * math/w_coshf.c: Likewise.
52758         * math/w_coshl.c: Likewise.
52759         * math/w_exp2.c: Likewise.
52760         * math/w_exp2f.c: Likewise.
52761         * math/w_exp2l.c: Likewise.
52762         * math/w_hypot.c: Likewise.
52763         * math/w_hypotf.c: Likewise.
52764         * math/w_hypotl.c: Likewise.
52765         * math/w_lgamma.c: Likewise.
52766         * math/w_lgamma_r.c: Likewise.
52767         * math/w_lgammaf.c: Likewise.
52768         * math/w_lgammaf_r.c: Likewise.
52769         * math/w_lgammal.c: Likewise.
52770         * math/w_lgammal_r.c: Likewise.
52771         * math/w_sinh.c: Likewise.
52772         * math/w_sinhf.c: Likewise.
52773         * math/w_sinhl.c: Likewise.
52774         * math/w_tgamma.c: Likewise.
52775         * math/w_tgammaf.c: Likewise.
52776         * math/w_tgammal.c: Likewise.
52777         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52778         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52779         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52780         Minor optimizations.  Pretty printing.  Remove cruft.
52781         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52782         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52783         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52784         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52785         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52786         * sysdeps/i386/fpu/e_asin.S: Likewise.
52787         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52788         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52789         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52790         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52791         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52792         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52793         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52794         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52795         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52796         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52797         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52798         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52799         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52800         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52801         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52802         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52803         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52804         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52805         * sysdeps/i386/fpu/e_log.S: Likewise.
52806         * sysdeps/i386/fpu/e_log10.S: Likewise.
52807         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52808         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52809         * sysdeps/i386/fpu/e_log2.S: Likewise.
52810         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52811         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52812         * sysdeps/i386/fpu/e_logf.S: Likewise.
52813         * sysdeps/i386/fpu/e_logl.S: Likewise.
52814         * sysdeps/i386/fpu/e_pow.S: Likewise.
52815         * sysdeps/i386/fpu/e_powf.S: Likewise.
52816         * sysdeps/i386/fpu/e_powl.S: Likewise.
52817         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52818         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52819         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52820         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52821         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52822         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52823         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52824         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52825         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52826         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52827         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52828         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52829         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52830         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52831         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52832         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52833         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52834         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52835         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52836         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52837         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52838         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52839         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52840         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52841         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52842         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52843         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52844         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52845         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52846         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52847         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52848         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52849         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52850         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52851         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52852         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52853         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52854         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52855         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52856         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52857         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52858         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52859         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52860         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52861         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52862         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52863         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52864         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52865         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52866         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52867         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52868         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52869         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52870         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52871         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52872         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52873         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52874         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52875         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52876         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52877         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52878         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52879         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52880         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52881         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52882         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52883         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52884         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52885         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52886         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52887         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52888         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52889         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52890         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52891         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52892         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52894         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52895         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52896         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52897         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52898         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52899         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52900         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52901         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52902         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52903         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52904         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52905         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52906         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52907         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52908         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52909         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52910         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52911         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52912         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52913         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52914         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52915         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52916         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52917         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52918         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52919         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52920         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52921         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52922         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52923         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52924         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52925         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52926         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52927         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52928         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52929         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52930         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52931         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52932         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52933         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52934         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52935         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52936         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
52937         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52938         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52939         (__isnanf): Likewise.
52940         (__isinf_ns): Likewise.
52941         (__isinf_nsf): Likewise.
52942         (__finite): Likewise.
52943         (__finitef): Likewise.
52944         (__ieee754_sqrt): Define as macro.
52945         (__ieee754_sqrtf): Define as macro.
52946         (__ieee754_sqrtl): Define as macro.
52947         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52948         inlined copy.
52949         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52950         __FINITE_MATH_ONLY__ consistent.
52951         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52953 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
52955         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52956         of rawmemchr.
52958         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52960 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
52962         * po/ja.po: Update from translation team.
52964 2011-10-08  Roland McGrath  <roland@hack.frob.com>
52966         * locale/programs/locarchive.c (prepare_address_space): New function.
52967         (create_archive, enlarge_archive, open_archive): Use it.
52969         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52970         inside [SHARED], where it is used.
52972         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52974         * nss/getent.c (netgroup_keys): Remove unused variable.
52975         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52977 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
52979         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52980         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52981         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52982         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52983         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52984         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52985         * math/Makefile (libm-calls): Add s_isinf_ns.
52986         * math/divtc3.c: Use __isinf_nsl instead of isinf.
52987         * math/multc3.c: Likewise.
52988         * math/s_casin.c: Likewise.
52989         * math/s_casinf.c: Likewise.
52990         * math/s_casinl.c: Likewise.
52991         * math/s_ccos.c: Likewise.
52992         * math/s_ccosf.c: Likewise.
52993         * math/s_ccosl.c: Likewise.
52994         * math/s_ctan.c: Likewise.
52995         * math/s_ctanf.c: Likewise.
52996         * math/s_ctanh.c: Likewise.
52997         * math/s_ctanhf.c: Likewise.
52998         * math/s_ctanhl.c: Likewise.
52999         * math/s_ctanl.c: Likewise.
53000         * math/w_fmod.c: Likewise.
53001         * math/w_fmodf.c: Likewise.
53002         * math/w_fmodl.c: Likewise.
53003         * math/w_remainder.c: Likewise.
53004         * math/w_remainderf.c: Likewise.
53005         * math/w_remainderl.c: Likewise.
53006         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53007         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53008         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53010         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53011         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53012         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53013         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53015         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53016         of the number.
53017         * stdio-common/printf_fphex.c: Likewise.
53018         * stdio-common/printf_size.c: Likewise.
53020         * math/e_exp10.c: Include math_private.h using <...> not "...".
53021         * math/e_exp10f.c: Likewise.
53022         * math/e_exp10l.c: Likewise.
53023         * math/e_exp2l.c: Likewise.
53024         * math/e_j0l.c: Likewise.
53025         * math/e_j1l.c: Likewise.
53026         * math/e_jnl.c: Likewise.
53027         * math/e_lgammal_r.c: Likewise.
53028         * math/e_rem_pio2l.c: Likewise.
53029         * math/e_scalb.c: Likewise.
53030         * math/e_scalbf.c: Likewise.
53031         * math/e_scalbl.c: Likewise.
53032         * math/k_cosl.c: Likewise.
53033         * math/k_sinl.c: Likewise.
53034         * math/k_tanl.c: Likewise.
53035         * math/s_cacoshf.c: Likewise.
53036         * math/s_catan.c: Likewise.
53037         * math/s_catanf.c: Likewise.
53038         * math/s_catanh.c: Likewise.
53039         * math/s_catanhf.c: Likewise.
53040         * math/s_catanhl.c: Likewise.
53041         * math/s_catanl.c: Likewise.
53042         * math/s_ccosh.c: Likewise.
53043         * math/s_ccoshf.c: Likewise.
53044         * math/s_ccoshl.c: Likewise.
53045         * math/s_cexp.c: Likewise.
53046         * math/s_cexpf.c: Likewise.
53047         * math/s_cexpl.c: Likewise.
53048         * math/s_clog.c: Likewise.
53049         * math/s_clog10.c: Likewise.
53050         * math/s_clog10f.c: Likewise.
53051         * math/s_clog10l.c: Likewise.
53052         * math/s_clogf.c: Likewise.
53053         * math/s_clogl.c: Likewise.
53054         * math/s_csin.c: Likewise.
53055         * math/s_csinf.c: Likewise.
53056         * math/s_csinh.c: Likewise.
53057         * math/s_csinhf.c: Likewise.
53058         * math/s_csinhl.c: Likewise.
53059         * math/s_csinl.c: Likewise.
53060         * math/s_csqrt.c: Likewise.
53061         * math/s_csqrtf.c: Likewise.
53062         * math/s_csqrtl.c: Likewise.
53063         * math/s_ctan.c: Likewise.
53064         * math/s_ctanf.c: Likewise.
53065         * math/s_ctanh.c: Likewise.
53066         * math/s_ctanhf.c: Likewise.
53067         * math/s_ctanhl.c: Likewise.
53068         * math/s_ctanl.c: Likewise.
53069         * math/s_ldexp.c: Likewise.
53070         * math/s_ldexpf.c: Likewise.
53071         * math/s_ldexpl.c: Likewise.
53072         * math/s_significand.c: Likewise.
53073         * math/s_significandf.c: Likewise.
53074         * math/s_significandl.c: Likewise.
53075         * math/w_acos.c: Likewise.
53076         * math/w_acosf.c: Likewise.
53077         * math/w_acosh.c: Likewise.
53078         * math/w_acoshf.c: Likewise.
53079         * math/w_acoshl.c: Likewise.
53080         * math/w_acosl.c: Likewise.
53081         * math/w_asin.c: Likewise.
53082         * math/w_asinf.c: Likewise.
53083         * math/w_asinl.c: Likewise.
53084         * math/w_atan2.c: Likewise.
53085         * math/w_atan2f.c: Likewise.
53086         * math/w_atan2l.c: Likewise.
53087         * math/w_atanh.c: Likewise.
53088         * math/w_atanhf.c: Likewise.
53089         * math/w_atanhl.c: Likewise.
53090         * math/w_cosh.c: Likewise.
53091         * math/w_coshf.c: Likewise.
53092         * math/w_coshl.c: Likewise.
53093         * math/w_dremf.c: Likewise.
53094         * math/w_exp10.c: Likewise.
53095         * math/w_exp10f.c: Likewise.
53096         * math/w_exp10l.c: Likewise.
53097         * math/w_exp2.c: Likewise.
53098         * math/w_exp2f.c: Likewise.
53099         * math/w_fmod.c: Likewise.
53100         * math/w_fmodf.c: Likewise.
53101         * math/w_fmodl.c: Likewise.
53102         * math/w_hypot.c: Likewise.
53103         * math/w_hypotf.c: Likewise.
53104         * math/w_hypotl.c: Likewise.
53105         * math/w_j0.c: Likewise.
53106         * math/w_j0f.c: Likewise.
53107         * math/w_j0l.c: Likewise.
53108         * math/w_j1.c: Likewise.
53109         * math/w_j1f.c: Likewise.
53110         * math/w_j1l.c: Likewise.
53111         * math/w_jn.c: Likewise.
53112         * math/w_jnf.c: Likewise.
53113         * math/w_jnl.c: Likewise.
53114         * math/w_lgamma.c: Likewise.
53115         * math/w_lgamma_r.c: Likewise.
53116         * math/w_lgammaf.c: Likewise.
53117         * math/w_lgammaf_r.c: Likewise.
53118         * math/w_lgammal.c: Likewise.
53119         * math/w_lgammal_r.c: Likewise.
53120         * math/w_log.c: Likewise.
53121         * math/w_log10.c: Likewise.
53122         * math/w_log10f.c: Likewise.
53123         * math/w_log10l.c: Likewise.
53124         * math/w_log2.c: Likewise.
53125         * math/w_log2f.c: Likewise.
53126         * math/w_log2l.c: Likewise.
53127         * math/w_logf.c: Likewise.
53128         * math/w_logl.c: Likewise.
53129         * math/w_pow.c: Likewise.
53130         * math/w_powf.c: Likewise.
53131         * math/w_powl.c: Likewise.
53132         * math/w_remainder.c: Likewise.
53133         * math/w_remainderf.c: Likewise.
53134         * math/w_remainderl.c: Likewise.
53135         * math/w_scalb.c: Likewise.
53136         * math/w_scalbf.c: Likewise.
53137         * math/w_scalbl.c: Likewise.
53138         * math/w_sinh.c: Likewise.
53139         * math/w_sinhf.c: Likewise.
53140         * math/w_sinhl.c: Likewise.
53141         * math/w_sqrt.c: Likewise.
53142         * math/w_sqrtf.c: Likewise.
53143         * math/w_sqrtl.c: Likewise.
53144         * math/w_tgamma.c: Likewise.
53145         * math/w_tgammaf.c: Likewise.
53146         * math/w_tgammal.c: Likewise.
53148         * po/ja.po: Update from translation team.
53150 2011-09-29  Andreas Jaeger  <aj@suse.de>
53152         [BZ #13179]
53153         * sunrpc/netname.c (netname2host): Fix logic.
53155         [BZ #6779]
53156         [BZ #6783]
53157         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53158         correctly.
53159         * math/w_remainder.c (__remainder): Likewise.
53160         * math/w_remainderf.c (__remainderf): Likewise.
53161         * math/libm-test.inc (remainder_test): Add test cases.
53163 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53165         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
53166         sdiv_qrnnd.
53168 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53170         * string/test-memcmp.c: Avoid unncessary #defines.
53171         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53173 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53175         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53176         Use new sse2 version for core i3 - i7 as it's faster
53177         than sse42 version.
53178         (bit_Prefer_PMINUB_for_stringop): New.
53179         * sysdeps/x86_64/rawmemchr.S: Update.
53180         Replace with faster SSE2 version.
53181         * sysdeps/x86_64/memrchr.S: New file.
53182         * sysdeps/x86_64/memchr.S: Update.
53183         Replace with faster SSE2 version.
53185 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
53187         * elf/dl-load.c (lose): Add cast to avoid warning.
53189 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
53191         * po/ca.po: Update from translation team.
53193         * inet/getnetgrent_r.c: Hook up nscd.
53194         * nscd/Makefile (routines): Add nscd_netgroup.
53195         (nscd-modules): Add netgroupcache.
53196         (CFLAGS-netgroupcache.c): Define.
53197         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53198         (cache_search): Add const to second parameter.
53199         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53200         INNETGR.
53201         (dbs): Add netgrdb entry.
53202         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53203         (verify_persistent_db): Handle netgrdb.
53204         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53205         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53206         GETFDNETGR.
53207         (netgroup_response_header): Define.
53208         (innetgroup_response_header): Define.
53209         (datahead): Add netgroup_response_header and innetgroup_response_header
53210         elements.
53211         * nscd/nscd.conf: Add entries for netgroup cache.
53212         * nscd/nscd.h (dbtype): Add netgrdb.
53213         (_PATH_NSCD_NETGROUP_DB): Define.
53214         (netgroup_iov_disabled): Declare.
53215         (xmalloc, xcalloc, xrealloc): Move declarations here.
53216         (cache_search): Adjust prototype.
53217         Add netgroup-related prototypes.
53218         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53219         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53220         (__nscd_innetgr): Declare.
53221         * nscd/selinux.c (perms): Use access_vector_t as element type and
53222         add netgroup-related initializers.
53223         * nscd/netgroupcache.c: New file.
53224         * nscd/nscd_netgroup.c: New file.
53225         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53226         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53227         For four parameters use innetgr.
53228         * nss/nss_files/files-init.c: Add definition and callback for netgr.
53229         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53230         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53231         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53233         * nscd/connections.c (register_traced_file): Don't register file
53234         for disabled databases.
53236 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
53238         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53240         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53241         from tree and freeing node.
53243 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
53245         * nss/nsswitch.c (__nss_database_lookup): Handle
53246         nss_parse_service_list out of memory case.
53248 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
53250         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53251         out of memory case.
53253 2011-10-04  Andreas Schwab  <schwab@redhat.com>
53255         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53256         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53257         pass it down.
53258         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53259         elf_machine_rela, elf_machine_lazy_rel.
53260         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53261         (ELF_DYNAMIC_DO_REL): Likewise.
53262         (ELF_DYNAMIC_DO_RELA): Likewise.
53263         (ELF_DYNAMIC_RELOCATE): Likewise.
53264         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53265         to ELF_DYNAMIC_DO_REL.
53266         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53267         (dl_main): In trace mode always set __RTLD_NOIFUNC.
53268         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53269         elf_machine_rela.
53270         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53271         skip_ifunc, don't call ifunc function if non-zero.
53272         (elf_machine_rela): Likewise.
53273         (elf_machine_lazy_rel): Likewise.
53274         (elf_machine_lazy_rela): Likewise.
53275         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53276         (elf_machine_lazy_rel): Likewise.
53277         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53278         Likewise.
53279         (elf_machine_lazy_rel): Likewise.
53280         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53281         Likewise.
53282         (elf_machine_lazy_rel): Likewise.
53283         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53284         (elf_machine_lazy_rel): Likewise.
53285         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53286         (elf_machine_lazy_rel): Likewise.
53287         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53288         (elf_machine_lazy_rel): Likewise.
53289         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53290         (elf_machine_lazy_rel): Likewise.
53291         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53292         (elf_machine_lazy_rel): Likewise.
53293         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53294         (elf_machine_lazy_rel): Likewise.
53296 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
53298         * nss/nss_files/files-init.c (_nss_files_init): Use static
53299         initialization for all the *_traced_file variables.
53301 2011-09-28  Andreas Schwab  <schwab@redhat.com>
53303         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53305 2011-09-27  Roland McGrath  <roland@hack.frob.com>
53307         [BZ #13226]
53308         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53310 2011-09-27  Andreas Schwab  <schwab@redhat.com>
53312         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53313         Reread the line before reparsing it.
53315 2011-09-26  Andreas Schwab  <schwab@redhat.com>
53317         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53319 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
53320             Maxim Kuvyrkov  <maxim@codesourcery.com>
53321             Joseph Myers  <joseph@codesourcery.com>
53323         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53324         if needed for __stack_chk_guard.
53326 2011-09-19  Roland McGrath  <roland@hack.frob.com>
53328         * sysdeps/posix/spawni.c (script_execute): Always define it.
53329         It will be optimized away if unused.
53330         (maybe_script_execute): New function.
53331         (__spawni): Call it.
53333         * Makerules: Don't include tls.make.
53334         (config-tls): Always set to thread.
53335         * tls.make.c: File removed.
53337 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
53339         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53340         * config.make.in (CPPFLAGS-config): New substituted variable.
53342 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53344         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53346         [BZ #13192]
53347         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53348         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53350 2011-09-15  Roland McGrath  <roland@hack.frob.com>
53352         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53353         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53354         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53355         (CALL_FAIL): Likewise.
53356         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53357         (CALL_FAIL): Macro removed.
53358         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53360 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
53362         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53363         for __FINITE_MATH_ONLY__ == 1.
53365 2011-09-15  Andreas Schwab  <schwab@redhat.com>
53367         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53368         __ieee754_sqrt instead of sqrt.
53369         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53370         __ieee754_sqrtf instead of sqrtf.
53371         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53372         __floorf instead of floorf.
53373         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53374         __floorf, __truncf instead of floorf, truncf.
53376 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
53378         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53380         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53381         __extern_always_inline.
53382         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53383         32-bit.
53385 2011-09-14  Andreas Schwab  <schwab@redhat.com>
53387         * elf/rtld.c (dl_main): Also relocate in dependency order when
53388         doing symbol dependency testing.
53390 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
53392         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53393         Always define `refsym'.
53395 2011-09-13  Andreas Schwab  <schwab@redhat.com>
53397         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53398         (__FD_ELT): Renamed from __FDELT.
53399         * misc/bits/select2.h (__FD_ELT): Likewise.
53400         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53401         __FD_MASK instead of __FDELT, __FDMASK.
53402         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53403         Likewise.
53404         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53405         Likewise.
53407         * elf/Makefile (gen-ldd): Fix pattern.
53409         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53410         (init_tls): Likewise.
53412 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
53414         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53416 2011-09-12  Andreas Schwab  <schwab@redhat.com>
53418         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
53419         `struct cmsghdr *' instead of `void *'.
53420         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
53421         Likewise.
53423 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
53425         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
53426         if non-absolute.
53427         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
53428         ldd_rewrite_script.
53430 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
53432         * configure.in: Remove --with-tls option.
53433         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
53434         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
53435         out in case it is missing.
53436         * sysdeps/ia64/elf/configure.in: Likewise.
53437         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
53438         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
53439         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
53440         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
53441         * sysdeps/sh/elf/configure.in: Likewise.
53442         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
53443         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
53444         * sysdeps/x86_64/elf/configure.in: Likewise.
53445         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
53446         * sysdeps/mach/hurd/tls.h: Likewise.
53448         [BZ #13067]
53449         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
53451         [BZ #13090]
53452         * configure.in: Fix use of AC_INIT.
53454         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
53456 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
53458         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
53459         __set_errno.
53460         * malloc/hooks.c: Likewise.
53462         [BZ #11929]
53463         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
53464         variables statically.
53465         (narenas): Initialize.
53466         (list_lock): Initialize.
53467         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
53468         initializtion of main_arena and list_lock.  Small cleanups.
53469         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
53470         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
53471         Add initializers to main_arena and mp_.
53472         (malloc_state): Remove pagesize member.  Change all users to use
53473         GLRO(dl_pagesize).
53475         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
53476         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
53477         is always initialized.
53479         * malloc/malloc.c: Removed unused configurations and dead code.
53480         * malloc/arena.c: Likewise.
53481         * malloc/hooks.c: Likewise.
53482         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
53484         * include/tls.h: Removed.  USE___THREAD must always be defined.
53485         * bits/libc-tsd.h: Don't handle !USE___THREAD.
53486         * elf/dl-libc.c: Likewise.
53487         * elf/dl-tsd.c: Likewise.
53488         * include/errno.h: Likewise.
53489         * include/netdb.h: Likewise.
53490         * include/resolv.h: Likewise.
53491         * inet/herrno-loc.c: Likewise.
53492         * inet/herrno.c: Likewise.
53493         * malloc/arena.c: Likewise.
53494         * malloc/hooks.c: Likewise.
53495         * malloc/malloc.c: Likewise.
53496         * resolv/res-state.c: Likewise.
53497         * resolv/res_libc.c: Likewise.
53498         * sysdeps/i386/dl-machine.h: Likewise.
53499         * sysdeps/ia64/dl-machine.h: Likewise.
53500         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
53501         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
53502         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
53503         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
53504         * sysdeps/sh/dl-machine.h: Likewise.
53505         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
53506         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
53507         * sysdeps/unix/i386/sysdep.S: Likewise.
53508         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
53509         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
53510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
53511         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
53512         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
53513         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
53514         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
53515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
53516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53517         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
53518         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53519         * sysdeps/x86_64/dl-machine.h: Likewise.
53520         * tls.make.c: Likewise.
53522         * configure.in: Remove --with-__thread option.  Make tests for
53523         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
53524         tls_model attribute fail if no support is available.  Remove
53525         USE_IN_LIBIO.
53526         * Makeconfig: Adjust for dropped configure option.  All features are
53527         now mandatory.
53528         * Makerules: Likewise.
53529         * Versions.def: Likewise.
53530         * argp/argp-fmtstream.c: Likewise.
53531         * argp/argp-fmtstream.h: Likewise.
53532         * argp/argp-help.c: Likewise.
53533         * assert/assert.c: Likewise.
53534         * config.h.in: Likewise.
53535         * config.make.in: Likewise.
53536         * configure: Likewise.
53537         * configure.in: Likewise.
53538         * csu/Versions: Likewise.
53539         * csu/init.c: Likewise.
53540         * elf/tst-audit2.c: Likewise.
53541         * elf/tst-tls10.c: Likewise.
53542         * elf/tst-tls10.h: Likewise.
53543         * elf/tst-tls11.c: Likewise.
53544         * elf/tst-tls12.c: Likewise.
53545         * elf/tst-tls14.c: Likewise.
53546         * elf/tst-tlsmod11.c: Likewise.
53547         * elf/tst-tlsmod12.c: Likewise.
53548         * elf/tst-tlsmod13.c: Likewise.
53549         * elf/tst-tlsmod13a.c: Likewise.
53550         * elf/tst-tlsmod14a.c: Likewise.
53551         * elf/tst-tlsmod15b.c: Likewise.
53552         * elf/tst-tlsmod16a.c: Likewise.
53553         * elf/tst-tlsmod16b.c: Likewise.
53554         * elf/tst-tlsmod7.c: Likewise.
53555         * elf/tst-tlsmod8.c: Likewise.
53556         * elf/tst-tlsmod9.c: Likewise.
53557         * gmon/gmon.c: Likewise.
53558         * grp/fgetgrent_r.c: Likewise.
53559         * grp/putgrent.c: Likewise.
53560         * hurd/fopenport.c: Likewise.
53561         * include/libc-symbols.h: Likewise.
53562         * include/tls.h: Likewise.
53563         * intl/gettextP.h: Likewise.
53564         * intl/loadinfo.h: Likewise.
53565         * locale/global-locale.c: Likewise.
53566         * locale/localeinfo.h: Likewise.
53567         * mach/devstream.c: Likewise.
53568         * malloc/arena.c: Likewise.
53569         * malloc/set-freeres.c: Likewise.
53570         * misc/err.c: Likewise.
53571         * misc/getttyent.c: Likewise.
53572         * misc/mntent_r.c: Likewise.
53573         * posix/getopt.c: Likewise.
53574         * posix/wordexp.c: Likewise.
53575         * pwd/fgetpwent_r.c: Likewise.
53576         * resolv/Versions: Likewise.
53577         * resolv/res_hconf.c: Likewise.
53578         * shadow/fgetspent_r.c: Likewise.
53579         * shadow/putspent.c: Likewise.
53580         * stdio-common/printf_fphex.c: Likewise.
53581         * stdio-common/tmpfile.c: Likewise.
53582         * stdlib/abort.c: Likewise.
53583         * stdlib/fmtmsg.c: Likewise.
53584         * sunrpc/auth_unix.c: Likewise.
53585         * sunrpc/clnt_perr.c: Likewise.
53586         * sunrpc/clnt_tcp.c: Likewise.
53587         * sunrpc/clnt_udp.c: Likewise.
53588         * sunrpc/clnt_unix.c: Likewise.
53589         * sunrpc/openchild.c: Likewise.
53590         * sunrpc/svc_simple.c: Likewise.
53591         * sunrpc/svc_tcp.c: Likewise.
53592         * sunrpc/svc_udp.c: Likewise.
53593         * sunrpc/svc_unix.c: Likewise.
53594         * sunrpc/xdr.c: Likewise.
53595         * sunrpc/xdr_array.c: Likewise.
53596         * sunrpc/xdr_rec.c: Likewise.
53597         * sunrpc/xdr_ref.c: Likewise.
53598         * sunrpc/xdr_stdio.c: Likewise.
53600 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53602         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53604 2011-07-03  Andreas Jaeger  <aj@suse.de>
53606         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
53607         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
53608         regenerate with gen-libm-tests.pl.
53610 2010-05-12  Petr Baudis  <pasky@suse.cz>
53612         [BZ #11589]
53613         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
53614         around j0() zero points by switching to j1().
53615         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53616         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53617         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53618         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53620 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53622         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
53623         instead of 0.
53624         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
53625         instead of 0.
53626         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53627         Patch in part by Pavel Roskin <proski@gnu.org>.
53629         [BZ #13138]
53630         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
53631         realloc.
53632         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
53633         Free memory block if necessary.
53635         [BZ #12847]
53636         * libio/genops.c (INTDEF): For string streams the _lock pointer can
53637         be NULL.  Don't lock in this case.
53639 2011-09-09  Roland McGrath  <roland@hack.frob.com>
53641         * elf/elf.h (ELFOSABI_GNU): New macro.
53642         (ELFOSABI_LINUX): Define to that.
53644 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
53646         * string/strncat.c (strncat): Undef the symbol in case it has been
53647         defined in bits/string.h.
53649 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
53651         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
53653         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
53654         link map.
53656 2011-08-17  Andreas Jaeger  <aj@suse.de>
53658         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53660 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53661             Ian Lance Taylor  <iant@google.com>
53663         * math/libm-test.inc (lround_test): New testcase.
53664         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53666 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53668         * Makefile: Remove support for automatic cvs check-ins.
53669         * Makerules: Likewise.
53670         * config.make.in: Likewise.
53671         * configure.in: Likewise.
53672         * intl/Makefile: Likewise.
53673         * locale/Makefile: Likewise.
53674         * po/Makefile: Likewise.
53675         * posix/Makefile: Likewise.
53676         * sysdeps/gnu/Makefile: Likewise.
53677         * sysdeps/mach/hurd/Makefile: Likewise.
53678         * sysdeps/sparc/sparc32/Makefile: Likewise.
53680         [BZ #13118]
53681         * posix/Makefile (bug-regex32-ENV): Define.
53682         Patch by John Stanley <jpsinthemix@verizon.net>.
53684         * misc/Makefile (headers): Add bits/select2.h.
53685         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53686         * misc/bits/select2.h: New file.
53687         * include/bits/select2.h: New file.
53688         * debug/Makefile (routines): Add fdelt_chk.
53689         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53690         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53691         FD_ISSET.
53692         * debug/fdelt_chk.c: New file.
53694         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53695         * wcsmbs/test-wmemcmp.c: Likewise.
53696         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53697         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53699 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53701         * string/Makefile (strop-tests): Add memcmp.
53702         * string/test-wmemcmp.c: New file.
53703         * string/test-memcmp.c: Add wmemcmp support.
53705 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53707         [BZ #13153]
53708         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53709         2011-07-19 change.
53711         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53712         garbage value in a __mach_port_mod_refs call in the cases of the
53713         task-self and thread-self ports.
53715 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53717         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53719 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53721         * elf/dl-load.c (lose): Check for non-null L.
53723 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53725         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53727         * elf/dl-libc.c (dlerror_run): Pass back error code from
53728         dl_catch_error.
53730         [BZ #13123]
53731         * elf/dl-load.c (lose): Free l_origin if it is valid.
53733         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53734         names.
53735         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53736         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53737         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53738         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53739         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53740         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53742 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53744         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53745         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53746         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53747         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53748         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53749         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53750         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53751         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53752         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53753         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53755 2011-08-15  Alan Modra  <amodra@gmail.com>
53757         [BZ #13092]
53758         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53759         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53760         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53761         ppc_mcount to static-only-routines.
53762         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53763         __mcount_internal.
53764         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53765         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53767 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53769         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53770         for finite and infinity parameters.
53772 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53774         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53775         and add nop instructions for throughput optimization.
53776         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53778 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53780         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53781         aligned copy for power7 with vector-scalar instructions.
53782         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53784 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53786         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53787         AVX check.
53789 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53791         [BZ #13144]
53792         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53793         last change.
53795 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53797         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53798         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53799         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53800         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53801         clock_gettime.
53803 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53805         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53806         Forgot to demangle the pointer.
53808         * sysdeps/i386/sysdep.h: Define atom_text_section.
53809         * sysdeps/x86_64/sysdep.h: Likewise.
53810         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53811         section with atom_text_section.
53812         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53813         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53814         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53815         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53816         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53818         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53819         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53820         already be defined.  Change to take two parameters and don't assign
53821         result to variable.  Adjust all users.
53822         Define INTERNAL_GETTIME if not already defined.
53823         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53824         call.
53825         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53826         HAVE_CLOCK_GETTIME_VSYSCALL.
53827         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53829         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53830         gettimeofday vsyscall, just use time.
53832 2011-09-06  Andreas Schwab  <schwab@redhat.com>
53834         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53835         <errno.h>.
53837 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53839         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53840         syscall on x86-64.
53841         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53842         syscall.
53843         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53844         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53845         syscall if possible.
53847 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53849         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53850         e_ident.  Don't pass to find_mapsXX.
53851         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53853 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53856         strchr-sse2-no-bsf strrchr-sse2-no-bsf
53857         * sysdeps/x86_64/multiarch/strchr.S: Update.
53858         Check bit_slow_BSF bit.
53859         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53860         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53861         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53863 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53865         [BZ #13134]
53866         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53867         before glibc 2.15.
53868         (tryshell): Define.
53869         (__spawni): Change last parameter to be flag.  Test
53870         SPAWN_XFLAGS_USE_PATH flag to use path or not.
53871         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53872         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53873         * posix/spawni.c: Likewise.
53874         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53875         * posix/spawnp.c: Likewise.  Change normal version to use
53876         SPAWN_XFLAGS_USE_PATH.
53877         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53878         SPAWN_XFLAGS_TRY_SHELL.
53880         [BZ #13150]
53881         * posix/glob.h: Remove gcc 1.x support.
53883         [BZ #13068]
53884         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53886 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53888         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53889         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53890         strrchr-sse2-bsf
53891         * sysdeps/i386/i686/multiarch/strchr.S: New file.
53892         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53893         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53894         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53895         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53896         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53898 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53900         * sysdeps/x86_64/wcscmp.S: New file.
53902         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53903         wcscmp-c wcscmp-sse2
53904         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53905         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53906         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53907         * wcsmbs/wcscmp.c: Allow renaming.
53909 2011-09-05  David S. Miller  <davem@davemloft.net>
53911         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53912         stack slot, rather than the struct return pointer slot.
53913         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53914         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53916         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53918 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53920         * po/ja.po: Update from translation team.
53922         [BZ #13144]
53923         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53924         kernel in 64-bit binaries.
53926 2011-09-01  David S. Miller  <davem@davemloft.net>
53928         * elf/elf.h (HWCAP_SPARC_*): Move to..
53929         * sysdeps/sparc/sysdep.h: this new file and add new values.
53930         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53931         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53932         _DL_HWCAP_COUNT to 24.
53933         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53934         entries.
53935         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53936         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53937         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53938         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53939         instead of magic constants.
53940         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53942 2011-08-31  David S. Miller  <davem@davemloft.net>
53944         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53945         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53946         Reimplement to do errno handling inline.
53947         (SYSCALL_ERROR_HANDLER): New macro.
53948         (__SYSCALL_STRING): Do not do errno handling in asm.
53949         (__CLONE_SYSCALL_STRING): Delete.
53950         (__INTERNAL_SYSCALL_STRING): Delete.
53951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53952         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53953         (PSEUDO): Reimplement to do errno handling inline.
53954         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53955         (SYSCALL_ERROR_HANDLER): New macro.
53956         (__SYSCALL_STRING): Do not do errno handling in asm.
53957         (__CLONE_SYSCALL_STRING): Delete.
53958         (__INTERNAL_SYSCALL_STRING): Delete.
53959         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53960         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53961         i386.
53962         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53963         (inline_syscall*): Add 'err' argument.
53964         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53965         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53966         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53967         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53969         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53970         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53972 2011-08-30  Andreas Schwab  <schwab@redhat.com>
53974         * elf/rtld.c (dl_main): Relocate objects in dependency order.
53976 2011-08-29  Jiri Olsa <jolsa@redhat.com>
53978         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53979         directive.
53981 2011-08-24  David S. Miller  <davem@davemloft.net>
53983         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53985 2011-08-24  Andreas Schwab  <schwab@redhat.com>
53987         * elf/Makefile: Add rules to build and run unload8 test.
53988         * elf/unload8.c: New file.
53989         * elf/unload8mod1.c: New file.
53990         * elf/unload8mod1x.c: New file.
53991         * elf/unload8mod2.c: New file.
53992         * elf/unload8mod3.c: New file.
53994         * elf/dl-close.c (_dl_close_worker): Reset private search list if
53995         it wasn't used.
53997 2011-08-23  David S. Miller  <davem@davemloft.net>
53999         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54000         subtract stack bias.
54001         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54002         %sp not %fp in calculations.
54003         (_JMPBUF_UNWINDS_ADJ): Likewise.
54005         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54006         (aio_suspend): Call it to force an exception region around the
54007         AIO_MISC_WAIT() invocation.
54009 2011-08-23  Andreas Schwab  <schwab@redhat.com>
54011         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54012         backslash.
54014 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
54016         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54017         protection macro.
54018         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54019         and <dl-machine.h>.
54020         (Elf64_FuncDesc): Remove.
54022 2011-08-22  David S. Miller  <davem@davemloft.net>
54024         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54025         sigaltstack check, add missing cfi directives.
54026         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54027         missing cfi directives, and sigaltstack handling.
54029 2011-08-16  Andreas Schwab  <schwab@redhat.com>
54031         [BZ #11724]
54032         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54033         object is seen twice.
54034         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54036         * elf/Makefile (distribute): Add tst-initorder2.c.
54037         (tests): Add tst-initorder2.
54038         (modules-names): Add tst-initorder2a tst-initorder2b
54039         tst-initorder2c tst-initorder2d.  Add rules to build them.
54040         ($(objpfx)tst-initorder2.out): New rule.
54041         * elf/tst-initorder2.c: New file.
54042         * elf/tst-initorder2.exp: New file.
54044 2011-08-22  Andreas Schwab  <schwab@redhat.com>
54046         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54048         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54049         dependencies back to end of function.
54051         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54052         $(elfobjdir)/ld.so.
54054 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
54056         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54057         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54058         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54059         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54060         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54061         of __vdso_gettimeofday.
54062         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54063         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
54064         attribute_hidden.
54065         (_libc_vdso_platform_setup): Remove initialization of
54066         __vdso_gettimeofday and __vdso_time.
54068 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54070         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54071         and fgetc_unlocked.
54072         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54073         getc_unlocked.
54075         * elf/dl-open.c (add_to_global): Report additions to the global scope
54076         for LD_DEBUG=scopes.
54077         (dl_open_worker): Also print scope of newly loaded dependencies.
54078         (_dl_show_scope): Indicate if there is no scope.
54080         [BZ #13114]
54081         * stdio-common/Makefile (tests): Add bug24.
54082         * stdio-common/bug24.c: New file.
54084 2011-08-19  Andreas Jaeger  <aj@suse.de>
54086         [BZ #13114]
54087         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54088         non-existant file when using close-on-exec mode.
54090 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
54092         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54093         the very first instruction.
54095         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54096         the CFI state in the end.
54097         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54098         inclusion of dl-trampoline.h.
54099         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54101 2011-08-19  Andreas Schwab  <schwab@redhat.com>
54103         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54104         expectations for long double.
54106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54107         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54109 2011-08-14  David S. Miller  <davem@davemloft.net>
54111         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54112         artificual limit depends upon the system page size.
54114 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54116         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54117         * resolv/Makefile: Define CFLAGS-libresolv.
54119 2011-08-17  Andreas Schwab  <schwab@redhat.com>
54121         * nss/makedb.c (compute_tables): Make variables used in nested
54122         function static.
54124 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
54126         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54127         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54128         if buffer was too small.
54130         * elf/pldd.c (main): Attach to all threads in the process.
54131         Rewrite /proc handling to use *at functions.
54133 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
54135         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54136         specifies first scope to show.
54137         (dl_open_worker): Update callers.  Move printing scope of new
54138         object to before the relocation.
54139         * elf/rtld.c (dl_main): Update _dl_show_scope call.
54140         * sysdeps/generic/ldsodefs.h: Update declaration.
54142         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54143         string for the scope number.
54145 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
54147         * nscd/servicescache.c (cache_addserv): Make sure written is always
54148         initialized.
54150 2011-08-14  Roland McGrath  <roland@hack.frob.com>
54152         * sysdeps/i386/i486/bits/atomic.h
54153         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54154         statement expression, so as to suppress "set but not used" warning.
54155         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54157         * string/strncat.c (STRNCAT): Use prototype definition.
54159         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54160         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54161         -Iprograms here.
54162         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54163         (localedef-modules): Add localedef.
54164         (locale-modules): Add locale.
54166         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54167         * elf/rtld.c (dl_main): Invert order of assignment in last change,
54168         to avoid a warning.
54170 2011-08-14  David S. Miller  <davem@davemloft.net>
54172         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54173         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54175 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
54177         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
54178         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54179         * elf/rtld.c (dl_main): Set l_name of vDSO.
54180         Call _dl_show_scope when DL_DEBUG_SCOPES.
54181         (process_dl_debug): Recognize scopes flag and also set it for all.
54182         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54183         Declare _dl_show_scope.
54185         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54186         (do_dlopen): Pass caller_dlopen to dl_open.
54187         (__libc_dlopen_mode): Initialize caller_dlopen.
54189         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54190         of libc.  Make tolower call locale-independent.  Optimize a bit by
54191         using isdigit instead of isalnum.
54192         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54194 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
54196         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54197         was a dependency or dynamically loaded.
54199 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
54201         * intl/l10nflist.c: Allow architecture-specific pop function.
54202         * sysdeps/x86_64/l10nflist.c: New file.
54204         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54205         classification.
54207 2011-08-10  Andreas Schwab  <schwab@redhat.com>
54209         * include/dirent.h: Add libc_hidden_proto for scandirat and
54210         scandirat64.  Don't declare __scandirat64.
54211         * dirent/scandirat.c: Add libc_hidden_def.
54212         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54213         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54215 2011-08-10  David S. Miller  <davem@davemloft.net>
54217         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54218         enum.
54219         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54220         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54221         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54223 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
54225         * Versions.def [libc]: Add GLIBC_2.15.
54226         * dirent/Makefile (routines): Add scandirat and scandirat64.
54227         * dirent/Versions [libc]: Export scandirat and scandirat64 for
54228         GLIBC_2.15.
54229         * dirent/dirent.h: Declare scandirat and scandirat64.
54230         * dirent/scandirat.c: New file.
54231         * dirent/scandirat64.c: New file.
54232         * sysdeps/wordsize-64/scandirat.c: New file.
54233         * sysdeps/wordsize-64/scandirat64.c: New file.
54234         * dirent/opendir.c: Define opendirat.
54235         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
54236         using scandirat.
54237         * dirent/scandir64.c: Adjust for scandir.c change.
54238         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
54239         __scandirat64, and __scandir_cancel_handler.
54240         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
54241         additional parameter and use openat instead of open (outside of ld.so).
54242         Add new __opendir as wrapper around __opendirat.
54243         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54244         here without requiring old scandirat implementation.
54246 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
54248         * dirent/scandir.c (cancel_handler): Renamed to
54249         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
54250         defined.  Adjust users.
54251         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54252         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54254 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
54256         * string/test-string.h (IMPL): Use __STRING to expand name and then
54257         stringify it.
54259         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
54260         of cleanups.
54262 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54264         * string/Makefile: Update.
54265         (strop-tests): Append strncat.
54266         * string/test-wcscmp.c: New file.
54267         New comprehensive test for wcscmp.
54268         * string/test-strcmp.c: Update.
54269         (WIDE): New define.
54271 2011-07-22  Andreas Schwab  <schwab@redhat.com>
54273         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54274         line.
54276 2011-07-26  Andreas Schwab  <schwab@redhat.com>
54278         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54279         encoding to ACE if AI_IDN.
54281 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
54283         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54284         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54286 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54288         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54289         Fix overflow bug in strncat.
54290         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54292         * string/test-strncat.c: Update.
54293         Add new tests for checking overflow bugs.
54295 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54297         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54298         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54299         * sysdeps/i386/i686/multiarch/strcat.S: New file.
54300         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54301         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54302         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54303         * sysdeps/i386/i686/multiarch/strncat.S: New file.
54304         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54305         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54307         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54308         (USE_AS_STRCAT): Define.
54309         Add strcat and strncat support.
54310         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54312 2011-07-25  Andreas Schwab  <schwab@redhat.com>
54314         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54315         __n bigger than INT_MAX+1.
54316         (__strncmp_g): Likewise.
54318 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
54320         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54321         * libio/stido.h: Likewise.
54323         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54324         (AF_NFC): Define.
54325         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54326         (AF_NFC): Define.
54328         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54329         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54331         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54332         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54334         [BZ #13021]
54335         * scripts/test-installation.pl: Don't expect libnss_test1 to be
54336         installed.
54338         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54339         typo.
54340         (_dl_x86_64_save_sse): Likewise.
54342 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
54344         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54345         OSXSAVE.
54346         (_dl_x86_64_save_sse): Likewise.
54348         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54350         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54352 2011-07-21  Andreas Schwab  <schwab@redhat.com>
54354         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54355         change.
54356         (_dl_x86_64_save_sse): Use correct AVX check.
54358 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54360         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54361         bug in strncpy/strncat.
54362         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54364 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
54366         * string/tester.c (test_strcat): Add tests for different alignments
54367         of source and destination.
54368         (test_strncat): Likewise.
54370 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54372         [BZ #12852]
54373         * posix/glob.c (glob): Check passed in values before using them in
54374         expressions to avoid some overflows.
54375         (glob_in_dir): Likewise.
54377         [BZ #13007]
54378         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54379         check for AVX enablement so that we don't crash with old kernels and
54380         new hardware.
54381         * elf/tst-audit4.c: Add same checks here.
54382         * elf/tst-audit6.c: Likewise.
54384         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
54386 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
54388         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54390 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
54392         * po/cs.po: Update from translation team.
54393         * po/bg.po: Likewise.
54395 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
54397         * misc/sys/cdefs.h: Add support for const attribute.
54398         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54399         to gnu_dev_{major,minor,makedev} functions.
54401 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
54403         * intl/dcigettext.c (get_output_charset): Add missing bracket.
54405 2011-07-20  Andreas Schwab  <schwab@redhat.com>
54407         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54408         strlen results.
54410 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54412         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54413         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54414         register in order to avoid conflicts with the soft frame pointer
54415         being held in r11 when necessary.
54416         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
54417         (INTERNAL_VSYSCALL_NCS): Likewise.
54419 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
54421         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
54422         * elf/dl-fini.c (_dl_fini): Adjust caller.
54423         * elf/dl-close.c (_dl_close_worker): Likewise.
54424         * sysdeps/generic/ldsodefs.h: Adjust declaration.
54426 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54428         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
54429         "aux_cache->nlibs < 0".
54431         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
54432         in the reload-count case.
54434 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54436         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54437         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
54438         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
54439         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
54440         * sysdeps/x86_64/multiarch/strcat.S: New file.
54441         * sysdeps/x86_64/multiarch/strncat.S: New file.
54442         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
54443         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
54444         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
54445         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
54446         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
54447         (USE_AS_STRCAT): Define.
54448         Add strcat and strncat support.
54449         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54450         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54451         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
54452         * string/strncat.c: Update.
54453         (USE_AS_STRNCAT): Define.
54454         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54455         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
54456         and i7.
54457         * sysdeps/x86_64/multiarch/init-arch.h
54458         (bit_Prefer_PMINUB_for_stringop): New.
54459         (index_Prefer_PMINUB_for_stringop): Likewise.
54460         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
54461         bit_Prefer_PMINUB_for_stringop.
54463 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54465         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
54466         buffer64.
54467         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
54468         of casting of buffer.
54469         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
54470         buffer32 and buffer64.
54471         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
54472         writes instead of casting of buffer.
54473         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
54474         buffer32.
54475         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
54476         casting of buffer.
54478 2011-07-19  Andreas Schwab  <schwab@redhat.com>
54480         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
54482 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
54484         * nscd/nscd.c (termination_handler): Don't do anything for a database
54485         if it has not yet been initialized.
54487 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54489         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54491 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
54493         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
54495 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
54497         * po/nl.po: Update from translation team.
54498         * po/sv.po: Likewise.
54500 2011-07-16  Roland McGrath  <roland@hack.frob.com>
54502         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
54503         now disallowed by GCC.
54505         * configure.in (use-default-link): Default to yes if a test -shared
54506         link meets our qualifications.
54507         * configure: Regenerated.
54509         * config.make.in (output-format): New variable.
54510         * configure.in: Check for ld --print-output-format support.
54511         * configure: Regenerated.
54512         * Makerules ($(common-objpfx)format.lds)
54513         [$(output-format) != unknown]: Just use $(output-format),
54514         instead of the linker-script munging.
54516 2011-07-14  Roland McGrath  <roland@hack.frob.com>
54518         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
54519         of $(common-objpfx)shlib.lds.
54520         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
54522         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
54523         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
54525         * configure.in (-z relro check): Adjust test code to add a large
54526         writable data section after it.
54527         * configure: Regenerated.
54529 2011-07-11  Roland McGrath  <roland@hack.frob.com>
54531         * configure.in (-z relro check): Fix test code to make the variable
54532         truly const.
54533         * configure: Regenerated.
54535 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
54537         * nscd/nscd.h (struct traced_file): Define.
54538         (struct database_dyn): Remove inotify_descr, reset_res, and filename
54539         elements.  Add traced_files.
54540         (inotify_fd): Declare.
54541         (register_traced_file): Declare.
54542         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
54543         (inotify_fd): Export.
54544         (resolv_conf_descr): Remove.
54545         (nscd_init): Move inotify descriptor creation to main.
54546         Don't register files for notification here.
54547         (register_traced_file): New function.
54548         (invalidate_cache): Don't use reset_res to determine whether to call
54549         res_init, go through the list of registered files.
54550         (main_loop_poll): The inotify descriptors are now stored in the
54551         structures for the traced files.
54552         (main_loop_epoll): Likewise
54553         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
54554         to __nss_disable_nscd.
54555         * nscd/cache.c (prune_cache): There is no single inotify descriptor
54556         for a database anymore.  Check the records for all the registered
54557         files instead.
54558         * nss/Makefile (libnss_files-routines): Add files-init.
54559         (libnss_db-routines): Add db-init.
54560         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
54561         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
54562         * nss/nss_db/db-init.c: New file.
54563         * nss/nss_files/files-init.c: New file.
54564         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
54565         __nss_lookup_function.
54566         (__nss_lookup_function): Call nss_load_library.
54567         (nss_load_all_libraries): New function.
54568         (__nss_disable_nscd): Take parameter with callback function for files
54569         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
54570         used for the cached services.
54571         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
54572         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
54573         options for features to all the files in nscd.
54575         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
54577 2011-07-10  Roland McGrath  <roland@hack.frob.com>
54579         * csu/elf-init.c (__libc_csu_init): Comment typo.
54581 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
54583         * po/pl.po: Update from translation team.
54584         * po/ja.po: Likewise.
54585         * po/ru.po: Likewise.
54586         * po/ko.po: Likewise.
54587         * po/fr.po: Likewise.
54589 2011-07-09  Roland McGrath  <roland@hack.frob.com>
54591         * configure.in (.ctors/.dtors header and trailer check):
54592         Use an empirical test on a built program.
54593         * configure: Regenerated.
54595         * configure.in (-z relro check): Use an empirical test on a built DSO.
54596         Detect, but do not require, on ia64.
54597         * configure: Regenerated.
54599         * configure.in (READELF): Find it with AC_CHECK_TOOL.
54600         Update tests that use readelf to use $READELF instead.
54601         * configure: Regenerated.
54603 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
54605         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
54606         if the result is not used.
54608 2011-07-05  Andreas Jaeger  <aj@suse.de>
54610         [BZ#9696]
54611         * stdlib/tst-strtod.c: Add testcase.
54613 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
54615         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
54616         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
54617         The latter has a higher limit.  Take additional parameter to pass to
54618         the new function.
54619         (__pathconf): Pass file to __statfs_link_max.
54620         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
54621         __statfs_link_max.
54622         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
54623         __statfs_link_max.
54625         [BZ #12868]
54626         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
54627         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54628         Handle Lustre.
54629         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
54630         (__statfs_filesize_max): Likewise.
54631         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
54633 2011-07-05  Andreas Jaeger  <aj@suse.de>
54635         * resolv/res_comp.c (dn_skipname): Remove unused variable.
54637 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
54639         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
54640         `status' variable.
54641         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
54642         Likewise.
54644 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
54646         * Makefile (strop-tests): Add strncat.
54647         * string/test-strncat.c: New file.
54649 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
54651         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
54653 2011-06-21  Andreas Jaeger  <aj@suse.de>
54655         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
54656         Copy rule from iconvdata/Makefile.
54658 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54660         [BZ #12922]
54661         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54662         but no long options are defined, just return 'W'.
54664 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54666         [BZ #9696]
54667         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54669 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54671         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54672         netgroups to read.
54673         (innetgr): Likewise.
54675 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54677         * config.make.in (install_root): Default to $(DESTDIR).
54679 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54681         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54683 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54685         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54687         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54688         containing directory rather than embedding absolute directory names.
54690         * scripts/check-local-headers.sh: Rewritten using awk.
54691         Match by word, not by line.  Print error messages for matches.
54692         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54694         * Makerules [shlib-lds-flags empty]:
54695         ($(common-objpfx)libc_pic.opts): New target.
54696         ($(common-objpfx)libc_pic.os.clean): New target.
54697         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54699         * config.make.in (OBJCOPY): New variable.
54700         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54701         * configure: Regenerated.
54703         * config.make.in (use-default-link): New variable.
54704         * configure.in (use_default_link): Grok --with-default-link to set it.
54705         * configure: Regenerated.
54706         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54707         (shlib-lds, shlib-lds-flags): Define to empty.
54709         * Makerules (shlib-lds): New variable.
54710         (shlib-lds-flags): New variable.
54711         (build-shlib, build-moduile, build-module-asneeded): Use it.
54712         ($(common-objpfx)libc.so): Use $(shlib-lds).
54713         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54714         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54716         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54717         DT_FLAGS/DT_FLAGS_1 with zero flags.
54719         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54720         linker script munging.
54722 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54724         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54725         as 128-bit value.
54726         * crypt/sha512.c (sha512_process_block): Perform total addition using
54727         128-bit if possible.
54728         (__sha512_finish_ctx): Likewise.
54729         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54730         as 64-bit value.
54731         * crypt/sha256.c (SWAP64): Define.
54732         (sha256_process_block): Perform total addition using 64-bit if
54733         possible.
54734         (__sha256_finish_ctx): Likewise.
54736 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54738         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54739         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54740         * nscd/hstcache.c (cache_addhst): Likewise.
54741         * nscd/grpcache.c (cache_addgr): Likewise.
54742         * nscd/aicache.c (addhstaiX): Likewise
54743         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54745 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54747         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54748         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54749         * nscd/hstcache.c (cache_addhst): Likewise.
54750         * nscd/grpcache.c (cache_addgr): Likewise.
54751         * nscd/aicache.c (addhstaiX): Likewise
54753 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54755         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54756         domain only when needed.
54758 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54760         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54761         is always restored.
54763 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54765         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54766         are re-adding the entry.
54767         * nscd/servicescache.c (cache_addserv): Likewise.
54769 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54771         * sysdeps/generic/dl-irel.h: fix protection against multiple
54772         inclusions.
54773         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54775 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54777         [BZ #12935]
54778         * malloc/memusage.sh: Fix quoting in message.
54779         * debug/xtrace.sh: Likewise.
54781         * configure.in: Remove support for --experimental-malloc option, make
54782         it the default.
54783         * config.make.in: Likewise.
54784         * malloc/Makefile: Likewise.
54786 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54788         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54789         two-byte characters.
54791 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54793         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54794         AC_CACHE_CHECK invocation.
54795         * configure: Regenerated.
54797         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54799 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54801         [BZ #12350]
54802         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54803         bit from old_res_options.
54805         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54807         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54808         value type for setfct.
54810 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54812         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54813         __gettimeofday instead of gettimeofday.
54815 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54817         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54819 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54821         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54823         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54824         info.
54826 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54828         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54829         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54830         strcpy-sse2-unaligned strncpy-sse2-unaligned
54831         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54832         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54833         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54834         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54835         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54836         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54837         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54838         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54839         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54840         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54841         (STRCPY): Support SSE2 and SSSE3 versions.
54843 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
54845         [BZ #12874]
54846         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54847         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54848         kernels which artificially limit size of requests.
54850 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54852         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54853         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54854         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54855         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54856         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54857         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54858         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54859         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54860         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54861         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54862         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54863         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54864         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54865         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54866         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54867         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54868         Enable unaligned load optimization for Intel Core i3, i5 and i7
54869         processors.
54870         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54871         Define.
54872         (index_Fast_Unaligned_Load): Define.
54873         (HAS_FAST_UNALIGNED_LOAD): Define.
54875 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
54877         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54879 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54881         [BZ #12907]
54882         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54883         until it is clear that the information is realy needed.
54884         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54886 2011-06-22  Andreas Schwab  <schwab@redhat.com>
54888         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54890 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54892         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54893         /sys/devices/system/cpu/online if it is usable.
54895         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54896         reading the information from the /proc filesystem to once a second.
54898 2011-06-21  Andreas Jaeger  <aj@suse.de>
54900         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54901         NULL after inclusion of kernel headers.
54903 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
54905         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54906         calls to internal_setent.
54908         [BZ #12885]
54909         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54910         addresses using gethostbyname4_r ignore IPv4 addresses.
54912         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54913         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
54915         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54917 2011-06-20  David S. Miller  <davem@davemloft.net>
54919         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54920         inclusions.
54921         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54923         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54924         (elf_irel): Use it.
54925         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54926         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54927         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54928         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54929         * sysdeps/x86_64/dl-irel.h: Likewise.
54931         * elf/dl-runtime.c: Use elf_ifunc_invoke.
54932         * elf/dl-sym.c: Likewise.
54934 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54936         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
54937         need to dereference resplen2.
54939 2011-06-14  Andreas Schwab  <schwab@redhat.com>
54941         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54943 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54945         * Makeconfig: Define vardbdir and inst_vardbdir.
54946         * nss/Makefile: Add rules to install db-Makefile.
54948         * nss/nss_db/db-XXX.c: Cleanup.
54950         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54951         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54952         GLIBC_PRIVATE.
54953         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54954         * nss/makedb.c: Implement -g option to specify that value strings
54955         are generated and should not be added to table iterated over for
54956         get*ent calls.
54957         * nss/nss_db/db-initgroups.c: New file.
54959         * nss/getent.c: Add support for initgroups lookups through getgrouplist
54960         interface.
54962         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54963         (internal_getgrouplist): Adjust to name change.
54964         Update use_initgroups_entry if this is not the first call.
54965         * nss/databases.def: Add initgroups entry.
54967         * nss/makedb.c (compute_tables): Check result of multiple hash table
54968         sizes to minimize maximum chain length.
54970 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
54972         * Versions.def: Add entry for libnss_db.
54973         * shlib-versions: Likewise.
54974         * nss/Makefile: Add rules to build libnss_db.
54975         * nss/Versions: Add libnss_db information.  Organize libnss_files
54976         entries better.
54977         * nss/db-Makefile: Add gshadow support.  Change rules for the new
54978         makedb progra.  Some minor improvements to generate smaller files.
54979         * nss/nss_db/nss_db.h: Move NSS database header data structures to
54980         here from...
54981         * nss/makedb.c: ...here.
54982         Improve database format to be smaller and require less memory at
54983         runtime.
54984         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
54985         db anymore.
54986         * nss/nss_db/db-netgrp.c: Likewise.
54987         * nss/nss_db/db-open.c: Likewise.
54988         * nss/nss_files/flies-XXX.x: Adjust comments.
54989         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54990         * nss/nss_files/files-grp.c: Likewise.
54991         * nss/nss_files/files-hosts.c: Likewise.
54992         * nss/nss_files/files-network.c: Likewise.
54993         * nss/nss_files/files-proto.c: Likewise.
54994         * nss/nss_files/files-pwd.c: Likewise.
54995         * nss/nss_files/files-rpc.c: Likewise.
54996         * nss/nss_files/files-service.c: Likewise.
54997         * nss/nss_files/files-sgrp.c: Likewise.
54998         * nss/nss_files/files-spwd.c: Likewise.
54999         * nss/nss_db/db-alias.c: Removed.
55000         * nss/nss_db/dummy-db.h: Removed.
55002 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
55004         * nss/makedb.c: Rewritten to not use database library.
55005         * nss/Makefile: Update to build new makedb program.
55007 2011-06-14  Andreas Jaeger  <aj@suse.de>
55009         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55010         memset declaration.
55012 2011-06-10  Andreas Schwab  <schwab@redhat.com>
55014         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55015         tmpbuf.
55017 2011-06-10  Roland McGrath  <roland@hack.frob.com>
55019         * Makerules (shlib.lds): Fail if the linker script comes out empty.
55020         * elf/Makefile ($(objpfx)ld.so): Likewise.
55022         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55023         Don't list ld.so twice in dependencies.
55025         * posix/bug-regex31.c: Include <stdlib.h>.
55027         * nscd/hstcache.c (cache_addhst): Remove unused variable.
55029         * nis/nss_compat/compat-spwd.c
55030         (getspent_next_nss_netgr): Remove unused variable.
55031         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55033         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55034         nonmembers" output to use the right array.
55036         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55038         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55040         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55041         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55042         * catgets/gencat.c (read_input_file): Likewise.
55043         * locale/programs/locarchive.c (enlarge_archive): Likewise.
55045         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55046         variable definition inside #if's controlling its use.
55048         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55050         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55052         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55054         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55055         unreachable code.
55057         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55059         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55060         * configure: Regenerated.
55062         * Makerules: Revert last change.
55063         * elf/Makefile: Likewise.
55065 2011-06-09  Roland McGrath  <roland@hack.frob.com>
55067         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55068         * elf/Makefile ($(objpfx)librtld.os): Likewise.
55069         (reloc-link): Likewise.
55071 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
55073         * elf/Makefile: Add rules to build pldd.
55074         * elf/pldd.c: New file.
55075         * elf/pldd-xx.c: New file.
55077 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
55079         * version.h: Update for 2.15 development version.
55081 2011-06-07  David S. Miller  <davem@davemloft.net>
55083         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55084         ifuncs.
55085         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55086         elf_machine_lazy_rel): Likewise.
55087         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55089         elf_machine_lazy_rel): Likewise.
55090         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55091         dl_hwcap via passed in argument.
55092         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55093         Likewise.
55095 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55097         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
55099 2011-06-06  Roland McGrath  <roland@hack.frob.com>
55101         [BZ #12849]
55102         * manual/fdl-1.1.texi: New file, verbatim from:
55103         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55104         * manual/lgpl-2.1.texi: New file, verbatim from:
55105         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55106         * manual/Makefile (licenses): New variable, list those new file names.
55107         (texis): Use it.
55108         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55110         * manual/fdl.texi: File removed.
55111         * manual/lesser.texi: File removed.
55112         * manual/libc.texinfo (Copying, Documentation License):
55113         Use new @include file names, put @appendix directive before @include.
55115 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
55117         [BZ #12841]
55118         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55119         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55120         (mq_open): Add __NTH.
55122 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
55124         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55125         Assume Intel Core i3/i5/i7 processor if AVX is available.
55127 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55129         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55130         typo.
55132 2011-05-31  Andreas Schwab  <schwab@redhat.com>
55134         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55135         memory.  Use alloca_account.  Fix memory leak when retrying.
55137 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
55139         * version.h (RELEASE): Bump for 2.14 release.
55140         * include/features.h (__GLIBC_MINOR__): Bump to 14.
55142         * config.make.in (RANLIB): Remove entry.
55144 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
55146         * po/Makefile (po-sed-cmd): Add ksh to extensions.
55147         (libc.pot): Work around missing support for .ksh extension in xgettext.
55149         [BZ #12684]
55150         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55151         if both request failed.
55152         (send_dg): In case of server errors clear resplen or *resplen2.
55154         [BZ #12454]
55155         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55156         when there are multiple maps.
55157         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55158         (_dl_fini): Remove test here.
55160         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55162 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
55164         [BZ #12350]
55165         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55166         bit from old_res_options.
55167         (gaih_inet): Likewise.
55169         [BZ #11099]
55170         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
55171         as signed.
55173         * resolv/res_init.c (res_setoptions): Make the code more compact.
55175         [BZ #11558]
55176         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55177         set RES_USEVC.
55179         [BZ #11634]
55180         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55182         * malloc/malloc.h: Mark malloc hook variables as deprecated.
55184         [BZ #11781]
55185         * malloc/malloc.h: Declare malloc hook variables as volatile.
55187         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55188         in last patch.
55190         [BZ #11799]
55191         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
55192         raise in the comment.
55193         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55194         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55195         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
55197 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
55199         [BZ #12811]
55200         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55201         grow the buffers more if it already has to be sufficient.
55202         (build_wcs_upper_buffer): Likewise.
55203         * posix/regexec.c (check_matching): Likewise.
55204         (clean_state_log_if_needed): Likewise.
55205         (extend_buffers): Don't enlarge buffers beyond size of the input
55206         buffer.
55207         Patches mostly by Emil Wojak <emil@wojak.eu>.
55208         * posix/bug-regex32.c: New file.
55209         * posix/Makefile (tests): Add bug-regex32.
55211         * locale/findlocale.c (_nl_find_locale): Return right away if
55212         _nl_explode_name failed.
55213         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55215         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55217         * debug/xtrace.sh: Unify messages.
55218         * malloc/memusage.sh: Likewise.
55220         [BZ #12813]
55221         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55222         time symbol from vDSO.  Substitute with vsyscall if not available.
55223         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55224         __vdso_time.
55226         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55227         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55228         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55229         Add sendmmsg and internal_sendmmsg.
55230         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55231         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55232         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55234         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55235         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55236         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55238 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
55240         [BZ #12813]
55241         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55242         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
55243         available.
55244         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55245         __vdso_getcpu.
55247         [BZ #12814]
55248         * iconvdata/Makefile (tests): Add bug-iconv9.
55249         * iconvdata/bug-iconv9.c: New file.
55251 2011-05-27  Andreas Schwab  <schwab@redhat.com>
55253         [BZ #12814]
55254         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55256 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
55258         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55259         (struct user_regs_struct): Change intcs field back to cs.
55261 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
55263         * po/ja.po: Update from translation team.
55265 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
55267         [BZ #12795]
55268         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55269         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55271 2011-05-20  Andreas Schwab  <schwab@redhat.com>
55273         * stdlib/longlong.h: Update from GCC.
55275 2011-05-23  Andreas Schwab  <schwab@redhat.com>
55277         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55278         parameter name.
55279         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55280         Add parameter name.
55281         (__sysconf): Pass it down.
55283 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
55285         [BZ #12671]
55286         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55287         some situations.
55288         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55289         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55290         add in in __libc_use_alloca calls.  Adjust callers.
55291         (glob): Use malloc in some situations.
55293         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55294         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55295         pltexit.
55297 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
55299         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55300         and CLOCK_BOOTTIME_ALARM.
55302         [BZ #12782]
55303         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55304         is returned.
55306         * string/_strerror.c (__strerror_r): Print negative errors as signed
55307         numbers.
55309         [BZ #12777]
55310         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55311         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55312         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55314         * configure.in: Fix typo in redirection and correct removal of test
55315         files in two cases.
55317         [BZ #12788]
55318         * locale/setlocale.c (new_composite_name): Fix test to check for
55319         identical name of all categories.
55321         [BZ #12792]
55322         * libio/filedoalloc.c (local_isatty): New function.
55323         (_IO_file_doallocate): Use local_isatty.
55324         * stdio-common/perror.c (perror): In case a new stream is used
55325         forward the stream error.
55326         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55327         error flag.
55329 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
55331         [BZ #11869]
55332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55333         alloca.
55334         * include/alloca.h (extend_alloca_account): Define.
55336         [BZ #11857]
55337         * posix/regex.h: Fix comments with documentation of user-accessible
55338         fields after compilation and describe correct free'ing of pattern
55339         after re_compile_pattern.
55340         Patch by Reuben Thomas <rrt@sc3d.org>.
55342 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
55344         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55345         and -mno-altivec to prevent the compiler from using Altivec and/or
55346         VSX instructions when the corresponding registers are not available.
55348 2011-05-19  Andreas Schwab  <schwab@redhat.com>
55350         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55352 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
55354         * libio/freopen.c (freopen): Use __dup2, not dup2.
55355         * libio/freopen64.c (freopen64): Likewise.
55357 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
55359         [BZ #12775]
55360         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55361         * math/Makefile (tests): Add test-powl.
55362         (CFLAGS-test-powl.c): Define.
55363         * math/test-powl.c: New file.
55365 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
55367         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55369 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
55371         [BZ #11837]
55372         * iconvdata/gb18030.c: Update to GB18020-2005.
55374 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
55376         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55377         RE_SYNTAX_POSIX_AWK): Update to match recent development.
55378         Patch by Aharon Robbins <arnold@skeeve.com>.
55380         [BZ #11892]
55381         * stdlib/putenv.c (putenv): Don't always create copy of the variable
55382         on the stack.
55384         [BZ #11895]
55385         * misc/pselect.c (__pselect): Handle timeout value errors hidden
55386         through underflows.
55388         [BZ #12766]
55389         * misc/error.c (error_at_line): Ensure file_name and old_file_name
55390         point to strings before performing equality test for error_one_per_line
55391         mode.
55393         [BZ #11697]
55394         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55396         [BZ #11820]
55397         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55398         (struct user_fpregs_struct): Avoid __uint*_t types.
55400         [BZ #6420]
55401         * malloc/mtrace.c (tr_where): Add additional parameter to point to
55402         symbol info.  Use it instead of calling _dl_addr locally.
55403         (lock_and_info): New function.
55404         (tr_freehook): Call lock_and_info and pass symbol info as additional
55405         parameter to tr_where.
55406         (tr_mallochook): Likewise.
55407         (tr_reallochook): Likewise.
55408         (tr_memalignhook): Likewise.
55410         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
55411         used and couldn't be at all thread-safe.
55413 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
55415         * libio/freopen.c (freopen): Don't close old file descriptor
55416         before the new one is opened.  Instead dup the new file descriptor
55417         to the old one after the new stream is created.
55418         * libio/freopen64.c (freopen64): Likewise.
55419         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
55420         * libio/fileops.c (_IO_new_file_close_it): Handle new
55421         _IO_FLAGS2_NOCLOSE flag.
55422         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
55423         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
55424         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
55425         _IO_FLAGS2_NOCLOSE flag.
55426         * include/unistd.h: Add hidden_proto for dup3.
55427         Define __have_dup3.
55428         * io/dup3.c: Define hidden symbol.
55429         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
55431         [BZ #7101]
55432         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
55433         when an incomplete long option is used.
55434         * posix/tst-getopt_long1.c: New file.
55435         * posix/Makefile (tests): Add tst-getopt_long1.
55437         [BZ #10138]
55438         * scripts/config.guess: Update from autoconf-2.68.
55439         * scripts/config.sub: Likewise.
55441         [BZ #10157]
55442         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
55443         tests into ...
55444         (has_cpuclock): ...this.  New function.
55445         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
55446         macro here based on has_cpuclock code.
55448         [BZ #10149]
55449         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55450         First byte (not low byte) is now always NUL.
55451         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
55453         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55454         Use non-cancelable interfaces.
55456         [BZ #9809]
55457         * locale/iso-639.def: Add entry for Sorani.
55459         [BZ #11901]
55460         * include/stdlib.h: Move include protection to the right place.
55461         Define abort_msg_s.  Declare __abort_msg with it.
55462         * stdlib/abort.c (__abort_msg): Adjust type.
55463         * assert/assert.c (__assert_fail_base): New function.  Majority
55464         of code from __assert_fail.  Allocate memory for __abort_msg with
55465         mmap.
55466         (__assert_fail): Now call __assert_fail_base.
55467         * assert/assert-perr.c: Remove bulk of implementation.  Use
55468         __assert_fail_base.
55469         * include/assert.hL Declare __assert_fail_base.
55470         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
55471         mmap.
55472         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
55474 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
55476         [BZ #11952]
55477         [BZ #12453]
55478         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
55479         until all modules are registered in the DTV.
55480         * elf/Makefile: Add rules to build and run tst-tls19.
55481         * elf/tst-tls19.c: New file.
55482         * elf/tst-tls19mod1.c: New file.
55483         * elf/tst-tls19mod2.c: New file.
55484         * elf/tst-tls19mod3.c: New file.
55485         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
55487         [BZ #12083]
55488         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
55489         correctly.
55491         [BZ #12601]
55492         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
55493         two-byte sequence errors.
55494         * iconvdata/Makefile (tests): Add bug-iconv8.
55495         * iconvdata/bug-iconv8.c: New file.
55497         [BZ #12626]
55498         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
55499         buf2 definition.
55501         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
55503         [BZ #12432]
55504         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
55505         (dummy_getcfa): New function.
55506         (init): Get _Unwind_GetCFA address, use dummy if not found.
55507         (backtrace_helper): In recursion check, also check whether CFA changes.
55508         (__backtrace): Completely initialize arg.
55510         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
55511         storing incomplete byte sequence in state object.  Avoid testing for
55512         guaranteed too small input if we know there is enough data available.
55514 2011-05-11  Andreas Schwab  <schwab@redhat.com>
55516         * Makeconfig (+link-pie): Indent.
55517         * Rules (binaries-pie): Define if $(have-fpie) and
55518         $(build-shared).
55519         (binaries-shared): Also filter out $(binaries-pie).
55520         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
55521         * nscd/Makefile (others-pie): Add nscd.
55522         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
55523         ($(objpfx)nscd): Remove command override.
55524         * login/Makefile (others-pie): Add pt_chown.
55525         ($(objpfx)pt_chown): Remove command override.
55526         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
55527         remove command overrides.
55529 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
55531         * libio/tst_putwc.c: Fix error messages.
55533         [BZ #12724]
55534         * libio/fileops.c (_IO_new_file_close_it): Always flush when
55535         currently writing and seek to current position when not.
55536         * libio/Makefile (tests): Add bug-fclose1.
55537         * libio/bug-fclose1.c: New file.
55539 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
55541         [BZ #12511]
55542         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
55543         don't set DF_1_NODELETE here.
55544         (do_lookup_x): When entering new entry test for copy relocation
55545         and if necessary set DF_1_NODELETE flag.
55546         * elf/tst-unique4.cc: New file.
55547         * elf/tst-unique4.h: New file.
55548         * elf/tst-unique4lib.cc: New file.
55549         * elf/Makefile: Add rules to build and run tst-unique4.
55550         Patch by Piotr Bury <pbury@goahead.com>.
55552 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
55554         [BZ #12052]
55555         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
55557         [BZ #12625]
55558         * misc/mntent_r.c (addmntent): Flush the stream after the output
55560         [BZ #12393]
55561         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
55562         (is_trusted_path_normalize): Skip initial colon.  Append slash
55563         to empty buffer.  Duplicate is_trusted_path code but allow
55564         constructed patch to be prefix.
55565         (is_dst): Allow $ORIGIN followed by /.
55566         (_dl_dst_substitute): Correct clearing of check_for_trusted.
55567         Correct testing of result of is_trusted_path_normalize
55568         (decompose_rpath): Fix warning.
55570 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
55572         [BZ #11257]
55573         * grp/initgroups.c (internal_getgrouplist): When we found the service
55574         list through the initgroups entry in nsswitch.conf do not always
55575         continue on a successful lookup.  Don't always use the
55576         __nss_group_database value if it is set.
55577         * nss/nsswitch.conf (initgroups): Change action for successful db
55578         lookup to continue for compatibility.
55580 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
55582         [BZ #11532]
55583         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
55584         and CP774 modules.
55585         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
55586         and CP774 modules.
55587         * iconvdata/tst-tables.sh: Likewise.
55588         * iconvdata/cp770.c: New file.
55589         * iconvdata/cp771.c: New file.
55590         * iconvdata/cp772.c: New file.
55591         * iconvdata/cp773.c: New file.
55592         * iconvdata/cp774.c: New file.
55593         * iconvdata/testdata/CP770: New file.
55594         * iconvdata/testdata/CP770..UTF8: New file.
55595         * iconvdata/testdata/CP771: New file.
55596         * iconvdata/testdata/CP771..UTF8: New file.
55597         * iconvdata/testdata/CP772: New file.
55598         * iconvdata/testdata/CP772..UTF8: New file.
55599         * iconvdata/testdata/CP773: New file.
55600         * iconvdata/testdata/CP773..UTF8: New file.
55601         * iconvdata/testdata/CP774: New file.
55602         * iconvdata/testdata/CP774..UTF8: New file.
55604         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
55605         END CHARMAP line.
55606         * iconvdata/gen-8bit-gap.sh: Likewise.
55607         * iconvdata/gen-8bit.sh: Likewise.
55609         * locale/iso-639.def: Add ary entry.
55611         [BZ #11258]
55612         * locale/C-translit.h.in: Add U20A1 transliteration.
55614         [BZ #12178]
55615         * locale/iso-639.def: Add wae entry.
55616         Patch by Kevin Bortis <bortis@translate-wae.ch>.
55618         [BZ #12545]
55619         * locale/programs/localedef.c (construct_output_path): Use ssize_t
55620         for n.
55622         [BZ #12711]
55623         * locale/C-translit.h.in: Add entry for U20B9.
55624         Patch by pravin.d.s@gmail.com.
55626 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
55628         [BZ #12713]
55629         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
55630         ENAMETOOLONG use generic getcwd.
55631         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
55632         in rtld.  Use *stat64.
55633         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
55634         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
55635         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
55636         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
55637         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
55638         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
55639         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
55640         __fstatat64 macros.
55641         * include/dirent.h: Add libc_hidden_proto for rewinddir.
55642         * dirent/rewinddir.c: Add libc_hidden_def.
55643         * sysdeps/mach/hurd/rewinddir.c: Likewise.
55644         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
55646         * include/dirent.h (__alloc_dir): Add flags parameter.
55647         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
55648         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
55649         __alloc_dir.
55650         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
55651         from fdopendir if O_CLOEXEC is already set.
55653 2011-03-15  Alan Modra  <amodra@gmail.com>
55655         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
55656         l_tls_firstbyte_offset non-zero.  Save padding offset in
55657         l_tls_firstbyte_offset for later use.
55658         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55659         freeing static tls block.
55661 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55663         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55664         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55665         being defined by the kernel headers.
55667 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55669         [BZ #12734]
55670         * resolv/resolv.h: Define RES_NOTLDQUERY.
55671         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55672         no-tld-query and set RES_NOTLDQUERY.
55673         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55674         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55675         modern BIND to search name as TLD unless forbidden.
55677 2011-05-07  Petr Baudis  <pasky@suse.cz>
55678             Ulrich Drepper  <drepper@gmail.com>
55680         [BZ #12393]
55681         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55682         (is_trusted_path): ...to here.
55683         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55684         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55685         using is_trusted_path_normalize() in setuid scripts.
55687 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55689         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55690         __BEGIN/__END_DECLS.
55692 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55694         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55695         NSS_STATUS_NOTFOUND if no record was found.
55697 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55699         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55700         (headers-not-in-tirpc): Remove rpc/netdb.h
55701         * resolv/netdb.h: Revert last change.
55703 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55705         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55706         circular dependency between libgcc.a and libc.a.
55708 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55710         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55711         * nis/Makefile: Don't install rpcsvc/*.
55712         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55713         instead of <rpc/types.h>.
55714         (MAXHOSTNAMELEN): Define.
55716 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55718         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55720 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55722         [BZ #12714]
55723         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55724         gethostbyname4_r when IPv6 results are possible.
55726 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55728         [BZ #12723]
55729         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55730         _PC_PIPE_BUF handling.
55732 2011-04-30  Bruno Haible  <bruno@clisp.org>
55734         [BZ #12717]
55735         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55736         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55737         to 'int'.
55738         * inet/getnameinfo.c (getnameinfo): Likewise.
55740 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55742         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55743         to groups setting in database lookup.
55744         * nss/nsswitch.conf: Add initgroups entry.
55746 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55748         [BZ #12685]
55749         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55750         mode string.
55751         Patch by Eric Blake <eblake@redhat.com>.
55753 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55755         * sunrpc/Makefile (need-export-routines): Add svc_run.
55756         (routines): Remove svc_run.
55757         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55758         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55759         * sunrpc/svc_run.c (svc_run): Likewise.
55760         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55762 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55764         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55765         problem in reallocation in last patch.
55767 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55769         * sunrpc/Makefile: Move inclusion of Rules.
55771 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55773         * nss/nss_files/files-initgroups.c: New file.
55774         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55775         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55776         _nss_files_initgroups_dyn.
55778 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55780         * elf/elf.h (R_ARM_IRELATIVE): Define.
55782 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55784         * po/ru.po: Update from translation team.
55786 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55788         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55789         dependencies.
55791 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55793         [BZ #12653]
55794         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55795         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55796         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55797         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55798         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55800 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55802         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55803         differing bytes.
55804         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55805         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55806         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55808 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55810         [BZ #12420]
55811         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55812         storing it.
55813         * stdlib/bug-getcontext.c: New file.
55814         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55816 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55818         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55819         instructions into .machine "z9-109".
55820         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55821         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55823 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55825         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55826         between environment variables and auxiliary vector.
55828 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
55830         * Makefile: Add rules to build linkobj/libc.so.
55831         * include/libc-symbols.h: Define libc_hidden_nolink.
55832         * include/rpc/auth.h: Mark functions which are to be hidden.
55833         * include/rpc/auth_des.h: Likewise.
55834         * include/rpc/auth_unix.h: Likewise.
55835         * include/rpc/clnt.h: Likewise.
55836         * include/rpc/des_crypt.h: Likewise.
55837         * include/rpc/key_prot.h: Likewise.
55838         * include/rpc/pmap_clnt.h: Likewise.
55839         * include/rpc/pmap_prot.h: Likewise.
55840         * include/rpc/pmap_rmt.h: Likewise.
55841         * include/rpc/rpc_msg.h: Likewise.
55842         * include/rpc/svc.h: Likewise.
55843         * include/rpc/svc_auth.h: Likewise.
55844         * include/rpc/xdr.h: Likewise.
55845         * nis/Makefile: Link all DSOs against linkobj/libc.so.
55846         * nss/Makefile: Likewise.
55847         * sunrpc/Makefile: Don't install headers.  Build library with normal
55848         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
55849         * sunrpc/auth_des.c: Hide exported symbols by default, export some
55850         for the compat linking library.  Remove use of INTDEF/INTUSE.
55851         * sunrpc/auth_none.c: Likewise.
55852         * sunrpc/auth_unix.c: Likewise.
55853         * sunrpc/authdes_prot.c: Likewise.
55854         * sunrpc/authuxprot.c: Likewise.
55855         * sunrpc/clnt_gen.c: Likewise.
55856         * sunrpc/clnt_perr.c: Likewise.
55857         * sunrpc/clnt_raw.c: Likewise.
55858         * sunrpc/clnt_simp.c: Likewise.
55859         * sunrpc/clnt_tcp.c: Likewise.
55860         * sunrpc/clnt_udp.c: Likewise.
55861         * sunrpc/clnt_unix.c: Likewise.
55862         * sunrpc/des_crypt.c: Likewise.
55863         * sunrpc/des_soft.c: Likewise.
55864         * sunrpc/get_myaddr.c: Likewise.
55865         * sunrpc/key_call.c: Likewise.
55866         * sunrpc/key_prot.c: Likewise.
55867         * sunrpc/netname.c: Likewise.
55868         * sunrpc/pm_getmaps.c: Likewise.
55869         * sunrpc/pm_getport.c: Likewise.
55870         * sunrpc/pmap_clnt.c: Likewise.
55871         * sunrpc/pmap_prot.c: Likewise.
55872         * sunrpc/pmap_prot2.c: Likewise.
55873         * sunrpc/pmap_rmt.c: Likewise.
55874         * sunrpc/publickey.c: Likewise.
55875         * sunrpc/rpc_cmsg.c: Likewise.
55876         * sunrpc/rpc_common.c: Likewise.
55877         * sunrpc/rpc_dtable.c: Likewise.
55878         * sunrpc/rpc_prot.c: Likewise.
55879         * sunrpc/rpc_thread.c: Likewise.
55880         * sunrpc/rtime.c: Likewise.
55881         * sunrpc/svc.c: Likewise.
55882         * sunrpc/svc_auth.c: Likewise.
55883         * sunrpc/svc_authux.c: Likewise.
55884         * sunrpc/svc_raw.c: Likewise.
55885         * sunrpc/svc_run.c: Likewise.
55886         * sunrpc/svc_simple.c: Likewise.
55887         * sunrpc/svc_tcp.c: Likewise.
55888         * sunrpc/svc_udp.c: Likewise.
55889         * sunrpc/svc_unix.c: Likewise.
55890         * sunrpc/svcauth_des.c: Likewise.
55891         * sunrpc/xcrypt.c: Likewise.
55892         * sunrpc/xdr.c: Likewise.
55893         * sunrpc/xdr_array.c: Likewise.
55894         * sunrpc/xdr_float.c: Likewise.
55895         * sunrpc/xdr_intXX_t.c: Likewise.
55896         * sunrpc/xdr_mem.c: Likewise.
55897         * sunrpc/xdr_rec.c: Likewise.
55898         * sunrpc/xdr_ref.c: Likewise.
55899         * sunrpc/xdr_sizeof.c: Likewise.
55900         * sunrpc/xdr_stdio.c: Likewise.
55902 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
55904         [BZ #12650]
55905         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55906         * sysdeps/ia64/dl-tls.h: Likewise.
55907         * sysdeps/powerpc/dl-tls.h: Likewise.
55908         * sysdeps/s390/dl-tls.h: Likewise.
55909         * sysdeps/sh/dl-tls.h: Likewise.
55910         * sysdeps/sparc/dl-tls.h: Likewise.
55911         * sysdeps/x86_64/dl-tls.h: Likewise.
55912         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55914 2011-03-14  Andreas Schwab  <schwab@redhat.com>
55916         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55917         rpath element also skip the following colon.
55918         (expand_dynamic_string_token): Add is_path parameter and pass
55919         down to DL_DST_REQUIRED and _dl_dst_substitute.
55920         (decompose_rpath): Call expand_dynamic_string_token with
55921         non-zero is_path.  Ignore empty rpaths.
55922         (_dl_map_object_from_fd): Call expand_dynamic_string_token
55923         with zero is_path.
55925 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
55927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55928         Make cancelable.
55930 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
55932         [BZ #12655]
55933         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55934         Patch by Filipe David Manana <fdmanana@apache.org>.
55936 2011-04-07  Andreas Schwab  <schwab@redhat.com>
55938         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55939         Maintain aligned stack.
55940         (CHECK_RSP): Remove unused macro.
55942 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
55944         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55945         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55947 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
55949         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55951         * include/features.h: Mention __USE_XOPEN2K8 in comment.
55953 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
55955         [BZ #12518]
55956         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55957         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55958         * sysdeps/x86_64/memmove.c: New file.
55959         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55960         (memcpy): Renamed to ...
55961         (__new_memcpy): This.
55962         (memcpy): Provide GLIBC_2_14 memcpy.
55963         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55964         (memcpy): Provide GLIBC_2_2_5 memcpy.
55966 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55968         [BZ #12631]
55969         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55971 2011-03-30  Andreas Schwab  <schwab@redhat.com>
55973         * misc/syncfs.c: New file.
55974         * misc/Makefile (routines): Add syncfs.
55975         * posix/unistd.h: Declare syncfs.
55976         * sysdeps/unix/syscalls.list: Add syncfs.
55978 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55980         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55981         open_by_handle_at.
55982         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55983         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55984         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55985         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55986         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55987         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55988         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55990 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55992         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55993         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55994         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55995         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55996         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55997         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55998         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56000         * io/Makefile: Compile fallocate.c, fallocate64.c, and
56001         sync_file_range.c with -fexceptions.
56002         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56003         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56004         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56005         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56006         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56007         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56008         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
56009         sync_file_range as cancellation point
56010         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
56011         now a wrapper around __call_sync_file_range with cancellation handling.
56012         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56013         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
56014         function name to __call_sync_file_range.
56015         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56016         Add call_sync_file_range.
56018 2011-04-01  Andreas Schwab  <schwab@redhat.com>
56020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56021         bits/timex.h.
56023 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
56025         * iconv/iconv.h: Fix typo in comment.
56026         * io/fcntl.h: Likewise.
56027         * libio/stdio.h: Likewise.
56028         * posix/spawn.h: Likewise.
56029         * posix/unistd.h: Likewise.
56030         * stdlib/stdlib.h: Likewise.
56031         * time/time.h: Likewise.
56032         * wcsmbs/wchar.h: Likewise.
56034         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56035         open_by_handle): Add.
56036         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56037         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
56038         Augment a few comments.
56039         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56040         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56041         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56042         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56043         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56044         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56045         open_by_handle.
56047         * io/fcntl.h (AT_EMPTY_PATH): Define.
56049 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
56051         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56052         * sysdeps/unix/sysv/linux/bits/time.h: New file.
56053         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56054         to...
56055         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
56056         * Versions.def: Add GLIBC_2.14.
56057         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56058         Export.
56060 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
56062         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56063         round counter.
56064         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56066 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
56068         [BZ #12597]
56069         * string/test-strncmp.c (do_page_test): New function.
56070         (check2): Likewise.
56071         (test_main): Call check2.
56072         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56074 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
56076         [BZ #12587]
56077         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56078         Handle cache information in CPU leaf 4.
56079         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56081 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
56083         [BZ #12583]
56084         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56085         character representation.
56086         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56088 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
56090         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56091         END(__isnan) to END(__isnanf) to match function entry point/label
56092         EALIGN(__isnanf,...).
56094 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
56096         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56098 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
56100         [BZ #12510]
56101         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56102         copy from the symbol referenced in the relocation to initialize the
56103         used variable.
56104         Patch by Piotr Bury <pbury@goahead.com>.
56105         * elf/Makefile: Add rules to build and tst-unique3.
56106         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56107         * elf/tst-unique3.cc: New file.
56108         * elf/tst-unique3.h: New file.
56109         * elf/tst-unique3lib.cc: New file.
56110         * elf/tst-unique3lib2.cc: New file.
56112         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56114 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
56116         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56117         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
56118         to _start.
56120 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
56122         * elf/dl-load.c (_dl_map_object): If we are looking for the first
56123         to-be-loaded object along a path to loader is ld.so.
56125 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56126             Ulrich Drepper  <drepper@gmail.com>
56128         * sysdeps/x86_64/memset.S: After aligning destination, code
56129         branches to different locations depending on the value of
56130         misalignment, when multiarch is enabled. Fix this.
56132 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
56134         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56135         Set _x86_64_preferred_memory_instruction for AMD processsors.
56136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56137         Set bit_Prefer_SSE_for_memop for AMD processors.
56139 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
56141         * libio/fmemopen.c (fmemopen): Optimize a bit.
56143 2011-03-03  Andreas Schwab  <schwab@redhat.com>
56145         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56147 2011-03-03  Roland McGrath  <roland@redhat.com>
56149         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56151 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
56153         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
56154         __bzero_ultra1 instead of __memset_ultra1.
56156 2011-02-23  Andreas Schwab  <schwab@redhat.com>
56157             Ulrich Drepper  <drepper@gmail.com>
56159         [BZ #12509]
56160         * include/link.h (struct link_map): Add l_orig_initfini.
56161         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56162         returning unsuccessfully.
56163         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56164         close of a file loaded at startup, restore the original l_initfini
56165         list.
56166         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56167         list, store the pointer.
56168         * elf/Makefile ($(objpfx)noload-mem): New rule.
56169         (noload-ENV): Define.
56170         (tests): Add $(objpfx)noload-mem.
56171         * elf/noload.c: Include <memcheck.h>.
56172         (main): Call mtrace.  Close all opened handles.
56174 2011-02-17  Andreas Schwab  <schwab@redhat.com>
56176         [BZ #12454]
56177         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56178         dependencies are missing.
56180 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56182         Fix __if_freereq crash: Unlike the generic version which uses free,
56183         Hurd needs munmap.
56184         * sysdeps/mach/hurd/ifreq.h: New file.
56186 2011-01-27  Petr Baudis  <pasky@suse.cz>
56187             Ulrich Drepper  <drepper@gmail.com>
56189         [BZ 12445]#
56190         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56191         to extend_alloca().
56192         * stdio-common/bug23.c: New file.
56193         * stdio-common/Makefile (tests): Add bug23.
56195 2010-09-28  Andreas Schwab  <schwab@redhat.com>
56196             Ulrich Drepper  <drepper@gmail.com>
56198         [BZ #12489]
56199         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56200         before performing relro protection.  At old place add assertion
56201         to make sure nothing changed.
56203 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
56204             Glauber de Oliveira Costa  <glommer@gmail.com>
56206         * elf/elf.h: Add new ARM TLS relocs.
56208 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
56210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56211         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56212         cast from r3.
56213         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
56214         'tests' variable.
56215         * sysdeps/wordsize-64/tst-writev.c: New file.
56217 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
56219         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56220         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56221         insns in _dl_start to prevent a TOC reference before relocs are
56222         resolved.
56224 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
56226         [BZ #12469]
56227         * Makeconfig: Remove RANLIB definition.
56228         * Makerules: Don't use RANLIB.
56229         * aclocal.m4: Remove ranlib test.
56230         * configure.in: No need to check for ranlib.
56231         * elf/rtld-Rules: Don't use RANLIB.
56233 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56235         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56236         protection macro.
56237         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56238         inclusion protection macro.
56240         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56241         SIGRTMIN and SIGRTMAX and print information in that case only when
56242         SIGRTMIN is defined.
56244 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
56246         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56247         arginfo fn returning -1.
56249         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56250         and thousands string is zero terminated.
56252 2011-02-03  Andreas Schwab  <schwab@redhat.com>
56254         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56255         sysdeps/unix/sysv/linux/bits/socket.h.
56257 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56259         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56260         (__CPU_COUNT): Remove old macros.
56261         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56262         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56263         (__CPU_ALLOC, __CPU_FREE): Add macros.
56264         (__sched_cpualloc, __sched_cpufree): Add declarations.
56266 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
56268         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56269         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56270         * nscd/aicache.c (addhstaiX): Return timeout of added value.
56271         (readdhstai): Return value of addhstaiX call.
56272         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56273         (addgrbyX): Return value returned by cache_addgr.
56274         (readdgrbyname): Return value returned by addgrbyX.
56275         (readdgrbygid): Likewise.
56276         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56277         (addpwbyX): Return value returned by cache_addpw.
56278         (readdpwbyname): Return value returned by addhstbyX.
56279         (readdpwbyuid): Likewise.
56280         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56281         (addservbyX): Return value returned by cache_addserv.
56282         (readdservbyname): Return value returned by addservbyX:
56283         (readdservbyport): Likewise.
56284         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56285         (addhstbyX): Return value returned by cache_addhst.
56286         (readdhstbyname): Return value returned by addhstbyX.
56287         (readdhstbyaddr): Likewise.
56288         (readdhstbynamev6): Likewise.
56289         (readdhstbyaddrv6): Likewise.
56290         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56291         (readdinitgroups): Return value returned by addinitgroupsX.
56292         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56293         (prune_cache): Keep track of timeout value of re-added entries.
56294         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56295         * nscd/nscd.h: Adjust prototypes of readd* functions.
56297 2011-02-04  Roland McGrath  <roland@redhat.com>
56299         * nis/nis_server.c (nis_servstate): Use the right name for 0.
56300         (nis_stats): Likewise.
56301         * nis/nis_modify.c (nis_modify): Likewise.
56302         * nis/nis_remove.c (nis_remove): Likewise.
56303         * nis/nis_add.c (nis_add): Likewise.
56305         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56307         * posix/fnmatch_loop.c: Add some consts.
56309         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56311 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
56313         [BZ #12460]
56314         * config.make.in (config-cflags-novzeroupper): Define.
56315         * configure.in: Substitute libc_cv_cc_novzeroupper.
56316         * elf/Makefile (AVX-CFLAGS): Define.
56317         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56318         (CFLAGS-tst-auditmod4a.c): Likewise.
56319         (CFLAGS-tst-auditmod4b.c): Likewise.
56320         (CFLAGS-tst-auditmod6b.c): Likewise.
56321         (CFLAGS-tst-auditmod6c.c): Likewise.
56322         (CFLAGS-tst-auditmod7b.c): Likewise.
56323         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56325 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
56327         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56328         function to the callback.
56329         Patch partly by Jiri Olsa <jolsa@redhat.com>.
56331 2011-02-02  Andreas Schwab  <schwab@redhat.com>
56333         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56334         of errno.
56336 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
56338         [BZ #11724]
56339         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56340         of constructors.
56341         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56342         of destructors.
56343         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56345         [BZ #11724]
56346         * elf/Makefile: Add rules to build and run new test.
56347         * elf/tst-initorder.c: New file.
56348         * elf/tst-initorder.exp: New file.
56349         * elf/tst-initordera1.c: New file.
56350         * elf/tst-initordera2.c: New file.
56351         * elf/tst-initordera3.c: New file.
56352         * elf/tst-initordera4.c: New file.
56353         * elf/tst-initorderb1.c: New file.
56354         * elf/tst-initorderb2.c: New file.
56355         * elf/tst-order-a1.c: New file.
56356         * elf/tst-order-a2.c: New file.
56357         * elf/tst-order-a3.c: New file.
56358         * elf/tst-order-a4.c: New file.
56359         * elf/tst-order-b1.c: New file.
56360         * elf/tst-order-b2.c: New file.
56361         * elf/tst-order-main.c: New file.
56362         New test case by George Gensure <werkt0@gmail.com>.
56364 2010-10-01  Andreas Schwab  <schwab@redhat.com>
56366         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56367         decoding ACE if AI_CANONIDN.
56369 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
56371         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56373 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
56375         * version.h (RELEASE): Bump for 2.13 release.
56376         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56378         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56380         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56381         MADV_NOHUGEPAGE.
56382         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56383         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56384         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56385         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56386         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56387         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56389         * posix/getconf.c: Update copyright year.
56390         * catgets/gencat.c: Likewise.
56391         * csu/version.c: Likewise.
56392         * debug/catchsegv.sh: Likewise.
56393         * debug/xtrace.sh: Likewise.
56394         * elf/ldconfig.c: Likewise.
56395         * elf/ldd.bash.in: Likewise.
56396         * elf/sprof.c (print_version): Likewise.
56397         * iconv/iconv_prog.c: Likewise.
56398         * iconv/iconvconfig.c: Likewise.
56399         * locale/programs/locale.c: Likewise.
56400         * locale/programs/localedef.c: Likewise.
56401         * malloc/memusage.sh: Likewise.
56402         * malloc/mtrace.pl: Likewise.
56403         * nscd/nscd.c (print_version): Likewise.
56404         * nss/getent.c: Likewise.
56406         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56407         PF_CAIF, and PF_ALG.
56408         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56410 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
56412         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56413         (modules-names): Use them.
56414         (ifunc-test-modules, ifunc-pie-tests): Define.
56415         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
56416         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
56417         (test-extras): Likewise.
56418         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
56419         $(compile-command.c).
56420         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
56421         (all-built-dso): Define.
56422         (check-textrel.out, check-execstack.out): Depend on it.
56424         * configure.in: Don't override --enable-multi-arch.
56426 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
56428         [BZ #6812]
56429         * nscd/hstcache.c (tryagain): Define.
56430         (cache_addhst): Return tryagain not notfound for temporary errors.
56431         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
56432         failed.
56434 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
56436         [BZ #10563]
56437         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
56438         to make the syscall.
56439         * sysdeps/unix/sysv/linux/setgroups.c: New file.
56441         [BZ #12378]
56442         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
56443         and fall back to matching as normal character if the string ends before
56444         the matching ']' is found.  This is what POSIX requires.
56445         * posix/testfnm.c: Adjust test result.
56446         * posix/globtest.sh: Adjust test result.  Add new test.
56447         * posix/tst-fnmatch.input: Likewise.
56448         * posix/tst-fnmatch2.c: Add new test.
56450 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
56452         * elf/Makefile (check-execstack): Revert last change.  Depend on
56453         check-execstack.h.
56454         (check-execstack.h): New target.
56455         (generated): Add check-execstack.h.
56456         * elf/check-execstack.c: Include "check-execstack.h".
56457         (main): Revert last change.
56458         (handle_file): Return zero if GNU_STACK is absent and
56459         DEFAULT_STACK_PERMS doesn't include PF_X.
56461 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
56463         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
56464         in child fails because the descriptor is already closed.
56465         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
56466         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
56467         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
56469         [BZ #12397]
56470         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
56471         syscall.
56473         [BZ #10484]
56474         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
56475         temporary buffer used to handle multi lookups locally.
56476         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
56478 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56480         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
56481         loader is ld.so.
56483 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
56485         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
56486         alignment for SSE2.
56488 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
56490         [BZ #12394]
56491         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
56492         characters.  When rounding increased number of integer digits recompute
56493         number of groups.
56494         * stdio-common/tst-grouping.c: New file.
56495         * stdio-common/Makefile: Add rules to build and run tst-grouping.
56497 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
56499         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
56500         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
56502         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
56503         void.
56504         * bits/select.h: Likewise.
56506 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
56508         * po/ja.po: Update from translation team.
56510 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
56512         [BZ #11155]
56513         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
56514         implementation just like for lxstat, fxstatat, et al.
56516 2010-12-27  Jim Meyering  <meyering@redhat.com>
56518         [BZ #12348]
56519         * posix/regexec.c (build_trtable): Return failure indication upon
56520         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
56522 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
56524         [BZ #12201]
56525         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
56526         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
56527         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
56528         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
56530         [BZ #12207]
56531         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
56533         [BZ #12204]
56534         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
56535         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
56537 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
56539         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
56540         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
56541         script has SORT_BY_INIT_PRIORITY.
56542         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
56543         NO_CTORS_DTORS_SECTIONS is defined.
56544         * elf/soinit.c: Likewise.
56545         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
56546         NO_CTORS_DTORS_SECTIONS is defined.
56547         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
56548         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
56549         * sysdeps/sh/init-first.c: Likewise.
56550         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
56552 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
56554         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
56555         always use the slow path.
56557 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
56559         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
56560         similar rule which adds the sysdep directories to the header search in
56561         order to pick up the correct platform stackinfo.h.
56562         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
56563         perform test if it is, otherwise return successfully without testing.
56564         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
56565         DEFAULT_STACK_PERMS define in stackinfo.h.
56566         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
56567         defined in stackinfo.h.
56568         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
56569         DEFAULT_STACK_PERMS defined in stackinfo.h.
56570         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
56571         * sysdeps/ia64/stackinfo.h: Likewise.
56572         * sysdeps/s390/stackinfo.h: Likewise.
56573         * sysdeps/sh/stackinfo.h: Likewise.
56574         * sysdeps/sparc/stackinfo.h: Likewise.
56575         * sysdeps/x86_64/stackinfo.h: Likewise.
56576         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
56577         PF_X for powerpc64.  Retain PF_X for powerpc32.
56579 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
56581         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
56582         accurately.
56583         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
56584         GETDENTS_64BIT_ALIGNED.
56586 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
56588         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
56590 2010-12-10  Andreas Schwab  <schwab@redhat.com>
56592         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
56593         _GNU_SOURCE.
56595         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
56596         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
56597         Remove __restrict.
56598         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
56599         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
56601 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
56603         [BZ #11655]
56604         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
56605         are initialized.
56607 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
56609         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
56611 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
56613         * po/it.po: Update from translation team.
56615 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
56617         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
56618         unused codes.
56620 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
56622         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
56624 2010-11-24  Andreas Schwab  <schwab@redhat.com>
56626         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
56627         specially.
56628         (gaih_getanswer_slice): Likewise.
56630 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
56632         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
56634 2010-05-31  Petr Baudis  <pasky@suse.cz>
56636         [BZ #11149]
56637         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
56638         silently even in the chroot mode.
56640 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
56642         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
56643         last patch a bit.  Pretty printing
56645 2010-05-31  Petr Baudis <pasky@suse.cz>
56647         [BZ #10085]
56648         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
56649         initialization of skip_initgroups_dyn.
56651 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
56653         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
56654         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56656 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
56658         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56660 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56662         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56663         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56664         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56665         ($(objpfx)tst-fnmatch-mem): New rule.
56666         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56667         * posix/tst-fnmatch.c (main): Call mtrace.
56669 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56672         Support Intel processor model 6 and model 0x2c.
56674 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56676         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56677           signed comparison.
56679 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56681         [BZ #12205]
56682         * string/test-strncasecmp.c (check_result): New function.
56683         (do_one_test): Use it.
56684         (check1): New function.
56685         (test_main): Use it.
56686         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56687         Support strcasecmp and strncasecmp.
56689 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56691         [BZ #12194]
56692         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56693         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56695 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56697         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56698         IFUNC support.
56699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56700         memset-x86-64.
56701         * sysdeps/x86_64/multiarch/bzero.S: New file.
56702         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56703         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56704         * sysdeps/x86_64/multiarch/memset.S: New file.
56705         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56707         Set bit_Prefer_SSE_for_memop for Intel processors.
56708         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56709         Define.
56710         (index_Prefer_SSE_for_memop): Define.
56711         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56713 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56715         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56716         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56718 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56720         [BZ #12191]
56721         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56722         (__x86_64_raw_data_cache_size_half): Likewise.
56723         (__x86_64_raw_shared_cache_size): Likewise.
56724         (__x86_64_raw_shared_cache_size_half): Likewise.
56726         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56727         (__x86_64_raw_data_cache_size_half): Likewise.
56728         (__x86_64_raw_shared_cache_size): Likewise.
56729         (__x86_64_raw_shared_cache_size_half): Likewise.
56730         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56731         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56732         and __x86_64_raw_shared_cache_size_half.  Round
56733         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56734         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56735         to multiple of 256 bytes.
56737 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56739         [BZ #12167]
56740         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56741         of inacessible symlinks.  Verify result of symlink before returning it.
56742         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56743         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56745 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56747         * math/math.h (isinf): Fix typo in comment.
56749 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56751         * po/da.po: Update from translation team.
56753 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56755         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56756         is added to the list.
56758 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56759             Ulrich Drepper  <drepper@gmail.com>
56761         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56762         the global list here.  Move code to...
56763         (_dl_add_to_namespace_list): ...here.  New function.
56764         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56765         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56766         * elf/dl-load.c (lose): Don't remove the element from the list.
56767         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56768         (_dl_map_object): Likewise.
56770 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56772         [BZ #12159]
56773         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56774         into all bytes of SSE register.
56775         Patch by Richard Li <richardpku@gmail.com>.
56777 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56779         [BZ #12140]
56780         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56781         perturbing.
56783 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56785         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56786         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56787         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56788         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56790         submachine.
56791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56793 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56795         * include/dlfcn.h (__RTLD_SECURE): Define.
56796         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56797         mode & __RTLD_SECURE instead.
56798         (open_path): Rename preloaded parameter to secure.
56799         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56800         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56801         * elf/dl-deps.c (openaux): Likewise.
56802         * elf/rtld.c (struct map_args): Remove is_preloaded.
56803         (map_doit): Don't use it.
56804         (dl_main): Likewise.
56805         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56806         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56808 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56810         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56811         (sysd-rules-targets): Remove duplicates.
56812         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56813         rtld-%.$o dependency.
56815 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56817         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56818         _dl_map_object do it.
56820 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56822         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56823         fast fma builtins, define the macros in the C99 standard.
56824         (FP_FAST_FMAF): Likewise.
56825         (FP_FAST_FMAL): Likewise.
56826         * sysdeps/x86_64/bits/mathdef.h: Likewise.
56828         * bits/mathdef.h: Update copyright year.
56829         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56831 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
56833         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56834         builtins, define the macros in the C99 standard.
56835         (FP_FAST_FMAF): Likewise.
56836         (FP_FAST_FMAL): Likewise.
56837         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56838         multiply/add.
56839         (FP_FAST_FMAF): Likewise.
56841 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
56843         [BZ #3268]
56844         * math/libm-test.inc (fma_test): Some new testcases.
56845         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56846         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56847         y and infinite z.  Do multiplication by C already in long double.
56848         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56849         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56850         y and infinite z.  Do bitwise or of inexact bit into u.d.
56851         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56852         * sysdeps/i386/fpu/s_fmaf.S: Removed.
56853         * sysdeps/i386/fpu/s_fma.S: Removed.
56854         * sysdeps/i386/fpu/s_fmal.S: Removed.
56856 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
56858         [BZ #3268]
56859         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56860         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56861         computation is not scheduled after fetestexcept.  Fix value
56862         of minimum denormal long double.
56864 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
56866         [BZ #3268]
56867         * math/libm-test.inc (fma_test): Add some more tests.
56868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56869         correctly.
56871 2010-10-15  Andreas Schwab  <schwab@redhat.com>
56873         * scripts/data/localplt-s390-linux-gnu.data: New file.
56874         * scripts/data/localplt-s390x-linux-gnu.data: New file.
56876 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
56878         [BZ #3268]
56879         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56880         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56881         instead of dbl-64.
56882         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56883         inlines.
56884         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56885         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56886         if one of x and y is very large and the other is subnormal.
56887         * sysdeps/s390/fpu/s_fmaf.c: New file.
56888         * sysdeps/s390/fpu/s_fma.c: New file.
56889         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56890         * sysdeps/powerpc/fpu/s_fma.S: New file.
56891         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56892         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56893         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56895 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
56897         [BZ #3268]
56898         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56899         fma tests.
56900         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56901         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56902         * sysdeps/i386/i686/multiarch/s_fma.c: Include
56903         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56904         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56905         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56906         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56908 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
56910         [BZ #12078]
56911         * posix/regcomp.c (parse_branch): One more memory leak plugged.
56912         * posix/bug-regex31.input: Add test case.
56914 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56916         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56917         * posix/bug-regex31.input: New file.
56919         [BZ #12078]
56920         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56921         (parse_sub_exp): Fix last change, use postorder.
56923         * posix/bug-regex31.c: New file.
56924         * posix/Makefile: Add rules to build and run bug-regex31.
56926         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56928         [BZ #12078]
56929         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56931         [BZ #12108]
56932         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56933         to have entries in sys_siglist.
56935         [BZ #12093]
56936         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56937         be NULL.
56939 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
56941         [BZ #3268]
56942         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56943         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56944         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56945         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56946         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56947         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56948         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56949         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56950         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56951         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56952         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56953         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56954         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56955         * math/ftestexcept.c (fetestexcept): Likewise.
56956         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56957         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56958         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56959         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56960         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56961         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56962         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56964 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56966         [BZ #12107]
56967         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56968         newline.
56970 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
56972         * string/bug-strstr1.c: New file.
56973         * string/Makefile: Add rules to build and run bug-strstr1.
56975 2010-10-05  Eric Blake  <eblake@redhat.com>
56977         [BZ #12092]
56978         * string/str-two-way.h (two_way_long_needle): Always clear memory
56979         when skipping input due to the shift table.
56981 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
56983         [BZ #12005]
56984         * malloc/mcheck.c: Handle large requests.
56986         [BZ #12077]
56987         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56988         for strncmp and strncasecmp.
56989         * string/stratcliff.c: Add tests for strcmp and strncmp.
56990         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56992 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56994         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56995         __set_fpscr.
56997 2010-09-30  Andreas Jaeger  <aj@suse.de>
56999         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57000         (CGROUP_SUPER_MAGIC): Define.
57001         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57002         Handle btrfs and cgroup file systems.
57003         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57004         Likewise.
57006 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
57008         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57009         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57011 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57013         [BZ #12067]
57014         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57015         trying to locate the ELF header.
57017 2010-09-27  Andreas Schwab  <schwab@redhat.com>
57019         [BZ #11611]
57020         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57021         Mask out sign-bit copies when constructing f_fsid.
57023 2010-09-24  Petr Baudis <pasky@suse.cz>
57025         * debug/stack_chk_fail_local.c: Add missing licence exception.
57026         * debug/warning-nop.c: Likewise.
57028 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
57030         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57031         implementing getdents64 using getdents syscall, set d_type if
57032         __ASSUME_GETDENTS32_D_TYPE.
57034 2010-09-16  Andreas Schwab  <schwab@redhat.com>
57036         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57037         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57039 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
57041         [BZ #12037]
57042         * posix/unistd.h: Undo change of feature selection for ftruncate from
57043         2010-01-11.
57045 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
57047         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
57048         detection.
57050 2010-09-20  Andreas Schwab  <schwab@redhat.com>
57052         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57053         fanotify_mark.
57054         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57056 2010-09-14  Andreas Schwab  <schwab@redhat.com>
57058         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57059         variables after CHECK_SP call.
57060         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57062 2010-09-13  Andreas Schwab  <schwab@redhat.com>
57063             Ulrich Drepper  <drepper@redhat.com>
57065         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57066         re-relocationg ld.so.
57067         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57068         _dl_init_paths call.
57069         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
57070         here anymore.
57072 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
57074         * resolv/res_init.c (__res_vinit): Count the default server we added.
57076 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
57077             Ulrich Drepper  <drepper@redhat.com>
57079         [BZ #11968]
57080         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57081         (____longjmp_chk): Use %ebx for saving value across system call.
57082         Add unwind info.
57084 2010-09-06  Andreas Schwab  <schwab@redhat.com>
57086         * manual/Makefile: Don't mix pattern rules with normal rules.
57088 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
57090         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57091         operation.
57092         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57093         * libio/iofopncook.c (_IO_cookie_init): Likewise.
57094         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57095         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57096         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57097         Likewise.
57099 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
57101         [BZ #11979]
57102         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57103         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57105 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
57107         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57108         * sysdeps/x86_64/addmul_1.S: Likewise.
57109         * sysdeps/x86_64/lshift.S: Likewise.
57110         * sysdeps/x86_64/mul_1.S: Likewise.
57111         * sysdeps/x86_64/rshift.S: Likewise.
57112         * sysdeps/x86_64/sub_n.S: Likewise.
57113         * sysdeps/x86_64/submul_1.S: Likewise.
57115 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57117         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57118         Define __sched_param instead of SCHED_* and sched_param when
57119         <bits/sched.h> is included with __need_schedparam defined.
57120         * bits/sched.h [__need_schedparam]
57121         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
57122         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57123         (__defined_schedparam): Define to 1.
57124         (__sched_param): New structure, identical to sched_param.
57125         (__need_schedparam): Undefine.
57127 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
57129         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57130         (epoll_create1): Declare.
57132         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57134 2010-08-31  Andreas Schwab  <schwab@redhat.com>
57136         [BZ #7066]
57137         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57138         shifting retval into place.
57140 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
57142         * nis/rpcsvc/nis.h: Update copyright notice.
57143         * nis/rpcsvc/nis.x: Likewise.
57144         * nis/rpcsvc/nis_callback.h: Likewise.
57145         * nis/rpcsvc/nis_callback.x: Likewise.
57146         * nis/rpcsvc/nis_object.x: Likewise.
57147         * nis/rpcsvc/nis_tags.h: Likewise.
57148         * nis/rpcsvc/yp.h: Likewise.
57149         * nis/rpcsvc/yp.x: Likewise.
57150         * nis/rpcsvc/ypupd.h: Likewise.
57151         * nis/yp_xdr.c: Likewise.
57152         * nis/ypupdate_xdr.c: Likewise.
57154         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
57155         mainly the body of pmap_getport.  Add parameters to specify timeouts.
57156         (pmap_getport): Use __libc_rpc_getport.
57157         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57158         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57159         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57161 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
57163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57164         fanotify_mark.
57166 2010-08-27  Roland McGrath  <roland@redhat.com>
57168         * sysdeps/i386/i686/multiarch/Makefile
57169         (CFLAGS-varshift.c): New variable.
57171 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
57173         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57174         * sysdeps/i386/i686/multiarch/varshift.c: New file.
57176         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57178         * sysdeps/x86_64/strlen.S: Minimal code improvement.
57180 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
57182         * sysdeps/x86_64/strlen.S: Unroll the loop.
57183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57184         strlen-sse2 strlen-sse2-bsf.
57185         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57186         __strlen_no_bsf if bit_Slow_BSF is set.
57187         (__strlen_sse42): Removed.
57188         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57189         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57191 2010-08-25  Roland McGrath  <roland@redhat.com>
57193         * sysdeps/x86_64/multiarch/varshift.S: File removed.
57194         * sysdeps/x86_64/multiarch/varshift.c: New file.
57195         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57196         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57197         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57198         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57200 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
57202         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57203         strlen-sse2 strlen-sse2-bsf.
57204         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57205         __strlen_sse2_bsf if bit_Slow_BSF is unset.
57206         (__strlen_sse2): Removed.
57207         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57208         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57209         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57210         bit_Slow_BSF for Atom.
57211         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57212         (index_Slow_BSF): Define.
57213         (HAS_SLOW_BSF): Define.
57215 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
57217         [BZ #10851]
57218         * resolv/res_init.c (__res_vinit): When no server address at all
57219         is given default to loopback.
57221 2010-08-24  Roland McGrath  <roland@redhat.com>
57223         * configure.in: Remove config-name.h generation.
57224         * configure: Regenerated.
57225         * config-name.in: File removed.
57226         * scripts/config-uname.sh: New file.
57227         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57228         ($(objdir)config-name.h): New target.
57230         * sunrpc/rpc_parse.h: Avoid nested comment.
57232 2010-08-24  Richard Henderson  <rth@redhat.com>
57233             Ulrich Drepper  <drepper@redhat.com>
57234             H.J. Lu  <hongjiu.lu@intel.com>
57236         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57238         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57239         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
57240         _mm_alignr_epi8 with _mm_loadu_si128.
57241         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57242         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57243         (__m128i_shift_right): Removed.
57244         * sysdeps/i386/i686/multiarch/varshift.h: New file.
57245         * sysdeps/i386/i686/multiarch/varshift.S: New file.
57246         * sysdeps/x86_64/multiarch/varshift.h: New file.
57247         * sysdeps/x86_64/multiarch/varshift.S: New file.
57249 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
57251         * configure.in: Move assembler checks to before sysdep dir checking.
57253 2010-08-20  Petr Baudis  <pasky@suse.cz>
57255         * LICENSES: Sync the sunrpc license.
57257 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
57259         * sunrpc/auth_des.c: Update copyright notice once again.
57260         * sunrpc/auth_none.c: Likewise.
57261         * sunrpc/auth_unix.c: Likewise.
57262         * sunrpc/authdes_prot.c: Likewise.
57263         * sunrpc/authuxprot.c: Likewise.
57264         * sunrpc/bindrsvprt.c: Likewise.
57265         * sunrpc/clnt_gen.c: Likewise.
57266         * sunrpc/clnt_perr.c: Likewise.
57267         * sunrpc/clnt_raw.c: Likewise.
57268         * sunrpc/clnt_simp.c: Likewise.
57269         * sunrpc/clnt_tcp.c: Likewise.
57270         * sunrpc/clnt_udp.c: Likewise.
57271         * sunrpc/clnt_unix.c: Likewise.
57272         * sunrpc/des_crypt.c: Likewise.
57273         * sunrpc/des_soft.c: Likewise.
57274         * sunrpc/get_myaddr.c: Likewise.
57275         * sunrpc/getrpcport.c: Likewise.
57276         * sunrpc/key_call.c: Likewise.
57277         * sunrpc/key_prot.c: Likewise.
57278         * sunrpc/openchild.c: Likewise.
57279         * sunrpc/pm_getmaps.c: Likewise.
57280         * sunrpc/pm_getport.c: Likewise.
57281         * sunrpc/pmap_clnt.c: Likewise.
57282         * sunrpc/pmap_prot.c: Likewise.
57283         * sunrpc/pmap_prot2.c: Likewise.
57284         * sunrpc/pmap_rmt.c: Likewise.
57285         * sunrpc/rpc/auth.h: Likewise.
57286         * sunrpc/rpc/auth_unix.h: Likewise.
57287         * sunrpc/rpc/clnt.h: Likewise.
57288         * sunrpc/rpc/des_crypt.h: Likewise.
57289         * sunrpc/rpc/key_prot.h: Likewise.
57290         * sunrpc/rpc/netdb.h: Likewise.
57291         * sunrpc/rpc/pmap_clnt.h: Likewise.
57292         * sunrpc/rpc/pmap_prot.h: Likewise.
57293         * sunrpc/rpc/pmap_rmt.h: Likewise.
57294         * sunrpc/rpc/rpc.h: Likewise.
57295         * sunrpc/rpc/rpc_des.h: Likewise.
57296         * sunrpc/rpc/rpc_msg.h: Likewise.
57297         * sunrpc/rpc/svc.h: Likewise.
57298         * sunrpc/rpc/svc_auth.h: Likewise.
57299         * sunrpc/rpc/types.h: Likewise.
57300         * sunrpc/rpc/xdr.h: Likewise.
57301         * sunrpc/rpc_clntout.c: Likewise.
57302         * sunrpc/rpc_cmsg.c: Likewise.
57303         * sunrpc/rpc_common.c: Likewise.
57304         * sunrpc/rpc_cout.c: Likewise.
57305         * sunrpc/rpc_dtable.c: Likewise.
57306         * sunrpc/rpc_hout.c: Likewise.
57307         * sunrpc/rpc_main.c: Likewise.
57308         * sunrpc/rpc_parse.c: Likewise.
57309         * sunrpc/rpc_parse.h: Likewise.
57310         * sunrpc/rpc_prot.c: Likewise.
57311         * sunrpc/rpc_sample.c: Likewise.
57312         * sunrpc/rpc_scan.c: Likewise.
57313         * sunrpc/rpc_scan.h: Likewise.
57314         * sunrpc/rpc_svcout.c: Likewise.
57315         * sunrpc/rpc_tblout.c: Likewise.
57316         * sunrpc/rpc_util.c: Likewise.
57317         * sunrpc/rpc_util.h: Likewise.
57318         * sunrpc/rpcinfo.c: Likewise.
57319         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57320         * sunrpc/rpcsvc/key_prot.x: Likewise.
57321         * sunrpc/rpcsvc/klm_prot.x: Likewise.
57322         * sunrpc/rpcsvc/mount.x: Likewise.
57323         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57324         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57325         * sunrpc/rpcsvc/rex.x: Likewise.
57326         * sunrpc/rpcsvc/rstat.x: Likewise.
57327         * sunrpc/rpcsvc/rusers.x: Likewise.
57328         * sunrpc/rpcsvc/sm_inter.x: Likewise.
57329         * sunrpc/rpcsvc/spray.x: Likewise.
57330         * sunrpc/rpcsvc/yppasswd.x: Likewise.
57331         * sunrpc/rtime.c: Likewise.
57332         * sunrpc/svc.c: Likewise.
57333         * sunrpc/svc_auth.c: Likewise.
57334         * sunrpc/svc_authux.c: Likewise.
57335         * sunrpc/svc_raw.c: Likewise.
57336         * sunrpc/svc_run.c: Likewise.
57337         * sunrpc/svc_simple.c: Likewise.
57338         * sunrpc/svc_tcp.c: Likewise.
57339         * sunrpc/svc_udp.c: Likewise.
57340         * sunrpc/svc_unix.c: Likewise.
57341         * sunrpc/svcauth_des.c: Likewise.
57342         * sunrpc/xcrypt.c: Likewise.
57343         * sunrpc/xdr.c: Likewise.
57344         * sunrpc/xdr_array.c: Likewise.
57345         * sunrpc/xdr_float.c: Likewise.
57346         * sunrpc/xdr_mem.c: Likewise.
57347         * sunrpc/xdr_rec.c: Likewise.
57348         * sunrpc/xdr_ref.c: Likewise.
57349         * sunrpc/xdr_sizeof.c: Likewise.
57350         * sunrpc/xdr_stdio.c: Likewise.
57352         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57353         handling.
57355 2010-08-19  Andreas Schwab  <schwab@redhat.com>
57357         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57359 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
57361         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57362         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57363         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57364         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57365         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57366         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57367         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57368         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57369         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57370         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57371         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57372         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57373         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57374         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57376 2010-07-26  Anton Blanchard  <anton@samba.org>
57378         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57379         * malloc/arena.c (heap_trim): Likewise.
57381 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
57383         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57384         here.  Not...
57385         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57386         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57388 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
57390         * sysdeps/i386/elf/Makefile: New file.
57392 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57394         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57395         from fanotify_init.
57396         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57397         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57399 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
57401         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57402         of strncasecmp_l.
57403         * sysdeps/multiarch/strcmp.S: Likewise.
57405 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
57407         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57408         strncase_l-nonascii.
57409         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57410         Add strncase_l-ssse3.
57411         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57412         * sysdeps/x86_64/strcmp.S: Likewise.
57413         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57414         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57415         * sysdeps/x86_64/strncase.S: New file.
57416         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
57417         * sysdeps/x86_64/strncase_l.S: New file.
57418         * string/Makefile (strop-tests): Add strncasecmp.
57419         * string/test-strncasecmp.c: New file.
57421         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
57422         warning.
57424         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
57425         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
57427 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
57429         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
57431 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
57433         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
57434         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
57435         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
57437 2010-05-01  Alan Modra  <amodra@gmail.com>
57439         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
57440         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
57441         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
57442         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
57443         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
57444         tidying.  Don't tail-call __sigjmp_save for static lib.
57445         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
57446         save location.
57447         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
57448         (CALL_MCOUNT): Add eh info, and nop after bl.
57449         (TAIL_CALL_SYSCALL_ERROR): New macro.
57450         (PSEUDO_RET): Use it.
57451         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57452         Correct save location of integer regs and cr.
57453         (_dl_profile_resolve): Correct cr save location.  Delete nops
57454         after bl when SHARED.  Reduce cfi size a little by better
57455         placement of cfi directives.
57456         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
57457         make a stack frame.  Instead use parm save area as a temp.
57458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
57459         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
57460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57461         Don't make a stack frame for parent, use parm save area.
57462         Increase child stack frame to 112 bytes.  Don't save unused reg,
57463         and adjust reg usage.  Set up cfi on error recovery and
57464         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
57465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57466         (__makecontext): Add dummy nop after jump to exit.
57467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
57468         Use correct parm save area and cr save, reduce stack frame.
57469         Correct cfi for possible PSEUDO_RET frame setup.
57470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
57471         Branch to local label emitted by PSEUDO_RET rather than
57472         __syscall_error.
57474 2010-08-12  Andreas Schwab  <schwab@redhat.com>
57476         [BZ #11904]
57477         * locale/programs/locale.c (print_assignment): New function.
57478         (show_locale_vars): Use it.
57480 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
57482         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
57483         field.
57484         (struct statfs64): Likewise.
57485         (_STATFS_F_FLAGS): Define.
57486         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
57487         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57488         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
57489         (ST_VALID): Define locally.
57490         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
57491         __statvfs_getflags, use the provided value.
57492         * sysdeps/unix/sysv/linux/kernel-features.h: Define
57493         __ASSUME_STATFS_F_FLAGS.
57495         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
57497         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
57498         Add sys/fanotify.h.
57499         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
57500         fanotify_mask for GLIBC_2.13.
57501         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
57502         fanotify_init and fanotify_mark.
57503         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57504         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
57506         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
57507         Add prlimit.
57508         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
57509         prlimit64 for GLIBC_2.13.
57510         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
57511         prlimit64.
57512         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
57513         syscall.
57514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
57515         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57516         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
57517         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
57518         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
57519         add prlimit alias.
57520         * sysdeps/unix/sysv/linux/prlimit.c: New file.
57522         [BZ #11903]
57523         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
57524         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
57526         * nss/Makefile: Add rules to build and run tst-nss-test1.
57527         * shlib-versions: Add entry for libnss_test1.
57528         * nss/nss_test1.c: New file.
57529         * nss/tst-nss-test1.c: New file.
57531         * nss/nsswitch.c (__nss_database_custom): Define new variable.
57532         (__nss_configure_lookup): Set appropriate entry in
57533         __nss_configure_lookup to true.
57534         * nss/nsswitch.h: Define enum with indeces of databases in
57535         databases and __nss_database_custom arrays.  Declare
57536         __nss_database_custom.
57537         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
57538         to avoid using nscd when custom rules are installed.
57539         * nss/getXXbyYY_r.c: Likewise.
57540         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
57542         * nss/nss_files/files-parse.c: Whitespace fixes.
57544 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
57546         [BZ #11883]
57547         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
57548         * posix/fnmatch_loop.c: Likewise.
57550 2010-07-17  Andi Kleen  <ak@linux.intel.com>
57552         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
57553         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
57554         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
57555         * Versions.def [GLIBC_2.13]: Add.
57557 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
57559         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57560         Also fail if tpwd after pwuid call is NULL.
57562 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57564         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
57565         when converting to ms.
57567 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57569         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
57570         EOPNOTSUPP errors with ENOTTY.
57571         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
57572         EOPNOTSUPP errors with ENOTTY.
57574 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
57576         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57577         Add strcasecmp_l-ssse3.
57578         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
57579         strcasecmp.
57580         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
57581         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
57582         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
57584 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
57586         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
57588         * string/Makefile (strop-tests): Add strcasecmp.
57589         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57590         strcasecmp_l-nonascii.
57591         (gen-as-const-headers): Add locale-defines.sym.
57592         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
57593         * sysdeps/x86_64/strcasecmp.S: New file.
57594         * sysdeps/x86_64/strcasecmp_l.S: New file.
57595         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
57596         * sysdeps/x86_64/locale-defines.sym: New file.
57597         * string/test-strcasecmp.c: New file.
57599         * string/test-strcasestr.c: Test both ends of the range of characters.
57600         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
57602 2010-07-29  Roland McGrath  <roland@redhat.com>
57604         [BZ #11856]
57605         * manual/locale.texi (Yes-or-No Questions): Fix example code.
57607 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
57609         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
57610         for ld.so.
57612 2010-07-27  Andreas Schwab  <schwab@redhat.com>
57614         * manual/memory.texi (Malloc Tunable Parameters): Document
57615         M_PERTURB.
57617 2010-07-26  Roland McGrath  <roland@redhat.com>
57619         [BZ #11840]
57620         * configure.in (-fgnu89-inline check): Set and substitute
57621         gnu89_inline, not libc_cv_gnu89_inline.
57622         * configure: Regenerated.
57623         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
57625 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
57627         * string/test-strnlen.c: New file.
57628         * string/Makefile (strop-tests): Add strnlen.
57629         * string/tester.c (test_strnlen): Add a few more test cases.
57630         * string/tst-strlen.c: Better error reporting.
57632         * sysdeps/x86_64/strnlen.S: New file.
57634 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
57636         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
57637         lower-latency instructions.
57639 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
57641         * string/test-strcasestr.c: New file.
57642         * string/test-strstr.c: New file.
57643         * string/Makefile (strop-tests): Add strstr and strcasestr.
57644         * string/str-two-way.h: Don't undefine MAX.
57645         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
57647 2010-07-21  Andreas Schwab  <schwab@redhat.com>
57649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57650         strcasestr-nonascii.
57651         (CFLAGS-strcasestr-nonascii.c): Define.
57652         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
57653         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
57654         Remove unused attribute.
57656 2010-07-20  Roland McGrath  <roland@redhat.com>
57658         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57659         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57660         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57661         like LD_HWCAP_MASK can disable hwcaps.
57663 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57665         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57667 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57669         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57670         call in strcasestr.
57671         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57672         __strcasestr_sse42_nonascii.
57673         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57674         strcasestr-nonascii.c.
57675         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57677 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57679         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57680         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57681         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57682         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57684 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57686         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57687         fcntl.
57689 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57691         [BZ #11577]
57692         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57693         dl_signal_cerror.
57695 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57697         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57698         _PC_PIPE_BUF using F_GETPIPE_SZ.
57700 2010-07-05  Roland McGrath  <roland@redhat.com>
57702         * manual/arith.texi (Rounding Functions): Fix rint description
57703         implicit in round description.
57705 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57707         * elf/Makefile: Fix linking for a few tests to make recent linker
57708         happy.
57710 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57712         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57713         $(common-objpfx)libc_nonshared.a.
57715 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57717         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57718         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57719         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57720         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57721         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57722         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57723         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57724         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57739         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57740         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57741         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57742         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57743         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57744         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57745         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57746         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57747         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57748         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57749         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57750         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57766 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57768         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57769         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57770         * string/memmove.c (memmove): Renamed to ...
57771         (MEMMOVE): ...this.  Default to memmove.
57772         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57773         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57774         (END_CHK): Define.
57775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57776         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57777         mempcpy-ssse3-back memmove-ssse3-back.
57778         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57779         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57780         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57781         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57782         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57783         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57784         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57785         * sysdeps/x86_64/multiarch/memmove.c: New file.
57786         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57787         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57788         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57789         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57790         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57791         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57792         Define.
57793         (index_Fast_Copy_Backward): Define.
57794         (HAS_ARCH_FEATURE): Define.
57795         (HAS_FAST_REP_STRING): Define.
57796         (HAS_FAST_COPY_BACKWARD): Define.
57798 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57800         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57801         Restore proper fallback handling.
57803 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57805         [BZ #11701]
57806         * posix/group_member.c (__group_member): Correct checking loop.
57808         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57809         OOM in getpwuid_r correctly.  Return error number when the caller
57810         should return, otherwise -1.
57811         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57812         call returning > 0 value.
57813         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57815 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57817         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57818         libc_nonshared.a from targets in modules-names.
57820 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57822         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57823         requires it.
57825 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
57827         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57828         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57829         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57830         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57832 2010-06-02  Andreas Schwab  <schwab@redhat.com>
57834         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57836 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
57838         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57839         and F_GETPIPE_SZ.
57840         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57841         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57842         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57843         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57844         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57845         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57847 2010-06-14  Roland McGrath  <roland@redhat.com>
57849         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57851 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
57853         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57854         __REDIRECT followed by __THROW.
57855         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57856         * posix/getopt.h (getopt): Likewise.
57858 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57860         * hurd/lookup-at.c (__file_name_lookup_at): Accept
57861         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
57862         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57863         in AT_FLAGS.
57864         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57865         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57867 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
57869         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57871 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
57873         [BZ #11640]
57874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57875         Properly check family and model.
57877 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
57879         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57881 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
57883         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57885 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
57887         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57888         symbol reference.
57890 2010-05-19  Andreas Schwab  <schwab@redhat.com>
57892         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57893         symbol reference.
57895 2010-05-21  Andreas Schwab  <schwab@redhat.com>
57897         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57898         and internal_recvmmsg.
57899         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57900         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57901         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57902         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57904         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57905         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57906         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57908 2010-05-20  Andreas Schwab  <schwab@redhat.com>
57910         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57912 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
57914         POWER7 optimizations.
57915         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57916         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57918 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
57920         * version.h: Update for 2.13 development version.
57922 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
57924         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57925         exceptions.  Return 0.
57927 2010-05-07  Roland McGrath  <roland@redhat.com>
57929         * elf/ldconfig.c (main): Add a const.
57931 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
57933         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57934         (args_options): Add no-idn option.
57935         (ahosts_keys_int): Add idn_flags to ai_flags.
57936         (parse_option): Handle 'i' option to clear idn_flags.
57938         * malloc/malloc.c (_int_free): Possible race in the most recently
57939         added check.  Only act on the data if no current modification
57940         happened.
57942 See ChangeLog.17 for earlier changes.